Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

soc: st: stm32: build warning for STM32_ENABLE_DEBUG_SLEEP_STOP #87193

Merged
merged 1 commit into from
Mar 19, 2025

Conversation

JordanYates
Copy link
Collaborator

Add a warning in the build system if both CONFIG_PM and STM32_ENABLE_DEBUG_SLEEP_STOP are enabled at the same time. The first is likely only enabled if the SoC is intended to be driven into low power states to save power, while the later prevents the SoC from being as low power as it can be.

The sneaky select on CONFIG_USE_SEGGER_RTT cost me a day of my life chasing down clock configurations :)

config USE_SEGGER_RTT
bool "SEGGER RTT libraries."
depends on HAS_SEGGER_RTT
select STM32_ENABLE_DEBUG_SLEEP_STOP if SOC_FAMILY_STM32

Add a warning in the build system if both `CONFIG_PM` and
`STM32_ENABLE_DEBUG_SLEEP_STOP` are enabled at the same time. The first
is likely only enabled if the SoC is intended to be driven into low
power states to save power, while the later prevents the SoC from being
as low power as it can be.

Signed-off-by: Jordan Yates <jordan@embeint.com>
@kartben kartben merged commit 65bc07c into zephyrproject-rtos:main Mar 19, 2025
23 checks passed
@JordanYates JordanYates deleted the 250317_stm32_pm branch March 19, 2025 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: STM32 ST Micro STM32
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants