-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes for device firmware support.
- Loading branch information
1 parent
a0dfe3c
commit 71dd56d
Showing
6 changed files
with
44 additions
and
8 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
Binary file not shown.
Binary file not shown.
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,2 @@ | ||
. ${IDF_PATH}/add_path.sh | ||
esptool.py --chip esp32 --port "/dev/ttyUSB0" --baud 921600 write_flash -fs detect --flash_freq 40m --flash_mode qio 0x100000 build/esp32-doom.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
. ${IDF_PATH}/add_path.sh | ||
esptool.py --chip esp32 --port "/dev/ttyUSB0" --baud $((921600/2)) --before default_reset --after hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size detect 0x100000 "$1" | ||
esptool.py --chip esp32 --port "/dev/ttyUSB0" --baud $((921600/2)) --before default_reset --after hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size detect 0x300000 doom1-cut.wad |
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 |
---|---|---|
@@ -1,5 +1,14 @@ | ||
# Espressif ESP32 Partition Table | ||
# Name, Type, SubType, Offset, Size | ||
factory, app, factory, 0x10000, 928k | ||
wifidata,data, nvs, 0xFC000, 16K | ||
wad, 66, 6, 0x100000, 15M | ||
nvs, data, nvs, 0x9000, 0x4000 | ||
otadata, data, ota, 0xd000, 0x2000 | ||
phy_init, data, phy, 0xf000, 0x1000 | ||
firmware, app, factory, 0x10000, 0x0F0000 | ||
app_0, 0, ota_0, 0x100000, 0x200000 | ||
app_1, 0, ota_1, 0x300000, 0x200000 | ||
app_2, 0, ota_2, 0x500000, 0x200000 | ||
app_3, 0, ota_3, 0x700000, 0x200000 | ||
app_4, 0, ota_4, 0x900000, 0x200000 | ||
app_5, 0, ota_5, 0xb00000, 0x200000 | ||
app_6, 0, ota_6, 0xd00000, 0x200000 | ||
storage, data, spiffs, 0xf00000, 0x100000 |