reduced sizes so all executable code stays below 8mb #19

Merged
EmpirePhoenix merged 1 commits from feature/partition_table_stuff into develop 2025-06-23 22:15:40 +02:00
3 changed files with 11 additions and 5 deletions

View File

@ -5,8 +5,8 @@ target = "riscv32imac-esp-espidf"
[target.riscv32imac-esp-espidf] [target.riscv32imac-esp-espidf]
linker = "ldproxy" linker = "ldproxy"
#runner = "espflash flash --monitor --baud 921600 --partition-table partitions.csv -b no-reset" # Select this runner in case of usb ttl #runner = "espflash flash --monitor --baud 921600 --partition-table partitions.csv -b no-reset" # Select this runner in case of usb ttl
runner = "espflash flash --monitor --baud 921600 --flash-size 16mb --partition-table partitions.csv" #runner = "espflash flash --monitor"
#runner = "cargo runner" runner = "cargo runner"
#runner = "espflash flash --monitor --partition-table partitions.csv -b no-reset" # create upgrade image file for webupload #runner = "espflash flash --monitor --partition-table partitions.csv -b no-reset" # create upgrade image file for webupload

6
rust/espflash.toml Normal file
View File

@ -0,0 +1,6 @@
partition_table="partitions.csv"
[connection]
serial = "/dev/ttyACM0"
baudrate = 921600
[flash]
size = "16MB"

View File

@ -1,6 +1,6 @@
nvs, data, nvs, , 16k, nvs, data, nvs, , 16k,
otadata, data, ota, , 8k, otadata, data, ota, , 8k,
phy_init, data, phy, , 4k, phy_init, data, phy, , 4k,
ota_0, app, ota_0, , 5632k, ota_0, app, ota_0, , 3968k,
ota_1, app, ota_1, , 5632k, ota_1, app, ota_0, , 3968k,
storage, data, spiffs, , 5000k, storage, data, spiffs, , 8M,

1 nvs data nvs 16k
2 otadata data ota 8k
3 phy_init data phy 4k
4 ota_0 app ota_0 5632k 3968k
5 ota_1 app ota_1 ota_0 5632k 3968k
6 storage data spiffs 5000k 8M