summaryrefslogtreecommitdiff
path: root/ports/stm32/powerctrl.c
diff options
context:
space:
mode:
authorMike Tolkachev <mstolkachev@gmail.com>2025-10-13 11:06:24 -0300
committerDamien George <damien@micropython.org>2025-11-27 15:41:41 +1100
commitcad9bb3a2b5c73637d67591c43ee10c39719fa5e (patch)
tree0a5a6f72eede6661629c767bd41a89fc30165ea7 /ports/stm32/powerctrl.c
parentb087cb41e85641b9aa530dc2001e151750219f0b (diff)
stm32: Add support for STM32F469xx MCUs.
Signed-off-by: Mike Tolkachev <contact@miketolkachev.dev>
Diffstat (limited to 'ports/stm32/powerctrl.c')
-rw-r--r--ports/stm32/powerctrl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ports/stm32/powerctrl.c b/ports/stm32/powerctrl.c
index 7211ef873..a63c57f4a 100644
--- a/ports/stm32/powerctrl.c
+++ b/ports/stm32/powerctrl.c
@@ -798,13 +798,13 @@ void powerctrl_enter_stop_mode(void) {
#if defined(STM32H7) || \
defined(STM32F427xx) || defined(STM32F437xx) || \
- defined(STM32F429xx) || defined(STM32F439xx) || \
+ defined(STM32F429xx) || defined(STM32F439xx) || defined(STM32F469xx) || \
defined(STM32WB55xx) || defined(STM32WB35xx)
// Disable SysTick Interrupt
// Note: This seems to be required at least on the H7 REV Y,
// otherwise the MCU will leave stop mode immediately on entry.
// Note: According to ST Errata ES0206 Rev 18, Section 2.2.1 this is needed
- // for STM32F427xx, STM32F437xx, STM32F429xx and STM32F439xx
+ // for STM32F427xx, STM32F437xx, STM32F429xx, STM32F439xx, and STM32F469xx
// Note: According to ST Errata ES0394 Rev 11, Section 2.2.17 this is needed
// for STM32WB55xx and STM32WB35xx
SysTick->CTRL &= ~SysTick_CTRL_TICKINT_Msk;
@@ -1039,7 +1039,7 @@ void powerctrl_enter_stop_mode(void) {
#if defined(STM32H7) || \
defined(STM32F427xx) || defined(STM32F437xx) || \
- defined(STM32F429xx) || defined(STM32F439xx) || \
+ defined(STM32F429xx) || defined(STM32F439xx) || defined(STM32F469xx) || \
defined(STM32WB55xx) || defined(STM32WB35xx)
// Enable SysTick Interrupt
SysTick->CTRL |= SysTick_CTRL_TICKINT_Msk;