Tool/software: Code Composer Studio
CCS V5.3.0 is used for F28335 development.The question is about: Show Build settings -> Build -> C2000 Compiler -> Advanced Options -> Predefined Symbols -> Pre-define NAME
1)I want to confirm whether following example expression is correct for "Pre-define NAME":
CANOPEN
#define CANOPEN 2
CANOPEN=2
2)In fact, I want to achieve following function, is it possible to use "Pre-define NAME"? then I could use different "Build Configurations" for project build.
#if CANOPEN == 0
#if CANOPEN == 1
#if CANOPEN == 2
thanks