Enabling External PSRAM for Zephyr Applications on ESP32 SoCs · Espressif Developer Portal #378
Replies: 3 comments 2 replies
-
Hi, I was delighted to read your article, Enabling External PSRAM for Zephyr Applications on ESP32 SoCs, as I’ve been struggling to figure out how to use PSRAM on the ESP32-S3. Referring to the article Letting ESP32 Wi-Fi Use PSRAM, I used the ESP32-S3-WROOM-1 N8R8 module and built zephyr/samples/net/wifi/shell with ESP32_WIFI_NET_ALLOC_SPIRAM enabled. After compiling and flashing it to the ESP32-S3-WROOM-1, I observed that the network stack allocations were made using memory from internal RAM addresses instead of PSRAM. Below are my relevant configurations and outputs.
Here's my overlay
Here's my prj.conf
Below are the results of my execution output.
|
Beta Was this translation helpful? Give feedback.
-
Hi, @letter57, please, move this discussion to Zephyr Discussion Channel, as this place is more focused for 'article reviews'. Well, since we are here, please, update to latest commit in Zephyr's repo. There were fixes. If you have further questions, please, use Discord, GH issues or Discussion channel on Zephyr GH. We can close this. |
Beta Was this translation helpful? Give feedback.
-
Hi, @wmrsouza Thank you for your response. First, I realized that I overlooked the Zephyr main branch and mistakenly thought that Zephyr 4.0.0 already supported external PSRAM for Zephyr. After switching to the Zephyr main branch, the test results were exactly as described in your article. I really appreciate you. |
Beta Was this translation helpful? Give feedback.
-
Enabling External PSRAM for Zephyr Applications on ESP32 SoCs · Espressif Developer Portal
The developer resources in just one place!
https://developer.espressif.com/blog/2024/12/zephyr-how-to-use-psram/
Beta Was this translation helpful? Give feedback.
All reactions