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 agoNot that I'm a software person but are those variables or C macros (all caps and their location in an include file makes them look like macros)? C macros look something like this "#define <some macro name> <optionally some macro value>". If those are macros you should be able to overwrite them using the -D flag in the project settings. You can learn more by searching the gcc documentation about the -D flag.