This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Question on conditional compile combinatorial logic in CCS

Other Parts Discussed in Thread: MSP430F5529

Looking to do something like this:

#ifdef __MSP430F5529__ and #ifndef FEATURE and #ifndef BOARDREV

#define ARRAY_SIZE 1000

#else

#define ARRAY_SIZE 250

#endif

I was wondering what the syntax, if any, was on combining several condtional compile flags into one logical block?

I know that I can easlity create an additional compile flag and just set/unset this flag, but since i have several flags already and this flag would be a combination of those other flags, looking to avoid creating yet another flag.