mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-08-06 15:15:15 +08:00
feat(startup): add fast boot and fast restart function
This commit is contained in:
@ -205,6 +205,9 @@
|
||||
#define CACHE_READ_EN_BIT BIT8
|
||||
//}}
|
||||
|
||||
#define ESP_CACHE1_ADDR_MAX (0x100000)
|
||||
#define ESP_CACHE2_ADDR_MAX (0x200000)
|
||||
|
||||
#define DRAM_BASE (0x3FFE8000)
|
||||
#define DRAM_SIZE (96 * 1024)
|
||||
|
||||
|
@ -1,9 +1,16 @@
|
||||
#ifndef _ROM_FUNCTIONS_H
|
||||
#define _ROM_FUNCTIONS_H
|
||||
|
||||
#include "sdkconfig.h"
|
||||
#include <stdint.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#ifdef CONFIG_SOC_FULL_ICACHE
|
||||
#define SOC_CACHE_SIZE 1 // 32KB
|
||||
#else
|
||||
#define SOC_CACHE_SIZE 0 // 16KB
|
||||
#endif
|
||||
|
||||
#define ROM_FLASH_BUF_DECLARE(__name, __size) uint8_t __name[__size] __attribute__((aligned(4)))
|
||||
|
||||
typedef struct {
|
||||
|
Reference in New Issue
Block a user