arduino / ArduinoCore-sam

81 stars 107 forks source link

Tuning malloc() on Arduino DUE #36

Open GO01260 opened 7 years ago

GO01260 commented 7 years ago

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

WestfW commented 2 years ago

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