AnsweredAssumed Answered

CCES predefine macro for CCES rather than VDSP

Question asked by MikeSmithCanada on Jul 22, 2013
Latest reply on Jul 23, 2013 by CraigG

While testing  my ports between VDSP and CCES, I am going to have to have some conditional compiles (e.g. interrupts on SHARC)

 

Is there are predefine to show am in CCES environment -- I tried the obvious _CCES_ and __CCES__

I can set it on a project by project basis via -D__CCES__ but if there is a global constant then useful

 

Checked http://127.0.0.1:52579/help/topic/com.analog.crosscore.help.blackfin.compiler.rtl.mn/html/Comp_rtl_mn_bf_rev1-2_introduction.4.459.html?resultof=%22%6d%61%63%72%6f%22%20%22%43%43%45%53%22%20%22%63%63%65%22%20

 

Using  #if def(__CCESVERSION__)  as a switch would work

Outcomes