partition_table: Support registering custom subtypes

This commit is contained in:
Shubham Kulkarni
2022-06-21 16:19:26 +05:30
committed by BOT
parent 3e4c0a40c2
commit b6d69840e8
7 changed files with 107 additions and 16 deletions

View File

@@ -84,6 +84,10 @@ typedef enum {
ESP_PARTITION_SUBTYPE_DATA_FAT = 0x81, //!< FAT partition
ESP_PARTITION_SUBTYPE_DATA_SPIFFS = 0x82, //!< SPIFFS partition
#if __has_include("extra_partition_subtypes.inc")
#include "extra_partition_subtypes.inc"
#endif
ESP_PARTITION_SUBTYPE_ANY = 0xff, //!< Used to search for partitions with any subtype
} esp_partition_subtype_t;