Skip to content
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

Using esp32 with SpiRAM #121

Closed
Mael19 opened this issue Aug 24, 2018 · 2 comments
Closed

Using esp32 with SpiRAM #121

Mael19 opened this issue Aug 24, 2018 · 2 comments

Comments

@Mael19
Copy link

Mael19 commented Aug 24, 2018

Hello, I finally managed to make my esp32 work. I'd like to use it with the SpiRAM as well, is it possible ? Has someône done it ?

@h3ndrik
Copy link
Contributor

h3ndrik commented Aug 31, 2018

Have a look at examples/StreamMP3FromHTTP_SPIRAM in this project.

@TheNitek
Copy link

You can use it like this:
uint32_t spiBufferSize = 410241024;
byte spiBuffer = (byte)ps_malloc(spiBufferSize);
buff = new AudioFileSourceBuffer(file, spiBuffer, spiBufferSize);

(you need to enable PSRAM in Arduino IDE => Tools)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants