mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-25 11:06:32 +08:00
feat(startup): add fast boot and fast restart function
This commit is contained in:
@ -22,6 +22,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#define RTC_SYS_RAM_SIZE 256
|
||||
#define ESP_SYSTEM_FAST_BOOT_IMAGE 0x5aa5a55a
|
||||
|
||||
/**
|
||||
* @brief Station's AP base information of old SDK
|
||||
@ -50,6 +51,13 @@ struct _rtc_sys_info {
|
||||
uint32_t hint; // software reset reason
|
||||
uint32_t old_sysconf_addr; /*<! old SDK system configuration parameters base address,
|
||||
if your bootloader is older than v3.2, please don't use this */
|
||||
struct {
|
||||
uint32_t magic;
|
||||
uint32_t image_start;
|
||||
uint32_t image_size;
|
||||
uint32_t image_entry;
|
||||
uint32_t crc32;
|
||||
} fast_boot;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user