Skip to content

Commit 4c2b338

Browse files
committed
Refactor ldscript files processing
1 parent ffb794d commit 4c2b338

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+229
-78
lines changed

boards/alksesp32.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"build": {
3+
"arduino":{
4+
"ldscript": "esp32_out.ld"
5+
},
36
"core": "esp32",
47
"extra_flags": "-DARDUINO_ALKS",
58
"f_cpu": "240000000L",
69
"f_flash": "40000000L",
710
"flash_mode": "dio",
8-
"ldscript": "esp32_out.ld",
911
"mcu": "esp32",
1012
"variant": "alksesp32"
1113
},

boards/bpi-bit.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"build": {
3+
"arduino":{
4+
"ldscript": "esp32_out.ld"
5+
},
36
"core": "esp32",
47
"extra_flags": "-DARDUINO_BPI_BIT",
58
"f_cpu": "160000000L",
69
"f_flash": "40000000L",
710
"flash_mode": "dio",
8-
"ldscript": "esp32_out.ld",
911
"mcu": "esp32",
1012
"variant": "bpi-bit"
1113
},

boards/d-duino-32.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"build": {
3+
"arduino":{
4+
"ldscript": "esp32_out.ld"
5+
},
36
"core": "esp32",
47
"extra_flags": "-DARDUINO_D_DUINO_32",
58
"f_cpu": "240000000L",
69
"f_flash": "40000000L",
710
"flash_mode": "dio",
8-
"ldscript": "esp32_out.ld",
911
"mcu": "esp32",
1012
"variant": "d-duino-32"
1113
},

boards/esp-wrover-kit.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"build": {
3+
"arduino":{
4+
"ldscript": "esp32_out.ld"
5+
},
36
"core": "esp32",
47
"extra_flags": "-DARDUINO_ESP32_DEV",
58
"f_cpu": "240000000L",
@@ -11,7 +14,6 @@
1114
"0x6010"
1215
]
1316
],
14-
"ldscript": "esp32_out.ld",
1517
"mcu": "esp32",
1618
"variant": "esp32"
1719
},

boards/esp32-devkitlipo.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"build": {
3+
"arduino":{
4+
"ldscript": "esp32_out.ld"
5+
},
36
"core": "esp32",
47
"extra_flags": "-DARDUINO_ESP32_DEVKIT_LIPO",
58
"f_cpu": "240000000L",
69
"f_flash": "40000000L",
710
"flash_mode": "qio",
8-
"ldscript": "esp32_out.ld",
911
"mcu": "esp32",
1012
"variant": "esp32-devkit-lipo"
1113
},

boards/esp32-evb.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"build": {
3+
"arduino":{
4+
"ldscript": "esp32_out.ld"
5+
},
36
"core": "esp32",
47
"extra_flags": "-DARDUINO_ESP32_EVB",
58
"f_cpu": "240000000L",
69
"f_flash": "40000000L",
710
"flash_mode": "dio",
8-
"ldscript": "esp32_out.ld",
911
"mcu": "esp32",
1012
"variant": "esp32-evb"
1113
},

boards/esp32-gateway.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"build": {
3+
"arduino":{
4+
"ldscript": "esp32_out.ld"
5+
},
36
"core": "esp32",
47
"extra_flags": "-DARDUINO_ESP32_GATEWAY",
58
"f_cpu": "240000000L",
69
"f_flash": "40000000L",
710
"flash_mode": "dio",
8-
"ldscript": "esp32_out.ld",
911
"mcu": "esp32",
1012
"variant": "esp32-gateway"
1113
},

boards/esp32-poe-iso.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"build": {
3+
"arduino":{
4+
"ldscript": "esp32_out.ld"
5+
},
36
"core": "esp32",
47
"extra_flags": "-DARDUINO_ESP32_POE_ISO",
58
"f_cpu": "240000000L",
69
"f_flash": "40000000L",
710
"flash_mode": "dio",
8-
"ldscript": "esp32_out.ld",
911
"mcu": "esp32",
1012
"variant": "esp32-poe-iso"
1113
},

boards/esp32-poe.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"build": {
3+
"arduino":{
4+
"ldscript": "esp32_out.ld"
5+
},
36
"core": "esp32",
47
"extra_flags": "-DARDUINO_ESP32_POE",
58
"f_cpu": "240000000L",
69
"f_flash": "40000000L",
710
"flash_mode": "dio",
8-
"ldscript": "esp32_out.ld",
911
"mcu": "esp32",
1012
"variant": "esp32-poe"
1113
},

boards/esp32-pro.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"build": {
3+
"arduino":{
4+
"ldscript": "esp32_out.ld"
5+
},
36
"core": "esp32",
47
"extra_flags": "-DARDUINO_ESP32_PRO",
58
"f_cpu": "240000000L",
69
"f_flash": "40000000L",
710
"flash_mode": "dio",
8-
"ldscript": "esp32_out.ld",
911
"mcu": "esp32",
1012
"variant": "esp32-evb"
1113
},

0 commit comments

Comments
 (0)