Skip to content

-DBOARD_HAS_PSRAM default in Arduion for ESP32-S3? #11463

Closed
@zackees

Description

@zackees

Board

ESP32-S3

Device Description

ESp32-S3 Xiao

Hardware Configuration

Stock ESp32-S3. Mostly Xiao S3 it seems.

Here is our example of our I2S driver + instructions for users. It would be awesome if you could update the platform json files to include this build flag by default.

https://github.com/FastLED/FastLED/blob/master/examples/Esp32S3I2SDemo/Esp32S3I2SDemo.ino

Version

latest stable Release (if not listed below)

IDE Name

ArduionIDE

Operating System

Windows, MacOS, Linux

Flash frequency

80mhz

PSRAM enabled

no

Upload speed

115200

Description

Hi @Jason2866. I've spent some tonight to simplify instructions for the ESP32-S3 I2S driver that we are running for 16 parallel WS2812 strips.

My ask is this: Can -DBOARD_HAS_PSRAM be the default on ESP32-S3 for ArduinoIDE? I think it is one of the platform.json file defintions. I'm willing to do the work if you can point me to the right one.

Right now, the only way the users can use our I2S driver is if they use platformio.ini and pass in the above build flag. I think that the PSRAM should be enabled by default on ArduinoIDE.

I looked into it and FastLED probably can either enable the psram during runtime or on the first call to FastLED.show(), or otherwise lazily. This seems to be the last issue before the massive 16-way parallel driver can be used on ESP32-S3 on a stock build on ArduionIDE.

Anyway, I wanted to put this on your radar as something that is important. It certainly would be important to our users, as most of them use ArduinoIDE. Your S3 sure is a beast and I'm fun using it for heavy floating point computations. For example, check out our WaveFx that I added recently.

https://www.reddit.com/r/FastLED/comments/1k1whfd/fastled_3916_released_wavesimulation_advanced/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

ESP32S3 Sketch with embedded PlatformIO setup instructions

https://github.com/FastLED/FastLED/blob/master/examples/Esp32S3I2SDemo/Esp32S3I2SDemo.ino

Debug Message

fill
fill
fill
fill

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions