mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
build and link hello-world for esp32s2beta
This commit is contained in:
@@ -54,4 +54,12 @@ void spi_flash_enable_interrupts_caches_no_os();
|
||||
// Returns true if cache was flushed, false otherwise
|
||||
bool spi_flash_check_and_flush_cache(uint32_t start_addr, uint32_t length);
|
||||
|
||||
//config cache mode
|
||||
#ifdef CONFIG_IDF_TARGET_ESP32S2BETA
|
||||
void esp_config_instruction_cache_mode(void);
|
||||
void esp_config_data_cache_mode(void);
|
||||
void esp_switch_rodata_to_dcache(void);
|
||||
#endif
|
||||
|
||||
|
||||
#endif //ESP_SPI_FLASH_CACHE_UTILS_H
|
||||
|
Reference in New Issue
Block a user