diff --git a/libraries/AP_HAL_ESP32/Storage.h b/libraries/AP_HAL_ESP32/Storage.h index 45f8376e69..ff066b96d6 100644 --- a/libraries/AP_HAL_ESP32/Storage.h +++ b/libraries/AP_HAL_ESP32/Storage.h @@ -23,7 +23,7 @@ #include "esp_partition.h" #define STORAGE_SIZE HAL_STORAGE_SIZE -#define STORAGE_SECTOR_SIZE (64*1024) +#define STORAGE_SECTOR_SIZE (128*1024) #define STORAGE_LINE_SHIFT 3 diff --git a/libraries/AP_HAL_ESP32/targets/esp32/partitions.csv b/libraries/AP_HAL_ESP32/targets/esp32/partitions.csv index 70f23f3af8..8a292ba165 100644 --- a/libraries/AP_HAL_ESP32/targets/esp32/partitions.csv +++ b/libraries/AP_HAL_ESP32/targets/esp32/partitions.csv @@ -2,4 +2,4 @@ nvs, data, nvs, , 0x6000 phy_init, data, phy, , 0x1000 factory, app, factory, , 3M -storage, 0x45, 0x0, , 128K +storage, 0x45, 0x0, , 256K