File tree 2 files changed +34
-0
lines changed
examples/stm32cube-hal-blink
2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,24 @@ framework = stm32cube
49
49
board = nucleo_f746zg
50
50
build_flags = -DF7
51
51
52
+ [env:nucleo_g071rb]
53
+ platform = ststm32
54
+ framework = stm32cube
55
+ board = nucleo_g071rb
56
+ build_flags = -DG0
57
+
58
+ [env:nucleo_g474re]
59
+ platform = ststm32
60
+ framework = stm32cube
61
+ board = nucleo_g474re
62
+ build_flags = -DG4
63
+
64
+ [env:nucleo_h743zi]
65
+ platform = ststm32
66
+ framework = stm32cube
67
+ board = nucleo_h743zi
68
+ build_flags = -DH7
69
+
52
70
[env:nucleo_l053r8]
53
71
platform = ststm32
54
72
framework = stm32cube
@@ -78,3 +96,9 @@ platform = ststm32
78
96
framework = stm32cube
79
97
board = cloud_jam_l4
80
98
build_flags = -DL4
99
+
100
+ [env:nucleo_l552ze_q]
101
+ platform = ststm32
102
+ framework = stm32cube
103
+ board = nucleo_l552ze_q
104
+ build_flags = -DL5
Original file line number Diff line number Diff line change 10
10
#include "stm32f4xx_hal.h"
11
11
#elif F7
12
12
#include "stm32f7xx_hal.h"
13
+ #elif H7
14
+ #include "stm32h7xx_hal.h"
15
+ #elif G0
16
+ #include "stm32g0xx_hal.h"
17
+ #elif G4
18
+ #include "stm32g4xx_hal.h"
19
+ #elif H7
20
+ #include "stm32f7xx_hal.h"
13
21
#elif L0
14
22
#include "stm32l0xx_hal.h"
15
23
#elif L1
16
24
#include "stm32l1xx_hal.h"
17
25
#elif L4
18
26
#include "stm32l4xx_hal.h"
27
+ #elif L5
28
+ #include "stm32l5xx_hal.h"
19
29
#else
20
30
#error "Unsupported STM32 Family"
21
31
#endif
You can’t perform that action at this time.
0 commit comments