Compilation Issue - Student trying to learn FreeRTOS kindly help.

johnsmith010185 wrote on Saturday, December 20, 2014:

Compilation fails with the following message

make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2

“C:\Program Files (x86)\Microchip\xc32\v1.34\bin\xc32-gcc.exe” -g -x c -c -mprocessor=32MX795F512L -fomit-frame-pointer -DMPLAB_PIC32MX_PORT -I… “-I…/…/Drivers FreeRTOS Micros-Designs/include” -I…/…/…/Microchip/Include -I…/…/Microchip/Include -I…/…/include -I…/…/FreeRTOS/Source/include -I…/…/FreeRTOS/Source/portable/MPLAB/PIC32MX “-I…/…/…/Proyectos C32/Proyectos FreeRTOS/FreeRTOS/Source/include” “-I…/…/…/Proyectos C32/Proyectos FreeRTOS/Microchip/Include” -I. -Wall -MMD -MF build/default/production/_ext/1242730511/port.o.d -o build/default/production/_ext/1242730511/port.o “…/…/…/Proyectos C32/Proyectos FreeRTOS/FreeRTOS/Source/portable/MPLAB/PIC32MX/port.c”

make[2]: Leaving directory ‘C:/Proyectos FreeRTOS C32/FreeRTOS Example/PrimerEjemplo.X’
nbproject/Makefile-default.mk:78: recipe for target ‘.build-conf’ failed
make[1]: Leaving directory ‘C:/Proyectos FreeRTOS C32/FreeRTOS Example/PrimerEjemplo.X’
nbproject/Makefile-impl.mk:39: recipe for target ‘.build-impl’ failed

Tried few things based on a google search and couldn’t get it working. Using MPLAB X & xc32 compiler. Would like to get it working on a pic32 starter kit.

I’m totally newbie to rtos(also embedded programming) and request help in resolving this issue.

rtel wrote on Saturday, December 20, 2014:

This does not look like an RTOS problem, it is a build problem. I would suggest starting with the MPLAB X project that is provided in the official FreeRTOS .zip file download, then adapting that for your needs. I think there is a build configuration that targets a starter kit.

http://www.freertos.org/port_PIC32_MIPS_MK4.html
http://www.freertos.org/PIC32MZ_RTOS_MIPS_M14K.html
http://www.freertos.org/porting-a-freertos-demo-to-different-hardware.html

Regards.

johnsmith010185 wrote on Saturday, December 20, 2014:

Many Thanks.