Search found 1 match

by lobis0
Mon Jan 24, 2022 6:22 pm
Forum: ESP32 Arduino
Topic: DRAM segment data does not fit
Replies: 0
Views: 1732

DRAM segment data does not fit

Hello, I am running into a problem where I need to allocate memory for a dynamic array and it (barelly) exceeds the DRAM limit of my ESP32 board. #include <Arduino.h> #define IMAGE_SIZE 134400 unsigned char image[IMAGE_SIZE]; void setup() { for (int i = 0; i < IMAGE_SIZE; i++) { image[i] = 0; } retu...