I would like to use ESP32 with encrypted flash and spiffs. I test it with the ide at eclipse and it worked pretty. But at arduino at eclipse is wont, because the partition-table - spiffs-partition - is not found.
Problem: The bootloader with encryption uses more than 0x8000 of memory; at arduino normally at 0x8000 the partition-table is located. So it must be moved to 0x9000. But the location of the partition-table at arduino is fixed at 0x8000.
-> I canged
Code: Select all
CONFIG_PARTITION_TABLE_OFFSET=0x9000
and
Code: Select all
#define CONFIG_PARTITION_TABLE_OFFSET 0x9000
the compiled release.bin is still the same. Interessting: the tool tip at eclipse shows "0x8000" for CONFIG_PARTITION_TABLE_OFFSET - but - if I click "open declaration" it shows
Code: Select all
#define CONFIG_PARTITION_TABLE_OFFSET 0x9000
2) Maybe writing the partition-table to 0x8000 is working because the bootloader is smaller the given?
Thank you.