Skip to content
Commit 54fa6f30 authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Carles Cufí
Browse files

soc: stm32: Enable Debug in stop mode when ZTEST is used



Force STM32_ENABLE_DEBUG_SLEEP_STOP option when running tests.
This option enables Debug in Sleep/stop states and disables it when
disabled (default state).

When disabled, it may be impossible to flash the device with runner
such as openocd. It's generally working using cubeprogrammer, but it might
fail as well with fault configuration.

Instead of fixing each test or breaking CI each time a new test is created
with CONFIG_PM=y, force this option to be enabled when ZTEST=y (as it was
already the case when DEBUG=y).

Signed-off-by: default avatarErwan Gouriou <erwan.gouriou@st.com>
parent b3f3d902
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment