Skip to content

Commit

Permalink
twilord -> 16MB (align with MoonMod fork)
Browse files Browse the repository at this point in the history
TwiLightLord "ESP32 16MB" are no longer available, rename to esp32_16MB
  • Loading branch information
softhack007 committed Mar 12, 2023
1 parent 906ae59 commit 5b50581
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 6 deletions.
38 changes: 38 additions & 0 deletions boards/esp32_16MB-poe.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"build": {
"arduino": {
"ldscript": "esp32_out.ld"
},
"core": "esp32",
"extra_flags": "-DARDUINO_ESP32_POE",
"f_cpu": "240000000L",
"f_flash": "40000000L",
"flash_mode": "dio",
"mcu": "esp32",
"variant": "esp32-poe",
"partitions": "partitions_16M.csv"
},
"connectivity": [
"wifi",
"bluetooth",
"ethernet",
"can"
],
"debug": {
"openocd_board": "esp-wroom-32.cfg"
},
"frameworks": [
"arduino",
"espidf"
],
"name": "ESP32 16MB",
"upload": {
"flash_size": "16MB",
"maximum_ram_size": 327680,
"maximum_size": 16777216,
"require_upload_port": true,
"speed": 2000000
},
"url": "https://en.wikipedia.org/wiki/ESP32",
"vendor": "Multiple"
}
4 changes: 2 additions & 2 deletions boards/esp32_twilord.json → boards/esp32_16MB.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"arduino",
"espidf"
],
"name": "TwilightLord-ESP32 16MB",
"name": "ESP32 16MB",
"upload": {
"flash_size": "16MB",
"maximum_ram_size": 327680,
Expand All @@ -34,5 +34,5 @@
"speed": 2000000
},
"url": "https://en.wikipedia.org/wiki/ESP32",
"vendor": "TwilightLord"
"vendor": "Multiple"
}
8 changes: 4 additions & 4 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -678,8 +678,8 @@ build_flags = ${esp32_4MB_max_base.build_flags}
; esp32_16MB_max: bin entry, uses esp32_4MB_max_base and adds 16MB settings
[env:esp32_16MB_max]
extends = esp32_4MB_max_base
board = esp32_twilord ; "TwilightLord" ESP32 with 16MB Flash
board_build.partitions = tools/WLED_ESP32_16MB.csv ; for esp32_twilord with 16MB flash
board = esp32_16MB ; ESP32 with 16MB Flash
board_build.partitions = tools/WLED_ESP32_16MB.csv ; for esp32_16MB with 16MB flash
build_flags = ${esp32_4MB_max_base.build_flags}
-D WLED_RELEASE_NAME=esp32_16MB_max ; This will be included in the firmware.bin filename
; RAM: [=== ] 32.4% (used 106332 bytes from 327680 bytes)
Expand Down Expand Up @@ -745,8 +745,8 @@ build_flags = ${wemos_shield_esp32_4MB_max_base.build_flags}
;wemos_shield_esp32_16MB_max: bin entry, uses wemos_shield_esp32_4MB_max_base and adds 16MB settings
[env:wemos_shield_esp32_16MB_max]
extends = wemos_shield_esp32_4MB_max_base
board = esp32_twilord ; "TwilightLord" ESP32 with 16MB Flash
board_build.partitions = tools/WLED_ESP32_16MB.csv ; for esp32_twilord with 16MB flash
board = esp32_16MB ; ESP32 with 16MB Flash
board_build.partitions = tools/WLED_ESP32_16MB.csv ; for esp32_16MB with 16MB flash
build_flags = ${wemos_shield_esp32_4MB_max_base.build_flags}
-D WLED_RELEASE_NAME=wemos_shield_esp32_16MB_max ; This will be included in the firmware.bin filename
; RAM: [=== ] 32.5% (used 106340 bytes from 327680 bytes)
Expand Down

0 comments on commit 5b50581

Please sign in to comment.