Commit 645d91b0 authored by Guillaume Gautier's avatar Guillaume Gautier Committed by Stephanos Ioannidis
Browse files

soc: arm: st_stm32: common: Increase the value of HW semaphore retry



When running the blinky example on STM32H747, with the BOOT_CM4 bit set
to 0, the M4 core goes into panic.
Increasing the value of the hardware semaphore retry prevents this.

Signed-off-by: default avatarGuillaume Gautier <guillaume.gautier-ext@st.com>
parent 55aa282c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -108,7 +108,7 @@
/** Hardware Semaphore wait forever value */
#define HSEM_LOCK_WAIT_FOREVER    0xFFFFFFFFU
/** Hardware Semaphore default retry value */
#define HSEM_LOCK_DEFAULT_RETRY       0xFFFFU
#define HSEM_LOCK_DEFAULT_RETRY       0x100000U

/**
 * @brief Lock Hardware Semaphore