Allocating large memory areas without getting 'dram0_0_seg' overflowed

nicklasb
Posts: 10
Joined: Sun Apr 24, 2022 9:11 pm

Allocating large memory areas without getting 'dram0_0_seg' overflowed

Postby nicklasb » Mon Aug 26, 2024 5:28 pm

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)

Who is online

Users browsing this forum: Google [Bot] and 253 guests