Skip to content

Commit 22491b3

Browse files
committed
wrapped files: update with new format
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 95c56f4 commit 22491b3

File tree

167 files changed

+1379
-2758
lines changed

Some content is hidden

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

167 files changed

+1379
-2758
lines changed

cores/arduino/stm32/LL/stm32yyxx_ll_adc.h

Lines changed: 14 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,47 +7,33 @@
77

88
#ifdef STM32F0xx
99
#include "stm32f0xx_ll_adc.h"
10-
#endif
11-
#ifdef STM32F1xx
10+
#elif STM32F1xx
1211
#include "stm32f1xx_ll_adc.h"
13-
#endif
14-
#ifdef STM32F2xx
12+
#elif STM32F2xx
1513
#include "stm32f2xx_ll_adc.h"
16-
#endif
17-
#ifdef STM32F3xx
14+
#elif STM32F3xx
1815
#include "stm32f3xx_ll_adc.h"
19-
#endif
20-
#ifdef STM32F4xx
16+
#elif STM32F4xx
2117
#include "stm32f4xx_ll_adc.h"
22-
#endif
23-
#ifdef STM32F7xx
18+
#elif STM32F7xx
2419
#include "stm32f7xx_ll_adc.h"
25-
#endif
26-
#ifdef STM32G0xx
20+
#elif STM32G0xx
2721
#include "stm32g0xx_ll_adc.h"
28-
#endif
29-
#ifdef STM32G4xx
22+
#elif STM32G4xx
3023
#include "stm32g4xx_ll_adc.h"
31-
#endif
32-
#ifdef STM32H7xx
24+
#elif STM32H7xx
3325
#include "stm32h7xx_ll_adc.h"
34-
#endif
35-
#ifdef STM32L0xx
26+
#elif STM32L0xx
3627
#include "stm32l0xx_ll_adc.h"
37-
#endif
38-
#ifdef STM32L1xx
28+
#elif STM32L1xx
3929
#include "stm32l1xx_ll_adc.h"
40-
#endif
41-
#ifdef STM32L4xx
30+
#elif STM32L4xx
4231
#include "stm32l4xx_ll_adc.h"
43-
#endif
44-
#ifdef STM32L5xx
32+
#elif STM32L5xx
4533
#include "stm32l5xx_ll_adc.h"
46-
#endif
47-
#ifdef STM32MP1xx
34+
#elif STM32MP1xx
4835
#include "stm32mp1xx_ll_adc.h"
49-
#endif
50-
#ifdef STM32WBxx
36+
#elif STM32WBxx
5137
#include "stm32wbxx_ll_adc.h"
5238
#endif
5339
#pragma GCC diagnostic pop

cores/arduino/stm32/LL/stm32yyxx_ll_bus.h

Lines changed: 14 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,47 +7,33 @@
77

