From 95c5f9b6f3521403a9443685f7b062d6c116c279 Mon Sep 17 00:00:00 2001 From: Bjarki Arge Andreasen Date: Wed, 3 Jan 2024 14:16:08 +0100 Subject: [PATCH] soc: arm: stm32f4 increase IDLE stack in case of PM When Power Management is enabled (CONFIG_PM=y), the CONFIG_IDLE_STACK_SIZE of 320 is not enough : Increase its size to 512. Signed-off-by: Francois Ramu Signed-off-by: Bjarki Arge Andreasen --- soc/arm/st_stm32/stm32f4/Kconfig.defconfig.series | 3 +++ 1 file changed, 3 insertions(+) diff --git a/soc/arm/st_stm32/stm32f4/Kconfig.defconfig.series b/soc/arm/st_stm32/stm32f4/Kconfig.defconfig.series index 26eead6bef8..63725609480 100644 --- a/soc/arm/st_stm32/stm32f4/Kconfig.defconfig.series +++ b/soc/arm/st_stm32/stm32f4/Kconfig.defconfig.series @@ -25,6 +25,9 @@ config COUNTER config COUNTER_RTC_STM32_SUBSECONDS default y if DT_HAS_ST_STM32_RTC_ENABLED +config IDLE_STACK_SIZE + default 512 + endif # PM endif # SOC_SERIES_STM32F4X