mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-06 08:37:29 +02:00
spi_flash: implement mmap/munmap
This commit is contained in:
@@ -31,6 +31,8 @@ typedef int32_t esp_err_t;
|
||||
#define ESP_ERR_NO_MEM 0x101
|
||||
#define ESP_ERR_INVALID_ARG 0x102
|
||||
#define ESP_ERR_INVALID_STATE 0x103
|
||||
#define ESP_ERR_INVALID_SIZE 0x104
|
||||
#define ESP_ERR_NOT_FOUND 0x105
|
||||
|
||||
/**
|
||||
* Macro which can be used to check the error code,
|
||||
|
||||
@@ -3830,6 +3830,11 @@
|
||||
#define DPORT_DATE_S 0
|
||||
#define DPORT_DPORT_DATE_VERSION 0x1605190
|
||||
|
||||
/* Flash MMU table for PRO CPU */
|
||||
#define DPORT_PRO_FLASH_MMU_TABLE ((volatile uint32_t*) 0x3FF10000)
|
||||
|
||||
/* Flash MMU table for APP CPU */
|
||||
#define DPORT_APP_FLASH_MMU_TABLE ((volatile uint32_t*) 0x3FF12000)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user