I'm using ESP32-VROOM-32D dev board for testing purpose to replace ESP8266 used with AT commands and 8 bit MCU.
I saw in the memory flash partition table with two ota partition there is still around 1Mbit free un the flash.
I want to use this free memory for my program, in this case I don't have to add other flash memory.
I only want to know If it's okay to use the ESP free flash memory for my own program ? this won't annoy the ESP to work normally ?
I didn't really find this usage for partition sub_type:
I need a eeprom like storage, I thinks nvs is a good choice, it's identifed as "WiFi data".
A free flash memory space to store a 80k web page, SPIFFS seems to be nice. Identified as "Unknown data"
Code: Select all
nvs, data, nvs, , 0x4000, otadata, data, ota, , 0x2000, phy_init, data, phy, , 0x1000, user_eeprom, data, nvs, , 0x1000, user_data, data, SPIFFS, , 0xD4000, factory, app, factory, , 1M, ota_0, app, ota_0, , 1M, ota_1, app, ota_1, , 1M,
Code: Select all
I (71) boot: Chip Revision: 1 I (72) boot_comm: chip revision: 1, min. bootloader chip revision: 0 I (41) boot: ESP-IDF v4.0-dirty 2nd stage bootloader I (41) boot: compile time 19:49:56 I (41) boot: Enabling RNG early entropy source... I (46) boot: SPI Speed : 40MHz I (50) boot: SPI Mode : DIO I (54) boot: SPI Flash Size : 4MB I (59) boot: Partition Table: I (62) boot: ## Label Usage Type ST Offset Length I (69) boot: 0 nvs WiFi data 01 02 00009000 00004000 I (77) boot: 1 otadata OTA data 01 00 0000d000 00002000 I (84) boot: 2 phy_init RF data 01 01 0000f000 00001000 I (92) boot: 3 user_eeprom WiFi data 01 02 00010000 00001000 I (99) boot: 4 user_data Unknown data 01 82 00011000 000d4000 I (107) boot: 5 factory factory app 00 00 000f0000 00100000 I (114) boot: 6 ota_0 OTA app 00 10 001f0000 00100000 I (122) boot: 7 ota_1 OTA app 00 11 002f0000 00100000 I (129) boot: End of partition table I (134) boot: Defaulting to factory image
thank you for helping.