Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Memory footprint

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.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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