Typically, action performed by CPU2 on a dual core application. Since this example is single core, perform it by CPU1.
On STM32WB, both CPU1 and CPU2 must be in low-power mode to set the entire System in low-power mode, corresponding to the deepest low-power mode possible.
For example, CPU1 in Stop2 mode and CPU2 in Shutdown mode will make system enter in Stop2 mode.
Fixes #85
Typically, action performed by CPU2 on a dual core application. Since this example is single core, perform it by CPU1.
On STM32WB, both CPU1 and CPU2 must be in low-power mode to set the entire System in low-power mode, corresponding to the deepest low-power mode possible. For example, CPU1 in Stop2 mode and CPU2 in Shutdown mode will make system enter in Stop2 mode.