-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom partitions table #703
Comments
When Arduino IDE compiles the sketch it runs so editing your default.csv file should take effect =) |
Also, it still will show 1.310.720 bytes on IDE independent of flash size due it's hardcoded here: https://github.com/espressif/arduino-esp32/blob/master/boards.txt#L12 |
Thank you for the response! I'll try. Anyway, is there a way to check the current partitions table? |
Reading the partition table: size_t ul; Making a custom partition table for the Arduino IDE:
My example uvee.csv file: Name, Type, SubType, Offset, Size, Flagsnvs, data, nvs, 0x9000, 0x5000, For my application I don't need eeprom and spiffs. Eventually I will just remove both partitions to get the max. available size for my app while keeping OTA functionality. Or you can always add a larger serial eeprom to the ESP32 which can handle up to 16MByte of memory. Note that the Arduino IDE will always write the app0 partition after each compile, but also the partitions at 0x001000 (second-stage bootloader) and 0x008000 (the partition table itself). |
@delcomp |
I only use Arduino IDE. I have no idea on how to get this working on PlatformIO, never used it. |
@delcomp, I opened an issue on platformio about this. |
Closed since it's a PlatformIO issue |
Hardware:
Board: ESP32 Dev Module - WROOM32
Core Installation/update date: 02/jul/2017
IDE name: Arduino IDE
Flash Frequency: 40Mhz
Upload Speed: 115200
Description:
Hi guys, I'm trying to run a custom partition table on my esp32 board. I've created the .bin file thanks to
gen_esp32part.py from this .csv file:
Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x1C0000,
app1, app, ota_1, 0x1D0000,0x1C0000,
eeprom, data, 0x99, 0x390000,0x1000,
spiffs, data, spiffs, 0x391000,0x6F000,
Then I paste the .bin in Arduino\hardware\espressif\esp32\tools\sdk\bin. However when I compile my sketch, I see the same flash partition dimension size (1.3 MB more or less).
Am I missing something?
Thank you!
The text was updated successfully, but these errors were encountered: