Skip to content

Commit ca8c3f4

Browse files
committed
Fix use of the peripherals drivers in application code
USE_HAL_DRIVER have to be defined when compiling system source file. Signed-off-by: Frederic Pillon <[email protected]>
1 parent 0c25db2 commit ca8c3f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libraries/SrcWrapper/src/stm32/system_stm32yyxx.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#define USE_HAL_DRIVER
2+
13
#ifdef STM32F0xx
24
#include "system_stm32f0xx.c"
35
#endif

0 commit comments

Comments
 (0)