Forum Discussion
Altera_Forum
Honored Contributor
12 years agoI have defined linker script for my code.
When I call malloc() NIOS returns me a address from some other region instead of .heap region. Please let me know how can I allocate memory to pointers from the heap as defined in the GUI of BSP Editor. As in theory malloc() gives memory from heap.