Part Number:CCSTUDIOOther Parts Discussed in Thread:AM2634, SYSCONFIG
您好:
我目前使用AM2634芯片,编译器为CCS11.1,在编译Demo工程时遇到了recipe for target 'post-build' failed编译错误,此错误导致不能生成tiimage、appimage等文件。请问这个错误如何解决,编译log如下。
**** Build of configuration Debug for project sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang ****
"C:\\ti\\ccs1110\\ccs\\utils\\bin\\gmake" -k -j 12 all -OBuilding file: "../example.syscfg"
Invoking: SysConfig
"C:/ti/ccs1110/ccs/utils/sysconfig_1.11.0/sysconfig_cli.bat" -s "C:/ti/mcu_plus_sdk_am263x_08_01_00_44/.metadata/product.json" –script "D:/workspace/CCS11.1/sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang/example.syscfg" –context "r5fss0-0" -o "syscfg" –part AM263x –package ZCZ –compiler ticlang
Running script…
Validating…
Generating Code (example.syscfg)…
Writing D:\workspace\CCS11.1\sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_dpl_config.c…
Writing D:\workspace\CCS11.1\sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_dpl_config.h…
Writing D:\workspace\CCS11.1\sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_drivers_config.c…
Writing D:\workspace\CCS11.1\sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_drivers_config.h…
Writing D:\workspace\CCS11.1\sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_drivers_open_close.c…
Writing D:\workspace\CCS11.1\sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_drivers_open_close.h…
Writing D:\workspace\CCS11.1\sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_pinmux_config.c…
Writing D:\workspace\CCS11.1\sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_power_clock_config.c…
Writing D:\workspace\CCS11.1\sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_board_config.c…
Writing D:\workspace\CCS11.1\sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_board_config.h…
Writing D:\workspace\CCS11.1\sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_board_open_close.c…
Writing D:\workspace\CCS11.1\sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_board_open_close.h…
Finished building: "../example.syscfg"
Building file: "syscfg/ti_power_clock_config.c"
Invoking: Arm Compiler
"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -I"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am263x_08_01_00_44/source" -DSOC_AM263X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_power_clock_config.d_raw" -MT"syscfg/ti_power_clock_config.o" -I"D:/workspace/CCS11.1/sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_power_clock_config.o" "syscfg/ti_power_clock_config.c"
Finished building: "syscfg/ti_power_clock_config.c"
Building file: "syscfg/ti_dpl_config.c"
Invoking: Arm Compiler
"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -I"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am263x_08_01_00_44/source" -DSOC_AM263X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_dpl_config.d_raw" -MT"syscfg/ti_dpl_config.o" -I"D:/workspace/CCS11.1/sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_dpl_config.o" "syscfg/ti_dpl_config.c"
Finished building: "syscfg/ti_dpl_config.c"
Building file: "syscfg/ti_drivers_config.c"
Invoking: Arm Compiler
"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -I"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am263x_08_01_00_44/source" -DSOC_AM263X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_drivers_config.d_raw" -MT"syscfg/ti_drivers_config.o" -I"D:/workspace/CCS11.1/sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_drivers_config.o" "syscfg/ti_drivers_config.c"
Finished building: "syscfg/ti_drivers_config.c"
Building file: "syscfg/ti_drivers_open_close.c"
Invoking: Arm Compiler
"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -I"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am263x_08_01_00_44/source" -DSOC_AM263X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_drivers_open_close.d_raw" -MT"syscfg/ti_drivers_open_close.o" -I"D:/workspace/CCS11.1/sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_drivers_open_close.o" "syscfg/ti_drivers_open_close.c"
Finished building: "syscfg/ti_drivers_open_close.c"
Building file: "syscfg/ti_pinmux_config.c"
Invoking: Arm Compiler
"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -I"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am263x_08_01_00_44/source" -DSOC_AM263X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_pinmux_config.d_raw" -MT"syscfg/ti_pinmux_config.o" -I"D:/workspace/CCS11.1/sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_pinmux_config.o" "syscfg/ti_pinmux_config.c"
Finished building: "syscfg/ti_pinmux_config.c"
Building file: "syscfg/ti_board_config.c"
Invoking: Arm Compiler
"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -I"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am263x_08_01_00_44/source" -DSOC_AM263X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_board_config.d_raw" -MT"syscfg/ti_board_config.o" -I"D:/workspace/CCS11.1/sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_board_config.o" "syscfg/ti_board_config.c"
Finished building: "syscfg/ti_board_config.c"
Building file: "syscfg/ti_board_open_close.c"
Invoking: Arm Compiler
"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -I"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am263x_08_01_00_44/source" -DSOC_AM263X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_board_open_close.d_raw" -MT"syscfg/ti_board_open_close.o" -I"D:/workspace/CCS11.1/sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_board_open_close.o" "syscfg/ti_board_open_close.c"
Finished building: "syscfg/ti_board_open_close.c"
Building file: "../main.c"
Invoking: Arm Compiler
"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -I"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am263x_08_01_00_44/source" -DSOC_AM263X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"main.d_raw" -MT"main.o" -I"D:/workspace/CCS11.1/sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg" -o"main.o" "../main.c"
Finished building: "../main.c"
Building target: "sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang.out"
Invoking: Arm Linker
"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -DSOC_AM263X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wl,-m"sbl_qspi.Debug.map" -Wl,-i"C:/ti/mcu_plus_sdk_am263x_08_01_00_44/source/kernel/nortos/lib" -Wl,-i"C:/ti/mcu_plus_sdk_am263x_08_01_00_44/source/drivers/lib" -Wl,-i"C:/ti/mcu_plus_sdk_am263x_08_01_00_44/source/board/lib" -Wl,-i"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/lib" -Wl,–reread_libs -Wl,–diag_suppress=10063 -Wl,–diag_wrap=off -Wl,–display_error_number -Wl,–warn_sections -Wl,–xml_link_info="sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang_linkInfo.xml" -Wl,–ram_model -o "sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang.out" "./syscfg/ti_dpl_config.o" "./syscfg/ti_drivers_config.o" "./syscfg/ti_drivers_open_close.o" "./syscfg/ti_pinmux_config.o" "./syscfg/ti_power_clock_config.o" "./syscfg/ti_board_config.o" "./syscfg/ti_board_open_close.o" "./main.o" "../linker.cmd" -Wl,-lnortos.am263x.r5f.ti-arm-clang.debug.lib -Wl,-ldrivers.am263x.r5f.ti-arm-clang.debug.lib -Wl,-lboard.am263x.r5f.ti-arm-clang.debug.lib -Wl,-llibc.aFinished building target: "sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang.out"
C:/ti/ccs1110/ccs/utils/bin/gmake -C D:\workspace\CCS11.1\sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang -f makefile_ccs_bootimage_gen OUTNAME=sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang PROFILE=Debug MCU_PLUS_SDK_PATH=C:/ti/mcu_plus_sdk_am263x_08_01_00_44 CG_TOOL_ROOT=C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS CCS_INSTALL_DIR=C:\ti\ccs1110\ccs CCS_IDE_MODE=desktop
Boot image: am263x:r5fss0-0:nortos:ti-arm-clang D:/workspace/CCS11.1/sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang/Debug/sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang.tiimage …
C:\ti\ccs1110\ccs/utils/tiobj2bin/tiobj2bin Debug/sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang.out D:/workspace/CCS11.1/sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang/Debug/sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang.bin C:\ti\ccs1110\ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmofd C:\ti\ccs1110\ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmhex C:\ti\ccs1110\ccs/utils/tiobj2bin/mkhex4bin
powershell -executionpolicy unrestricted -command C:/ti/mcu_plus_sdk_am263x_08_01_00_44/tools/boot/signing/am263x_rom_sign_non_secure.ps1 -b D:/workspace/CCS11.1/sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang/Debug/sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang.bin -c R5 -k C:/ti/mcu_plus_sdk_am263x_08_01_00_44/tools/boot/signing/am263x_gpkey.pem -o D:/workspace/CCS11.1/sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang/Debug/sbl_qspi_am263x-lp_r5fss0-0_nortos_ti-arm-clang.tiimage >> Debug/temp_stdout_Debug.txt
makefile_ccs_bootimage_gen:51: recipe for target 'all' failed
gmake[3]: *** [all] Error 1
gmake[2]: [post-build] Error 2 (ignored)
makefile:176: recipe for target 'post-build' failed
**** Build Finished ****
Shine:
请看一下下面这些软件是否都有安装?software-dl.ti.com/…/SDK_DOWNLOAD_PAGE.html
,
RL ?:
非常感谢,问题已解决
,
Shine:
不客气~
感谢告知!