Skip to content

Commit e0a0ba6

Browse files
committed
Sync RAM sizes for several Arduino-enabled boards
Some boards may have several separate blocks of SRAM (ITCM, DTCM, etc.) To properly configure Arduino framework we need pass the size of SRAM only. Partially releates to #537
1 parent 9c06593 commit e0a0ba6

13 files changed

+13
-13
lines changed

boards/armed_v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
],
2828
"name": "3D Printer Controller",
2929
"upload": {
30-
"maximum_ram_size": 196608,
30+
"maximum_ram_size": 131072,
3131
"maximum_size": 524288,
3232
"protocol": "stlink",
3333
"protocols": [

boards/disco_f303vc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
],
3535
"name": "ST STM32F3DISCOVERY",
3636
"upload": {
37-
"maximum_ram_size": 49152,
37+
"maximum_ram_size": 40960,
3838
"maximum_size": 262144,
3939
"protocol": "stlink",
4040
"protocols": [

boards/disco_f413zh.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
],
3636
"name": "ST 32F413HDISCOVERY",
3737
"upload": {
38-
"maximum_ram_size": 131072,
38+
"maximum_ram_size": 327680,
3939
"maximum_size": 524288,
4040
"protocol": "stlink",
4141
"protocols": [

boards/maple_mini_origin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"name": "Maple Mini Original",
3636
"upload": {
3737
"boot_version": 1,
38-
"maximum_ram_size": 17408,
38+
"maximum_ram_size": 20480,
3939
"maximum_size": 110592,
4040
"protocol": "dfu",
4141
"protocols": [

boards/microduino32_flash.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"upload": {
3434
"boot_version": 1,
3535
"disable_flushing": false,
36-
"maximum_ram_size": 17000,
36+
"maximum_ram_size": 20480,
3737
"maximum_size": 108000,
3838
"protocol": "dfu",
3939
"protocols": [

boards/mkr_sharky.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
],
2121
"name": "MKR Sharky",
2222
"upload": {
23-
"maximum_ram_size": 196604,
23+
"maximum_ram_size": 196608,
2424
"maximum_size": 524288,
2525
"protocol": "mbed",
2626
"protocols": [

boards/netduino2plus.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"name": "N2+",
3636
"upload": {
3737
"disable_flushing": false,
38-
"maximum_ram_size": 196608,
38+
"maximum_ram_size": 131072,
3939
"maximum_size": 1048576,
4040
"protocol": "dfu",
4141
"protocols": [

boards/nucleo_f429zi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
],
3535
"name": "ST Nucleo F429ZI",
3636
"upload": {
37-
"maximum_ram_size": 262144,
37+
"maximum_ram_size": 196608,
3838
"maximum_size": 2097152,
3939
"protocol": "stlink",
4040
"protocols": [

boards/nucleo_wb55rg_p.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
],
2727
"name": "P-Nucleo WB55RG",
2828
"upload": {
29-
"maximum_ram_size": 196604,
29+
"maximum_ram_size": 196608,
3030
"maximum_size": 524288,
3131
"protocol": "stlink",
3232
"protocols": [

boards/olimex_p405.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
],
2626
"name": "Olimex STM32-P405",
2727
"upload": {
28-
"maximum_ram_size": 196608,
28+
"maximum_ram_size": 131072,
2929
"maximum_size": 1048576,
3030
"protocol": "stlink",
3131
"protocols": [

0 commit comments

Comments
 (0)