diff --git a/partitions_pd.csv b/partitions_pd.csv new file mode 100644 index 0000000..e69fba5 --- /dev/null +++ b/partitions_pd.csv @@ -0,0 +1,6 @@ +# Name, Type, SubType, Offset, Size, Flags +nvs, data, nvs, 0x9000, 0x5000, +otadata, data, ota, 0xe000, 0x2000, +app0, app, ota_0, 0x10000, 0x150000, +app1, app, ota_1, 0x160000,0x150000, +spiffs, data, spiffs, 0x2b0000,0x150000, \ No newline at end of file diff --git a/platformio.ini b/platformio.ini index 1346eff..274dd77 100644 --- a/platformio.ini +++ b/platformio.ini @@ -5,11 +5,7 @@ board = lolin32 framework = arduino monitor_speed = 115200 monitor_filters = esp32_exception_decoder -; https://camo.githubusercontent.com/62eafe3a5c9bf3cdc31d6db740b7e58eaa1a3ab1/687474703a2f2f7777772e6275696c646c6f672e6e65742f626c6f672f77702d636f6e74656e742f75706c6f6164732f323032302f30322f6964655f73732e706e67 -; https://docs.platformio.org/en/latest/platforms/espressif32.html#partition-tables -; https://github.com/espressif/arduino-esp32/tree/master/tools/partitions -; https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/partition-tables.html -board_build.partitions = no_ota.csv +board_build.partitions = partitions_pd.csv # OTA ;upload_port = 192.168.178.60