AnsweredAssumed Answered

How do I add FreeRTOS to an existing project?

Question asked by Vincent Kenbeek on Aug 13, 2019
Latest reply on Aug 14, 2019 by Alice_Yang

I have started on a projected to which I would like to add FreeRTOS.

In MCUXpresso I have create a new example project with FreeRTOS.

I then copied the freertos folder and FreeRTOSConfig folder to my project and included them by adding the freertos folder to "MCU C Compiler > Includes" and "MCU Assembler > General" in the "C/C++ Build" settings in the properties.

However when I try to build my project I get the error "undefined reference to 'xTaskCreate' " in my main file despite including FreeRTOS.h, task.h, queue.h and timers.h.


Below is a screenshot of my includes settings. The "MCU Assembler > General" paths looks exactly the same.