I have not found any reference for IDE 2.0 is there a method for esp32 how to change default partition table? A file in the sketch folder? How?
Thanks, running out of app space...
Robert.
I have not found any reference for IDE 2.0 is there a method for esp32 how to change default partition table? A file in the sketch folder? How?
Thanks, running out of app space...
Robert.
I have an old version of IDE 2.0, installed but the partition settings are available from the Tools menu as they always were and I doubt that it has changed
Great, I overlooked that; thank you both for the quick reply! On the same subject, if you want to change a selection, how can you do that? Like a 16Mb board using 6Mb for app? TIA

and it does not make a difference what I choose, it reverts back to default...
The items that appear in the menu come from the boards.txt file for the selected board. That file in my case is in the C:\Users\Bob2\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2 folder as I have version 2.0.2 of the ESP32 boards installed
They look like this
esp32.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
esp32.menu.PartitionScheme.default.build.partitions=default
esp32.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
esp32.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
esp32.menu.PartitionScheme.default_8MB=8M Flash (3MB APP/1.5MB FAT)
esp32.menu.PartitionScheme.default_8MB.build.partitions=default_8MB
esp32.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336
esp32.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
esp32.menu.PartitionScheme.minimal.build.partitions=minimal
esp32.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
esp32.menu.PartitionScheme.no_ota.build.partitions=no_ota
esp32.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
esp32.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
esp32.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
esp32.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
esp32.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
esp32.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
esp32.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
esp32.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
esp32.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
esp32.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
esp32.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
esp32.menu.PartitionScheme.huge_app.build.partitions=huge_app
esp32.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
esp32.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
esp32.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
esp32.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
esp32.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FAT)
esp32.menu.PartitionScheme.fatflash.build.partitions=ffat
esp32.menu.PartitionScheme.fatflash.upload.maximum_size=2097152
esp32.menu.PartitionScheme.app3M_fat9M_16MB=16M Flash (3MB APP/9MB FATFS)
esp32.menu.PartitionScheme.app3M_fat9M_16MB.build.partitions=app3M_fat9M_16MB
esp32.menu.PartitionScheme.app3M_fat9M_16MB.upload.maximum_size=3145728
esp32.menu.PartitionScheme.rainmaker=RainMaker
esp32.menu.PartitionScheme.rainmaker.build.partitions=rainmaker
esp32.menu.PartitionScheme.rainmaker.upload.maximum_size=3145728
However, I do not know how the menu items are used to provide the actual partition schemes
Ahh I did not know that 2.0.2 existed, downloading now, thanks!
Installed 2.02 After x times restart, changed board from lolin32 v1.0.0 to a lolin d32 PRO (16Mb) my partition selection does not change and is only 4 selections... further investigating...
According to the boards.txt the board D32 PRO has 4Mbyte, same as the lolin32... I bought it advertised with 16MB Flash 8MB PSRAM, let's see if there is a way to make a boards.txt entry with that amount... any suggestions?
Although not the most enjoyable reading, everything you could want to know about the boards.txt file, and the Arduino boards platform system in general, is documented here:
https://arduino.github.io/arduino-cli/latest/platform-specification
The specific sections of interest:
Are you still having this problem @rfaass? If so, please provide more details. It seems similar to a previous report:
Unfortunately, I have not been able to reproduce the problem you reported about the Tools > Partition Scheme menu for the ESP32 boards, nor the one reported previously about the Tools > Upload method menu of the STM32duino boards.
I upgraded from 2 to rc5 and use the general definition for esp-wrover for the ESP D32 and now everything works as should. Updating the boards.txt file seems not easy as I got my esp in a reset loop. I can now use 3Mb for program memory, should be enough... libraries eat memory though; I use secure wireless to AWS, MQTT, Modbus, TFT and some sensor processing; it adds up.
In short, it works fine.
I'm glad it is working fine now. Please let us know if you encounter any problems.
Regards,
Per
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.