You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
# The following lines of boilerplate have to be in your project's# CMakeLists in this exact order for cmake to work correctlycmake_minimum_required(VERSION 3.5)
add_definitions(-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue)
add_definitions(-DARDUINO_USB_CDC_ON_BOOT=1)
add_definitions(-DARDUINO_USB_MODE=1)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(amcamiot3)
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: