Part Number: CCSTUDIO-THEIA
Other Parts Discussed in Thread: AM263P4
Hello,
we are evaluating TI ARM Clang 4.0.3 LTS for possible future use with Sitara (AM263P4) devices.
As a test, we tried rebuilding existing firmware for TMS570 (Cortex-R4F).
The build almost succeeds, but the generated HEX uses BE-8 encoding (instructions byte-swapped), while TMS570 requires BE-32.
Data endianness is correct - only instruction bytes are reversed.
Upstream LLVM/Clang (tested v20.1) supports the -mbe32 option, which produces correct BE-32 output.
TI ARM Clang seems to not support this option.
We are not using CCS, only a Makefile build, so we are interested in a direct compiler option for tiarmclang to enable BE-32 mode.
Question:
How to configure TI ARM Clang to generate BE-32 output for Cortex-R4F?
Is there a compiler or linker option for this mode?
Thanks,
Jiri
PS: Product selection "CCSTUDIO-THEIA" is invalid, this form don't allow me to ask to TI Clang compiller directly