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.

LAUNCHXL-F2800157: FreeRtos Tick ISR not automatically generated

Part Number: LAUNCHXL-F2800157
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG

Tool/software:

Hello,

         I am trying to run the FreeRtos on the Launchpad using the Syscfg Tool. When compiling, I get the following message:

[63] undefined first referenced
[64] symbol in file
[65] --------- ----------------
[66] portTICK_ISR ./syscfg/board.obj

It doesn't generate the code for the Tick_ISR.

Is there any way to automatically generate that code? Or do I have to write it manually?

Also, is there any document explaining the workflow when using the FreeRtos on SysCfg ?

Regards and thanks in advance.

Fernando

  • Hello again:

    I have been studying the outputs and I saw that the compiler was not generating all the outputs related to FreeRtos.

    But, the same project in another PC using the same environment (THeia Version: 1.4.0.12 ) generates the FreeRtos outputs

    I wonder if it is possible that any environment variable is not properly settled in the first machine.

    One difference between one machine and the other is that in the first one The previous Theia Version is installed and in the other, not.

    Regards,

    Fernando

  • Hi Fernando,

    portTICK_ISR is part of the FreeRTOS port files found at [C2000WARE_Install]\kernel\FreeRTOS\Source\portable . As of C2000Ware v5.02, these files are automatically included through FreeRTOS Sysconfig (under "Referenced Source"). If this is not the case in your installation, you can manually include the files at the above path, which should resolve the issue.

    Thanks,

    Arnav

  • Hi Arnav,

    Thanks for your help.

    After doing more tests, there is no doubt that the problem is on the setup of the Theia on that particular machine.

    If I open the same project that is on a shared drive from another instalation on another machine, It works perfectly. On the problematic machine I can't even compile the Blinky example project that is inside C:\ti\C2000Ware_5_02_00_00\kernel\FreeRTOS\Demo\C2000_F280015x_C28x_CCS, I have the same error that I get of my project.

    I was looking to defined enviorment variables, but I can't find anything wrong.

    Which is the exact variable that I should modify to get the FreeRtos included properly ?

    Regards,

    Fernando

  • Hi Fernando,

    Having the following dependencies in Project > Properties should be enough for the required files to be included. Are you able to see a "Referenced Source" section with FreeRTOS source files after building the project?

    I highly recommend updating to the latest Theia version. Since the previous version (v1.3.1) was the first to have support for C2000 devices, possible bugs may have been addressed in v1.4

    Thanks,

    Arnav

  • Hi Arnav

    The Referenced Source section wasn't present when opening the project. I uninstalled everything, all the previous version of C2000ware and Theia, installed again and now it appears.

                Thanks for your help.

                     Fernando