参照:http://blog.csdn.net/sadshen
其中系统提供的结构体可以自由拓展增加成员(struct esp_platform_saved_param esp_param;)
在断电重启之后需要先system_param_load(ESP_PARAM_START_SEC, 0, &esp_param, sizeof(struct esp_platform_saved_param));
才能读取该地址的参数。
参照:http://blog.csdn.net/sadshen
其中系统提供的结构体可以自由拓展增加成员(struct esp_platform_saved_param esp_param;)
在断电重启之后需要先system_param_load(ESP_PARAM_START_SEC, 0, &esp_param, sizeof(struct esp_platform_saved_param));
才能读取该地址的参数。