1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/atxmega/Kconfig.XMEGAD
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

56 lines
1.2 KiB
Plaintext

## CPU Models
# XMEGA - D3
config CPU_MODEL_XMEGA32D3
bool
select CPU_CORE_ATXMEGA_D3
config CPU_MODEL_XMEGA64D3
bool
select CPU_CORE_ATXMEGA_D3
config CPU_MODEL_XMEGC128D3
bool
select CPU_CORE_ATXMEGA_D3
config CPU_MODEL_XMEGC192D3
bool
select CPU_CORE_ATXMEGA_D3
config CPU_MODEL_XMEGA256D3
bool
select CPU_CORE_ATXMEGA_D3
config CPU_MODEL_XMEGA384D3
bool
select CPU_CORE_ATXMEGA_D3
# XMEGA - D4
config CPU_MODEL_XMEGA16D4
bool
select CPU_CORE_ATXMEGA_D4
config CPU_MODEL_XMEGA32D4
bool
select CPU_CORE_ATXMEGA_D4
config CPU_MODEL_XMEGA64D4
bool
select CPU_CORE_ATXMEGA_D4
config CPU_MODEL_XMEGA128D4
bool
select CPU_CORE_ATXMEGA_D4
config CPU_MODEL
default "atxmega32d3" if CPU_MODEL_XMEGA32D3
default "atxmega64d3" if CPU_MODEL_XMEGA64D3
default "atxmega128d3" if CPU_MODEL_XMEGC128D3
default "atxmega192d3" if CPU_MODEL_XMEGC192D3
default "atxmega256d3" if CPU_MODEL_XMEGA256D3
default "atxmega384d3" if CPU_MODEL_XMEGA384D3
default "atxmega16d4" if CPU_MODEL_XMEGA16D4
default "atxmega32d4" if CPU_MODEL_XMEGA32D4
default "atxmega64d4" if CPU_MODEL_XMEGA64D4
default "atxmega128d4" if CPU_MODEL_XMEGA128D4