Skip to content

Commit 20debbf

Browse files
committed
lib(SrcWrapper): update HAL wrapped files with legacy
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 151156f commit 20debbf

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_can.c

+14
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,31 @@
44

55
#ifdef STM32F0xx
66
#include "stm32f0xx_hal_can.c"
7+
#elif STM32F0xx
8+
#include "Legacy/stm32f0xx_hal_can.c"
79
#elif STM32F1xx
810
#include "stm32f1xx_hal_can.c"
11+
#elif STM32F1xx
12+
#include "Legacy/stm32f1xx_hal_can.c"
913
#elif STM32F2xx
1014
#include "stm32f2xx_hal_can.c"
15+
#elif STM32F2xx
16+
#include "Legacy/stm32f2xx_hal_can.c"
1117
#elif STM32F3xx
1218
#include "stm32f3xx_hal_can.c"
19+
#elif STM32F3xx
20+
#include "Legacy/stm32f3xx_hal_can.c"
1321
#elif STM32F4xx
1422
#include "stm32f4xx_hal_can.c"
23+
#elif STM32F4xx
24+
#include "Legacy/stm32f4xx_hal_can.c"
1525
#elif STM32F7xx
1626
#include "stm32f7xx_hal_can.c"
27+
#elif STM32F7xx
28+
#include "Legacy/stm32f7xx_hal_can.c"
1729
#elif STM32L4xx
1830
#include "stm32l4xx_hal_can.c"
31+
#elif STM32L4xx
32+
#include "Legacy/stm32l4xx_hal_can.c"
1933
#endif
2034
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_eth.c

+4
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@
88
#include "stm32f2xx_hal_eth.c"
99
#elif STM32F4xx
1010
#include "stm32f4xx_hal_eth.c"
11+
#elif STM32F4xx
12+
#include "Legacy/stm32f4xx_hal_eth.c"
1113
#elif STM32F7xx
1214
#include "stm32f7xx_hal_eth.c"
1315
#elif STM32H7xx
1416
#include "stm32h7xx_hal_eth.c"
17+
#elif STM32H7xx
18+
#include "Legacy/stm32h7xx_hal_eth.c"
1519
#endif
1620
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_eth_ex.c

+2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44

55
#ifdef STM32H7xx
66
#include "stm32h7xx_hal_eth_ex.c"
7+
#elif STM32H7xx
8+
#include "Legacy/stm32h7xx_hal_eth_ex.c"
79
#endif
810
#pragma GCC diagnostic pop

0 commit comments

Comments
 (0)