Skip to content

Commit 2c40123

Browse files
committed
Updated stm32yyxx files to wrap HAL/LL files
Generated using script: gen_stm32yyxx_files.sh available here: https://github.com/fpistm/stm32_tools Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
1 parent 3813bfd commit 2c40123

File tree

87 files changed

+29
-1213
lines changed

Some content is hidden

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

87 files changed

+29
-1213
lines changed

cores/arduino/stm32/HAL/stm32yyxx_hal_adc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,3 @@
2727
#ifdef STM32L4xx
2828
#include "stm32l4xx_hal_adc.c"
2929
#endif
30-

cores/arduino/stm32/HAL/stm32yyxx_hal_can.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@
1818
#ifdef STM32F7xx
1919
#include "stm32f7xx_hal_can.c"
2020
#endif
21-
#ifdef STM32L0xx
22-
// none
23-
#endif
24-
#ifdef STM32L1xx
25-
// none
26-
#endif
2721
#ifdef STM32L4xx
2822
#include "stm32l4xx_hal_can.c"
2923
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_cec.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
#ifdef STM32F1xx
77
#include "stm32f1xx_hal_cec.c"
88
#endif
9-
#ifdef STM32F2xx
10-
// none
11-
#endif
129
#ifdef STM32F3xx
1310
#include "stm32f3xx_hal_cec.c"
1411
#endif
@@ -18,12 +15,3 @@
1815
#ifdef STM32F7xx
1916
#include "stm32f7xx_hal_cec.c"
2017
#endif
21-
#ifdef STM32L0xx
22-
// none
23-
#endif
24-
#ifdef STM32L1xx
25-
// none
26-
#endif
27-
#ifdef STM32L4xx
28-
// none
29-
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_comp.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,9 @@
33
#ifdef STM32F0xx
44
#include "stm32f0xx_hal_comp.c"
55
#endif
6-
#ifdef STM32F1xx
7-
// none
8-
#endif
9-
#ifdef STM32F2xx
10-
// none
11-
#endif
126
#ifdef STM32F3xx
137
#include "stm32f3xx_hal_comp.c"
148
#endif
15-
#ifdef STM32F4xx
16-
// none
17-
#endif
18-
#ifdef STM32F7xx
19-
// none
20-
#endif
219
#ifdef STM32L0xx
2210
#include "stm32l0xx_hal_comp.c"
2311
#endif
Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,5 @@
11
#include "stm32_def_build.h"
22

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
213
#ifdef STM32L0xx
224
#include "stm32l0xx_hal_comp_ex.c"
235
#endif
24-
#ifdef STM32L1xx
25-
// none
26-
#endif
27-
#ifdef STM32L4xx
28-
// none
29-
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_crc_ex.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,15 @@
33
#ifdef STM32F0xx
44
#include "stm32f0xx_hal_crc_ex.c"
55
#endif
6-
#ifdef STM32F1xx
7-
// none
8-
#endif
9-
#ifdef STM32F2xx
10-
// none
11-
#endif
126
#ifdef STM32F3xx
137
#include "stm32f3xx_hal_crc_ex.c"
148
#endif
15-
#ifdef STM32F4xx
16-
// none
17-
#endif
189
#ifdef STM32F7xx
1910
#include "stm32f7xx_hal_crc_ex.c"
2011
#endif
2112
#ifdef STM32L0xx
2213
#include "stm32l0xx_hal_crc_ex.c"
2314
#endif
24-
#ifdef STM32L1xx
25-
// none
26-
#endif
2715
#ifdef STM32L4xx
2816
#include "stm32l4xx_hal_crc_ex.c"
2917
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_cryp.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
11
#include "stm32_def_build.h"
22

3-
#ifdef STM32F0xx
4-
// none
5-
#endif
6-
#ifdef STM32F1xx
7-
// none
8-
#endif
93
#ifdef STM32F2xx
104
#include "stm32f2xx_hal_cryp.c"
115
#endif
12-
#ifdef STM32F3xx
13-
// none
14-
#endif
156
#ifdef STM32F4xx
167
#include "stm32f4xx_hal_cryp.c"
178
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_cryp_ex.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
#include "stm32_def_build.h"
22

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
153
#ifdef STM32F4xx
164
#include "stm32f4xx_hal_cryp_ex.c"
175
#endif
Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,14 @@
11
#include "stm32_def_build.h"
22

