Skip to content

Commit c45e181

Browse files
committed
chore(c5): add stm32_hal top inclusion
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent a50061a commit c45e181

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎libraries/SrcWrapper/inc/stm32_def.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@
7474
#error "STM32YYxx chip series is not defined in boards.txt."
7575
#endif
7676

77+
#if defined(USE_HALV2_DRIVER)
78+
#include "stm32_hal.h"
79+
#endif /* USE_HALV2_DRIVER */
80+
7781
#ifndef F_CPU
7882
#define F_CPU SystemCoreClock
7983
#endif

0 commit comments

Comments
 (0)