How to increase ram for dynamic allocation
Posted: Mon Jan 07, 2019 4:15 pm
I need to allocate minimum 120Kb of RAM with malloc or calloc.
During start the heap information is listed:
Are there any settings in sdconfig or anywhere that could help here?
Thank you
During start the heap information is listed:
However malloc() of 120kb fails...heap_init: Initializing. RAM available for dynamic allocation:
I (327) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (333) heap_init: At 3FFB8EA0 len 00027160 (156 KiB): DRAM
I (339) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (345) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (352) heap_init: At 4008F0CC len 00010F34 (67 KiB): IRAM
Are there any settings in sdconfig or anywhere that could help here?
Thank you