Skip to content

Commit 308676d

Browse files
committed
[MP1] Remove workaround for missing Cortex LL driver
stm32mp1xx_ll_cortex.h has been added in 1.2.0. Signed-off-by: Frederic Pillon <[email protected]>
1 parent 892aecc commit 308676d

File tree

1 file changed

+0
-10
lines changed
  • libraries/SrcWrapper/src/stm32

1 file changed

+0
-10
lines changed

libraries/SrcWrapper/src/stm32/clock.c

-10
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,6 @@
4343
extern "C" {
4444
#endif
4545

46-
#if defined(STM32MP1xx)
47-
#include "stm32mp1xx_hal.h"
48-
/* STM32MP1xx does not have own stm32mp1xx_ll_cortex.h so define functions manually.
49-
*/
50-
__STATIC_INLINE uint32_t LL_SYSTICK_IsActiveCounterFlag(void)
51-
{
52-
return ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == (SysTick_CTRL_COUNTFLAG_Msk));
53-
}
54-
#endif
55-
5646
/**
5747
* @brief Function called to read the current micro second
5848
* @param None

0 commit comments

Comments
 (0)