Forum Discussion
Altera_Forum
Honored Contributor
12 years agoOverriding static variables from Eclipse
Hi, I want to override a few variables (NUMBIGBUFS, MAXBIGPKTS, etc) contained in the ipport.h file of the NicheStack-enabled bsp without actually modifying the file itself. Does SBT give me ...
Altera_Forum
Honored Contributor
12 years agoIf by "slightly different" you refer to those the "--set " directive, that would be actually the same but called from a .sh script. When the list of settings is included in a .tcl script the set is not required.
NIOS2_BSP_ARGS="--script settings.tcl hal my_bsp" Anyways, I figgured out that the syntax for multiple defined symbols is set_setting hal.make.bsp_cflags_defined_symbols "-DTSE_MY_SYSTEM -DNUMBIGBUFS=250 -DMAXBIGPKTS=500" so parameters between quotes and separated by space not comma.