arduino / arduino/ArduinoCore-sam
Tuning malloc() on Arduino DUE
- Dominant language
- HTML
- Stars
- 91
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Arduino DUE/SAM malloc implementation and comparing its heap boundary controls with AVR's __malloc_heap_end approach. Confirm whether an equivalent setting exists and document or test the supported behavior; done means a concrete answer for configuring malloc on DUE.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100