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.

TMS320F28P559SJ-Q1: Example Projects to compile on Linux

Part Number: TMS320F28P559SJ-Q1

Tool/software:

Hello, 

Can you please provide an example project that can be compiled using Compiler: ti-cgt-c2000_22.6.1.LTS on a Linux environment for Target: tms320f28p559sj-q1

Best regards, Suresha.

  • Hi Suresha,

    You can refer any any of the relevant examples for your device from C2000Ware. In case you are looking for any specific example, let me know.

    In order to resolve the post-build error on Linux, please replace the steps in Project Properties > Build > Steps > Post-build Steps with the following

    [ ${GENERATE_DIAGRAM} -eq 1 ] &&  ${NODE_TOOL} "${C2000WARE_ROOT}/utilities/clb_tool/clb_syscfg/dot_file_libraries/clbDotUtility.js"  "${C2000WARE_ROOT}/utilities/clb_tool/clb_syscfg/" "${BuildDirectory}/syscfg" "${BuildDirectory}/syscfg/clb.dot" || :
    [ ${GENERATE_DIAGRAM} -eq 1 ] && rm -r "${BuildDirectory}/diagrams" || :
    [ ${GENERATE_DIAGRAM} -eq 1 ] && mkdir "${BuildDirectory}/diagrams" || :
    [ ${GENERATE_DIAGRAM} -eq 1 ] &&  ${NODE_TOOL} "${C2000WARE_ROOT}/driverlib/.meta/generate_diagrams.js" "${C2000WARE_ROOT}" "${BuildDirectory}/diagrams" "${BuildDirectory}/syscfg" || :

    Regards,

    Arnav

  • Thank you Arnav.

    Can you please share the commands to build the examples in the headless mode?

  • Hi Suresha,

    You can use a command like the following in a shell script

    import_command="$CCS_LOCATION -nosplash -data ${PWD}/ccs1 -application com.ti.ccstudio.apps.importProject -ccs.location ${PWD}/ccs"
    build_command_debugBuildConfig="$CCS_LOCATION -nosplash -data ${PWD}/ccs1 -application com.ti.ccstudio.apps.projectBuild -ccs.workspace ${PWD}/ccs1 -ccs.configuration Debug"
    
    $import_command
    $build_command_debugBuildConfig

    Please refer to this page for more detailed information

    Note that this method still requires a full CCS installation. If you want to remove any CCS dependency, then you will need to use standard makefiles.

    Regards,

    Arnav