How do I confirm I've compiled in SPIRAM support? #15156
-
I have an ESP32-WROVER-IE with 8MB of SPIRAM. How can I confirm that the compilation I did was successful? (Here were the steps I took to build.) I see "Generic ESP32 module with SPIRAM with ESP32" in the bootup message, but that's just a string, and I want to ensure I did it right. I guess gc.mem_free() and esp32.idf_heap_info() wouldn't show 4+MB if it was not successful, correct? FYI to anyone who has the same question, it is not currently possible without massive workarounds to use more than 4MB of SPIRAM on a generic ESP32.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Output: Looks right. You can also test it with |
Beta Was this translation helpful? Give feedback.
-
TYVM
|
Beta Was this translation helpful? Give feedback.
print(f"{4183072 / 1024 ** 2:.2f} MiB")
Output:
3.99 MiB
Looks right. You can also test it with
x = bytearray(wanted_size)
,