Browse Source

Fix STM32G0B1 not booting after ChibiOS update (#26342)

Joel Challis 1 week ago
parent
commit
95b9016a3b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      platforms/chibios/boards/GENERIC_STM32_G0B1XB/configs/mcuconf.h

+ 1 - 1
platforms/chibios/boards/GENERIC_STM32_G0B1XB/configs/mcuconf.h

@@ -41,7 +41,7 @@
 #define STM32_NO_INIT                       FALSE
 #define STM32_CLOCK_DYNAMIC                 TRUE
 #define STM32_VOS                           STM32_VOS_RANGE1
-#define STM32_PWR_CR2                       (STM32_PVDRT_LEV0 | STM32_PVDFT_LEV0 | STM32_PVDE_DISABLED)
+#define STM32_PWR_CR2                       PWR_CR2_PVMEN_USB
 #define STM32_PWR_CR3                       (PWR_CR3_EIWUL)
 #define STM32_PWR_CR4                       (0U)
 #define STM32_PWR_PUCRA                     (0U)