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.

F29H85X-SOM-EVM: External FreeRTOS installation

Part Number: F29H85X-SOM-EVM
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi everybody,

I would like to install FreeRTOS externally. I tried to change the system configuration by setting the "Use External FreeRTOS Install" flag and specifying the FreeRTOS installation path, but I encountered many errors.

In particular, I get the following error caused by the auto-generated file "c2000_freertos_asm.asm":

[94]Building file: "syscfg/c2000_freertos_asm.asm"
[95]Invoking: C2000 Compiler
[96]"C:/ti/ccs2011/ccs/tools/compiler/ti-cgt-c29_1.0.0LTS/bin/c29clang.exe" -c -O1 -I"C:/ti/f29h85x-sdk_1_01_00_00/source" -I"C:/ti/f29h85x-sdk_1_01_00_00/source/security" -I"C:/ti/f29h85x-sdk_1_01_00_00/source/driverlib" -I"C:/ti/f29h85x-sdk_1_01_00_00/source/calibration/hrpwm/include" -I"C:/ti/f29h85x-sdk_1_01_00_00/source/bitfields" -I"C:/ti/f29h85x-sdk_1_01_00_00/examples/device_support/include" -I"C:/ti/f29h85x-sdk_1_01_00_00/source/rtlibs/dcl" -I"C:/ti/f29h85x-sdk_1_01_00_00/source/rtlibs/dcl/common" -I"C:/ti/f29h85x-sdk_1_01_00_00/source/rtlibs/dcl/df" -I"C:/ti/f29h85x-sdk_1_01_00_00/source/rtlibs/dcl/misc" -I"C:/ti/f29h85x-sdk_1_01_00_00/source/rtlibs/dcl/pi" -I"C:/ti/f29h85x-sdk_1_01_00_00/source/rtlibs/dcl/pid" -I"C:/ti/f29h85x-sdk_1_01_00_00/source/rtlibs/dsp/fpu/fpu32/fft" -I"C:/ti/f29h85x-sdk_1_01_00_00/source/rtlibs/dsp/fpu/fpu32/fir" -I"C:/ti/f29h85x-sdk_1_01_00_00/source/rtlibs/dsp/fpu/fpu32/iir" -I"C:/ti/f29h85x-sdk_1_01_00_00/source/rtlibs/fastmath/crc" -I"C:/ti/f29h85x-sdk_1_01_00_00/source/rtlibs/fastmath/matrix" -I"C:/ti/f29h85x-sdk_1_01_00_00/source/rtlibs/fastmath/binary_lut_search" -I"C:/ti/f29h85x-sdk_1_01_00_00/source/rtlibs/iqmath" -I"C:/ti/f29h85x-sdk_1_01_00_00/source/kernel/freertos/Source/include" -I"C:/ti/f29h85x-sdk_1_01_00_00/source/kernel/freertos/Source/portable/CCS/C2000_C29x" -I"C:/ti/f29h85x-sdk_1_01_00_00/source/flash_api/include/FlashAPI" -I"C:/Projects/control+rtos_demo" -I"C:/ti/ccs2011/ccs/tools/compiler/ti-cgt-c29_1.0.0LTS/include" -I"C:/Projects/control+rtos_demo/FreeRTOS/Source/portable/ThirdParty/Community-Supported-Ports/CCS/C2000_C29x" -I"C:/Projects/control+rtos_demo/FreeRTOS/Source/include" -I"C:/Projects/control+rtos_demo/FreeRTOS/dpl/common" -I"C:/Projects/control+rtos_demo/FreeRTOS/dpl/c29" -DDEBUG -g -Qunused-arguments -I"C:/Projects/control+rtos_demo/RAM/syscfg" @"syscfg/c2000_freertos.opt" -o"syscfg/c2000_freertos_asm.o" "syscfg/c2000_freertos_asm.asm"
[97]subdir_rules.mk:47: recipe for target 'syscfg/c2000_freertos_asm.o' failed
[98]syscfg/c2000_freertos_asm.asm:5:14: error: invalid escape sequence (unrecognized character)
[99] .include "C:\Projects\control+rtos_demo\FreeRTOS\Source\portable\ThirdParty\Community-Supported-Ports\CCS\C2000_C29x\portasm.asm"
[100] ^
[101]gmake: *** [syscfg/c2000_freertos_asm.o] Error 1

Do you have any suggestions?

Thank you,

Davide

  • Hi Davide,

    The external installation functionality is unstable since the C29x port is not yet part of the FreeRTOS public release. You can follow these steps to use an external FreeRTOS installation until this is updated:

    1) Remove the FreeRTOS Include paths from your SDK project (Project Properties > General > Variables > User-defined and System variables)

    2) Paste the below folder into your F29H85x-SDK installation directory and select 'Replace All' when prompted. This updates the FreeRTOS include paths to be a bit more generic

    0216.source.zip

    3) Reload SysConfig to view updated files and rebuild. Ensure that your external FreeRTOS installation has the same paths as those mentioned in c2000_freertos.opt

    (optional) If you find that the paths in c2000_freertos.opt are not compatible for your project, you can select "Exclude from build" for this file in SysConfig, and include all your custom paths manually in the same window shown in step 1

    Regards,

    Arnav