Forum Discussion
Altera_Forum
Honored Contributor
11 years agoHi,
if that's the definition of C Macros, they are then macros. I tried with -D already but it doesn't seem to work. But perhaps my tcl line was wrong... I did something like: set_setting hal.make.bsp_cflags_defined_symbols -DTSE_MY_SYSTEM,-DMAXBIGPKTS=1000,-DNUMBIGBUFS=250 When doing a printf from main() I still get the old values. Not that I'm a software person too, but should't I first undefine those Macros first? In the description of cflags_defined_symbols it says that the effect is the same with# define... I tried using hal.make.bsp_cflags_undefined_symbols "-u DMAXBIGPKTS", "-u DNUMBIGBUFS" but still not working...