ArduinoCore-sam icon indicating copy to clipboard operation
ArduinoCore-sam copied to clipboard

Tuning malloc() on Arduino DUE

Open GO01260 opened this issue 7 years ago • 1 comments

On AVR, malloc() can be tuned by setting "extern char *__malloc_heap_end;" to some value. This will prevent malloc() to use the current stack pointer for top of memory and it will create an heap for malloc().

Is there anything similar in the Arduino DUE library? malloc() implementation seems to be different.

Regards

GO01260 avatar May 24 '17 16:05 GO01260

See also https://github.com/arduino/ArduinoCore-sam/issues/138

WestfW avatar Aug 19 '22 06:08 WestfW