88
#ifdef STM32F0xx
99
#include "stm32f0xx_ll_bus.h"
10-
#endif
11-
#ifdef STM32F1xx
10+
#elif STM32F1xx
1211
#include "stm32f1xx_ll_bus.h"
13-
#endif
14-
#ifdef STM32F2xx
12+
#elif STM32F2xx
1513
#include "stm32f2xx_ll_bus.h"
16-
#endif
17-
#ifdef STM32F3xx
14+
#elif STM32F3xx
1815
#include "stm32f3xx_ll_bus.h"
19-
#endif
20-
#ifdef STM32F4xx
16+
#elif STM32F4xx
2117
#include "stm32f4xx_ll_bus.h"
22-
#endif
23-
#ifdef STM32F7xx
18+
#elif STM32F7xx
2419
#include "stm32f7xx_ll_bus.h"
25-
#endif
26-
#ifdef STM32G0xx
20+
#elif STM32G0xx
2721
#include "stm32g0xx_ll_bus.h"
28-
#endif
29-
#ifdef STM32G4xx
22+
#elif STM32G4xx
3023
#include "stm32g4xx_ll_bus.h"
31-
#endif
32-
#ifdef STM32H7xx
24+
#elif STM32H7xx
3325
#include "stm32h7xx_ll_bus.h"
34-
#endif
35-
#ifdef STM32L0xx
26+
#elif STM32L0xx
3627
#include "stm32l0xx_ll_bus.h"
37-
#endif
38-
#ifdef STM32L1xx
28+
#elif STM32L1xx
3929
#include "stm32l1xx_ll_bus.h"
40-
#endif
41-
#ifdef STM32L4xx
30+
#elif STM32L4xx
4231
#include "stm32l4xx_ll_bus.h"
43-
#endif
44-
#ifdef STM32L5xx
32+
#elif STM32L5xx
4533
#include "stm32l5xx_ll_bus.h"
46-
#endif
47-
#ifdef STM32MP1xx
34+
#elif STM32MP1xx
4835
#include "stm32mp1xx_ll_bus.h"
49-
#endif
50-
#ifdef STM32WBxx
36+
#elif STM32WBxx
5137
#include "stm32wbxx_ll_bus.h"
5238
#endif
5339
#pragma GCC diagnostic pop

cores/arduino/stm32/LL/stm32yyxx_ll_comp.h

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,23 @@
77

88
#ifdef STM32F0xx
99
#include "stm32f0xx_ll_comp.h"
10-
#endif
11-
#ifdef STM32F3xx
10+
#elif STM32F3xx
1211
#include "stm32f3xx_ll_comp.h"
13-
#endif
14-
#ifdef STM32G0xx
12+
#elif STM32G0xx
1513
#include "stm32g0xx_ll_comp.h"
16-
#endif
17-
#ifdef STM32G4xx
14+
#elif STM32G4xx
1815
#include "stm32g4xx_ll_comp.h"
19-
#endif
20-
#ifdef STM32H7xx
16+
#elif STM32H7xx
2117
#include "stm32h7xx_ll_comp.h"
22-
#endif
23-
#ifdef STM32L0xx
18+
#elif STM32L0xx
2419
#include "stm32l0xx_ll_comp.h"
25-
#endif
26-
#ifdef STM32L1xx
20+
#elif STM32L1xx
2721
#include "stm32l1xx_ll_comp.h"
28-
#endif
29-
#ifdef STM32L4xx
22+
#elif STM32L4xx
3023
#include "stm32l4xx_ll_comp.h"
31-
#endif
32-
#ifdef STM32L5xx
24+
#elif STM32L5xx
3325
#include "stm32l5xx_ll_comp.h"
34-
#endif
35-
#ifdef STM32WBxx
26+
#elif STM32WBxx
3627
#include "stm32wbxx_ll_comp.h"
3728
#endif
3829
#pragma GCC diagnostic pop

cores/arduino/stm32/LL/stm32yyxx_ll_cordic.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77

88
#ifdef STM32G4xx
99
#include "stm32g4xx_ll_cordic.h"
10-
#endif
11-
#ifdef STM32H7xx
10+
#elif STM32H7xx
1211
#include "stm32h7xx_ll_cordic.h"
1312
#endif
1413
#pragma GCC diagnostic pop

cores/arduino/stm32/LL/stm32yyxx_ll_cortex.h

Lines changed: 14 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,47 +7,33 @@
77

