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++
12667 Discussions

Code size for Small Hello World

Altera_Forum
Honored Contributor II
1,443 Views

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 II
374 Views

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

0 Kudos
Reply