How to enable CONFIG_SPIRAM_SUPPORT in Arduino #2800
Unanswered
tanmanh0707
asked this question in
Q&A - General
Replies: 1 comment 1 reply
-
If the SPIRAM is enabled in the Arduino IDE then the library will automatically use SPIRAM for sprites. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Bodmer,
I'm using esp32-s3 n8r2 which has 2MB PSRAM and I want to use it for the tft display.
I read the source code and there is a macro like this:
CONFIG_SPIRAM_SUPPORT is a configuration in Kconfig if esp-idf is used. However, I'm using Arduino platform so I cannot enable this configuration.
Could you please let me know how to enable this CONFIG_SPIRAM_SUPPORT option using Arduino?
And only this option is enabled will force the library uses PSRAM using ps_calloc, isn't it?
I'm sure my board has PSRAM with psramInit and psramFound returns true.
Thank you very much,
Manh
Beta Was this translation helpful? Give feedback.
All reactions