gustavonihei opened a new pull request, #7880: URL: https://github.com/apache/nuttx/pull/7880
## Summary This PR intends to fix the PSRAM support on ESP32 when Stack Smash Protection is enabled (`CONFIG_STACK_CANARIES=1`). During PSRAM initialization the Cache needs to be disabled for MMU configuration, so all data and code for the aforementioned scope is required to be placed in Internal RAM (DRAM and IRAM regions). ## Impact Only for PSRAM-enabled configurations on ESP32. ## Testing Successful execution of `ramtest` application on `esp32-devkitc:psram` with `CONFIG_STACK_CANARIES=1`. ``` NuttShell (NSH) NuttX-10.4.0 nsh> ramtest -w 0x3f800000 65536 RAMTest: Marching ones: 3f800000 65536 RAMTest: Marching zeroes: 3f800000 65536 RAMTest: Pattern test: 3f800000 65536 55555555 aaaaaaaa RAMTest: Pattern test: 3f800000 65536 66666666 99999999 RAMTest: Pattern test: 3f800000 65536 33333333 cccccccc RAMTest: Address-in-address test: 3f800000 65536 nsh> ``` -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org