drivers/flash: stm32wb: Add HSEM

Add HSEM for Flash access since shared between 2 cores.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2019-03-04 09:56:17 +01:00 committed by Anas Nashif
commit 51033a5814
2 changed files with 22 additions and 0 deletions

View file

@ -43,6 +43,10 @@
#include <stm32wbxx_ll_system.h>
#endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */
#ifdef CONFIG_FLASH
#include <stm32wbxx_ll_hsem.h>
#endif /* CONFIG_FLASH */
#endif /* !_ASMLANGUAGE */
#endif /* _STM32WBX_SOC_H_ */