Forum Discussion
Altera_Forum
Honored Contributor
15 years agomalloc problem
HI, I want to know how do i allocate a specific amount of memory in specific places.. like SDRAM or SRAM? where my .heap is somewhere else? Thank you. Michael
Altera_Forum
Honored Contributor
15 years agomalloc() allocates in .heap, so check in BSP properties where the .heap is placed. The size of allocated space is determined in malloc() function parameters.