|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|

| #define CONFIG_NV_SUPPORT_ASYNCHRONOUS_STORE NV_NO |
| #define CONFIG_NV_SUPPORT_BACKUP_REGION NV_YES |
| #define CONFIG_NV_SUPPORT_BACKUP_RESTORE NV_YES |
| #define CONFIG_NV_SUPPORT_BACKUP_UPGRADE NV_NO |
| #define CONFIG_NV_SUPPORT_CRC16_VERIFY NV_NO |
| #define CONFIG_NV_SUPPORT_DEBUG NV_NO |
| #define CONFIG_NV_SUPPORT_ENCRYPT NV_NO |
| #define CONFIG_NV_SUPPORT_HASH_FOR_CRYPT NV_NO |
| #define CONFIG_NV_SUPPORT_OTA_UPDATE NV_YES |
| #define CONFIG_NV_SUPPORT_SKIP_CORRUPT_KEY NV_YES |
| #define FLASH_MAPPED_ADDR_START 0x000000 |
| #define FLASH_MAPPED_END 0x800000 |
| #define FLASH_PAGE_SIZE 4096 |
| #define FLASH_PHYSICAL_ADDR_END 0xA00000 |
| #define FLASH_PHYSICAL_ADDR_START 0x200000 |
| #define KV_BACKUP_DATA_SIZE (KV_BACKUP_PAGE_NUM * KV_PAGE_SIZE) |
| #define KV_BACKUP_PAGE_NUM 4 |
| #define KV_BACKUP_START_ADDR (KV_STORE_START_ADDR + KV_STORE_DATA_SIZE) |
| #define KV_PAGE_SIZE FLASH_PAGE_SIZE |
| #define KV_STORE_DATA_PAGE_NUM 4 |
| #define KV_STORE_DATA_SIZE (KV_STORE_DATA_PAGE_NUM * KV_PAGE_SIZE) |
| #define KV_STORE_PAGES_ACPU 3 |
| #define KV_STORE_PAGES_SCPU 0 |
Fixed number of pages for each KV store
| #define KV_STORE_START_ADDR 0x22C000 |
| #define MCORE_REGISTER_NV_NOTIFY_MAX_NUM 10 |
| #define NV_BACKET_SIZE 22 |
| #define NV_ENCRYPTED_KVALUE_MAX_LEN 4048 /* 加密NV的最大数据长度 */ |
| #define NV_KEY_DATA_CHUNK_LEN 128 |
| #define NV_NO 0 |
| #define NV_NORMAL_KVALUE_MAX_LEN 4060 /* 普通NV的最大数据长度 */ |
| #define NV_QUEUE_MAX_SIZE 64 |
| #define NV_TASKS_MAX_NUM 64 /* 可支持的NV保存任务的最大数(多核系统使用) */ |
| #define NV_THREAD_PRIORITY_NUM 26 |
| #define NV_YES 1 |