create custom partition to re-enable OTA

pull/1/head
Thomas Ballmann 4 years ago
parent 16a63b5745
commit c2a7de95ba

@ -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,
1 # Name Type SubType Offset Size Flags
2 nvs data nvs 0x9000 0x5000
3 otadata data ota 0xe000 0x2000
4 app0 app ota_0 0x10000 0x150000
5 app1 app ota_1 0x160000 0x150000
6 spiffs data spiffs 0x2b0000 0x150000

@ -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

Loading…
Cancel
Save