mirror of
https://github.com/stakwork/sphinx-key.git
synced 2025-12-17 07:14:23 +01:00
factory: update partition table
This commit is contained in:
@@ -76,5 +76,5 @@ else
|
|||||||
fi &&
|
fi &&
|
||||||
|
|
||||||
esptool.py --chip esp32-c3 elf2image ../target/riscv32imc-esp-espidf/$MODE/sphinx-key &&
|
esptool.py --chip esp32-c3 elf2image ../target/riscv32imc-esp-espidf/$MODE/sphinx-key &&
|
||||||
esptool.py --chip esp32c3 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 4MB 0x80000 ../target/riscv32imc-esp-espidf/$MODE/sphinx-key.bin &&
|
esptool.py --chip esp32c3 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 4MB 0x90000 ../target/riscv32imc-esp-espidf/$MODE/sphinx-key.bin &&
|
||||||
cargo espflash monitor --port $PORT
|
cargo espflash monitor --port $PORT
|
||||||
|
|||||||
@@ -3,5 +3,8 @@
|
|||||||
nvs, data, nvs, 0x9000, 0x4000,
|
nvs, data, nvs, 0x9000, 0x4000,
|
||||||
otadata, data, ota, 0xd000, 0x2000,
|
otadata, data, ota, 0xd000, 0x2000,
|
||||||
phy_init, data, phy, 0xf000, 0x1000,
|
phy_init, data, phy, 0xf000, 0x1000,
|
||||||
factory, app, factory, 0x10000, 448K,
|
factory, app, factory, 0x10000, 0x80000,
|
||||||
ota_0, app, ota_0, 0x80000, 3584K,
|
ota_0, app, ota_0, 0x90000, 0x370000,
|
||||||
|
# Total flash size is 0x400000
|
||||||
|
# Partitions of type app have to be placed at offsets aligned to 0x10000 (64 K).
|
||||||
|
# See https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-tables.html
|
||||||
|
|||||||
|
Reference in New Issue
Block a user