mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-22 17:47:04 +08:00
feat(compatibility_upgrade): add function to get old SDK's target ap SSID and passowrd
Add error warning to check the wrong parition table.
This commit is contained in:
@ -17,6 +17,7 @@
|
||||
|
||||
#include "esp_log.h"
|
||||
#include "esp_system.h"
|
||||
#include "internal/esp_system_internal.h"
|
||||
|
||||
#include "crc.h"
|
||||
|
||||
@ -352,3 +353,11 @@ uint32_t esp_get_minimum_free_heap_size(void)
|
||||
{
|
||||
return heap_caps_get_minimum_free_size(MALLOC_CAP_32BIT);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get old SDK configuration parameters base address
|
||||
*/
|
||||
uint32_t esp_get_old_sysconf_addr(void)
|
||||
{
|
||||
return rtc_sys_info.old_sysconf_addr;
|
||||
}
|
||||
|
Reference in New Issue
Block a user