TI论坛
直播中

王云玲

7年用户 186经验值
私信 关注
[问答]

建立MSP432 Ti RTOS空白项目时出现错误 请问是什么原因?

建立MSP432 ti RTOS空白项目时出现如下错误
请问如何解决
文件路径已检查。
在Project - Properties - Build - XDCtools - Command-line pattern 最后面加入 ../empty.cmd 会出现其他错误。


**** Build of configuration Debug for project Empty Project Ti-Rtos ****
"D:\Code Composer Studio\ccsv6\utils\bin\gmake" -k all
'Building file: ../empty.cfg'
'Invoking: XDCtools'
"D:/Code Composer Studio/xdctools_3_32_00_06_core/xs" --xdcpath="D:/Code Composer Studio/tirtos_msp43x_2_20_00_06/packages;D:/Code Composer Studio/tirtos_msp43x_2_20_00_06/products/bios_6_46_00_23/packages;D:/Code Composer Studio/tirtos_msp43x_2_20_00_06/products/tidrivers_msp43x_2_20_00_08/packages;D:/Code Composer Studio/tirtos_msp43x_2_20_00_06/products/uia_2_00_06_52/packages;" xdc.tools.configuro -o configPkg -t ti.targets.ARM.elf.M4F -p ti.platforms.msp432:MSP432P401R -r release -c "D:/Code Composer Studio/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --preinclude="D:/Code Composer Studio/xdctools_3_32_00_06_core" --include_path="D:/Code Composer Studio/ccsv6/ccs_base/arm/include" --include_path="D:/Code Composer Studio/ccsv6/ccs_base/arm/include/CMSIS" --include_path="F:/CCS Workspace/Empty Project Ti-Rtos" --include_path="D:/Code Composer Studio/tirtos_msp43x_2_20_00_06/products/msp432_driverlib_3_21_00_05/inc/CMSIS" --include_path="D:/Code Composer Studio/tirtos_msp43x_2_20_00_06/products/msp432_driverlib_3_21_00_05/inc" --include_path="D:/Code Composer Studio/tirtos_msp43x_2_20_00_06/products/msp432_driverlib_3_21_00_05/driverlib/MSP432P4xx" --include_path="D:/Code Composer Studio/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include" --advice:power_severity=suppress --advice:power=all -g --gcc --define=__MSP432P401R__ --define=TARGET_IS_MSP432P4XX --define=ccs --define=MSP432WARE --diag_wrap=off --diag_warning=225 --diag_warning=255 --display_error_number --gen_func_subsections=on --abi=eabi " "../empty.cfg"
D:/Code Composer Studio/xdctools_3_32_00_06_corepackagesxdcbldxdc.mak:238: *** can't find specified XDCROOT: D:/Code Composer Studio/xdctools_3_32_00_06_core. Stop.
js: "D:/Code Composer Studio/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: *** No rule to make target 'configPkg/linker.cmd', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'configPkg/linker.cmd', needed by 'configPkg/compiler.opt'.
gmake: Target 'all' not remade because of errors.
**** Build Finished ****

回帖(8)

冯敬宇

2018-8-8 08:33:12

更新一下CCS试一下
举报

王云玲

2018-8-8 08:46:24
引用: guigui_7044 发表于 2018-8-8 08:33
更新一下CCS试一下

Maka  你好,
更新的时候出现问题,之后重启了CCS。
再次 Check for Updates 后没有跟任何更新。
还是会出现这个问题。 
举报

冯敬宇

2018-8-8 08:53:41
引用: 60user31 发表于 2018-8-8 08:46
Maka  你好,
更新的时候出现问题,之后重启了CCS。
再次 Check for Updates 后没有跟任何更新。

