Forum Discussion

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

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.

1 Reply

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

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