1# Atmel SAMR21 MCU series
2
3# Copyright (c) 2017 Google LLC.
4# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
5# SPDX-License-Identifier: Apache-2.0
6
7config SOC_SERIES_SAMR21
8	bool
9	select SOC_FAMILY_ATMEL_SAM0
10	help
11	  Enable support for Atmel SAMR21 Cortex-M0+ microcontrollers.
12
13config SOC_SERIES
14	default "samr21" if SOC_SERIES_SAMR21
15
16config SOC_SAMR21E16A
17	bool
18	select SOC_SERIES_SAMR21
19
20config SOC_SAMR21E17A
21	bool
22	select SOC_SERIES_SAMR21
23
24config SOC_SAMR21E18A
25	bool
26	select SOC_SERIES_SAMR21
27
28config SOC_SAMR21E19A
29	bool
30	select SOC_SERIES_SAMR21
31
32config SOC_SAMR21G16A
33	bool
34	select SOC_SERIES_SAMR21
35
36config SOC_SAMR21G17A
37	bool
38	select SOC_SERIES_SAMR21
39
40config SOC_SAMR21G18A
41	bool
42	select SOC_SERIES_SAMR21
43
44config SOC
45	default "samr21e16a" if SOC_SAMR21E16A
46	default "samr21e17a" if SOC_SAMR21E17A
47	default "samr21e18a" if SOC_SAMR21E18A
48	default "samr21e19a" if SOC_SAMR21E19A
49	default "samr21g16a" if SOC_SAMR21G16A
50	default "samr21g17a" if SOC_SAMR21G17A
51	default "samr21g18a" if SOC_SAMR21G18A
52