esp-rs / esp-idf-svc

Type-Safe Rust Wrappers for various ESP-IDF services (WiFi, Network, Httpd, Logging, etc.)
https://docs.esp-rs.org/esp-idf-svc/
Apache License 2.0
333 stars 183 forks source link

make cargo espflash work by adding a partition.csv #358

Closed Vollbrecht closed 10 months ago

Vollbrecht commented 10 months ago

For running the examples we are using cargo espflash. By default cargo espflash will be using the partition.bin created inside esp-idf-sys ( espflash by default will use its own. The problem is that the default esp-idf-sys partition has only a 1MB big AppPartition size. All sdkconfig options for using different sized partitions only lead to a max AppPartition to 1.5MB and this is still to less for an wifi example with debug infos. So the simplest / cleanest solution is to simply provide one with the configuration file-

ivmarkov commented 10 months ago

I think we need this for esp-idf-hal as well, no? And for esp-idf-sys?

Vollbrecht commented 10 months ago

I think we need this for esp-idf-hal as well, no? And for esp-idf-sys?

yeah already pushed

ivmarkov commented 10 months ago

Thanks!