Altera_Forum
Honored Contributor
14 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. MichaelHI,
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. Michaelmalloc() allocates in .heap, so check in BSP properties where the .heap is placed. The size of allocated space is determined in malloc() function parameters.