-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Add rough structure for extended per-board configuration
- Loading branch information
Showing
8 changed files
with
145 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"build": { | ||
"arduino": { | ||
"ldscript": "esp32s3_out.ld", | ||
"partitions": "default_16MB.csv", | ||
"memory_type": "qio_opi" | ||
}, | ||
"core": "esp32", | ||
"extra_flags": [ | ||
"-DBOARD_HAS_PSRAM", | ||
"-DARDUINO_LOLIN_S3", | ||
"-DARDUINO_USB_MODE=1", | ||
"-DARDUINO_USB_CDC_ON_BOOT=1" | ||
], | ||
"f_cpu": "240000000L", | ||
"f_flash": "80000000L", | ||
"flash_mode": "qio", | ||
"hwids": [ | ||
[ | ||
"0x303A", | ||
"0x1001" | ||
] | ||
], | ||
"mcu": "esp32s3", | ||
"variant": "lolin_s3" | ||
}, | ||
"connectivity": [ | ||
"wifi", | ||
"bluetooth" | ||
], | ||
"debug": { | ||
"openocd_target": "esp32s3.cfg" | ||
}, | ||
"frameworks": [ | ||
"arduino", | ||
"espidf" | ||
], | ||
"name": "WEMOS LOLIN S3", | ||
"upload": { | ||
"flash_size": "16MB", | ||
"maximum_ram_size": 327680, | ||
"maximum_size": 16777216, | ||
"use_1200bps_touch": true, | ||
"wait_for_upload_port": true, | ||
"require_upload_port": true, | ||
"speed": 460800 | ||
}, | ||
"url": "https://www.wemos.cc/en/latest/s3/index.html", | ||
"vendor": "WEMOS" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "Wemos Lolin S3", | ||
"env": "Wemos-Lolin-S3", | ||
"board": "boards/Wemos-Lolin-S3/board.json", | ||
"image": { | ||
"0x0": "bootloader.bin", | ||
"0x8000": "partitions.bin", | ||
"0x10000": "firmware.bin", | ||
"0x310000": "littlefs.bin" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Name, Type, SubType, Offset, Size, Flags | ||
nvs, data, nvs, 0x9000, 0x5000, | ||
otadata, data, ota, 0xe000, 0x2000, | ||
app0, app, ota_0, 0x10000, 0x300000, | ||
spiffs, data, spiffs, 0x310000,0xE0000, | ||
coredump, data, coredump,0x3F0000,0x10000, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
# Wemos Lolin S3 | ||
|
||
## Flashing | ||
```bash | ||
python -m esptool \ | ||
--chip esp32-s3 \ | ||
merge_bin -o OpenShock.S3.bin \ | ||
--flash_mode dio \ | ||
--flash_freq 40m \ | ||
--flash_size 4MB \ | ||
0x0 ./bootloader.bin \ | ||
0x8000 ./partitions.bin \ | ||
0x10000 ./firmware.bin \ | ||
0x310000 ./littlefs.bin | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"build": { | ||
"arduino": { | ||
"ldscript": "esp32_out.ld" | ||
}, | ||
"core": "esp32", | ||
"extra_flags": "-DARDUINO_D1_MINI32", | ||
"f_cpu": "240000000L", | ||
"f_flash": "40000000L", | ||
"flash_mode": "dio", | ||
"mcu": "esp32", | ||
"variant": "d1_mini32" | ||
}, | ||
"connectivity": [ | ||
"wifi", | ||
"bluetooth", | ||
"ethernet", | ||
"can" | ||
], | ||
"debug": { | ||
"openocd_board": "esp-wroom-32.cfg" | ||
}, | ||
"frameworks": [ | ||
"arduino", | ||
"espidf" | ||
], | ||
"name": "WEMOS D1 MINI ESP32", | ||
"upload": { | ||
"flash_size": "4MB", | ||
"maximum_ram_size": 327680, | ||
"maximum_size": 4194304, | ||
"require_upload_port": true, | ||
"speed": 460800 | ||
}, | ||
"url": "https://www.wemos.cc", | ||
"vendor": "WEMOS" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "Wemos Lolin S3", | ||
"env": "Wemos-Lolin-S3", | ||
"board": "boards/Wemos-Lolin-S3/board.json", | ||
"image": { | ||
"0x0": "bootloader.bin", | ||
"0x8000": "partitions.bin", | ||
"0x10000": "firmware.bin", | ||
"0x310000": "littlefs.bin" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Name, Type, SubType, Offset, Size, Flags | ||
nvs, data, nvs, 0x9000, 0x5000, | ||
otadata, data, ota, 0xe000, 0x2000, | ||
app0, app, ota_0, 0x10000, 0x300000, | ||
spiffs, data, spiffs, 0x310000,0xE0000, | ||
coredump, data, coredump,0x3F0000,0x10000, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters