What is the define variable that is defined when PSRAM is enabled? #2655
Answered
by
earlephilhower
XanCraft21
asked this question in
Q&A
-
Hello, i was going to use the PSRAM capability of the RP2350, and i need to know what the define is called when i enable it. I was going to make a sketch that can work on multiple different processors that support PSRAM, and i was going to use the ifdef or if defined() compile tags to detect which board is being used and if PSRAM is enabled or not. Thank you for your help. |
Beta Was this translation helpful? Give feedback.
Answered by
earlephilhower
Dec 1, 2024
Replies: 1 comment 1 reply
-
arduino-pico/cores/rp2040/psram.cpp Line 35 in 6024e9a It's defined by the board variant in the pins file. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
XanCraft21
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
arduino-pico/cores/rp2040/psram.cpp
Line 35 in 6024e9a
It's defined by the board variant in the pins file.