1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/atxmega/Kconfig.XMEGAB
Gerson Fernando Budke 1a88f0bad6 cpu: Introduce Atmel xmega cpu
Add ATxmega common files and cpu definitions.

This works was originally developed by @Josar.  The 2018 version
were port to 2021 mainline.

This version changes original port to have only the atxmega CPU
definition. With that, all family can be accomodated.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-15 20:16:10 -03:00

26 lines
542 B
Plaintext

## CPU Models
# XMEGA - B1
config CPU_MODEL_XMEGA64B1
bool
select CPU_CORE_ATXMEGA_B1
config CPU_MODEL_XMEGA128B1
bool
select CPU_CORE_ATXMEGA_B1
# XMEGA - B3
config CPU_MODEL_XMEGA64B3
bool
select CPU_CORE_ATXMEGA_B3
config CPU_MODEL_XMEGA128B3
bool
select CPU_CORE_ATXMEGA_B3
config CPU_MODEL
default "atxmega64b3" if CPU_MODEL_XMEGA64B3
default "atxmega128b3" if CPU_MODEL_XMEGA128B3
default "atxmega64b1" if CPU_MODEL_XMEGA64B1
default "atxmega128b1" if CPU_MODEL_XMEGA128B1