Forum Discussion
Altera_Forum
Honored Contributor
16 years agonios2-ide vs nios2-bsp
I don't like to use Eclipse and the NIOS2-IDE. I'm usually much more effective with the tools I'm familiar with like: emacs, make, gcc, gdb, linker scripts, objdump, etc. However I can't seem t...
Altera_Forum
Honored Contributor
16 years agoYou can specify all of these options from the command line, the following can significantly help reduce obj size:
--set hal.make.bsp_cflags_optimization -O2 --set hal.make.bsp_cflags_user_flags "-ffunction-sections -fdata-sections" on 9.1 it doesn't appear necessary to have the quotes. The easiest place to look for these options is in the generated summary.html in the bsp folder. It shows the options and it's default and current value. Other options for example are: hal.enable_clean_exit, hal.enable_exit etc. jcn