From ab70f20069a8316931101d2457b9927336dcc4b8 Mon Sep 17 00:00:00 2001 From: Gerson Fernando Budke Date: Thu, 6 Jul 2023 18:18:07 +0200 Subject: [PATCH] cpu/avr8_common: Fix PM and Common peripherals build Co-authored-by: Marian Buschsieweke Signed-off-by: Gerson Fernando Budke --- cpu/avr8_common/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cpu/avr8_common/Kconfig b/cpu/avr8_common/Kconfig index 03a0f40b5a..7bd1c5f467 100644 --- a/cpu/avr8_common/Kconfig +++ b/cpu/avr8_common/Kconfig @@ -12,6 +12,8 @@ config CPU_ARCH_AVR8 select HAS_ARCH_AVR8 select HAS_PERIPH_PM + select MODULE_AVR8_COMMON_PERIPH if TEST_KCONFIG + select MODULE_PM_LAYERED if TEST_KCONFIG select MODULE_MALLOC_THREAD_SAFE if TEST_KCONFIG select MODULE_TINY_STRERROR_AS_STRERROR if TEST_KCONFIG # static C++ constructors need guards for thread safe initialization @@ -41,6 +43,13 @@ config MODULE_AVR8_COMMON help AVR-8 common code. + config MODULE_AVR8_COMMON_PERIPH + bool + depends on TEST_KCONFIG + default y + help + Common peripheral drivers used across different AVR-8 MCU families. + # the atmel port uses stdio_uart by default choice STDIO_IMPLEMENTATION default MODULE_STDIO_UART