Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,116 Views

Code size for Small Hello World

Hi, 

 

I am trying out the NIOS II running on MAX 10 FPGA. I found that by compiling the small hello world template project which just output the string "Hello from NIOS II" using the alt_putstr function, the code size is 3888 byte! 

I remember the small hello world used to be very small in size. Not sure why is it becoming so large now. 

 

I appreciate if anybody can help to shed some light and advise for me. 

Thanks.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
47 Views

Maybe you can try "enable_small_c_library" and "enable_reduced_device_drivers" in BSP Editor Settings.Common.hal.

Reply