We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a0b2b9 commit 8e28029Copy full SHA for 8e28029
libraries/SrcWrapper/src/stm32/hw_config.c
@@ -39,6 +39,7 @@
39
#include "hw_config.h"
40
#include "usbd_if.h"
41
#include "dwt.h"
42
+#include "stm32wbxx_ll_hsem.h"
43
44
#ifdef __cplusplus
45
extern "C" {
@@ -66,7 +67,7 @@ void hw_config_init(void)
66
67
USBD_CDC_init();
68
#endif
69
-#if defined (STM32MP1xx)
70
+#if defined (STM32MP1xx) || defined (STM32WBxx)
71
__HAL_RCC_HSEM_CLK_ENABLE();
72
73
variants/PNUCLEO_WB55RG/variant.h
@@ -121,6 +121,7 @@ extern "C" {
121
#define FLASH_PAGE_NUMBER 127
122
123
#define HAL_IPCC_MODULE_ENABLED
124
+#define HAL_HSEM_MODULE_ENABLED
125
126
127
} // extern "C"
0 commit comments