File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
samples/boards/stm32/power_mgmt/serial_wakeup Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
CONFIG_PM=y
2
2
CONFIG_PM_DEVICE=y
3
- CONFIG_PM_DEVICE_RUNTIME=n
4
- CONFIG_PM_DEVICE_RUNTIME_EXCLUSIVE=n
3
+ CONFIG_PM_DEVICE_RUNTIME=y
4
+ CONFIG_PM_DEVICE_RUNTIME_EXCLUSIVE=y
5
+
5
6
CONFIG_SHELL=y
6
7
7
8
CONFIG_DEBUG=n
Original file line number Diff line number Diff line change 4
4
sample.boards.stm32.power_mgmt.serial_wakeup :
5
5
tags :
6
6
- UART
7
- - Wake
8
- - up
9
7
- power
10
8
harness : console
11
9
harness_config :
Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ int main(void)
24
24
#if CONFIG_PM_DEVICE
25
25
/* In PM_DEVICE modes, enable device as a wakeup source will prevent
26
26
* system to switch it off (clock off, set pins to sleep configuration, ...)
27
- * It is not requested in PM mode only since this mode will not
27
+ * It is not requested in CONFIG_PM mode only as in this case, device is not
28
+ * suspended before stop mode entry.
28
29
*/
29
30
30
31
bool ret ;
You can’t perform that action at this time.
0 commit comments