Skip to content

Commit 9b41a60

Browse files
committed
Use Semaphore in this variant to control M0/M4
Especially the CFG_HW_RCC_SEMID (3) when enabling the BLE Signed-off-by: Francois Ramu <francois.ramu@st.com>
1 parent 0a0b2b9 commit 9b41a60

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

libraries/SrcWrapper/src/stm32/hw_config.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void hw_config_init(void)
6666
USBD_CDC_init();
6767
#endif
6868

69-
#if defined (STM32MP1xx)
69+
#if defined (STM32MP1xx) || defined (STM32WBxx)
7070
__HAL_RCC_HSEM_CLK_ENABLE();
7171
#endif
7272

variants/PNUCLEO_WB55RG/variant.h

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ extern "C" {
121121
#define FLASH_PAGE_NUMBER 127
122122

123123
#define HAL_IPCC_MODULE_ENABLED
124+
#define HAL_HSEM_MODULE_ENABLED
124125

125126
#ifdef __cplusplus
126127
} // extern "C"

0 commit comments

Comments
 (0)