3 ms·
> esp32 starts at 1MB Which models? The most I've ever seen on an ESP32 is 512KB of SRAM.
by Narishma 2y ago
> esp32 starts at 1MB
Which models? The most I've ever seen on an ESP32 is 512KB of SRAM.
- ta988 2y agoI think they are talking about the flash. The code is by default run from flash (a mechanism called XIP execute in place). But you can annotate functions (with a macro called IRAM_ATTR) that you want to have in ram if you need performance (you have to also be careful about the data types you use inside as they are not guaranteed to be put in RAM).