This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
I get the following console output when building a demo project from the SimpleLink SDK:
**** Clean-only build of configuration Debug for project power_measurement_CC3235SF_LAUNCHXL_freertos_ccs ****
"C:\\ti\\ccs\\utils\\bin\\gmake" -k -j 12 clean -O
DEL /F "syscfg\ti_drivers_config.h" "syscfg\ti_utils_build_linker.cmd.exp" "syscfg\syscfg_c.rov.xs" "power_measurement_CC3235SF_LAUNCHXL_freertos_ccs.hex" "syscfg\ti_drivers_config.c" "syscfg\ti_drivers_net_wifi_config.c" "power_measurement_CC3235SF_LAUNCHXL_freertos_ccs.out"
DEL /F "main_freertos.obj" "platform.obj" "power_measure.obj" "syscfg\ti_drivers_config.obj" "syscfg\ti_drivers_net_wifi_config.obj" "uart_term.obj"
DEL /F "main_freertos.d" "platform.d" "power_measure.d" "syscfg\ti_drivers_config.d" "syscfg\ti_drivers_net_wifi_config.d" "uart_term.d"
RMDIR /S/Q "syscfg\"
Could Not Find C:\ti\power_measurement_CC3235SF_LAUNCHXL_freertos_ccs\Debug\power_measurement_CC3235SF_LAUNCHXL_freertos_ccs.hex
Finished clean
**** Build Finished ****
**** Build of configuration Debug for project power_measurement_CC3235SF_LAUNCHXL_freertos_ccs ****
"C:\\ti\\ccs\\utils\\bin\\gmake" -k -j 12 all -O
Building file: "../power_measurement.syscfg"
Invoking: SysConfig
"C:/ti/sysconfig_1.5.0/sysconfig_cli.bat" -s "C:/ti/simplelink_cc32xx_sdk_4_20_00_07/.metadata/product.json" -o "syscfg" --compiler ccs "../power_measurement.syscfg"
Running script...
Validating...
Generating Code...
'/ti/drivers' -> '/ti/devices/driverlib'
'/ti/display' -> '/ti/drivers'
Writing C:\ti\power_measurement_CC3235SF_LAUNCHXL_freertos_ccs\Debug\syscfg\ti_drivers_config.c...
Writing C:\ti\power_measurement_CC3235SF_LAUNCHXL_freertos_ccs\Debug\syscfg\ti_drivers_config.h...
Writing C:\ti\power_measurement_CC3235SF_LAUNCHXL_freertos_ccs\Debug\syscfg\ti_utils_build_linker.cmd.exp...
Writing C:\ti\power_measurement_CC3235SF_LAUNCHXL_freertos_ccs\Debug\syscfg\syscfg_c.rov.xs...
Writing C:\ti\power_measurement_CC3235SF_LAUNCHXL_freertos_ccs\Debug\syscfg\ti_drivers_net_wifi_config.c...
Finished building: "../power_measurement.syscfg"
Building file: "../platform.c"
Invoking: ARM Compiler
"C:/ti/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me --include_path="C:/ti/power_measurement_CC3235SF_LAUNCHXL_freertos_ccs" --include_path="C:/ti/power_measurement_CC3235SF_LAUNCHXL_freertos_ccs/Debug" --include_path="C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source" --include_path="C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source/ti/posix/ccs" --include_path="C:/FreeRTOSv10.3.1/FreeRTOSv10.3.1/FreeRTOS/Source/include" --include_path="C:/FreeRTOSv10.3.1/FreeRTOSv10.3.1/FreeRTOS/Source/portable/CCS/ARM_CM3" --include_path="C:/ti/freertos_builds_CC3235SF_LAUNCHXL_release_ccs" --include_path="C:/ti/include" --define=CC32XX -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="platform.d_raw" --include_path="C:/ti/power_measurement_CC3235SF_LAUNCHXL_freertos_ccs/Debug/syscfg" "../platform.c"
Finished building: "../platform.c"
Building file: "../main_freertos.c"
Invoking: ARM Compiler
"C:/ti/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me --include_path="C:/ti/power_measurement_CC3235SF_LAUNCHXL_freertos_ccs" --include_path="C:/ti/power_measurement_CC3235SF_LAUNCHXL_freertos_ccs/Debug" --include_path="C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source" --include_path="C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source/ti/posix/ccs" --include_path="C:/FreeRTOSv10.3.1/FreeRTOSv10.3.1/FreeRTOS/Source/include" --include_path="C:/FreeRTOSv10.3.1/FreeRTOSv10.3.1/FreeRTOS/Source/portable/CCS/ARM_CM3" --include_path="C:/ti/freertos_builds_CC3235SF_LAUNCHXL_release_ccs" --include_path="C:/ti/include" --define=CC32XX -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="main_freertos.d_raw" --include_path="C:/ti/power_measurement_CC3235SF_LAUNCHXL_freertos_ccs/Debug/syscfg" "../main_freertos.c"
Finished building: "../main_freertos.c"
Building file: "../uart_term.c"
Invoking: ARM Compiler
"C:/ti/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me --include_path="C:/ti/power_measurement_CC3235SF_LAUNCHXL_freertos_ccs" --include_path="C:/ti/power_measurement_CC3235SF_LAUNCHXL_freertos_ccs/Debug" --include_path="C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source" --include_path="C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source/ti/posix/ccs" --include_path="C:/FreeRTOSv10.3.1/FreeRTOSv10.3.1/FreeRTOS/Source/include" --include_path="C:/FreeRTOSv10.3.1/FreeRTOSv10.3.1/FreeRTOS/Source/portable/CCS/ARM_CM3" --include_path="C:/ti/freertos_builds_CC3235SF_LAUNCHXL_release_ccs" --include_path="C:/ti/include" --define=CC32XX -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="uart_term.d_raw" --include_path="C:/ti/power_measurement_CC3235SF_LAUNCHXL_freertos_ccs/Debug/syscfg" "../uart_term.c"
Finished building: "../uart_term.c"
Building file: "syscfg/ti_drivers_config.c"
Invoking: ARM Compiler
"C:/ti/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me --include_path="C:/ti/power_measurement_CC3235SF_LAUNCHXL_freertos_ccs" --include_path="C:/ti/power_measurement_CC3235SF_LAUNCHXL_freertos_ccs/Debug" --include_path="C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source" --include_path="C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source/ti/posix/ccs" --include_path="C:/FreeRTOSv10.3.1/FreeRTOSv10.3.1/FreeRTOS/Source/include" --include_path="C:/FreeRTOSv10.3.1/FreeRTOSv10.3.1/FreeRTOS/Source/portable/CCS/ARM_CM3" --include_path="C:/ti/freertos_builds_CC3235SF_LAUNCHXL_release_ccs" --include_path="C:/ti/include" --define=CC32XX -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="syscfg/ti_drivers_config.d_raw" --include_path="C:/ti/power_measurement_CC3235SF_LAUNCHXL_freertos_ccs/Debug/syscfg" --obj_directory="syscfg" "syscfg/ti_drivers_config.c"
Finished building: "syscfg/ti_drivers_config.c"
Building file: "syscfg/ti_drivers_net_wifi_config.c"
Invoking: ARM Compiler
"C:/ti/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me --include_path="C:/ti/power_measurement_CC3235SF_LAUNCHXL_freertos_ccs" --include_path="C:/ti/power_measurement_CC3235SF_LAUNCHXL_freertos_ccs/Debug" --include_path="C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source" --include_path="C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source/ti/posix/ccs" --include_path="C:/FreeRTOSv10.3.1/FreeRTOSv10.3.1/FreeRTOS/Source/include" --include_path="C:/FreeRTOSv10.3.1/FreeRTOSv10.3.1/FreeRTOS/Source/portable/CCS/ARM_CM3" --include_path="C:/ti/freertos_builds_CC3235SF_LAUNCHXL_release_ccs" --include_path="C:/ti/include" --define=CC32XX -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="syscfg/ti_drivers_net_wifi_config.d_raw" --include_path="C:/ti/power_measurement_CC3235SF_LAUNCHXL_freertos_ccs/Debug/syscfg" --obj_directory="syscfg" "syscfg/ti_drivers_net_wifi_config.c"
Finished building: "syscfg/ti_drivers_net_wifi_config.c"
Building file: "../power_measure.c"
Invoking: ARM Compiler
"C:/ti/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me --include_path="C:/ti/power_measurement_CC3235SF_LAUNCHXL_freertos_ccs" --include_path="C:/ti/power_measurement_CC3235SF_LAUNCHXL_freertos_ccs/Debug" --include_path="C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source" --include_path="C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source/ti/posix/ccs" --include_path="C:/FreeRTOSv10.3.1/FreeRTOSv10.3.1/FreeRTOS/Source/include" --include_path="C:/FreeRTOSv10.3.1/FreeRTOSv10.3.1/FreeRTOS/Source/portable/CCS/ARM_CM3" --include_path="C:/ti/freertos_builds_CC3235SF_LAUNCHXL_release_ccs" --include_path="C:/ti/include" --define=CC32XX -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="power_measure.d_raw" --include_path="C:/ti/power_measurement_CC3235SF_LAUNCHXL_freertos_ccs/Debug/syscfg" "../power_measure.c"
Finished building: "../power_measure.c"
Building target: "power_measurement_CC3235SF_LAUNCHXL_freertos_ccs.out"
Invoking: ARM Linker
"C:/ti/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me --define=CC32XX -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on -z -m"power_measurement_CC3235SF_LAUNCHXL_freertos_ccs.map" -i"C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source" -i"C:/ti/simplelink_cc32xx_sdk_4_20_00_07/source/ti/drivers/net/wifi" -i"C:/ti/freertos_builds_CC3235SF_LAUNCHXL_release_ccs/Debug" -i"C:/ti/lib" --diag_suppress=10063 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="power_measurement_CC3235SF_LAUNCHXL_freertos_ccs_linkInfo.xml" --rom_model -o "power_measurement_CC3235SF_LAUNCHXL_freertos_ccs.out" "./main_freertos.obj" "./platform.obj" "./power_measure.obj" "./syscfg/ti_drivers_config.obj" "./syscfg/ti_drivers_net_wifi_config.obj" "./uart_term.obj" "../CC3235SF_LAUNCHXL_FREERTOS.cmd" -l"ti/display/lib/display.aem4" -l"ti/grlib/lib/ccs/m4/grlib.a" -l"third_party/spiffs/lib/ccs/m4/spiffs.a" -l"ti/drivers/lib/drivers_cc32xx.aem4" -l"third_party/fatfs/lib/ccs/m4/fatfs.a" -l"ccs/rtos/simplelink.a" -lfreertos_builds_CC3235SF_LAUNCHXL_release_ccs.lib -l"ti/devices/cc32xx/driverlib/ccs/Release/driverlib.a" -llibc.a
<Linking>
Finished building target: "power_measurement_CC3235SF_LAUNCHXL_freertos_ccs.out"
C:/ti/bin/armobjcopy -O binary --only-section .text --only-section .const --only-section .cinit --only-section .resetVecs power_measurement_CC3235SF_LAUNCHXL_freertos_ccs.out power_measurement_CC3235SF_LAUNCHXL_freertos_ccs.bin
makefile:182: recipe for target 'post-build' failed
process_begin: CreateProcess(NULL, C:/ti/bin/armobjcopy -O binary --only-section .text --only-section .const --only-section .cinit --only-section .resetVecs power_measurement_CC3235SF_LAUNCHXL_freertos_ccs.out power_measurement_CC3235SF_LAUNCHXL_freertos_ccs.bin, ...) failed.
gmake[2]: [post-build] Error 2 (ignored)
**** Build Finished ****
I highlighted what I believe is the problem area at the bottom. I saw a similar issue in another post and tried running CCS as an administrator but that didn't solve the issue. I think it might have to do with a missing path? I'm not sure what but I have the following information:
CCS Version 10.1.0..00010
Running ARM compiler TI v18.12.6.LTS
Already set up the FREERTOS_INSTALL_DIR environment variable with the correct directory
I have the following include options setup:
${INHERITED_INCLUDE_PATH}
${SYSCONFIG_TOOL_INCLUDE_PATH}
${PROJECT_ROOT}
${PROJECT_ROOT}/${ConfigName}
${COM_TI_SIMPLELINK_CC32XX_SDK_INSTALL_DIR}/source
${COM_TI_SIMPLELINK_CC32XX_SDK_INSTALL_DIR}/source/ti/posix/ccs
${FREERTOS_INSTALL_DIR}/FreeRTOS/Source/include
${FREERTOS_INSTALL_DIR}/FreeRTOS/Source/portable/CCS/ARM_CM3
${REF_PROJECT_1_LOC}
${CG_TOOL_ROOT}/include
Am I missing one or is one of these incorrect?
Thanks,
Sterling
Hi Sterling,
Sterling Harris said:Already set up the FREERTOS_INSTALL_DIR environment variable
That should be the only thing you need to do after importing the example.
Sterling Harris said:Running ARM compiler TI v18.12.6.LTS
I get the same error when using 18.12.6.
When I use 20.2.1 (which comes with CCS 10.1), the issue goes away. Looks like the new SDK has a dependency on 20.2.1 and CCS 10.1. Check the release notes:
https://dev.ti.com/tirex/explore/node?node=AB1x.3sSEeowssfYLg8J4g__fc2e6sr__LATEST
Thanks
ki