Skip to content

Commit 0f7a5bc

Browse files
committed
core(WB): update wrapped files
Signed-off-by: TLIG Dhaou <dhaou.tlig-ext@st.com>
1 parent 1575b13 commit 0f7a5bc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

cores/arduino/stm32/stm32_def_build.h

+2
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,8 @@
426426
#define CMSIS_STARTUP_FILE "startup_stm32wb10xx_cm4.s"
427427
#elif defined(STM32WB15xx)
428428
#define CMSIS_STARTUP_FILE "startup_stm32wb15xx_cm4.s"
429+
#elif defined(STM32WB1Mxx)
430+
#define CMSIS_STARTUP_FILE "startup_stm32wb1mxx_cm4.s"
429431
#elif defined(STM32WB30xx)
430432
#define CMSIS_STARTUP_FILE "startup_stm32wb30xx_cm4.s"
431433
#elif defined(STM32WB35xx)

system/STM32WBxx/system_stm32wbxx.c

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

162-
#if defined(STM32WB55xx) || defined(STM32WB5Mxx) || defined(STM32WB35xx) || defined (STM32WB15xx)
162+
#if defined(STM32WB55xx) || defined(STM32WB5Mxx) || defined(STM32WB35xx) || defined (STM32WB15xx) || || defined (STM32WB1Mxx)
163163
const uint32_t SmpsPrescalerTable[4UL][6UL]={{1UL,3UL,2UL,2UL,1UL,2UL}, \
164164
{2UL,6UL,4UL,3UL,2UL,4UL}, \
165165
{4UL,12UL,8UL,6UL,4UL,8UL}, \

0 commit comments

Comments
 (0)