-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PSRAM not working for esp32s3? project ignoring sdkconfig? #9756
Comments
I found out about the error Line 290 in c16a325
adding esp_psram to the end of that will make PSRAM work with our -DBOARD_HAS_PSRAM definitions Looks like we need to do some kind of check to see if psram config is enabled and include it in the requires Based on https://docs.espressif.com/projects/esp-idf/en/v5.2/esp32s3/migration-guides/release-5.x/5.0/system.html#psram |
We do not need to specify this so far on IDF v5.1. I will add it to requires and see if it will work ok on targets without PSRAM |
Board
ESP32s3
Device Description
ESP32s3
Hardware Configuration
FLASH 16MB DIO 80MHZ
OPI PSRAM
Version
v3.0.0
IDE Name
ESP-IDF vscode
Operating System
Windows 11
Flash frequency
80
PSRAM enabled
yes
Upload speed
default
Description
So i cant figure out how to enable psram for arduino components
My sdkconfig has been setup correctly with all the correct settings, however i feel like arduino components are ignoring some settings?
Like i cant get serial to work or my device unless i add definitions for USB CDC and USB MODE
But i think that should be automatic based on sdkconfig no?
Also in older versions of arduino component the BOARD_HAS_PSRAM definition made it enable psram for me
However in this version 3.0.0 it no longer works and gives me the error
project_folder/managed_components/espressif__arduino-esp32/cores/esp32/esp32-hal-psram.c:22:10: fatal error: esp_psram.h: No such file or directory
22 | #include "esp_psram.h"
Is arduino components somehow ignoring my sdkconfig and not applying settings correctly since i have to add definitions or is something wrong here? (When i remove the definition for BOARD HAS PSRAM I get no error but sketch shows no psram)
Project root cmake config:
sdkconfig
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: