tmedicci commented on code in PR #13249:
URL: https://github.com/apache/nuttx/pull/13249#discussion_r1738677728
##########
arch/xtensa/src/esp32/esp32_spiram.c:
##########
@@ -238,6 +245,8 @@ void IRAM_ATTR esp_spiram_init_cache(void)
/* Flush and enable icache for APP CPU */
#ifdef CONFIG_SMP
+ cache_flush(cpu);
+ cache_read_enable(cpu);
Review Comment:
```suggestion
cache_flush(APP_CPU_NUM);
cache_read_enable(APP_CPU_NUM);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]