Hi,
I am using the Built-In function ".if $defined" inside CLA assembler file.
.if $defined(FOO)
;do something
.endif
The symbol is defined inside an C-Header file witch is referenced by the CLA assemble file.
Unfortunately the function does not recognize the symbol correctly.
Once compiled with the symbol defined/undefined changes to the sysbol has no effect.
E.g.
First compiled with "//#define FOO" --> Code inside assembler file will not be executed. Change to "#define FOO" --> Code is still not executed.
First compiled with "#define FOO" --> Code inside assembler file will be executed. Change to "//#define FOO" --> Code is still executed.
Only when i do a "-clean" before the symbol is recognized correctly.
Code Composer Studio
Version: 6.1.0.00104
Compiler:TI v6.4.5
Best regards,
André