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.

AM6442: Set ENV var to .projectspec, set default SysConfig-version in .projectspec

Part Number: AM6442
Other Parts Discussed in Thread: SYSCONFIG

Hello everyone,

I'm facing an issue with handling my .projectspec file. My goal is to integrate the files used in the project as links in my workspace, not as copies. However, this leads to a conflict with the existing settings in C/C++ Paths and Symbols, as they are based on relative paths in the workspace.

To solve this issue, I want to set up an environment variable in the .projectspec file that contains the relative path to the .projectspec file itself. This would allow me to edit the workspace directly from the repository location, without having to create a new workspace in every repository. However, I'm unsure about how to correctly create and configure this environment variable in the .projectspec file.

As I read in the Forum it isn't possible to set an ENV variable.  Is there another solution? Because some files in my project have to be included directly from project itself. But I don't want that the user always has to create an variable.

My main concern is to establish a more efficient workflow that allows me to work flexibly and without extra effort with files in different repositories without worrying about where I open the workspace. Because I don't want to make always copies into other workspaces, I want to work directly from repository.

Furthermore I want to set the SysConfig if possible to a certain version, since SysConfig are unusable with each version. 

Best regards,

 

  • Furthermore, I would ask for a better documentation regarding .projectspecs, since this here: https://software-dl.ti.com/C2000/docs/software_guide/c2000_sysconfig.html doesn't really help me. I need to know which commands and so on are available.

  • Hi Issac,

    Thank you for reaching out to Texas Instruments E2E support forum.

    Apologies for our delayed response.

    My main concern is to establish a more efficient workflow that allows me to work flexibly and without extra effort with files in different repositories without worrying about where I open the workspace. Because I don't want to make always copies into other workspaces, I want to work directly from repository.

    From the above comment, I understand that you are trying to do changes for an example using CCS. But the changes are not getting updated to repository because CCS is creating a local copy of example in its workspace. Please correct if me I am wrong here.

    To make changes directly in the repository or not to create a copy of example in CCS workspace, all you can do is to change the example.projectspec file to link the example with workspace instead of copying it. 

    Steps:

    • Open example.projectspec file of example you want to import.
    • Change the action attribute from "copy" to "link" in <file> tag.
    • Import the project in CCS and make changes.

    You should then be able to do the changes in repository.

    Please find the below screenshot.

    Please let me know if the solution works.

    Regards,

    Tushar

  • Hello Tushar,

    I already understood that this is possible. Only CCS throws out an error if I link files that are included in the C/C++ project general settings under Paths and Symbols like I said in the first sentence: 

    "I'm facing an issue with handling my .projectspec file. My goal is to integrate the files used in the project as links in my workspace, not as copies. However, this leads to a conflict with the existing settings in C/C++ Paths and Symbols, as they are based on relative paths in the workspace."

    For better understanding I will upload my existing project settings.

    What I wanted to do is to instead tell CCS that it shalls create me a path variable, which I can use to refer to the files being included, instead of refering to them as beiing in the workspace.

    <?xml version="1.0" encoding="UTF-8"?>
    <cdtprojectproperties>
      <section name="org.eclipse.cdt.internal.ui.wizards.settingswizards.IncludePaths">
        <language id="com.ti.ccstudio.core.TIGCCLanguage" name="C Source File">
          <includepath>Debug/${SYSCONFIG_TOOL_INCLUDE_PATH}</includepath>
          <includepath>C:/ti/mcu_plus_sdk_am64x_08_06_00_45</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/usb/tinyusb/config/freertos/am64x_am243x/cdc_config</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/usb/tinyusb/tinyusb-stack/src</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/kernel/dpl</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/kernel/freertos/FreeRTOS-Kernel/include</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/kernel/freertos/config/am64x/r5f</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/networking/lwip/lwip-port/freertos/include</includepath>
          <includepath>/${CG_TOOL_ROOT}/</includepath>
          <includepath>/${CG_TOOL_ROOT}/include/c</includepath>
          <includepath>Debug/${COM_TI_MCU_PLUS_SDK_AM64X_INCLUDE_PATH}</includepath>
          <includepath>/${CCS_PROJECT_DIR}/examples/afe/driver/inc</includepath>
          <includepath>/${CCS_PROJECT_DIR}/examples/include</includepath>
          <includepath>/${CCS_PROJECT_DIR}/examples/afe/inc</includepath>
          <includepath>/${CCS_PROJECT_DIR}/FreeRTOS/CLI</includepath>
        </language>
        <language id="com.ti.ccstudio.core.TIASMLanguage" name="Assembly Source File">
          <includepath>Debug/${SYSCONFIG_TOOL_INCLUDE_PATH}</includepath>
          <includepath>C:/ti/mcu_plus_sdk_am64x_08_06_00_45</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/usb/tinyusb/config/freertos/am64x_am243x/cdc_config</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/usb/tinyusb/tinyusb-stack/src</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/kernel/dpl</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/kernel/freertos/FreeRTOS-Kernel/include</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/kernel/freertos/config/am64x/r5f</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/networking/lwip/lwip-port/freertos/include</includepath>
          <includepath>/${CG_TOOL_ROOT}/</includepath>
          <includepath>/${CG_TOOL_ROOT}/include/c</includepath>
          <includepath>Debug/${COM_TI_MCU_PLUS_SDK_AM64X_INCLUDE_PATH}</includepath>
          <includepath>/${CCS_PROJECT_DIR}/examples/afe/driver/inc</includepath>
          <includepath>/${CCS_PROJECT_DIR}/examples/include</includepath>
          <includepath>/${CCS_PROJECT_DIR}/examples/afe/inc</includepath>
          <includepath>/${CCS_PROJECT_DIR}/FreeRTOS/CLI</includepath>
        </language>
        <language id="com.ti.ccstudio.core.TIASMLanguage" name="Assembly Source File">
          <includepath>Debug/${SYSCONFIG_TOOL_INCLUDE_PATH}</includepath>
          <includepath>C:/ti/mcu_plus_sdk_am64x_08_06_00_45</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/usb/tinyusb/config/freertos/am64x_am243x/cdc_config</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/usb/tinyusb/tinyusb-stack/src</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/kernel/dpl</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/kernel/freertos/FreeRTOS-Kernel/include</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/kernel/freertos/config/am64x/r5f</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/networking/lwip/lwip-port/freertos/include</includepath>
          <includepath>/${CG_TOOL_ROOT}/</includepath>
          <includepath>/${CG_TOOL_ROOT}/include/c</includepath>
          <includepath>Debug/${COM_TI_MCU_PLUS_SDK_AM64X_INCLUDE_PATH}</includepath>
          <includepath>/${CCS_PROJECT_DIR}/examples/afe/driver/inc</includepath>
          <includepath>/${CCS_PROJECT_DIR}/examples/include</includepath>
          <includepath>/${CCS_PROJECT_DIR}/examples/afe/inc</includepath>
          <includepath>/${CCS_PROJECT_DIR}/FreeRTOS/CLI</includepath>
        </language>
        <language id="com.ti.ccstudio.core.TIGPPLanguage" name="C++ Source File">
          <includepath>Debug/${SYSCONFIG_TOOL_INCLUDE_PATH}</includepath>
          <includepath>C:/ti/mcu_plus_sdk_am64x_08_06_00_45</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/usb/tinyusb/config/freertos/am64x_am243x/cdc_config</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/usb/tinyusb/tinyusb-stack/src</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/kernel/dpl</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/kernel/freertos/FreeRTOS-Kernel/include</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/kernel/freertos/config/am64x/r5f</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F</includepath>
          <includepath>/${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}/source/networking/lwip/lwip-port/freertos/include</includepath>
          <includepath>/${CG_TOOL_ROOT}/</includepath>
          <includepath>/${CG_TOOL_ROOT}/include/c</includepath>
          <includepath>Debug/${COM_TI_MCU_PLUS_SDK_AM64X_INCLUDE_PATH}</includepath>
          <includepath>/${CCS_PROJECT_DIR}/examples/afe/driver/inc</includepath>
          <includepath>/${CCS_PROJECT_DIR}/examples/include</includepath>
          <includepath>/${CCS_PROJECT_DIR}/examples/afe/inc</includepath>
          <includepath>/${CCS_PROJECT_DIR}/FreeRTOS/CLI</includepath>
        </language>
        <language id="com.ti.ccstudio.core.TICMDLanguage" name="Linker Command File"/>
        <language id="com.ti.ccstudio.core.TICMDLanguage" name="Linker Command File"/>
        <language id="com.ti.ccstudio.core.TICMDLanguage" name="Linker Command File"/>
      </section>
      <section name="org.eclipse.cdt.internal.ui.wizards.settingswizards.Macros">
        <language id="com.ti.ccstudio.core.TIGCCLanguage" name="C Source File">
          <macro>
            <name>${SYSCONFIG_TOOL_SYMBOLS}</name>
            <value/>
          </macro>
          <macro>
            <name>${COM_TI_MCU_PLUS_SDK_AM64X_SYMBOLS}</name>
            <value/>
          </macro>
          <macro>
            <name>SOC_AM64X</name>
            <value/>
          </macro>
          <macro>
            <name>TINYUSB_INTEGRATION</name>
            <value/>
          </macro>
          <macro>
            <name>_DEBUG_</name>
            <value>1</value>
          </macro>
        </language>
        <language id="com.ti.ccstudio.core.TIASMLanguage" name="Assembly Source File">
          <macro>
            <name>${SYSCONFIG_TOOL_SYMBOLS}</name>
            <value/>
          </macro>
          <macro>
            <name>${COM_TI_MCU_PLUS_SDK_AM64X_SYMBOLS}</name>
            <value/>
          </macro>
          <macro>
            <name>SOC_AM64X</name>
            <value/>
          </macro>
          <macro>
            <name>TINYUSB_INTEGRATION</name>
            <value/>
          </macro>
          <macro>
            <name>_DEBUG_</name>
            <value>1</value>
          </macro>
        </language>
        <language id="com.ti.ccstudio.core.TIASMLanguage" name="Assembly Source File">
          <macro>
            <name>${SYSCONFIG_TOOL_SYMBOLS}</name>
            <value/>
          </macro>
          <macro>
            <name>${COM_TI_MCU_PLUS_SDK_AM64X_SYMBOLS}</name>
            <value/>
          </macro>
          <macro>
            <name>SOC_AM64X</name>
            <value/>
          </macro>
          <macro>
            <name>TINYUSB_INTEGRATION</name>
            <value/>
          </macro>
          <macro>
            <name>_DEBUG_</name>
            <value>1</value>
          </macro>
        </language>
        <language id="com.ti.ccstudio.core.TIGPPLanguage" name="C++ Source File">
          <macro>
            <name>${SYSCONFIG_TOOL_SYMBOLS}</name>
            <value/>
          </macro>
          <macro>
            <name>${COM_TI_MCU_PLUS_SDK_AM64X_SYMBOLS}</name>
            <value/>
          </macro>
          <macro>
            <name>SOC_AM64X</name>
            <value/>
          </macro>
          <macro>
            <name>TINYUSB_INTEGRATION</name>
            <value/>
          </macro>
          <macro>
            <name>_DEBUG_</name>
            <value>1</value>
          </macro>
        </language>
        <language id="com.ti.ccstudio.core.TICMDLanguage" name="Linker Command File">
          <macro>
            <name>ENET_ENABLE_PER_ICSSG</name>
            <value>1</value>
          </macro>
        </language>
        <language id="com.ti.ccstudio.core.TICMDLanguage" name="Linker Command File">
          <macro>
            <name>ENET_ENABLE_PER_ICSSG</name>
            <value>1</value>
          </macro>
        </language>
        <language id="com.ti.ccstudio.core.TICMDLanguage" name="Linker Command File">
          <macro>
            <name>ENET_ENABLE_PER_ICSSG</name>
            <value>1</value>
          </macro>
        </language>
      </section>
    </cdtprojectproperties>
    

  • <?xml version="1.0" encoding="UTF-8"?>
    <projectSpec>
        <applicability>
            <when>
                <context
                    deviceFamily="ARM"
                    deviceId="Cortex R.AM64x"
                />
            </when>
        </applicability>
    
        <project
            title="TQMaX4XxL SW MCU BSP"
            name="TQMaX4XxL.SW.MCU.BSP"
            products="sysconfig;com.ti.MCU_PLUS_SDK_AM64X"
            configurations="
                Debug,
                Release,
            "
            connection="TIXDS110_Connection.xml"
            toolChain="TICLANG"
            cgtVersion="2.12.2.LTS"
            device="Cortex R.AM64x"
            deviceCore="MAIN_PULSAR_Cortex_R5_0_0"
            ignoreDefaultDeviceSettings="true"
            ignoreDefaultCCSSettings="true"
            endianness="little"
            outputFormat="ELF"
            outputType="executable"
    
            compilerBuildOptions="
                -mcpu=cortex-r5
                -mfloat-abi=hard
                -mfpu=vfpv3-d16
                -Wall
                -Werror
                -g
                -Wno-gnu-variable-sized-type-not-at-end
                -Wno-unused-function
                -DSOC_AM64X
            "
            linkerBuildOptions="
                -i${MCU_PLUS_SDK_PATH}/source/kernel/freertos/lib
                -i${MCU_PLUS_SDK_PATH}/source/drivers/lib
                -i${MCU_PLUS_SDK_PATH}/source/board/lib
                -i${CG_TOOL_ROOT}/lib
                -m=TQMaX4XxL.SW.MCU.BSP.${ConfigName}.map
                --diag_suppress=10063
                --ram_model
                --reread_libs
            "
    
            postBuildStep="$(MAKE) -C ${CCS_PROJECT_DIR} -f makefile_ccs_bootimage_gen OUTNAME=${BuildArtifactFileBaseName} PROFILE=${ConfigName} MCU_PLUS_SDK_PATH=${MCU_PLUS_SDK_PATH} CG_TOOL_ROOT=${CG_TOOL_ROOT} CCS_INSTALL_DIR=${CCS_INSTALL_DIR} CCS_IDE_MODE=${CCS_IDE_MODE}"
    
            enableSysConfigTool="true"
            sysConfigBuildOptions="
                --context r5fss0-0 --part Default --package ALV
            "
    
            description="The TQMaX4XxL R5 MCU Board Support Package">
    
            <configuration name="Debug"
                compilerBuildOptions="
                    -D_DEBUG_=1
                "
                linkerBuildOptions="
                    -lfreertos.am64x.r5f.ti-arm-clang.debug.lib
                    -ldrivers.am64x.r5f.ti-arm-clang.debug.lib
                    -lboard.am64x.r5f.ti-arm-clang.debug.lib
                    -llibc.a
                "
            ></configuration>
            <configuration name="Release"
                compilerBuildOptions="
                    -Os
                "
                linkerBuildOptions="
                    -lfreertos.am64x.r5f.ti-arm-clang.release.lib
                    -ldrivers.am64x.r5f.ti-arm-clang.release.lib
                    -lboard.am64x.r5f.ti-arm-clang.release.lib
                    -llibc.a
                "
            ></configuration>
            <pathVariable name="MCU_PLUS_SDK_PATH" path="${COM_TI_MCU_PLUS_SDK_AM64X_INSTALL_DIR}" scope="project" />
    
            <file path="examples/gpio_led_blink/gpio_led_blink.c"       targetDirectory="examples/gpio_led_blink"  action="copy"></file>
            <file path="examples/gpio_led_blink/gpio_led_blink_cmd.c"   targetDirectory="examples/gpio_led_blink"  action="copy"></file>
    		<file path="examples/gpio_dig/gpio_dig_cmd.c"       		targetDirectory="examples/gpio_dig"  	   action="copy"></file>
            <file path="examples/i2c_temperature/i2c_temperature.c"     targetDirectory="examples/i2c_temperature" action="copy"></file>
            <file path="examples/i2c_temperature/i2c_temperature_cmd.c" targetDirectory="examples/i2c_temperature" action="copy"></file>
            <file path="examples/i2c_scan/i2c_scan_cmd.c"               targetDirectory="examples/i2c_scan"        action="copy"></file>
            <file path="examples/i2c_rtc/i2c_rtc_cmd.c"                 targetDirectory="examples/i2c_rtc"         action="copy"></file>
            <file path="examples/eeprom/eeprom_cmd.c"                   targetDirectory="examples/eeprom"          action="copy"></file>
            <file path="examples/emmc/emmc_cmd.c"                       targetDirectory="examples/emmc"            action="copy"></file>
            <file path="examples/emmc/mmcsd_raw_io.c"                   targetDirectory="examples/emmc"    		   action="copy"></file>
            <file path="examples/lpddr4/lpddr4_cmd.c"                   targetDirectory="examples/lpddr4"          action="copy"></file>
            <file path="examples/mcan/mcan_cmd.c"                       targetDirectory="examples/mcan"            action="copy"></file>
            <file path="examples/mcan/mcan_rx_only_interrupt.c"         targetDirectory="examples/mcan"            action="copy"></file>
            <file path="examples/mcan/mcan_tx_only_interrupt.c"         targetDirectory="examples/mcan"            action="copy"></file>
            <file path="examples/afe/src/afe_cmd.c"                     targetDirectory="examples/afe/src"         action="copy"></file>
            <file path="examples/afe/src/afe.c"                         targetDirectory="examples/afe/src"         action="copy"></file>
            <file path="examples/afe/src/afe_registers.c"               targetDirectory="examples/afe/src"         action="copy"></file>
            <file path="examples/afe/src/afe_comms.c"                   targetDirectory="examples/afe/src"         action="copy"></file>
            <file path="examples/qspi_nor_flash/ospi_flash_io.c"        targetDirectory="examples/qspi_nor_flash"  action="copy"></file>
            <file path="examples/qspi_nor_flash/qspi_nor_flash_cmd.c"   targetDirectory="examples/qspi_nor_flash"  action="copy"></file>
            <file path="examples/adc/adc_cmd.c"                         targetDirectory="examples/adc"             action="copy"></file>
            <file path="examples/adc/adc_singleshot.c"                  targetDirectory="examples/adc"             action="copy"></file>
            <file path="examples/rs485/rs485_cmd.c"                     targetDirectory="examples/rs485"           action="copy"></file>
            <file path="examples/rs485/uart_echo.c"                     targetDirectory="examples/rs485"           action="copy"></file>
            <file path="examples/afe/driver/src/crcDriver.c"            targetDirectory="examples/afe/driver/src"  action="copy"></file>
            <file path="examples/afe/driver/src/spiDriver.c"            targetDirectory="examples/afe/driver/src"  action="copy"></file>
            <file path="examples/include/gpio_led_blink_cmd.h"          targetDirectory="examples/include"         action="copy"></file>
    		<file path="examples/include/gpio_dig_cmd.h"          		targetDirectory="examples/include"         action="copy"></file>
            <file path="examples/include/i2c_temperature_cmd.h"         targetDirectory="examples/include"         action="copy"></file>
            <file path="examples/include/i2c_scan_cmd.h"                targetDirectory="examples/include"         action="copy"></file>
            <file path="examples/include/i2c_rtc_cmd.h"                 targetDirectory="examples/include"         action="copy"></file>
            <file path="examples/include/eeprom_cmd.h"                  targetDirectory="examples/include"         action="copy"></file>
            <file path="examples/include/emmc_cmd.h"                    targetDirectory="examples/include"         action="copy"></file>
            <file path="examples/include/lpddr4_cmd.h"                  targetDirectory="examples/include"         action="copy"></file>
            <file path="examples/include/mcan_cmd.h"                    targetDirectory="examples/include"         action="copy"></file>
            <file path="examples/include/adc_cmd.h"                     targetDirectory="examples/include"         action="copy"></file>
            <file path="examples/include/qspi_nor_flash_cmd.h"          targetDirectory="examples/include"         action="copy"></file>
            <file path="examples/include/rs485_cmd.h"                   targetDirectory="examples/include"         action="copy"></file>
            <file path="examples/include/utilities.h"                   targetDirectory="examples/include"         action="copy"></file>
            <file path="examples/afe/inc/afe_cmd.h"                     targetDirectory="examples/afe/inc"         action="copy"></file>
            <file path="examples/afe/inc/afe.h"                         targetDirectory="examples/afe/inc"         action="copy"></file>
            <file path="examples/afe/inc/afe_registers.h"               targetDirectory="examples/afe/inc"         action="copy"></file>
            <file path="examples/afe/inc/afe_comms.h"                   targetDirectory="examples/afe/inc"         action="copy"></file>
            <file path="examples/afe/driver/inc/crcDriver.h"            targetDirectory="examples/afe/driver/inc"  action="copy"></file>
            <file path="examples/afe/driver/inc/spiDriver.h"            targetDirectory="examples/afe/driver/inc"  action="copy"></file>
    
            <file path="FreeRTOS/FreeRTOSConfig.h"   targetDirectory="FreeRTOS"       action="copy"></file>
            <file path="FreeRTOS/CLI/CLI_task.c"     targetDirectory="FreeRTOS/CLI"   action="copy"></file>
            <file path="FreeRTOS/CLI/CLI_task.h"     targetDirectory="FreeRTOS/CLI"   action="copy"></file>
            <file path="FreeRTOS/CLI/FreeRTOS_CLI.c" targetDirectory="FreeRTOS/CLI"   action="copy"></file>
            <file path="FreeRTOS/CLI/FreeRTOS_CLI.h" targetDirectory="FreeRTOS/CLI"   action="copy"></file>
    
            <file path="board/board.c"               targetDirectory="board"          action="copy"></file>
    
            <file path="targetConfigs/AM64x.ccxml"   targetDirectory="targetConfigs"  action="copy"></file>
            <file path="targetConfigs/readme.txt"    targetDirectory="targetConfigs"  action="copy"></file>
    
            <file path="main.c"                     action="copy"></file>
            <file path="linker.cmd"                 action="copy"></file>
            <file path="example.syscfg"             action="copy"></file>
            <file path="README.md"                  action="copy"></file>
            <file path="syscfg_c.rov.xs"            action="copy"></file>
            <file path="makefile_ccs_bootimage_gen" action="copy"></file>
        </project>
    </projectSpec>
    

    It would be great if you could give me a solution for this problem: easily explained, I want to create a PATH VAR  that replaces  CCS_PROJECT_DIR so I can refer to the files within the repository and link all files within my workspace to the repository.

  • As I read in the Forum it isn't possible to set an ENV variable. 

    Looks like support for this feature was added in CCS 12.5.0.

    See the attached file for an example:

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/environment_5F00_variable_5F00_example.projectspec