How do I create a flash memory partition in esp32 without using csv file ?
Posted: Mon Dec 06, 2021 12:33 pm
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 !!
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 !!