Skip to content

Commit 88dd0a4

Browse files
committed
[WB] Update CMSIS Cortex-Mx Device Peripheral Access Layer System
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 2920d3c commit 88dd0a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: system/STM32WBxx/system_stm32wbxx.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
const uint32_t MSIRangeTable[16UL] = {100000UL, 200000UL, 400000UL, 800000UL, 1000000UL, 2000000UL, \
145145
4000000UL, 8000000UL, 16000000UL, 24000000UL, 32000000UL, 48000000UL, 0UL, 0UL, 0UL, 0UL}; /* 0UL values are incorrect cases */
146146

147-
#if defined(STM32WB55xx)
147+
#if defined(STM32WB55xx) || defined(STM32WB5Mxx) || defined(STM32WB35xx)
148148
const uint32_t SmpsPrescalerTable[4UL][6UL]={{1UL,3UL,2UL,2UL,1UL,2UL}, \
149149
{2UL,6UL,4UL,3UL,2UL,4UL}, \
150150
{4UL,12UL,8UL,6UL,4UL,8UL}, \
@@ -206,7 +206,7 @@ void SystemInit(void)
206206
/* Reset PLLCFGR register */
207207
RCC->PLLCFGR = 0x22041000U;
208208

209-
#if defined(STM32WB55xx)
209+
#if defined(STM32WB55xx) || defined(STM32WB5Mxx)
210210
/* Reset PLLSAI1CFGR register */
211211
RCC->PLLSAI1CFGR = 0x22041000U;
212212
#endif

0 commit comments

Comments
 (0)