I am attempting to build a project on the MicroZed board using Vivado and the SDK. The issue for me is that when Vivado launches the SDK it creates the eclipse project based on the hardware definition of the design I just created.
I have the FreeRTOS source tree in /FreeRTOS and I am attempting to take a project that Vivado has created and add the FreeRTOS components but all of the things I have attempted have failed.
my includes are:
#include <stdio.h> #include <time.h> // FreeRTOS includes #include <FreeRTOS.h> #include "task.h" #include "timers.h" #include "queue.h" #include "semphr.h"
I have 3 directories on the directories list:
I get many errors undefined reference to functions like vAssertCalled. They is defined in FreeRTOSConfig.h and I suspect because where the files are located, the header search will not find this file in my project src directory.
If I add an include for this header before FreeRTOS.h the only error is an unknown type uint32_t which is included by FreeRTOS before FreeRTOSConfig.h is included.
Before I start mangling stuff to get this to work, Has anone figured this out and have a viable solution?