fix partition sizes

1.2-legacy
geeksville 2020-02-07 09:36:36 -08:00
rodzic 3e87e60d43
commit 14c5d0de40
2 zmienionych plików z 7 dodań i 7 usunięć

Wyświetl plik

@ -1,4 +1,4 @@
#!/usr/bin/python2
# This is a layout for 4MB of flash
# Name, Type, SubType, Offset, Size, Flags
@ -10,7 +10,7 @@
start = 0x9000
nvssys = 0x3000
nvsuser = 0x3000
nvsuser = 0x2000 # NOTE: ti seems total size of nvssys MUST be 0x5000 or device will bootloop
nvs = nvssys + nvsuser
ota = 0x2000
# app = 0x1c0000
@ -38,4 +38,4 @@ app0, app, ota_0, , 0x{app:x},
app1, app, ota_1, , 0x{app:x},
spiffs, data, spiffs, , 0x{spi:x} """.format(**locals())
print table
print(table)

Wyświetl plik

@ -1,8 +1,8 @@
# This is autogenerated by genpartions.py - change that tool instead!
# appsize=1950 KB, spiffs=128 KB, usernvs=12 KB
# appsize=1952 KB, spiffs=128 KB, usernvs=8 KB
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x6000,
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, , 0x2000,
app0, app, ota_0, , 0x1e7800,
app1, app, ota_1, , 0x1e7800,
app0, app, ota_0, , 0x1e8000,
app1, app, ota_1, , 0x1e8000,
spiffs, data, spiffs, , 0x20000

1 # This is autogenerated by genpartions.py - change that tool instead!
2 # appsize=1950 KB, spiffs=128 KB, usernvs=12 KB # appsize=1952 KB, spiffs=128 KB, usernvs=8 KB
3 # Name, Type, SubType, Offset, Size, Flags
4 nvs, data, nvs, 0x9000, 0x6000, nvs, data, nvs, 0x9000, 0x5000,
5 otadata, data, ota, , 0x2000,
6 app0, app, ota_0, , 0x1e7800, app0, app, ota_0, , 0x1e8000,
7 app1, app, ota_1, , 0x1e7800, app1, app, ota_1, , 0x1e8000,
8 spiffs, data, spiffs, , 0x20000