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.

TMS320F280049C: makefile and gmake error after build project on ccs theia

Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG

Tool/software:

I am using CCS theia on m1 macbook air and when i compile a project, the output will print a lot of error about gmake or makefile:

Here is the output:

[6]Building target: "Inverter.out"
[7]Invoking: C2000 Linker
[8]"/Applications/ti/ccstheia140/ccs/tools/compiler/ti-cgt-c2000_22.6.1A23259/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -Ooff --define=DEBUG --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi -z -m"Inverter.map" --heap_size=0x200 --stack_size=0x3F8 --warn_sections -i"/Applications/ti/ccstheia140/ccs/tools/compiler/ti-cgt-c2000_22.6.1A23259/lib" -i"/Applications/ti/c2000/C2000Ware_5_02_00_00" -i"/Users/nov4ou/workspace_ccstheia/Inverter/CPU1_RAM/syscfg" -i"/Applications/ti/ccstheia140/ccs/tools/compiler/ti-cgt-c2000_22.6.1A23259/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="Inverter_linkInfo.xml" --entry_point=code_start --rom_model -o "Inverter.out" "./syscfg/board.obj" "./syscfg/c2000ware_libraries.obj" "./main.obj" "./device/device.obj" "./device/f28004x_codestartbranch.obj" "../28004x_generic_ram_lnk.cmd" "/Applications/ti/c2000/C2000Ware_5_02_00_00/driverlib/f28004x/driverlib/ccs/Debug/driverlib.lib"  -lc2000ware_libraries.cmd.genlibs -llibc.a
[9]<Linking>
[10]Finished building target: "Inverter.out"
 
[11]echo "========= Build of the CLB simulation has moved to the CLB Tool. Click the '?' icon by the _Generate CLB Simulation File_ enable for more details (located in the Global Parameters of the Tile Design SysConfig module) ============="
[12]========= Build of the CLB simulation has moved to the CLB Tool. Click the '?' icon by the _Generate CLB Simulation File_ enable for more details (located in the Global Parameters of the Tile Design SysConfig module) =============
[13]if 0 == 1  /Applications/ti/ccstheia140/ccs/tools/node/node "/Applications/ti/c2000/C2000Ware_5_02_00_00/utilities/clb_tool/clb_syscfg/dot_file_libraries/clbDotUtility.js"  "/Applications/ti/c2000/C2000Ware_5_02_00_00/utilities/clb_tool/clb_syscfg/" "/Users/nov4ou/workspace_ccstheia/Inverter/CPU1_RAM/syscfg" "/Users/nov4ou/workspace_ccstheia/Inverter/CPU1_RAM/syscfg/clb.dot"
[14]makefile:159: recipe for target 'post-build' failed
[15]/bin/sh: -c: line 1: syntax error: unexpected end of file
[16]gmake[2]: [post-build] Error 2 (ignored)
[17]if 0 == 1  mkdir "/Users/nov4ou/workspace_ccstheia/Inverter/CPU1_RAM/diagrams"
[18]makefile:159: recipe for target 'post-build' failed
[19]/bin/sh: -c: line 1: syntax error: unexpected end of file
[20]gmake[2]: [post-build] Error 2 (ignored)
[21]if 0 == 1  /Applications/ti/ccstheia140/ccs/tools/node/node "/Applications/ti/c2000/C2000Ware_5_02_00_00/driverlib/.meta/generate_diagrams.js" "/Applications/ti/c2000/C2000Ware_5_02_00_00" "/Users/nov4ou/workspace_ccstheia/Inverter/CPU1_RAM/diagrams" "/Users/nov4ou/workspace_ccstheia/Inverter/CPU1_RAM/syscfg"
[22]makefile:159: recipe for target 'post-build' failed
[23]/bin/sh: -c: line 1: syntax error: unexpected end of file
[24]gmake[2]: [post-build] Error 2 (ignored)
 
[25]**** Build Finished ****


However, the project works fine and can be load into the controller, but the errors which can be ignored are still annoying me. How to get rid of those error?

  • There is a post build step in this project that is not supported on macOS.

    If you want to get rid of the error you can remove the post build step in the project options here:

    Just select the text like above and hit delete.

    Then hit ok in the dialog

    Now when you build you will no longer get the error. The step has no impact on the application and is related to using another tool with the CLB that is on this device.

    Regards,

    John

  • Thanks for your reply! This solved my problem.