diff --git a/cpu/atmega_common/Kconfig b/cpu/atmega_common/Kconfig index 61ec6df358..386916f5bd 100644 --- a/cpu/atmega_common/Kconfig +++ b/cpu/atmega_common/Kconfig @@ -26,6 +26,12 @@ config CPU_COMMON_ATMEGA 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_ARCH default "avr8" if CPU_ARCH_AVR8 @@ -33,6 +39,9 @@ config CPU_ARCH config CPU_CORE default "avr" if CPU_CORE_AVR +config CPU_FAM + default "atmega128" if CPU_FAM_ATMEGA128 + ## Declaration of specific features config HAS_ARCH_AVR8 bool