3-
#ifdef STM32F0xx
4-
// none
5-
#endif
6-
#ifdef STM32F1xx
7-
// none
8-
#endif
93
#ifdef STM32F2xx
104
#include "stm32f2xx_hal_dcmi.c"
115
#endif
12-
#ifdef STM32F3xx
13-
// none
14-
#endif
156
#ifdef STM32F4xx
167
#include "stm32f4xx_hal_dcmi.c"
178
#endif
189
#ifdef STM32F7xx
1910
#include "stm32f7xx_hal_dcmi.c"
2011
#endif
21-
#ifdef STM32L0xx
22-
// none
23-
#endif
24-
#ifdef STM32L1xx
25-
// none
26-
#endif
2712
#ifdef STM32L4xx
2813
#include "stm32l4xx_hal_dcmi.c"
2914
#endif
Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,8 @@
11
#include "stm32_def_build.h"
22

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
153
#ifdef STM32F4xx
164
#include "stm32f4xx_hal_dcmi_ex.c"
175
#endif
186
#ifdef STM32F7xx
197
#include "stm32f7xx_hal_dcmi_ex.c"
208
#endif
21-
#ifdef STM32L0xx
22-
// none
23-
#endif
24-
#ifdef STM32L1xx
25-
// none
26-
#endif
27-
#ifdef STM32L4xx
28-
// none
29-
#endif
Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,11 @@
11
#include "stm32_def_build.h"
22

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
153
#ifdef STM32F4xx
164
#include "stm32f4xx_hal_dfsdm.c"
175
#endif
186
#ifdef STM32F7xx
197
#include "stm32f7xx_hal_dfsdm.c"
208
#endif
21-
#ifdef STM32L0xx
22-
// none
23-
#endif
24-
#ifdef STM32L1xx
25-
// none
26-
#endif
279
#ifdef STM32L4xx
2810
#include "stm32l4xx_hal_dfsdm.c"
2911
#endif
Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,5 @@
11
#include "stm32_def_build.h"
22

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-
// none
23-
#endif
24-
#ifdef STM32L1xx
25-
// none
26-
#endif
273
#ifdef STM32L4xx
284
#include "stm32l4xx_hal_dfsdm_ex.c"
295
#endif
Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,11 @@
11
#include "stm32_def_build.h"
22

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
153
#ifdef STM32F4xx
164
#include "stm32f4xx_hal_dma2d.c"
175
#endif
186
#ifdef STM32F7xx
197
#include "stm32f7xx_hal_dma2d.c"
208
#endif
21-
#ifdef STM32L0xx
22-
// none
23-
#endif
24-
#ifdef STM32L1xx
25-
// none
26-
#endif
279
#ifdef STM32L4xx
2810
#include "stm32l4xx_hal_dma2d.c"
2911
#endif
Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,14 @@
11
#include "stm32_def_build.h"
22

3-
#ifdef STM32F0xx
4-
// none
5-
#endif
6-
#ifdef STM32F1xx
7-
// none
8-
#endif
93
#ifdef STM32F2xx
104
#include "stm32f2xx_hal_dma_ex.c"
115
#endif
12-
#ifdef STM32F3xx
13-
// none
14-
#endif
156
#ifdef STM32F4xx
167
#include "stm32f4xx_hal_dma_ex.c"
178
#endif
189
#ifdef STM32F7xx
1910
#include "stm32f7xx_hal_dma_ex.c"
2011
#endif
21-
#ifdef STM32L0xx
22-
// none
23-
#endif
24-
#ifdef STM32L1xx
25-
// none
26-
#endif
2712
#ifdef STM32L4xx
2813
#include "stm32l4xx_hal_dma_ex.c"
2914
#endif
Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,11 @@
11
#include "stm32_def_build.h"
22

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
153
#ifdef STM32F4xx
164
#include "stm32f4xx_hal_dsi.c"
175
#endif
186
#ifdef STM32F7xx
197
#include "stm32f7xx_hal_dsi.c"
208
#endif
21-
#ifdef STM32L0xx
22-
// none
23-
#endif
24-
#ifdef STM32L1xx
25-
// none
26-
#endif
279
#ifdef STM32L4xx
2810
#include "stm32l4xx_hal_dsi.c"
2911
#endif
Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,14 @@
11
#include "stm32_def_build.h"
22

3-
#ifdef STM32F0xx
4-
// none
5-
#endif
63
#ifdef STM32F1xx
74
#include "stm32f1xx_hal_eth.c"
85
#endif
96
#ifdef STM32F2xx
107
#include "stm32f2xx_hal_eth.c"
118
#endif
12-
#ifdef STM32F3xx
13-
// none
14-
#endif
159
#ifdef STM32F4xx
1610
#include "stm32f4xx_hal_eth.c"
1711
#endif
1812
#ifdef STM32F7xx
1913
#include "stm32f7xx_hal_eth.c"
2014
#endif
21-
#ifdef STM32L0xx
22-
// none
23-
#endif
24-
#ifdef STM32L1xx
25-
// none
26-
#endif
27-
#ifdef STM32L4xx
28-
// none
29-
#endif

0 commit comments

Comments
 (0)