88
#ifdef STM32F0xx
99
#include "stm32f0xx_ll_cortex.h"
10-
#endif
11-
#ifdef STM32F1xx
10+
#elif STM32F1xx
1211
#include "stm32f1xx_ll_cortex.h"
13-
#endif
14-
#ifdef STM32F2xx
12+
#elif STM32F2xx
1513
#include "stm32f2xx_ll_cortex.h"
16-
#endif
17-
#ifdef STM32F3xx
14+
#elif STM32F3xx
1815
#include "stm32f3xx_ll_cortex.h"
19-
#endif
20-
#ifdef STM32F4xx
16+
#elif STM32F4xx
2117
#include "stm32f4xx_ll_cortex.h"
22-
#endif
23-
#ifdef STM32F7xx
18+
#elif STM32F7xx
2419
#include "stm32f7xx_ll_cortex.h"
25-
#endif
26-
#ifdef STM32G0xx
20+
#elif STM32G0xx
2721
#include "stm32g0xx_ll_cortex.h"
28-
#endif
29-
#ifdef STM32G4xx
22+
#elif STM32G4xx
3023
#include "stm32g4xx_ll_cortex.h"
31-
#endif
32-
#ifdef STM32H7xx
24+
#elif STM32H7xx
3325
#include "stm32h7xx_ll_cortex.h"
34-
#endif
35-
#ifdef STM32L0xx
26+
#elif STM32L0xx
3627
#include "stm32l0xx_ll_cortex.h"
37-
#endif
38-
#ifdef STM32L1xx
28+
#elif STM32L1xx
3929
#include "stm32l1xx_ll_cortex.h"
40-
#endif
41-
#ifdef STM32L4xx
30+
#elif STM32L4xx
4231
#include "stm32l4xx_ll_cortex.h"
43-
#endif
44-
#ifdef STM32L5xx
32+
#elif STM32L5xx
4533
#include "stm32l5xx_ll_cortex.h"
46-
#endif
47-
#ifdef STM32MP1xx
34+
#elif STM32MP1xx
4835
#include "stm32mp1xx_ll_cortex.h"
49-
#endif
50-
#ifdef STM32WBxx
36+
#elif STM32WBxx
5137
#include "stm32wbxx_ll_cortex.h"
5238
#endif
5339
#pragma GCC diagnostic pop

cores/arduino/stm32/LL/stm32yyxx_ll_crc.h

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,44 +7,31 @@
77

88
#ifdef STM32F0xx
99
#include "stm32f0xx_ll_crc.h"
10-
#endif
11-
#ifdef STM32F1xx
10+
#elif STM32F1xx
1211
#include "stm32f1xx_ll_crc.h"
13-
#endif
14-
#ifdef STM32F2xx
12+
#elif STM32F2xx
1513
#include "stm32f2xx_ll_crc.h"
16-
#endif
17-
#ifdef STM32F3xx
14+
#elif STM32F3xx
1815
#include "stm32f3xx_ll_crc.h"
19-
#endif
20-
#ifdef STM32F4xx
16+
#elif STM32F4xx
2117
#include "stm32f4xx_ll_crc.h"
22-
#endif
23-
#ifdef STM32F7xx
18+
#elif STM32F7xx
2419
#include "stm32f7xx_ll_crc.h"
25-
#endif
26-
#ifdef STM32G0xx
20+
#elif STM32G0xx
2721
#include "stm32g0xx_ll_crc.h"
28-
#endif
29-
#ifdef STM32G4xx
22+
#elif STM32G4xx
3023
#include "stm32g4xx_ll_crc.h"
31-
#endif
32-
#ifdef STM32H7xx
24+
#elif STM32H7xx
3325
#include "stm32h7xx_ll_crc.h"
34-
#endif
35-
#ifdef STM32L0xx
26+
#elif STM32L0xx
3627
#include "stm32l0xx_ll_crc.h"
37-
#endif
38-
#ifdef STM32L1xx
28+
#elif STM32L1xx
3929
#include "stm32l1xx_ll_crc.h"
40-
#endif
41-
#ifdef STM32L4xx
30+
#elif STM32L4xx
4231
#include "stm32l4xx_ll_crc.h"
43-
#endif
44-
#ifdef STM32L5xx
32+
#elif STM32L5xx
4533
#include "stm32l5xx_ll_crc.h"
46-
#endif
47-
#ifdef STM32WBxx
34+
#elif STM32WBxx
4835
#include "stm32wbxx_ll_crc.h"
4936
#endif
5037
#pragma GCC diagnostic pop

