1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/atmega_common/Kconfig
Marian Buschsieweke 04ab5a74f3
cpu/atmega_common: implement periph/gpio_ll{,_irq}
Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
2022-05-02 14:44:55 +02:00

58 lines
1.5 KiB
Plaintext

# Copyright (c) 2020 HAW Hamburg
#
# 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 HAS_CPU_CORE_ATMEGA
bool
select CPU_ARCH_AVR8
select HAS_CPP
config CPU_COMMON_ATMEGA
bool
select HAS_CPU_CORE_ATMEGA
select HAS_ATMEGA_PCINT0
select HAS_DBGPIN
select HAS_PERIPH_CPUID
select HAS_PERIPH_EEPROM
select HAS_PERIPH_GPIO
select HAS_PERIPH_GPIO_IRQ
select HAS_PERIPH_GPIO_LL
select HAS_PERIPH_GPIO_LL_IRQ
select HAS_PERIPH_GPIO_LL_IRQ_LEVEL_TRIGGERED_LOW
select HAS_PERIPH_GPIO_LL_IRQ_UNMASK
select HAS_PERIPH_PM
select HAS_PERIPH_RTC_MS
select HAS_PERIPH_RTT_SET_COUNTER
select HAS_PERIPH_TIMER_PERIODIC
select HAS_PERIPH_RTT_OVERFLOW
select HAS_PERIPH_WDT
select HAS_PUF_SRAM
# Define ATMega128 family here as it is used by different CPUs
config CPU_FAM_ATMEGA128
bool
select CPU_COMMON_ATMEGA
select CPU_CORE_AVR
## Common CPU symbols
config CPU_FAM
default "atmega128" if CPU_FAM_ATMEGA128
config ERROR_MODULES_CONFLICT
default "On ATmega, the RTC and RTT use to the same hardware timer." if MODULE_PERIPH_RTC && MODULE_PERIPH_RTT
depends on CPU_COMMON_ATMEGA
config MODULE_ATMEGA_COMMON
bool
depends on CPU_COMMON_ATMEGA
depends on TEST_KCONFIG
default y
help
ATmega common code.
rsource "periph/Kconfig"
source "$(RIOTCPU)/avr8_common/Kconfig"