partition_table: update layouts, remove unused subtypes, sync with header file

pull/124/head
Ivan Grokhotkov 2016-11-15 18:35:10 +08:00
rodzic 6e97936bac
commit a0feea8daa
3 zmienionych plików z 12 dodań i 8 usunięć

Wyświetl plik

@ -116,7 +116,8 @@ class PartitionDefinition(object):
"app" : APP_TYPE,
"data" : DATA_TYPE,
}
# Keep this map in sync with esp_partition_subtype_t enum in esp_partition.h
SUBTYPES = {
APP_TYPE : {
"factory" : 0x00,
@ -124,8 +125,11 @@ class PartitionDefinition(object):
},
DATA_TYPE : {
"ota" : 0x00,
"rf" : 0x01,
"wifi" : 0x02,
"phy" : 0x01,
"nvs" : 0x02,
"esphttpd" : 0x80,
"fat" : 0x81,
"spiffs" : 0x82,
},
}

Wyświetl plik

@ -1,4 +1,4 @@
# Name, Type, SubType, Offset, Size
nvs, data, nvs, 0x9000, 0x6000
phy_init, data, phy, 0xf000, 0x1000
factory, app, factory, 0x10000, 1M
rfdata, data, rf, , 256K
wifidata, data, wifi, , 256K

1 # Name Type SubType Offset Size
2 nvs data nvs 0x9000 0x6000
3 phy_init data phy 0xf000 0x1000
4 factory app factory 0x10000 1M
rfdata data rf 256K
wifidata data wifi 256K

Wyświetl plik

@ -1,7 +1,7 @@
# Name, Type, SubType, Offset, Size
nvs, data, nvs, 0x9000, 0x4000
otadata, data, ota, 0xd000, 0x2000
phy_init, data, phy, 0xf000, 0x1000
factory, 0, 0, 0x10000, 1M
ota_0, 0, ota_0, , 1M
ota_1, 0, ota_1, , 1M
rfdata, data, rf, , 256K
wifidata, data, wifi, , 256K
otadata, data, ota, , 256K

1 # Name Type SubType Offset Size
2 nvs data nvs 0x9000 0x4000
3 otadata data ota 0xd000 0x2000
4 phy_init data phy 0xf000 0x1000
5 factory 0 0 0x10000 1M
6 ota_0 0 ota_0 1M
7 ota_1 0 ota_1 1M
rfdata data rf 256K
wifidata data wifi 256K
otadata data ota 256K