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
Hugues Larrive 064c799e57 cpu/atmega_common: some additional periph drivers fixed for atmega8 cpu
- periph/eeprom.c
- periph/wdt.c
- periph/gpio_ll_irq.c

removed unsupported cpuid and dpgpin feature for atmega8 cpu familly

pkg/qdsa: bump the commit hash bump the commit hash after RIOT-OS/qDSA#4
was merged
2023-07-11 21:22:02 +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 if !CPU_FAM_ATMEGA8
select HAS_PERIPH_CPUID if !CPU_FAM_ATMEGA8
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"