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.

MSP432P401R and the FreeRTOS example



Hello forum,

I also tried to import this FreeRTOS example. Yes, I know, the MSP432P401R is not beeing produced any more, but I've two launchpads and I'd like to test FreeRTOS. Free RTOS is inside the project as source code and not as a precompiled extra project.

When I import the project (following this instructions: FreeRTOS projects for TI MSP432 LaunchPad Development Kit ), I always get the message that there are 102 errors. They are like this one:

"../Full_Demo/RegTest.c", line 302: error #10: "#" not expected here
cmp r0, #6

But '#' is a prefix for an immediate value (spnu118y)!

Thanks for help.

BR Guenther

  • Hi Guenther,

    Our team doesn't have a lot of experience with FreeRTOS, you may have better luck on a FreeRTOS forum.

    However, I noticed that the error you are encountering is in a function with a __asm prefix. I believe this is an IAR specific notation. I also noticed that there is a file called RegTest.asm which seems to implement the same exact functionality. Can you try excluding the the .c file from the build and see if the .asm file is adequate?

    Regards,

    Evan

  • Hello Evan,

    thanks for Your answer. After deleting the file RegTest.c the project can be build without an error.

    BR Guenther