Skip to content

Commit c7b31f3

Browse files
etienne-lmscfriedt
authored andcommitted
samples: boards: st: power_mgmt remove standby_shutdown sample
Remove samples/boards/st/power_mgmt/standby_shutdown. Sample standby_shutdown in boards/st/power_mgmt includes 2 examples. One demonstrates wakeup from shutdown using a wakeup pin which is already implemented in samples/boards/st/power_mgmt/wkup_pins. The other demonstrates wakeup from SoC STANDBY mode using a wakeup pin. However it enters SoC STANDBY mode through pm_state_force() whereas STANDBY mode is not a PM standby or idle state, it is rather a shutdown with possibly only a unique small SRAM retention, not allowing retention of the system as expected from Zephyr standby or idle state flavors. Therefore this second scenario is not applicable and can be removed. Update doc redirection to link removed sample documentation to ST board power management related samples documentation. Signed-off-by: Etienne Carriere <[email protected]>
1 parent 2ace077 commit c7b31f3

File tree

6 files changed

+1
-237
lines changed

6 files changed

+1
-237
lines changed

doc/_scripts/redirects.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@
272272
('samples/boards/nrf/system_off/README', 'samples/boards/nordic/system_off/README'),
273273
('samples/boards/nxp_s32/netc/README', 'samples/boards/nxp/s32/netc/README'),
274274
('samples/boards/qomu/README', 'samples/boards/quicklogic/qomu/README'),
275+
('samples/boards/st/power_mgmt/standby_shutdown/README', 'samples/boards/st/power_mgmt/index'),
275276
('samples/boards/stm32/backup_sram/README', 'samples/boards/st/backup_sram/README'),
276277
('samples/boards/stm32/bluetooth/interactive_gui/README', 'samples/boards/st/bluetooth/interactive_gui/README'),
277278
('samples/boards/stm32/ccm/README', 'samples/boards/st/ccm/README'),

samples/boards/st/power_mgmt/standby_shutdown/CMakeLists.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

samples/boards/st/power_mgmt/standby_shutdown/README.rst

Lines changed: 0 additions & 48 deletions
This file was deleted.

samples/boards/st/power_mgmt/standby_shutdown/prj.conf

Lines changed: 0 additions & 6 deletions
This file was deleted.

samples/boards/st/power_mgmt/standby_shutdown/sample.yaml

Lines changed: 0 additions & 22 deletions
This file was deleted.

samples/boards/st/power_mgmt/standby_shutdown/src/main.c

Lines changed: 0 additions & 154 deletions
This file was deleted.

0 commit comments

Comments
 (0)