在NVRAM的说明中可以看到,是存储在VS1区域:
/*****************************************************************************
** Constants
*****************************************************************************/
/**
* @brief Defines the first usable NVRAM Volatile Section Identifier.
* Application can use the VS ids starting from WICED_NVRAM_VSID_START.
**/
#define WICED_NVRAM_VSID_START 0x01
/**
* @brief Defines the last usable NVRAM Volatile Section Identifier.
* Application can use the VS ids starting from WICED_NVRAM_VSID_START to
* WICED_NVRAM_VSID_END
**/
#define WICED_NVRAM_VSID_END 0x75
里看出一共有0x75个ID,每个id最大存255,那岂不是算下来要117*255=29K byte了?超过vs1 4k的大小了?
这个问题能回答一下吗
这里的函数表述不太准确,应该是在不超过VS1大小的情况下,最多可以有0x75个ID,但是如果总的长度超过了,肯定无法用到0x75个。