Skip to content

Commit 57632f0

Browse files
committed
[nrf fromlist] tests: drivers: uart: uart_pm: Disable PM_DEVICE_SYSTEM_MANAGED
When PM_DEVICE_SYSTEM_MANAGED is enabled (and that's the default) all devices are suspended when device go to idle state (through pm subsystem and not through just cpu_idle). In this test we are manually controlling PM of the DUT so we don't want that. Additionally, suspend action is taking a semaphore and it is illegal in idle thread (where system managment operates) which causes assert in kernel scheduler. Signed-off-by: Krzysztof Chruściński <[email protected]> Upstream PR: zephyrproject-rtos/zephyr#79292 Signed-off-by: Sebastian Głąb <[email protected]>
1 parent d14022d commit 57632f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
CONFIG_ZTEST=y
22
CONFIG_SERIAL=y
33
CONFIG_PM=y
4+
CONFIG_PM_DEVICE_SYSTEM_MANAGED=n
45
CONFIG_PM_DEVICE=y

0 commit comments

Comments
 (0)