Change value of CONFIG_PARTITION_TABLE_OFFSET

Flourhorn
Posts: 2
Joined: Wed Sep 25, 2019 4:40 am

Change value of CONFIG_PARTITION_TABLE_OFFSET

Postby Flourhorn » Fri Sep 27, 2019 9:49 am

Dear ESP32-Freaks,

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
.. eclipse\arduinoPlugin\packages\esp32\hardware\esp32\1.0.3-rc3\tools\sdk\sdkconfig
and

Code: Select all

#define CONFIG_PARTITION_TABLE_OFFSET 0x9000
.. eclipse\arduinoPlugin\packages\esp32\hardware\esp32\1.0.3-rc3\tools\sdk\include\config\sdkconfig.h

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
1) What I doing wrong?
2) Maybe writing the partition-table to 0x8000 is working because the bootloader is smaller the given?

Thank you.

Who is online

Users browsing this forum: No registered users and 66 guests