Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Memory footprint

Altera_Forum
Honored Contributor II
1,213 Views

Hello, 

I am having problems getting my software to run and i believe the memory footprint is the issue. I keep getting the following error 

 

make: *** [../TestSTDIO_bsp-recurs-make-lib] Error 2 

 

Is there a way to see the exact memory footprint of a nios 2 application? If so where can I find this.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
301 Views

 

--- Quote Start ---  

Hello, 

I am having problems getting my software to run and i believe the memory footprint is the issue. I keep getting the following error 

 

make: *** [../TestSTDIO_bsp-recurs-make-lib] Error 2 

 

Is there a way to see the exact memory footprint of a nios 2 application? If so where can I find this. 

--- Quote End ---  

 

 

Create a MAP file for the project: 

 

Project properties -> C/C++ Build -> Linker -> General -> Linker flags 

 

Add: -Wl,-Map,filename.map 

 

But I don't believe this is a memory image problem. I've seen these make errors for silly things like having a space in a file name that I forgot about (like when browsing in the IDE for a file and choosing a file that had a space). 

 

Bill
0 Kudos
Reply