-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[stm32] PM restore console after sleep mode #31284
Comments
When considering STOP 0/1/2 low power modes as DEVICE_PM_LOW_POWER_STATE for the stm32l4xx soc:
|
In the test application tests/subsys/power/power_mgmt, the dummy_driver is put in DEVICE_PM_SUSPEND_STATE (=3) |
add the CONFIG_PM_DEVICE definition from the CONFIG_PM for the soc that supports the low power modes. |
Note that the |
When testing the PowerManagement on stm32L4 or stm32WB55 through the tests/subsys/power/power_mgmt
the console is no more functional and prints spurious characters.
Describe the solution you'd like
To define a function in the uart_stm32.c driver (replace device_pm_control_nop)
to flush the console before going to sleep
To restore the correct clock for the console after sleep mode
**Console: **
The text was updated successfully, but these errors were encountered: