1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/avr8_common/Kconfig
Gerson Fernando Budke 4cbd311196 cpu: Refact atmega_common into avr8_common
Split atmega_common code into avr8_common folder.  This moves common
avr8 code to be used for all avr8 variants: tiny, mega and xmega.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-01-07 16:29:22 -03:00

29 lines
648 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
config CPU_CORE_AVR
bool
select CPU_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.