Skip to content

Commit b2bed78

Browse files
authored
Add updates for WeAct Studio STM32G474 CoreBoard (#900)
Enabled Arduino/libopencm3/DFU support
1 parent d08f743 commit b2bed78

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

boards/weact_g474ceu6.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
{
22
"build": {
3+
"arduino": {
4+
"variant_h": "variant_WEACT_G474CE.h"
5+
},
36
"core": "stm32",
47
"cpu": "cortex-m4",
58
"extra_flags": "-DSTM32G4 -DSTM32G4xx -DSTM32G474xx",
69
"f_cpu": "170000000L",
10+
"framework_extra_flags": {
11+
"arduino": "-DARDUINO_WEACT_G474CE"
12+
},
713
"mcu": "stm32g474ceu6",
814
"product_line": "STM32G474xx",
9-
"variant": "STM32G4xx/G473R(B-C)T_G473RETx(Z)_G474R(B-C-E)T_G483RET_G484RET"
15+
"variant": "STM32G4xx/G473C(B-C-E)U_G474C(B-C-E)U_G483CEU_G484CEU"
1016
},
1117
"connectivity": [
1218
"can"
@@ -17,7 +23,9 @@
1723
"svd_path": "STM32G474xx.svd"
1824
},
1925
"frameworks": [
26+
"arduino",
2027
"cmsis",
28+
"libopencm3",
2129
"stm32cube"
2230
],
2331
"name": "WeAct Studio STM32G474 CoreBoard",
@@ -26,10 +34,11 @@
2634
"maximum_size": 524288,
2735
"protocol": "stlink",
2836
"protocols": [
29-
"stlink",
30-
"jlink",
37+
"blackmagic",
3138
"cmsis-dap",
32-
"blackmagic"
39+
"dfu",
40+
"jlink",
41+
"stlink"
3342
]
3443
},
3544
"url": "https://github.com/WeActStudio/WeActStudio.STM32G474CoreBoard",

0 commit comments

Comments
 (0)