Other Parts Discussed in Thread: SYSBIOS
I am trying to migrate a project from using the armcl compiler to tiarmclang. We have our own build system so I had to do the migration manually (not using an IDE). I am using configuro to configure the RTSC package like so:
rtsc: $(R4_CFG) @echo 'Configuring RTSC packages...' $(XS) --xdcpath="$(XDCPATH)" xdc.tools.configuro $(R4F_XSFLAGS) -o $(APPLICATION_CONFIGPKG) $(APPLICATION_CFG)
R4F_XSFLAGS = -t ti.targets.arm.elf.R4F -p ti.platforms.cortexR:$(XDC_PLATFORM_DEFINE):false:200 \ -r release -c $(R4F_CODEGEN_INSTALL_PATH) -DMMWAVE_SDK_DEVICE_TYPE=$(MMWAVE_SDK_DEVICE_TYPE) \ $(R4F_XSFLAGS_ENUM_TYPE)
override readonly config xdc.bld.ITarget2.Command cc = { cmd: "tiarmclang -c", opts: "-mfpu=vfpv3-d16 -mlittle-endian -march=armv7-r -mcpu=cortex-r4 -mfloat-abi=hard" }; override readonly config xdc.bld.ITarget2.Command asm = { cmd: "tiarmclang -c", opts: "-mfpu=vfpv3-d16 -mlittle-endian -march=armv7-r -mcpu=cortex-r4 -mfloat-abi=hard" };
But still I am getting this error:
cler4f package/cfg/mss_mmw_per4f.c ... gmake: /opt/ti/tiarmclang_03_00_00/bin/armcl: Command not found gmake: *** [package/cfg/mss_mmw_per4f.oer4f] Error 127
and also my compiler.opt file still has the old flags:
--float_support=vfpv3d16 --endian=little -mv7R4 --abi=eabi -I"/opt/ti/bios_6_73_01_01/packages" -I"/opt/ti/mmwave_sdk_03_04_00_03/packages" -I"/opt/ti/xdctools_3_50_08_24_core/packages" -I"/mnt/c/2001_p01_radar_sw_lib/out/BackRadar_mss/mss_mmw_configPkg/.." -I/opt/ti/tiarmclang_03_00_00/include -Dxdc_target_types__="ti/targets/arm/elf/std.h" -Dxdc_target_name__=R4F -Dxdc_cfg__xheader__="\"/mnt/c/2001_p01_radar_sw_lib/out/BackRadar_mss/mss_mmw_configPkg/package/cfg/mss_mmw_per4f.h\""
I have tried make clean and then make app but it didn't help. Are the old configurations maybe cached somewhere?
I am using xdc tools version 3.50.08.24, sysbios verison 6.73.01.01 and mmwave_sdk version 03.04.00.03
I've been stuck on this for a while so any help is very much appreciated.