mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
xtensa/esp32: Partition device supports encryption mode
This commit is contained in:
committed by
Gustavo Henrique Nihei
parent
cb404167a7
commit
118222ba46
File diff suppressed because it is too large
Load Diff
@@ -42,6 +42,27 @@ extern "C"
|
||||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* Partition APP type and subtype */
|
||||
|
||||
#define PARTITION_TYPE_APP (0x00)
|
||||
#define PARTITION_SUBTYPE_FACTORY (0x00)
|
||||
#define PARTITION_SUBTYPE_OTA_FLAG (0x10)
|
||||
#define PARTITION_SUBTYPE_OTA_MASK (0x0f)
|
||||
#define PARTITION_SUBTYPE_TEST (0x20)
|
||||
|
||||
/* Partition DATA type and subtype */
|
||||
|
||||
#define PARTITION_TYPE_DATA (0x01)
|
||||
#define PARTITION_SUBTYPE_DATA_OTA (0x00)
|
||||
#define PARTITION_SUBTYPE_DATA_RF (0x01)
|
||||
#define PARTITION_SUBTYPE_DATA_WIFI (0x02)
|
||||
#define PARTITION_SUBTYPE_DATA_NVS_KEYS (0x04)
|
||||
#define PARTITION_SUBTYPE_DATA_EFUSE_EM (0x05)
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user