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 <francois.ramu@st.com>
Signed-off-by: Bjarki Arge Andreasen <bjarki@arge-andreasen.me>
This commit is contained in:
Bjarki Arge Andreasen 2024-01-03 14:16:08 +01:00 committed by Carles Cufí
commit 95c5f9b6f3

View file

@ -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