Skip to content

Commit 8ad115d

Browse files
committed
Wrap HAL source files
Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 34210cc commit 8ad115d

File tree

114 files changed

+3283
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+3283
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F0xx
4+
#include "stm32f0xx_hal.c"
5+
#endif
6+
#ifdef STM32F1xx
7+
#include "stm32f1xx_hal.c"
8+
#endif
9+
#ifdef STM32F2xx
10+
#include "stm32f2xx_hal.c"
11+
#endif
12+
#ifdef STM32F3xx
13+
#include "stm32f3xx_hal.c"
14+
#endif
15+
#ifdef STM32F4xx
16+
#include "stm32f4xx_hal.c"
17+
#endif
18+
#ifdef STM32F7xx
19+
#include "stm32f7xx_hal.c"
20+
#endif
21+
#ifdef STM32L0xx
22+
#include "stm32l0xx_hal.c"
23+
#endif
24+
#ifdef STM32L1xx
25+
#include "stm32l1xx_hal.c"
26+
#endif
27+
#ifdef STM32L4xx
28+
#include "stm32l4xx_hal.c"
29+
#endif
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F0xx
4+
#include "stm32f0xx_hal_adc.c"
5+
#endif
6+
#ifdef STM32F1xx
7+
#include "stm32f1xx_hal_adc.c"
8+
#endif
9+
#ifdef STM32F2xx
10+
#include "stm32f2xx_hal_adc.c"
11+
#endif
12+
#ifdef STM32F3xx
13+
#include "stm32f3xx_hal_adc.c"
14+
#endif
15+
#ifdef STM32F4xx
16+
#include "stm32f4xx_hal_adc.c"
17+
#endif
18+
#ifdef STM32F7xx
19+
#include "stm32f7xx_hal_adc.c"
20+
#endif
21+
#ifdef STM32L0xx
22+
#include "stm32l0xx_hal_adc.c"
23+
#endif
24+
#ifdef STM32L1xx
25+
#include "stm32l1xx_hal_adc.c"
26+
#endif
27+
#ifdef STM32L4xx
28+
#include "stm32l4xx_hal_adc.c"
29+
#endif
30+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F0xx
4+
#include "stm32f0xx_hal_adc_ex.c"
5+
#endif
6+
#ifdef STM32F1xx
7+
#include "stm32f1xx_hal_adc_ex.c"
8+
#endif
9+
#ifdef STM32F2xx
10+
#include "stm32f2xx_hal_adc_ex.c"
11+
#endif
12+
#ifdef STM32F3xx
13+
#include "stm32f3xx_hal_adc_ex.c"
14+
#endif
15+
#ifdef STM32F4xx
16+
#include "stm32f4xx_hal_adc_ex.c"
17+
#endif
18+
#ifdef STM32F7xx
19+
#include "stm32f7xx_hal_adc_ex.c"
20+
#endif
21+
#ifdef STM32L0xx
22+
#include "stm32l0xx_hal_adc_ex.c"
23+
#endif
24+
#ifdef STM32L1xx
25+
#include "stm32l1xx_hal_adc_ex.c"
26+
#endif
27+
#ifdef STM32L4xx
28+
#include "stm32l4xx_hal_adc_ex.c"
29+
#endif
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F0xx
4+
#include "stm32f0xx_hal_can.c"
5+
#endif
6+
#ifdef STM32F1xx
7+
#include "stm32f1xx_hal_can.c"
8+
#endif
9+
#ifdef STM32F2xx
10+
#include "stm32f2xx_hal_can.c"
11+
#endif
12+
#ifdef STM32F3xx
13+
#include "stm32f3xx_hal_can.c"
14+
#endif
15+
#ifdef STM32F4xx
16+
#include "stm32f4xx_hal_can.c"
17+
#endif
18+
#ifdef STM32F7xx
19+
#include "stm32f7xx_hal_can.c"
20+
#endif
21+
#ifdef STM32L0xx
22+
// none
23+
#endif
24+
#ifdef STM32L1xx
25+
// none
26+
#endif
27+
#ifdef STM32L4xx
28+
#include "stm32l4xx_hal_can.c"
29+
#endif
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F0xx
4+
#include "stm32f0xx_hal_cec.c"
5+
#endif
6+
#ifdef STM32F1xx
7+
#include "stm32f1xx_hal_cec.c"
8+
#endif
9+
#ifdef STM32F2xx
10+
// none
11+
#endif
12+
#ifdef STM32F3xx
13+
#include "stm32f3xx_hal_cec.c"
14+
#endif
15+
#ifdef STM32F4xx
16+
#include "stm32f4xx_hal_cec.c"
17+
#endif
18+
#ifdef STM32F7xx
19+
#include "stm32f7xx_hal_cec.c"
20+
#endif
21+
#ifdef STM32L0xx
22+
// none
23+
#endif
24+
#ifdef STM32L1xx
25+
// none
26+
#endif
27+
#ifdef STM32L4xx
28+
// none
29+
#endif
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F0xx
4+
#include "stm32f0xx_hal_comp.c"
5+
#endif
6+
#ifdef STM32F1xx
7+
// none
8+
#endif
9+
#ifdef STM32F2xx
10+
// none
11+
#endif
12+
#ifdef STM32F3xx
13+
#include "stm32f3xx_hal_comp.c"
14+
#endif
15+
#ifdef STM32F4xx
16+
// none
17+
#endif
18+
#ifdef STM32F7xx
19+
// none
20+
#endif
21+
#ifdef STM32L0xx
22+
#include "stm32l0xx_hal_comp.c"
23+
#endif
24+
#ifdef STM32L1xx
25+
#include "stm32l1xx_hal_comp.c"
26+
#endif
27+
#ifdef STM32L4xx
28+
#include "stm32l4xx_hal_comp.c"
29+
#endif
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F0xx
4+
// none
5+
#endif
6+
#ifdef STM32F1xx
7+
// none
8+
#endif
9+
#ifdef STM32F2xx
10+
// none
11+
#endif
12+
#ifdef STM32F3xx
13+
// none
14+
#endif
15+
#ifdef STM32F4xx
16+
// none
17+
#endif
18+
#ifdef STM32F7xx
19+
// none
20+
#endif
21+
#ifdef STM32L0xx
22+
#include "stm32l0xx_hal_comp_ex.c"
23+
#endif
24+
#ifdef STM32L1xx
25+
// none
26+
#endif
27+
#ifdef STM32L4xx
28+
// none
29+
#endif
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F0xx
4+
#include "stm32f0xx_hal_cortex.c"
5+
#endif
6+
#ifdef STM32F1xx
7+
#include "stm32f1xx_hal_cortex.c"
8+
#endif
9+
#ifdef STM32F2xx
10+
#include "stm32f2xx_hal_cortex.c"
11+
#endif
12+
#ifdef STM32F3xx
13+
#include "stm32f3xx_hal_cortex.c"
14+
#endif
15+
#ifdef STM32F4xx
16+
#include "stm32f4xx_hal_cortex.c"
17+
#endif
18+
#ifdef STM32F7xx
19+
#include "stm32f7xx_hal_cortex.c"
20+
#endif
21+
#ifdef STM32L0xx
22+
#include "stm32l0xx_hal_cortex.c"
23+
#endif
24+
#ifdef STM32L1xx
25+
#include "stm32l1xx_hal_cortex.c"
26+
#endif
27+
#ifdef STM32L4xx
28+
#include "stm32l4xx_hal_cortex.c"
29+
#endif
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F0xx
4+
#include "stm32f0xx_hal_crc.c"
5+
#endif
6+
#ifdef STM32F1xx
7+
#include "stm32f1xx_hal_crc.c"
8+
#endif
9+
#ifdef STM32F2xx
10+
#include "stm32f2xx_hal_crc.c"
11+
#endif
12+
#ifdef STM32F3xx
13+
#include "stm32f3xx_hal_crc.c"
14+
#endif
15+
#ifdef STM32F4xx
16+
#include "stm32f4xx_hal_crc.c"
17+
#endif
18+
#ifdef STM32F7xx
19+
#include "stm32f7xx_hal_crc.c"
20+
#endif
21+
#ifdef STM32L0xx
22+
#include "stm32l0xx_hal_crc.c"
23+
#endif
24+
#ifdef STM32L1xx
25+
#include "stm32l1xx_hal_crc.c"
26+
#endif
27+
#ifdef STM32L4xx
28+
#include "stm32l4xx_hal_crc.c"
29+
#endif
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F0xx
4+
#include "stm32f0xx_hal_crc_ex.c"
5+
#endif
6+
#ifdef STM32F1xx
7+
// none
8+
#endif
9+
#ifdef STM32F2xx
10+
// none
11+
#endif
12+
#ifdef STM32F3xx
13+
#include "stm32f3xx_hal_crc_ex.c"
14+
#endif
15+
#ifdef STM32F4xx
16+
// none
17+
#endif
18+
#ifdef STM32F7xx
19+
#include "stm32f7xx_hal_crc_ex.c"
20+
#endif
21+
#ifdef STM32L0xx
22+
#include "stm32l0xx_hal_crc_ex.c"
23+
#endif
24+
#ifdef STM32L1xx
25+
// none
26+
#endif
27+
#ifdef STM32L4xx
28+
#include "stm32l4xx_hal_crc_ex.c"
29+
#endif

0 commit comments

Comments
 (0)