Esp32/Components/spi_flash/include/iram_precache.h
Go to the documentation of this file.
1 /*
2  * Dummy stub. ESP32 has tons of IRAM.
3 */
4 
5 #include <stdint.h>
6 
7 #pragma once
8 
15 #define IRAM_PRECACHE_ATTR
16 #define IRAM_PRECACHE_START(tag)
17 #define IRAM_PRECACHE_END(tag)
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
29 inline void iram_precache(void* addr, uint32_t bytes)
30 {
31 }
32 
35 #ifdef __cplusplus
36 }
37 #endif
void iram_precache(void *addr, uint32_t bytes)
Pre-load flash data into the flash instruction cache.
Definition: Esp32/Components/spi_flash/include/iram_precache.h:29