Tool/software: TI-RTOS
Hello,
I have a sysbios project and I would like to enable/disable a specific line in the configuration file depending on a definition.
Similar answers suggest to use javascript if statement syntax. In my situation the definition is in a C header file and not set in the project properties
Here is a pseudo-code of what i try to achieve
Some_Header.h #define USE_EVENT_MODEULE --------------------------------- project.cfg #include Some_Header.h //make cfg aware of the USE_EVENT_MODEULE #ifdef USE_EVENT_MODEULE var Event = xdc.useModule('ti.sysbios.knl.Event'); // actual line for using the events module #endif
Any suggestions? Thanks in advance