Part Number: TMDXIDK57X-LCD
Tool/software: Code Composer Studio
Hello Team,
I have an am5728 IDK and I am trying to import an example provided by ti, to code composer studio, I have another open issue about IPC, ti example resides in "C:\ti\ipc_3_50_03_05\examples\AM572X_bios_elf\ex02_messageq" , so far, I have found some useful points in here and here, following are steps I have done to compile Host part of the example (cortex A15):
I added (copy) these files to my project: App.c, App.h, AppCommon.h, mainHost.c, ipc.cfg.xs, Host.cfg.
I also removed main.c and .cfg files from the default project created by CCS.
I also changed:
var ipc_cfg = xdc.loadCapsule("../shared/ipc.cfg.xs"); to var ipc_cfg = xdc.loadCapsule("ipc.cfg.xs"); in Host.cfg
#include "../shared/AppCommon.h" to #include "AppCommon.h" in app.c.
I added "C:\ti\ipc_3_50_03_05\examples\AM572X_bios_elf\ex02_messageq\shared\config.bld" to XDCTools=> advanced options
(at this point, I'm not sure whether to add profile:debug in --cfgArgs or not)
I added a ":host" to my platform
when I hit the build, following errors occur:
**** Build of configuration Debug for project A15_ipcFromExmpl **** "C:\\ti\\ccs910\\ccs\\utils\\bin\\gmake" -k -j 8 all -O Building file: "../Host.cfg" Invoking: XDCtools "C:/ti/ccs910/xdctools_3_55_02_22_core/xs" --xdcpath="C:/ti/bios_6_75_02_00/packages;C:/ti/uia_2_30_01_02/packages;C:/ti/ipc_3_50_03_05/packages;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A15F -p ti.platforms.evmAM572X:host -r release -b "C:/ti/ipc_3_50_03_05/examples/AM572X_bios_elf/ex02_messageq/shared/config.bld" -c "C:/ti/ccs910/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32" "../Host.cfg" configuring Host.xa15fg from package/cfg/Host_pa15fg.cfg ... subdir_rules.mk:19: recipe for target 'build-626052207-inproc' failed js: "E:/projects_folder/codeComposerStudio/IPCTestProject001/A15_ipcFromExmpl/Host.cfg", line 42: TypeError: Cannot read property "profile" from null (E:/projects_folder/codeComposerStudio/IPCTestProject001/A15_ipcFromExmpl/Host.cfg#42) "./package/cfg/Host_pa15fg.cfg", line 224 xdctools_3_55_02_22_core\gmake.exe: *** [package.mak:234: package/cfg/Host_pa15fg.xdl] Error 1 js: "C:/ti/ccs910/xdctools_3_55_02_22_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted. gmake[1]: *** [build-626052207-inproc] Error 1 gmake: *** [build-626052207] Error 2 subdir_rules.mk:16: recipe for target 'build-626052207' failed gmake: Target 'all' not remade because of errors. **** Build Finished ****
I'm using bios_6_75_02_00, ccs9_10, ipc_3_50_03_05, xdctools_3_51_01_18, and rocessor_sdk_rtos_am57xx_6_00_00_07.
Here is my project folder:
any help would be appreciated.
Regards,
Alex.