Forum Discussion
Altera_Forum
Honored Contributor
14 years agoDynamic Memory Allocation in OnChip-Ram
Hello, I am looking for a possibility to dynamically allocate memory in OnChip-RAM, while heap is in external RAM. Has anyone experiences regarding this topic?
Altera_Forum
Honored Contributor
14 years agoFor embedded use it is actually better to avoid malloc() - except maybe at startup. That way you don't suddenly run out of memory in some important code path.