Skip to content

Commit c56c978

Browse files
committed
Merge branch 'release/v12.1.0'
2 parents bc50032 + bdb0978 commit c56c978

31 files changed

+751
-45
lines changed

.github/workflows/examples.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
- "examples/arduino-blink"
1414
- "examples/arduino-external-libs"
1515
- "examples/arduino-internal-libs"
16+
- "examples/arduino-mbed-doom"
17+
- "examples/arduino-mbed-rpc"
1618
- "examples/arduino-mxchip-azureiot"
1719
- "examples/arduino-mxchip-filesystem"
1820
- "examples/arduino-mxchip-sensors"

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[submodule "builder/frameworks/libopencm3"]
22
path = builder/frameworks/libopencm3
33
url = https://github.com/platformio/builder-framework-libopencm3.git
4+
[submodule "builder/frameworks/arduino/mbed-core"]
5+
path = builder/frameworks/arduino/mbed-core
6+
url = https://github.com/platformio/builder-framework-arduino-core-mbed.git

boards/genericSTM32F407VGT6.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
"stm32cube",
3737
"libopencm3"
3838
],
39-
"name": "STM32F407VG (192k RAM. 1024k Flash)",
39+
"name": "STM32F407VG (128k RAM. 1024k Flash)",
4040
"upload": {
4141
"disable_flushing": false,
42-
"maximum_ram_size": 196608,
42+
"maximum_ram_size": 131072,
4343
"maximum_size": 1048576,
4444
"protocol": "stlink",
4545
"protocols": [

boards/nucleo_f413zh.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
],
2020
"openocd_board": "st_nucleo_f4",
2121
"openocd_target": "stm32f4x",
22-
"svd_path": "STM32F41x.svd"
22+
"svd_path": "STM32F413.svd"
2323
},
2424
"frameworks": [
2525
"cmsis",

boards/nucleo_g071rb.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@
1212
"variant": "NUCLEO_G071RB"
1313
},
1414
"debug": {
15+
"default_tools": [
16+
"stlink"
17+
],
1518
"jlink_device": "STM32G071RB",
19+
"onboard_tools": [
20+
"stlink"
21+
],
1622
"openocd_target": "stm32g0x",
1723
"svd_path": "STM32G071.svd"
1824
},
@@ -27,8 +33,9 @@
2733
"upload": {
2834
"maximum_ram_size": 36864,
2935
"maximum_size": 131072,
30-
"protocol": "mbed",
36+
"protocol": "stlink",
3137
"protocols": [
38+
"stlink",
3239
"jlink",
3340
"cmsis-dap",
3441
"blackmagic",

boards/nucleo_g431kb.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@
1212
"can"
1313
],
1414
"debug": {
15+
"default_tools": [
16+
"stlink"
17+
],
1518
"jlink_device": "STM32G431KB",
19+
"onboard_tools": [
20+
"stlink"
21+
],
1622
"openocd_target": "stm32g4x",
1723
"svd_path": "STM32G431xx.svd"
1824
},
@@ -26,8 +32,9 @@
2632
"upload": {
2733
"maximum_ram_size": 32768,
2834
"maximum_size": 131072,
29-
"protocol": "mbed",
35+
"protocol": "stlink",
3036
"protocols": [
37+
"stlink",
3138
"jlink",
3239
"cmsis-dap",
3340
"blackmagic",

boards/nucleo_g431rb.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@
1212
"can"
1313
],
1414
"debug": {
15+
"default_tools": [
16+
"stlink"
17+
],
1518
"jlink_device": "STM32G431RB",
19+
"onboard_tools": [
20+
"stlink"
21+
],
1622
"openocd_target": "stm32g4x",
1723
"svd_path": "STM32G431xx.svd"
1824
},
@@ -27,8 +33,9 @@
2733
"upload": {
2834
"maximum_ram_size": 32768,
2935
"maximum_size": 131072,
30-
"protocol": "mbed",
36+
"protocol": "stlink",
3137
"protocols": [
38+
"stlink",
3239
"jlink",
3340
"cmsis-dap",
3441
"blackmagic",

boards/nucleo_g474re.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@
1212
"can"
1313
],
1414
"debug": {
15+
"default_tools": [
16+
"stlink"
17+
],
1518
"jlink_device": "STM32G474RE",
19+
"onboard_tools": [
20+
"stlink"
21+
],
1622
"openocd_target": "stm32g4x",
1723
"svd_path": "STM32G474xx.svd"
1824
},
@@ -28,8 +34,9 @@
2834
"upload": {
2935
"maximum_ram_size": 131072,
3036
"maximum_size": 524288,
31-
"protocol": "mbed",
37+
"protocol": "stlink",
3238
"protocols": [
39+
"stlink",
3340
"jlink",
3441
"cmsis-dap",
3542
"blackmagic",

boards/portenta_h7_m4.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"build": {
3+
"arduino":{
4+
"ldscript": "linker_script.ld"
5+
},
6+
"extra_flags": "-DARDUINO_PORTENTA_H7_M4",
7+
"core": "arduino",
8+
"cpu": "cortex-m4",
9+
"f_cpu": "480000000L",
10+
"mcu": "stm32h747xih6",
11+
"variant": "PORTENTA_H7_M4",
12+
"product_line": "STM32H747xx",
13+
"hwids": [
14+
[
15+
"0x2341",
16+
"0x035b"
17+
],
18+
[
19+
"0x2341",
20+
"0x025b"
21+
],
22+
[
23+
"0x2341",
24+
"0x045b"
25+
]
26+
]
27+
},
28+
"connectivity": [
29+
"bluetooth",
30+
"wifi"
31+
],
32+
"debug": {
33+
"jlink_device": "STM32H747XI_M4",
34+
"openocd_target": "stm32h7x_dual_bank"
35+
},
36+
"frameworks": [
37+
"arduino"
38+
],
39+
"name": "Arduino Portenta H7 (M4 core)",
40+
"upload": {
41+
"maximum_ram_size": 294248,
42+
"maximum_size": 1048576,
43+
"protocol": "dfu",
44+
"protocols": [
45+
"cmsis-dap",
46+
"dfu",
47+
"jlink",
48+
"stlink",
49+
"mbed"
50+
],
51+
"require_upload_port": true,
52+
"use_1200bps_touch": true,
53+
"wait_for_upload_port": true,
54+
"offset_address": "0x08100000"
55+
},
56+
"url": "https://www.arduino.cc/pro/hardware/product/portenta-h7",
57+
"vendor": "Arduino"
58+
}

boards/portenta_h7_m7.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"build": {
3+
"arduino":{
4+
"ldscript": "linker_script.ld"
5+
},
6+
"extra_flags": "-DARDUINO_PORTENTA_H7_M7",
7+
"core": "arduino",
8+
"cpu": "cortex-m7",
9+
"f_cpu": "480000000L",
10+
"mcu": "stm32h747xih6",
11+
"variant": "PORTENTA_H7_M7",
12+
"product_line": "STM32H747xx",
13+
"hwids": [
14+
[
15+
"0x2341",
16+
"0x035b"
17+
],
18+
[
19+
"0x2341",
20+
"0x025b"
21+
],
22+
[
23+
"0x2341",
24+
"0x045b"
25+
]
26+
]
27+
},
28+
"connectivity": [
29+
"bluetooth",
30+
"wifi"
31+
],
32+
"debug": {
33+
"jlink_device": "STM32H747XI_M7",
34+
"openocd_target": "stm32h7x_dual_bank"
35+
},
36+
"frameworks": [
37+
"arduino"
38+
],
39+
"name": "Arduino Portenta H7 (M7 core)",
40+
"upload": {
41+
"maximum_ram_size": 523624,
42+
"maximum_size": 786432,
43+
"protocol": "dfu",
44+
"protocols": [
45+
"cmsis-dap",
46+
"dfu",
47+
"jlink",
48+
"stlink",
49+
"mbed"
50+
],
51+
"require_upload_port": true,
52+
"use_1200bps_touch": true,
53+
"wait_for_upload_port": true,
54+
"offset_address": "0x08040000"
55+
},
56+
"url": "https://www.arduino.cc/pro/hardware/product/portenta-h7",
57+
"vendor": "Arduino"
58+
}

0 commit comments

Comments
 (0)