Part Number:LAUNCHXL-CC1310Other Parts Discussed in Thread: CC1310, SYSBIOS, CC1190
1. Code Composer Studio 12.3.0编译TI 15.4 STACK 错误。
2. 板子是LAUNCHXL-CC1310
3.XDCtools版本是3.51.28
4. SimpleLink CC1310x0 SDK 版本4.20.2.07
5.报错信息:
**** Build of configuration Release for project sensor_CC1310_LAUNCHXL_tirtos_ccs ****
"D:\\ti\\ccs1230\\ccs\\utils\\bin\\gmake" -k -j 8 all -Omaking ../src/sysbios/rom_sysbios.aem3 …
Building file: "../app.cfg"
Invoking: XDCtools
"D:/ti/ccs1230/xdctools_3_51_03_28_core/xs" –xdcpath="D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source;D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC1310F128 -r release -c "D:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS" –compileOptions "-mv7M3 –code_state=16 –float_support=vfplib -me -O4 –opt_for_speed=0 –include_path=\"D:/eclipse work/TI/sensor_CC1310_LAUNCHXL_tirtos_ccs\" –include_path=\"D:/eclipse work/TI/sensor_CC1310_LAUNCHXL_tirtos_ccs/Application\" –include_path=\"D:/eclipse work/TI/sensor_CC1310_LAUNCHXL_tirtos_ccs/Application/Services\" –include_path=\"D:/eclipse work/TI/sensor_CC1310_LAUNCHXL_tirtos_ccs/Application/LaunchPad\" –include_path=\"D:/eclipse work/TI/sensor_CC1310_LAUNCHXL_tirtos_ccs/Application/MAC/HAL/common\" –include_path=\"D:/eclipse work/TI/sensor_CC1310_LAUNCHXL_tirtos_ccs/Application/MAC/HAL/target\" –include_path=\"D:/eclipse work/TI/sensor_CC1310_LAUNCHXL_tirtos_ccs/Application/MAC/HighLevel\" –include_path=\"D:/eclipse work/TI/sensor_CC1310_LAUNCHXL_tirtos_ccs/Application/MAC/LowLevel\" –include_path=\"D:/eclipse work/TI/sensor_CC1310_LAUNCHXL_tirtos_ccs/Application/osal_port\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/apps\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/common\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/common/boards\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/common/osal_port\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/common/boards/subg\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/common/util\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/common/inc\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/common/stack/src\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/common/stack/tirtos/inc\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/common/heapmgr\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/hal/src/inc\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/hal/src/target/_common\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/hal/src/target/_common/cc13xx\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/osal/src/inc\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/services/src/aes\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/services/src/appasrt\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/services/src/saddr\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/services/src/sdata\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/fh\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/high_level\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/inc\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/rom\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/inc/cc13xx\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/low_level/cc13xx\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/tracer\" –include_path=\"D:/eclipse work/TI/sensor_CC1310_LAUNCHXL_tirtos_ccs/Application/subg\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/apps/sensor\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/apps/sensor/subg\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/devices/cc13x0\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/devices/cc13x0/inc\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/devices/cc13x0/driverlib\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/common/boards/CC13X0_LAUNCHXL\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/common/boards/CC1310_CC1190\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/low_level/cc13xx/subg\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/services/src/nv/\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/ti154stack/services/src/nv/cc26xx\" –include_path=\"D:/ti/sdk/simplelink_cc13x0_sdk_4_20_02_07/source/ti/posix/ccs\" –include_path=\"D:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include\" –define=Board_EXCLUDE_NVS_EXTERNAL_FLASH –define=DeviceFamily_CC13X0 –define=SET_CCFG_BL_CONFIG_BL_LEVEL=0x00 –define=SET_CCFG_BL_CONFIG_BL_ENABLE=0xC5 –define=SET_CCFG_BL_CONFIG_BL_PIN_NUMBER=0x0D –define=SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE=0xC5 -g –c99 –plain_char=unsigned –diag_warning=225 –diag_warning=255 –diag_wrap=off –display_error_number –gen_func_subsections=on –embedded_constants=on –unaligned_access=on –enum_type=packed –wchar_t=16 –common=on –fp_reassoc=off –sat_reassoc=off " "../app.cfg"
gmake[1]: Nothing to be done for 'all'.
configuring app.xem3 from package/cfg/app_pem3.cfg …
generating custom ROM library makefile …Starting build of library sources …
Build of libraries failed.
subdir_rules.mk:19: recipe for target 'build-961731487-inproc' failed
gmake: D:/eclipse: No such file or directory
gmake: *** No rule to make target 'D:/eclipse'. Stop.
error: xdc.cfg.SourceDir: "D:/ti/ccs1230/xdctools_3_51_03_28_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
js: "D:/ti/ccs1230/xdctools_3_51_03_28_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
xdctools_3_51_03_28_core\gmake.exe: *** [package.mak:202: package/cfg/app_pem3.xdl] Error 1
xdctools_3_51_03_28_core\gmake.exe: *** Deleting file 'package/cfg/app_pem3.xdl'
xdctools_3_51_03_28_core\gmake.exe: *** [package/cfg/app_pem3.xdl] Deleting file 'package/cfg/app_pem3.h'
xdctools_3_51_03_28_core\gmake.exe: *** [package/cfg/app_pem3.xdl] Deleting file 'package/cfg/app_pem3.c'
js: "D:/ti/ccs1230/xdctools_3_51_03_28_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-961731487-inproc] Error 1
gmake: *** [build-961731487] Error 2
subdir_rules.mk:16: recipe for target 'build-961731487' failed
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
Nick Sun:
您好,
您编译该SDK中其他的未修改示例也会这样吗?
看报错似乎是xdc工具的问题,您先尝试一下编译其他未修改的示例看看会不会有问题。
期待您的跟进。
,
genyi liu:
编译TI 15.4 STACK的示例工程会,编译其他工程则不会
,
Nick Sun:
您好,
你尝试更换一下XDC的版本是否会有效果。
我这边是3.62.1.16_core,编译暂无问题。
您可以右键您的工程选择properties->Resource->CCS General->Product中找到XDCtools,双击它更改版本或者按照提示安装其他版本(可以尝试3.62.x的版本)。
,
genyi liu:
问题找到了,eclipse 的工作目录不能有空格。