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.

CCS/CCSTUDIO-SITARA: Preprocessor directives in assembly code

Part Number: CCSTUDIO-SITARA


Tool/software: Code Composer Studio

Hello,

I use CCSv6 with GNU compiler v4.9.3 (Linaro).

In my project I would like to call a function written in Assembler. The assemby routine contains some preprocessor directives like 'ifdef' 'endif',...

Unfortunately the expressions have no effect. If I set the appropriate define nothing happens. Can anybody tell me how to implement this preprocessor directives?

I read to set the directives with a preceding point e.g.: .ifdef. In addition there is a preprocessor flag to set. But until know I had no success.

Anybody an idea how to solve this problem?

Thank you in advance for your answers.