Article Pre-defined compiler macros in CCES Audit

Question :
How to view the list of pre-defined compiler macros in CCES project?

Answer:
Pre-defined macros have already been set in the IDDE itself. While compiling the project, it will automatically enable the corresponding macros.
The macros can be generated in a program by adding the switch "-flags-compiler --list_macros".
The switch should be added into the Project by using the below procedure

1. Go to ->Properties->C/C++ Build -> settings ->CrossCore Blackfin/Sharc C/C++ Compiler ->Additional Options -> Click add button -> add the swich(-flags-compiler --list_macros) -> click ok.

2. Now build the project.

3. The corresponding list will then be printed in the console window.

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.