mirror of
https://github.com/apache/nuttx.git
synced 2026-08-08 14:07:17 +00:00
esp32s3_textheap.c: fix a build error w/o CONFIG_ESP32S3_SPIRAM
This commit is contained in:
parent
de3737cd90
commit
985d395b02
1 changed files with 2 additions and 0 deletions
|
|
@ -223,7 +223,9 @@ IRAM_ATTR void up_textheap_data_sync(void)
|
|||
{
|
||||
irqstate_t flags = enter_critical_section();
|
||||
|
||||
#ifdef CONFIG_ESP32S3_SPIRAM
|
||||
esp_spiram_writeback_cache();
|
||||
#endif
|
||||
cache_hal_disable(CACHE_TYPE_INSTRUCTION);
|
||||
cache_hal_enable(CACHE_TYPE_INSTRUCTION);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue