Skip to content

Commit 38e325b

Browse files
committed
Sync RAM sizes for Arduino-enabled L4-based boards // Resolve #537
STM32L4 targets may have several separate blocks of SRAM, for example STM32L476RGT6 has two blocks (96KB + 32KB) To properly configure Arduino framework we need pass the size of the first bank SRAM1 via the LD_MAX_DATA_SIZE define.
1 parent 62cae8a commit 38e325b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

boards/disco_l475vg_iot01a.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
],
4141
"name": "ST B-L475E-IOT01A Discovery kit",
4242
"upload": {
43-
"maximum_ram_size": 131072,
43+
"maximum_ram_size": 98304,
4444
"maximum_size": 1048576,
4545
"protocol": "stlink",
4646
"protocols": [

boards/nucleo_l452re.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
],
3232
"name": "ST Nucleo L452RE",
3333
"upload": {
34-
"maximum_ram_size": 65536,
35-
"maximum_size": 262144,
34+
"maximum_ram_size": 163840,
35+
"maximum_size": 524288,
3636
"protocol": "stlink",
3737
"protocols": [
3838
"jlink",

boards/nucleo_l476rg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
],
3434
"name": "ST Nucleo L476RG",
3535
"upload": {
36-
"maximum_ram_size": 131072,
36+
"maximum_ram_size": 98304,
3737
"maximum_size": 1048576,
3838
"protocol": "stlink",
3939
"protocols": [

boards/nucleo_l496zg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
],
3434
"name": "ST Nucleo L496ZG",
3535
"upload": {
36-
"maximum_ram_size": 131072,
36+
"maximum_ram_size": 327680,
3737
"maximum_size": 1048576,
3838
"protocol": "stlink",
3939
"protocols": [

0 commit comments

Comments
 (0)