Forum Discussion
Altera_Forum
Honored Contributor
16 years agoIt's telling you the truth. Hello World with no modifications compiles to about 66K code size. Using the standard C library is heavy. Also, running a hosted application is very heavy. Additionally, having the optimization set to 0 for your BSP and applications turns out large code sizes.
Conversely, using the "Hello World Small" application results in a program of only 408 bytes in size. Read the section entitled "Reducing Code Footprint" beginning on page 6-30 of this document: http://www.altera.com/literature/hb/nios2/n2sw_nii52004.pdf Jake