]> granicus.if.org Git - esp-idf/commitdiff
partition_table: update layouts, remove unused subtypes, sync with header file
authorIvan Grokhotkov <ivan@espressif.com>
Tue, 15 Nov 2016 10:35:10 +0000 (18:35 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Fri, 18 Nov 2016 12:11:16 +0000 (20:11 +0800)
components/partition_table/gen_esp32part.py
components/partition_table/partitions_singleapp.csv
components/partition_table/partitions_two_ota.csv

index cb6a5f24a1ebb49dd1929184598026361194ecfc..5ead13adc79d0f30179dd603cf250fec1c17a358 100755 (executable)
@@ -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,
             },
     }
 
index 940b8a76c48be6e57029f566368854458ddb6e6c..8517b1196f88154d2243fdf7a211a8f6934a7cb9 100644 (file)
@@ -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
index 8e064e14b28a82ad5f19182c9bea03e323679803..58c1127d8c33349351b5618b5ba481cf7f771c8e 100644 (file)
@@ -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