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.

TMS570LC4357: Migration to Clang - Issue with Conditional Assembly Directives

Part Number: TMS570LC4357


Hi, we are working with the TMS570LC4357 MCU with a project migrated to TI Clang v3.0.0.STS. I am trying to use conditional assembly and saw this in the TI Safety Library which we are also using:

However, after testing (by clobbering the instructions to induce an error) it seems that the expression $$isdefed is returning 0. _VFP_SUPPORT_ is defined in the project's predefined symbols as the instructions had stated. Then I found this in the Clang migration guide:

However, when attempting to use .ifdef, the following happens: