Hi,
I am currently looking for an option to create memory partition in my esp32 board.
I am able to create it by using partition.csv file.
//Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x4000,
otadata, data, ota, 0xd000, 0x2000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 1M,
ota_0, app, ota_0, 0x110000, 1M,
ota_1, app, ota_1, 0x210000, 1M,
log_1, data, log_1, 0x310000, 0x4000
like this. I have created partition for log_1.
However, I wanted to create partition run time. Is there a way or API's available with which we can create partition run time ?
Thanks !!
How do I create a flash memory partition in esp32 without using csv file ?
-
- Posts: 9749
- Joined: Thu Nov 26, 2015 4:08 am
Re: How do I create a flash memory partition in esp32 without using csv file ?
No. The partition table is intended to be defined at compile time, not at runtime.
Re: How do I create a flash memory partition in esp32 without using csv file ?
@ESP_Sprite Thanks for your response.
Yes you are right. After trying runtime partition I came to know, we have certain limitations to it.
So, it is better not to create partition runtime.
I referred below link to try out.
https://github.com/espressif/esp-idf/issues/8018
Thanks!!
Yes you are right. After trying runtime partition I came to know, we have certain limitations to it.
So, it is better not to create partition runtime.
I referred below link to try out.
https://github.com/espressif/esp-idf/issues/8018
Thanks!!
Who is online
Users browsing this forum: No registered users and 86 guests