Hallo, I use ti-rots for tiva 2.10.01.38.
I need to build in a different directory from source directory. Unfortunately xs want to create a directory called src in my source dir:
tiva/tivaCtrlCore/src/ +-- makefile.libs +-- sysbios +-- BIOS.obj +-- m3_Hwi_asm.obj +-- m3_Hwi_asm_switch.obj +-- m3_IntrinsicsSupport_asm.obj +-- m3_TaskSupport_asm.obj +-- makefile +-- sysbios.aem4f
but I have no write permission on source directory, so I get an error:
/opt/forgetux/flexa/2.0.1/ti-tools/component-sources/tirtos_tivac_2_10_01_38/xdctools_3_30_04_52_core/xs --xdcpath="/opt/forgetux/flexa/2.0.1/ti-tools/component-sources/tirtos_tivac_2_10_01_38/tirtos_tivac_2_10_01_38/products/bios_6_41_00_26/packages;/opt/forgetux/flexa/2.0.1/ti-tools/component-sources/tirtos_tivac_2_10_01_38/tirtos_tivac_2_10_01_38/packages;/opt/forgetux/flexa/2.0.1/ti-tools/component-sources/tirtos_tivac_2_10_01_38/ccsv5/ccs_base;" \ xdc.tools.configuro \ -o /home/ubuntu/test-tiva/build/tiva/tivaCtrlCore/build/configPkg \ -t ti.targets.arm.elf.M4F \ -p ti.platforms.tiva:TM4C1231H6PGE \ -r release \ -c /opt/forgetux/flexa/2.0.1/ti-tools/component-sources/compiler/arm_5.1.5 \ --compileOptions "-g --optimize_with_debug" \ /home/ubuntu/test-tiva/build/../tivaCtrl/tiva/tivaCtrlCore/tivaCtrlCore.cfg; making package.mak (because of package.bld) ... generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ... configuring tivaCtrlCore.xem4f from package/cfg/tivaCtrlCore_pem4f.cfg ... js: "/opt/forgetux/flexa/2.0.1/ti-tools/component-sources/tirtos_tivac_2_10_01_38/xdctools_3_30_04_52_core/packages/xdc/template.xs", line 55: Error: template generation of '/home/ubuntu/test-tiva/tivaCtrl/tiva/tivaCtrlCore/src/makefile.libs' failed: can't create the directory '/home/ubuntu/test-tiva/tivaCtrl/tiva/tivaCtrlCore/src' gmake: *** [package/cfg/tivaCtrlCore_pem4f.xdl] Error 1 Warning: directory "/opt/forgetux/flexa/2.0.1/ti-tools/component-sources/tirtos_tivac_2_10_01_38/ccsv5/ccs_base" on package path does not exist js: "/opt/forgetux/flexa/2.0.1/ti-tools/component-sources/tirtos_tivac_2_10_01_38/xdctools_3_30_04_52_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted. make: *** [/home/ubuntu/test-tiva/build/tiva/tivaCtrlCore/build/configPkg/linker.cmd] Error 1
how to make xs to create src directory in the build one?
This problem didn't exist in a previous version of ti-rtos 2.00.01.23
best regards
Max