Forum Discussion
Altera_Forum
Honored Contributor
10 years agomalloc problem
Hello I am using Quarts and Nios 9.1 versions. In my board I have external (altmemddr) and on-chip (inside Cyclone III) memory. In the system library properties all memory (including rwdata...
Altera_Forum
Honored Contributor
10 years agoThat isn't how malloc() and linker sections work.
You can either put your heap in altmemddr and use malloc(), or you can statically allocate your array and use the section attribute (as you have attempted) to place that array in altmemddr.