Write state to flash

This commit is contained in:
Mona Mayrhofer 2025-06-27 22:39:25 +02:00
parent 700bc71bf6
commit b828cc4bde
No known key found for this signature in database
GPG key ID: 3E2BDA732A957188
5 changed files with 239 additions and 53 deletions

8
partitions.csv Normal file
View file

@ -0,0 +1,8 @@
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
# TODO Keep in sync with main.rs APP_DATA_OFFSET
app_store,0x40, 0x01, 0x10000, 0x10000,
factory, app, factory, 0x20000, 1M,
1 # ESP-IDF Partition Table
2 # Name, Type, SubType, Offset, Size, Flags
3 nvs, data, nvs, 0x9000, 0x6000,
4 phy_init, data, phy, 0xf000, 0x1000,
5 # TODO Keep in sync with main.rs APP_DATA_OFFSET
6 app_store,0x40, 0x01, 0x10000, 0x10000,
7 factory, app, factory, 0x20000, 1M,