circuitpython/ports
Clayton Mills 0d8d911950 stm32/powerctrl: Disable sys tick interrupt in stop mode on some STM32s.
According to ST Errata ES0206 Rev 18, Section 2.2.1, on STM32F427x,
STM32F437x, STM32F429x and STM32F439x.

If the system tick interrupt is enabled during stop mode while certain
bits are set in the DBGMCU_CR, then the system will immediately wake
from stop mode.

Suggested workaround is to disable system tick timer interrupt when
entering stop mode.

According to ST Errate ES0394 Rev 11, Section 2.2.17, on STM32WB55Cx and
STM32WB35Cx.

If the system tick interrupt is enabled during stop 0, stop 1 or stop 2
while certain bits are set in DBGMCU_CR, then system will immediately
wake from stop mode but the system remains in low power state. The CPU
therefore fetches incorrect data from inactive Flash, which can cause a
hard fault.

Suggested workaround is to disable system tick timer interrupt when
entering stop mode.
2022-06-07 18:08:02 +10:00
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
esp32 all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
esp8266 all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
javascript all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
mimxrt mimxrt: Update port to work with new nxp_driver v2.10. 2022-06-03 10:48:49 +10:00
minimal ports: Use default VFS config for import_stat and builtin_open. 2022-05-25 13:04:45 +10:00
nrf nrf/mpconfigport: Fix MICROPY_VFS IO build support. 2022-06-03 12:39:43 +10:00
pic16bit pic16bit: Use 1 byte for qstr hash len and include header to fix build. 2022-06-07 16:55:18 +10:00
powerpc py/builtin: Clean up and simplify import_stat and builtin_open config. 2022-05-25 13:04:45 +10:00
qemu-arm all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
renesas-ra renesas-ra/machine_pin: Remove code for unsupported Pin features. 2022-06-03 10:57:48 +10:00
rp2 all: Rename MICROPY_PY_WIZNET5K to MICROPY_PY_NETWORK_WIZNET5K. 2022-06-07 16:55:18 +10:00
samd all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
stm32 stm32/powerctrl: Disable sys tick interrupt in stop mode on some STM32s. 2022-06-07 18:08:02 +10:00
teensy all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
unix all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
windows py: Change makemoduledefs process so it uses output of qstr extraction. 2022-06-02 16:29:53 +10:00
zephyr all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00