cores/arduino/stm32/LL/stm32yyxx_ll_crs.h

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,19 @@
77

88
#ifdef STM32F0xx
99
#include "stm32f0xx_ll_crs.h"
10-
#endif
11-
#ifdef STM32G0xx
10+
#elif STM32G0xx
1211
#include "stm32g0xx_ll_crs.h"
13-
#endif
14-
#ifdef STM32G4xx
12+
#elif STM32G4xx
1513
#include "stm32g4xx_ll_crs.h"
16-
#endif
17-
#ifdef STM32H7xx
14+
#elif STM32H7xx
1815
#include "stm32h7xx_ll_crs.h"
19-
#endif
20-
#ifdef STM32L0xx
16+
#elif STM32L0xx
2117
#include "stm32l0xx_ll_crs.h"
22-
#endif
23-
#ifdef STM32L4xx
18+
#elif STM32L4xx
2419
#include "stm32l4xx_ll_crs.h"
25-
#endif
26-
#ifdef STM32L5xx
20+
#elif STM32L5xx
2721
#include "stm32l5xx_ll_crs.h"
28-
#endif
29-
#ifdef STM32WBxx
22+
#elif STM32WBxx
3023
#include "stm32wbxx_ll_crs.h"
3124
#endif
3225
#pragma GCC diagnostic pop

cores/arduino/stm32/LL/stm32yyxx_ll_dac.h

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,41 +7,29 @@
77

88
#ifdef STM32F0xx
99
#include "stm32f0xx_ll_dac.h"
10-
#endif
11-
#ifdef STM32F1xx
10+
#elif STM32F1xx
1211
#include "stm32f1xx_ll_dac.h"
13-
#endif
14-
#ifdef STM32F2xx
12+
#elif STM32F2xx
1513
#include "stm32f2xx_ll_dac.h"
16-
#endif
17-
#ifdef STM32F3xx
14+
#elif STM32F3xx
1815
#include "stm32f3xx_ll_dac.h"
19-
#endif
20-
#ifdef STM32F4xx
16+
#elif STM32F4xx
2117
#include "stm32f4xx_ll_dac.h"
22-
#endif
23-
#ifdef STM32F7xx
18+
#elif STM32F7xx
2419
#include "stm32f7xx_ll_dac.h"
25-
#endif
26-
#ifdef STM32G0xx
20+
#elif STM32G0xx
2721
#include "stm32g0xx_ll_dac.h"
28-
#endif
29-
#ifdef STM32G4xx
22+
#elif STM32G4xx
3023
#include "stm32g4xx_ll_dac.h"
31-
#endif
32-
#ifdef STM32H7xx
24+
#elif STM32H7xx
3325
#include "stm32h7xx_ll_dac.h"
34-
#endif
35-
#ifdef STM32L0xx
26+
#elif STM32L0xx
3627
#include "stm32l0xx_ll_dac.h"
37-
#endif
38-
#ifdef STM32L1xx
28+
#elif STM32L1xx
3929
#include "stm32l1xx_ll_dac.h"
40-
#endif
41-
#ifdef STM32L4xx
30+
#elif STM32L4xx
4231
#include "stm32l4xx_ll_dac.h"
43-
#endif
44-
#ifdef STM32L5xx
32+
#elif STM32L5xx
4533
#include "stm32l5xx_ll_dac.h"
4634
#endif
4735
#pragma GCC diagnostic pop

cores/arduino/stm32/LL/stm32yyxx_ll_delayblock.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77

88
#ifdef STM32H7xx
99
#include "stm32h7xx_ll_delayblock.h"
10-
#endif
11-
#ifdef STM32MP1xx
10+
#elif STM32MP1xx
1211
#include "stm32mp1xx_ll_delayblock.h"
1312
#endif
1413
#pragma GCC diagnostic pop

0 commit comments

Comments
 (0)