mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
70c597620f
Current there is no way to split code between ATmega and ATxmega in drivers. This differentiate AVR8 cores into MEGAs and XMEGAs. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
26 lines
594 B
Plaintext
26 lines
594 B
Plaintext
# Copyright (c) 2020 HAW Hamburg
|
|
# 2021 Gerson Fernando Budke
|
|
#
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
# directory for more details.
|
|
#
|
|
|
|
config CPU_ARCH_AVR8
|
|
bool
|
|
select HAS_ARCH_8BIT
|
|
select HAS_ARCH_AVR8
|
|
|
|
## Common CPU symbols
|
|
config CPU_ARCH
|
|
default "avr8" if CPU_ARCH_AVR8
|
|
|
|
config CPU_CORE
|
|
default "avr" if CPU_CORE_AVR
|
|
|
|
## Declaration of specific features
|
|
config HAS_ARCH_AVR8
|
|
bool
|
|
help
|
|
Indicates that the current architecture is Atmel AVR8.
|