mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
1a88f0bad6
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>
46 lines
1.0 KiB
Plaintext
46 lines
1.0 KiB
Plaintext
## CPU Models
|
|
# XMEGA - C3
|
|
config CPU_MODEL_XMEGA32C3
|
|
bool
|
|
select CPU_CORE_ATXMEGA_C3
|
|
|
|
config CPU_MODEL_XMEGA64C3
|
|
bool
|
|
select CPU_CORE_ATXMEGA_C3
|
|
|
|
config CPU_MODEL_XMEGC128C3
|
|
bool
|
|
select CPU_CORE_ATXMEGA_C3
|
|
|
|
config CPU_MODEL_XMEGC192C3
|
|
bool
|
|
select CPU_CORE_ATXMEGA_C3
|
|
|
|
config CPU_MODEL_XMEGA256C3
|
|
bool
|
|
select CPU_CORE_ATXMEGA_C3
|
|
|
|
config CPU_MODEL_XMEGA384C3
|
|
bool
|
|
select CPU_CORE_ATXMEGA_C3
|
|
|
|
# XMEGA - C4
|
|
config CPU_MODEL_XMEGA16C4
|
|
bool
|
|
select CPU_CORE_ATXMEGA_C4
|
|
|
|
config CPU_MODEL_XMEGA32C4
|
|
bool
|
|
select CPU_CORE_ATXMEGA_C4
|
|
|
|
config CPU_MODEL
|
|
default "atxmega32c3" if CPU_MODEL_XMEGA32C3
|
|
default "atxmega64c3" if CPU_MODEL_XMEGA64C3
|
|
default "atxmega128c3" if CPU_MODEL_XMEGC128C3
|
|
default "atxmega192c3" if CPU_MODEL_XMEGC192C3
|
|
default "atxmega256c3" if CPU_MODEL_XMEGA256C3
|
|
default "atxmega384c3" if CPU_MODEL_XMEGA384C3
|
|
|
|
default "atxmega16c4" if CPU_MODEL_XMEGA16C4
|
|
default "atxmega32c4" if CPU_MODEL_XMEGA32C4
|