compatibility ThreadX <-> TI compiler for assembly files

Alexandre Bruliau 30 Reputation points
2023-09-14T16:41:21.87+00:00

Hello,

I am trying to port ThreadX on a TMS570 (cortex R4F) using TI compiler (v20.2.0.LTS).

I just took the .*s files from the ports/cortex_r4/ac5 in my application but the assembly directives don't seem to match with the one supported by the TI compiler since I got a bunch of "Illegal mnemonic specified" (see section 5 https://www.ti.com/lit/ug/spnu118z/spnu118z.pdf?ts=1694684652430&ref_url=https%253A%252F%252Fsoftware-dl.ti.com%252Fcodegen%252Fdocs%252Ftiarmclang%252Fcompiler_tools_user_guide%252Fmigration_guide%252Fmigrating_assembly_source%252Fconverting_ti_syntax_asm_to_gnu_syntax_asm%252Fdirectives.html

Any ideas for solving this issue ?

Best regards,

Alex

Azure RTOS
Azure RTOS
An Azure embedded development suite including a small but powerful operating system for resource-constrained devices.
326 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Xiuwen Cai 366 Reputation points Microsoft Employee
    2023-09-18T09:41:13.66+00:00

    Hi @Alexandre Bruliau there is no port for TI compiler. But there is port for GNU compiler. If possible, you may use GNU compiler in the CCS for compiling the ThreadX ports. Or you may modify those assembly files to meet the format that supported by TI compiler.

    1 person found this answer helpful.