Forum Discussion
Altera_Forum
Honored Contributor
13 years agoelf size too large for hello world application
Hi All, i am new to Altera's Nios-II, so as usual started with hello world template i am able to build it but the elf size is comes about 677274 bytes after applying all the optimizations (acc...
Altera_Forum
Honored Contributor
13 years agoThe elf file includes a lot of information used for jtag debugging.
The size of the file itself is not an indication of the actual memory requirements of your program. Infact the report states your code fits in 1320bytes (plus the space required for stack and heap), so you shouldn't have any problem with loading your application into onchip ram. However, afaik jdi and sopc files are normally not included into elf file: probably you have switched on some option in project settings.