AP_HAL_ESP32: change storage sector size to 128K

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
This commit is contained in:
Rhys Mainwaring 2023-08-31 16:39:51 +01:00 committed by Andrew Tridgell
parent ad19321d89
commit fa70a56a65
2 changed files with 2 additions and 2 deletions

View File

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

View File

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

1 # Name Type SubType Offset Size
2 nvs data nvs 0x6000
3 phy_init data phy 0x1000
4 factory app factory 3M
5 storage 0x45 0x0 128K 256K