rtos demo include files
Posted by
Alkhafaaf on May 16, 2011
Hi Richard/Gents
I am trying to build and run the (WIN32-MingW) example under \FreeRTOS\Demo\WIN32-MingW using eclipse
I have set all the paths and have manualy copied the file portmacro.h in the project directory
when I build it recognized all the included header files but gives me all the below errors
ERRORS
undefined reference to `vStartBlockingQueueTasks'main.c/RTOSDemoline 123C/C++ Problem
undefined reference to `vStartGenericQueueTasks'main.c/RTOSDemoline 127C/C++ Problem
undefined reference to `vStartIntegerMathTasks'main.c/RTOSDemoline 126C/C++ Problem
undefined reference to `vStartMathTasks'main.c/RTOSDemoline 129C/C++ Problem
undefined reference to `vStartPolledQueueTasks'main.c/RTOSDemoline 125C/C++ Problem
undefined reference to `vStartQueuePeekTasks'main.c/RTOSDemoline 128C/C++ Problem
undefined reference to `vStartRecursiveMutexTasks'main.c/RTOSDemoline 130C/C++ Problem
undefined reference to `vStartSemaphoreTasks'main.c/RTOSDemoline 124C/C++ Problem
undefined reference to `vTaskDelayUntil'main.c/RTOSDemoline 156C/C++ Problem
undefined reference to `vTaskStartScheduler'main.c/RTOSDemoline 133C/C++ Problem
undefined reference to `xAreBlockingQueuesStillRunning'main.c/RTOSDemoline 171C/C++ Problem
undefined reference to `xAreGenericQueueTasksStillRunning'main.c/RTOSDemoline 163C/C++ Problem
undefined reference to `xAreIntegerMathsTaskStillRunning'main.c/RTOSDemoline 159C/C++ Problem
undefined reference to `xAreMathsTaskStillRunning'main.c/RTOSDemoline 183C/C++ Problem
undefined reference to `xArePollingQueuesStillRunning'main.c/RTOSDemoline 179C/C++ Problem
undefined reference to `xAreQueuePeekTasksStillRunning'main.c/RTOSDemoline 167C/C++ Problem
undefined reference to `xAreRecursiveMutexTasksStillRunning'main.c/RTOSDemoline 187C/C++ Problem
undefined reference to `xAreSemaphoreTasksStillRunning'main.c/RTOSDemoline 175C/C++ Problem
undefined reference to `xTaskGenericCreate'main.c/RTOSDemoline 120C/C++ Problem
undefined reference to `xTaskGetTickCount'main.c/RTOSDemoline 151C/C++ Problem
undefined reference to `xTaskGetTickCount'main.c/RTOSDemoline 194C/C++ Problem
WARNINGS
DescriptionResourcePathLocationType
Invalid project path: Include path not found (RTOSDemo\DemoTasks\include).RTOSDemopathentryPath Entry Problem
Invalid project path: Include path not found (RTOSDemo\FreeRTOS\include).RTOSDemopathentryPath Entry Problem
Invalid project path: Include path not found (RTOSDemo\FreeRTOS\portable\MSVC-MingW).RTOSDemopathentryPath Entry Problem
RE: rtos demo include files
Posted by
Richard on May 16, 2011
It is just not finding (and therefore not building) the source files that, by default, are outside of the project directory.
Did you run the file FreeRTOS\Demo\WIN32-MingW\CreateProjectDirectoryStructure.bat before doing anything else? You should need to manually copy any files after the batch file has been run.
Read the "Preparing the Eclipse project" section of the following page:
http://www.freertos.org/FreeRTOS-Windows-Simulator-Emulator-for-Visual-Studio-and-Eclipse-MingW.html
Regards.
RE: rtos demo include files
Posted by
Alkhafaaf on May 16, 2011
cheers Richard
the batch file was the key, I ran that and re-imported the project again and its fine
many thanks......