I have the same problema, in latest arduino esp32 integration 96000 is máximum, but there should be 280k available acording to the man himself:
"Just to expand on what @me-no-dev said: 520KB is the total amount of RAM. That includes IRAM (instruction RAM), DRAM (data RAM), and RTC memory. "System and memory" chapter of the ESP32 Technical reference manual has a table explains this in more detail. Specifically, there is 328 KB of DRAM available on the chip (the rest is IRAM and RTC RAM). Some of that is used by the OS, some is used by tasks created during SDK startup. An empty application which just prints the amount of available heap will report ~300KB of free heap, in the latest IDF.
Enabling features such as WiFi, BT, and dual core support, reduces the amount of memory available to applications. I guess this is where the 280KB number comes from."
my code looks like this:
Code: Select all
#define MAX_DELAY 96000
uint8_t sDelayBuffer0[MAX_DELAY];
if i up that 96000 value, esp32 enters a reset loop after compilation
Any help?