Closed weiying-chen closed 6 months ago
I solved the issue by generating my own partitions-table.bin
(in the repo's root folder):
espflash partition-table --to-binary --output partition-table.bin partitions.csv
Then passing it to cargo espflash
as an argument:
MCU=esp32c3 cargo espflash flash --target riscv32imc-esp-espidf --example wifi --monitor --partition-table="partition-table.bin"
If you are using espflash
than this is not a problem, but cargo espflash
works a bit different. Because they made changes in the respected versions 3 of espflash
and cargo espflash
we now provide the partitions.csv in the root. Though with the extra espflash.toml file it should automatically pick it up.
What version of espflash
are you using? It should working with a csv file and if not it may indicate a bug in espflash
Ah, I updated espflash and cargo-espflash (from 2.x.x to 3.x.x). The error is gone. Sorry, I should have done that before opening this issue.
I cloned the repo and ran:
And I got this error:
This is the current
partitions.csv
:The app partition seems to be set to 3M. And no matter how I change
partitions.csv
, I keep getting the same error.