thelastoutpostworkshop / ESP32PartitionBuilder

ESP32 Partitions Web Application
https://youtu.be/EuHxodrye6E
MIT License
3 stars 2 forks source link

ArduinoIDE showing wrong free-space #1

Closed Pascal2511 closed 5 days ago

Pascal2511 commented 5 days ago

Hello, first of all i realy like the partition-builder! But I camoe over a problem: I created the partition as shown as on the picture, and it works fine. But when uploading the free-space is always shown wrong in the ArduinoIDE. image

image

thelastoutpostworkshop commented 5 days ago

When using custom partitions, by default Espressif sets the maximum upload size at 16MB. If you want to set it based on your dev board actual size, for example 4MB, you have to edit manually the boards.txt file installed with Espressif Core. It is normally located in Users[your user name]\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.4 In that file you have to locate your dev board (it's not easy...) and change the size of custom.upload.maximum corresponding to your dev board size. Be advised, that this file will be overwritten when you update or reinstall Espressif Core.