--xdcpath="C:/ti/tirtos_msp43x_2_16_00_08/packages;C:/ti/tirtos_msp43x_2_16_00_08/products/bios_6_45_01_29/packages;C:/ti/tirtos_msp43x_2_16_00_08/products/tidrivers_msp43x_2_16_00_08/packages;C:/ti/tirtos_msp43x_2_16_00_08/products/uia_2_00_05_50/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.msp432:MSP432P401R -r release -c "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.7" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv6/ccs_base/arm/include" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/include" --include_path="C:/ti/ccsv6/ccs_base/arm/include/CMSIS" --include_path="C:/Users/a0222569/workspace_v6_1/empty_MSP_EXP432P401R_TI_MSP432P401R" --include_path="C:/ti/tirtos_msp43x_2_16_00_08/products/msp432_driverlib_3_10_00_09/inc/CMSIS" --include_path="C:/ti/tirtos_msp43x_2_16_00_08/products/msp432_driverlib_3_10_00_09/inc" --include_path="C:/ti/tirtos_msp43x_2_16_00_08/products/msp432_driverlib_3_10_00_09/driverlib/MSP432P4xx" --advice:power_severity=suppress --advice:power=all -g --gcc --define=__MSP432P401R__ --define=TARGET_IS_MSP432P4XX --define=ccs --define=MSP432WARE --diag_wrap=off --display_error_number --diag_warning=225 --diag_warning=255 --gen_func_subsections=on  "
刚编译测试了,没有问题,应该是你CCS和RTOS路径导致。检查一下你CCS和RTOS安装路径是否和此设置匹配。
举报

王云玲

2018-8-8 09:01:10
引用: guigui_7044 发表于 2018-8-8 08:53
--xdcpath="C:/ti/tirtos_msp43x_2_16_00_08/packages;C:/ti/tirtos_msp43x_2_16_00_08/products/bios_6_45_01_29/packages;C:/ti/tirtos_msp43x_2_16_00_08/products/tidrivers_msp43x_2_16_00_08/packages;C:/ti/tirtos_msp43x_2_16_00_08/products/uia_2_00_05_50/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro  ...

你好 LZM:
    我没有找到如何设置RTOS安装路径,但是我坚信我的RTOS装载在D:/Code Composer Studio 目录下,而CCS同样装载在 D:/Code Composer Studio目录下。我找到XDCtools的设置如下。


--xdcpath="D:/Code Composer Studio/tirtos_msp43x_2_20_00_06/packages;D:/Code Composer Studio/tirtos_msp43x_2_20_00_06/products/bios_6_46_00_23/packages;D:/Code Composer Studio/tirtos_msp43x_2_20_00_06/products/tidrivers_msp43x_2_20_00_08/packages;D:/Code Composer Studio/tirtos_msp43x_2_20_00_06/products/uia_2_00_06_52/packages;D:/Code Composer Studio/bios_6_46_00_23/packages;D:/Code Composer Studio/msp430/MSPWare_3_30_00_18/driverlib/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.msp432:MSP432P401R -r release -c "D:/Code Composer Studio/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --preinclude="D:/Code Composer Studio/xdctools_3_32_00_06_core" --include_path="D:/Code Composer Studio/ccsv6/ccs_base/arm/include" --include_path="D:/Code Composer Studio/ccsv6/ccs_base/arm/include/CMSIS" --include_path="F:/CCS Workspace/Empty Project Ti-Rtos" --include_path="D:/Code Composer Studio/tirtos_msp43x_2_20_00_06/products/msp432_driverlib_3_21_00_05/inc/CMSIS" --include_path="D:/Code Composer Studio/tirtos_msp43x_2_20_00_06/products/msp432_driverlib_3_21_00_05/inc" --include_path="D:/Code Composer Studio/tirtos_msp43x_2_20_00_06/products/msp432_driverlib_3_21_00_05/driverlib/MSP432P4xx" --include_path="D:/Code Composer Studio/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include" --advice:power="all" --advice:power_severity=suppress -g --gcc --define=__MSP432P401R__ --define=TARGET_IS_MSP432P4XX --define=ccs --define=MSP432WARE --diag_wrap=off --diag_warning=225 --diag_warning=255 --display_error_number --gen_func_subsections=on --abi=eabi  "

举报

更多回帖

发帖
×
20
完善资料,
赚取积分