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.

could not open source file "portmacro.h"

Hi,

I have a problem. I trying to install freeRTOS on my controler. I'm added all needed files for freeRTOS, but when i build the project i have the problem. could not open source file "portmacro.h"
I'm linking freeRTOS files with project files

 "${workspace_loc:/${ProjName}/FreeRTOS/include}"

I use ccsV5.4 compiler

  

Some suggestions?  

  • Hi Radovan,

    free RTOS is not from us.    However one thing to check in 

    - permissions

    - include paths and variables

    http://processors.wiki.ti.com/index.php/Include_paths_and_options

    I would look at these as a first debug step and please keep us informed.

    Best Regards,
    LIsa 

  • Hi Lisa,

    At first thanks on answer.
    I understand that freeRTOS is not for you, but i thing that this is not problem with freeRTOS, this is problem with linker in compiler CCS. Problem is created with freeRTOS header file, but maybe tomorrow i have same problem  that include some other header file.

    In some other post, I was find yours ansswer with this article, I read it and I was doing everything as  write in this article, but that is not solve the problem. I will spend more time to solve this problem if i solve it i will write here solution.  

  • Radovan Celic said:
    Problem is created with freeRTOS header file, but maybe tomorrow i have same problem  that include some other header file.

    Well, you'll always have a problem when you don't tell the IDE properly where to find the include file(s). That's not a problem of the IDE or the compiler. It is a problem with the project configuration.
    Of course, using an external project that was configured for a different system increases the chance of failure. However, CCS doesn't come with a crystal ball, it is up to you to give it all necessary information.

  • Hi Radovan,

    to add to what Jens wrote, and I did earlier, double check that wiki and the project include paths and variables.    Another thing in cases like this are to ensure you know, for the RTOS features you use, what includes you require.   This comes from the free RTOS people.

    Best regards,

    Lisa

  • Hello, All:

    I got the same error as mentioned in this thread.  Do you know the solution?

    Thank you

    Allyson

**Attention** This is a public forum