Page 1 of 1

Allocating large memory areas without getting 'dram0_0_seg' overflowed

Posted: Mon Aug 26, 2024 5:28 pm
by nicklasb
Hi,

I have and ESP32 S3 with 520 K memory, and 340 free, but I cannot allocate a large memory area (like ~300), without getting a "dram0_0_seg' overflowed" error. I have tried both statically and dynamically.
The .ld scripting seems very complex, to the degree I don't know where to begin to fix it.

Is there any other way to allocate a large area in SRAM (for speed, PSRAM is too slow) like that?
Or is there some other setting or easy way to edit or understand the .ld files?

(It is related to these attempts, and it could be relevant also with the P4)