porting FreeRTOS app from PIC32MX795F512L to PIC32MX795F512H. Getting errors.

roujesky wrote on Tuesday, October 18, 2016:

Using MPLABX 3.30.
I am porting my FreeRTOS application from PIC32MX795F512L to PIC32MX795F512H.

I duplicated my EXPLORER_16_PIC32MX795 configuration and called it H_CHIP_Explorer_16_PIC32MX795. In H_CHIP_Explorer_16_PIC32MX795 i changed the device to PIC32MX795H. Then I built the project and get numerous errors. Is there something in FreeRTOS that I need to change? Below is my list of errors.
thanks!

CLEAN SUCCESSFUL (total time: 156ms)
make -f nbproject/Makefile-H_CHIP_EXPLORER_16_PIC32MX795.mk SUBPROJECTS= .build-conf
make[1]: Entering directory ‘C:/NeuralogSourceCode/2010/Roll2Roll_COMPLETE.X/FreeRTOS/Demo/PIC32MX_MPLAB/Roll2RollPic32-COMPLETE.X’
make -f nbproject/Makefile-H_CHIP_EXPLORER_16_PIC32MX795.mk dist/H_CHIP_EXPLORER_16_PIC32MX795/production/Roll2RollPic32-COMPLETE.X.production.hex
make[2]: Entering directory ‘C:/NeuralogSourceCode/2010/Roll2Roll_COMPLETE.X/FreeRTOS/Demo/PIC32MX_MPLAB/Roll2RollPic32-COMPLETE.X’
…/…/…/Source/portable/MPLAB/PIC32MX/port.c:79:22: fatal error: FreeRTOS.h: No such file or directory
“C:\Program Files (x86)\Microchip\xc32\v1.31\bin\xc32-gcc.exe” -g -x c -c -mprocessor=32MX795F512L -MMD -MF build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/332309696/port.o.d -o build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/332309696/port.o …/…/…/Source/portable/MPLAB/PIC32MX/port.c
compilation terminated.
…/…/…/Source/queue.c:78:22: fatal error: FreeRTOS.h: No such file or directory
compilation terminated.
“C:\Program Files (x86)\Microchip\xc32\v1.31\bin\xc32-gcc.exe” -g -x c -c -mprocessor=32MX795F512L -MMD -MF build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/449926602/queue.o.d -o build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/449926602/queue.o …/…/…/Source/queue.c
nbproject/Makefile-H_CHIP_EXPLORER_16_PIC32MX795.mk:361: recipe for target ‘build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/332309696/port.o’ failed
nbproject/Makefile-H_CHIP_EXPLORER_16_PIC32MX795.mk:367: recipe for target ‘build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/449926602/queue.o’ failed
“C:\Program Files (x86)\Microchip\xc32\v1.31\bin\xc32-gcc.exe” -g -x c -c -mprocessor=32MX795F512L -MMD -MF build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/449926602/tasks.o.d -o build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/449926602/tasks.o …/…/…/Source/tasks.c
nbproject/Makefile-H_CHIP_EXPLORER_16_PIC32MX795.mk:373: recipe for target ‘build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/449926602/tasks.o’ failed
“C:\Program Files (x86)\Microchip\xc32\v1.31\bin\xc32-gcc.exe” -g -x c -c -mprocessor=32MX795F512L -MMD -MF build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/449926602/timers.o.d -o build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/449926602/timers.o …/…/…/Source/timers.c
“C:\Program Files (x86)\Microchip\xc32\v1.31\bin\xc32-gcc.exe” -g -x c -c -mprocessor=32MX795F512L -MMD -MF build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/449926602/list.o.d -o build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/449926602/list.o …/…/…/Source/list.c
nbproject/Makefile-H_CHIP_EXPLORER_16_PIC32MX795.mk:379: recipe for target ‘build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/449926602/list.o’ failed
nbproject/Makefile-H_CHIP_EXPLORER_16_PIC32MX795.mk:385: recipe for target ‘build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/449926602/timers.o’ failed
…/…/…/Source/tasks.c:80:22: fatal error: FreeRTOS.h: No such file or directory
compilation terminated.
make[2]: *** [build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/332309696/port.o] Error 1
make[2]: *** Waiting for unfinished jobs…
make[2]: *** [build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/449926602/queue.o] Error 1
…/…/…/Source/list.c:72:22: fatal error: FreeRTOS.h: No such file or directory
…/…/…/Source/timers.c:78:22: fatal error: FreeRTOS.h: No such file or directory
compilation terminated.
compilation terminated.
make[2]: *** [build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/449926602/tasks.o] Error 1
make[2]: *** [build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/449926602/list.o] Error 1
make[2]: *** [build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/449926602/timers.o] Error 1
In file included from …/…/…/Source/portable/MPLAB/PIC32MX/port_asm.S:72:0:
…/…/…/Source/portable/MPLAB/PIC32MX/ISR_Support.h:70:28: fatal error: FreeRTOSConfig.h: No such file or directory
compilation terminated.
“C:\Program Files (x86)\Microchip\xc32\v1.31\bin\xc32-gcc.exe” -c -mprocessor=32MX795F512L -MMD -MF build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/332309696/port_asm.o.d -o build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/332309696/port_asm.o …/…/…/Source/portable/MPLAB/PIC32MX/port_asm.S -Wa,–defsym=__MPLAB_BUILD=1,-MD=build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/332309696/port_asm.o.asm.d,–gdwarf-2
nbproject/Makefile-H_CHIP_EXPLORER_16_PIC32MX795.mk:134: recipe for target ‘build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/332309696/port_asm.o’ failed
make[2]: *** [build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/332309696/port_asm.o] Error 1
…/…/Common/Minimal/comtest.c:104:22: fatal error: FreeRTOS.h: No such file or directory
compilation terminated.
…/…/Common/Minimal/QPeek.c:80:22: fatal error: FreeRTOS.h: No such file or directory
compilation terminated.
“C:\Program Files (x86)\Microchip\xc32\v1.31\bin\xc32-gcc.exe” -g -x c -c -mprocessor=32MX795F512L -MMD -MF build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/1163846883/QPeek.o.d -o build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/1163846883/QPeek.o …/…/Common/Minimal/QPeek.c
nbproject/Makefile-H_CHIP_EXPLORER_16_PIC32MX795.mk:415: recipe for target ‘build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/1163846883/QPeek.o’ failed
“C:\Program Files (x86)\Microchip\xc32\v1.31\bin\xc32-gcc.exe” -g -x c -c -mprocessor=32MX795F512L -MMD -MF build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/1163846883/comtest.o.d -o build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/1163846883/comtest.o …/…/Common/Minimal/comtest.c
nbproject/Makefile-H_CHIP_EXPLORER_16_PIC32MX795.mk:403: recipe for target ‘build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/1163846883/comtest.o’ failed
“C:\Program Files (x86)\Microchip\xc32\v1.31\bin\xc32-gcc.exe” -g -x c -c -mprocessor=32MX795F512L -MMD -MF build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/1163846883/semtest.o.d -o build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/1163846883/semtest.o …/…/Common/Minimal/semtest.c
nbproject/Makefile-H_CHIP_EXPLORER_16_PIC32MX795.mk:409: recipe for target ‘build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/1163846883/semtest.o’ failed
“C:\Program Files (x86)\Microchip\xc32\v1.31\bin\xc32-gcc.exe” -g -x c -c -mprocessor=32MX795F512L -MMD -MF build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/1884096877/heap_4.o.d -o build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/1884096877/heap_4.o …/…/…/Source/portable/MemMang/heap_4.c
nbproject/Makefile-H_CHIP_EXPLORER_16_PIC32MX795.mk:391: recipe for target ‘build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/1884096877/heap_4.o’ failed
“C:\Program Files (x86)\Microchip\xc32\v1.31\bin\xc32-gcc.exe” -g -x c -c -mprocessor=32MX795F512L -MMD -MF build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/1163846883/blocktim.o.d -o build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/1163846883/blocktim.o …/…/Common/Minimal/blocktim.c
nbproject/Makefile-H_CHIP_EXPLORER_16_PIC32MX795.mk:397: recipe for target ‘build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/1163846883/blocktim.o’ failed
make[2]: Leaving directory ‘C:/NeuralogSourceCode/2010/Roll2Roll_COMPLETE.X/FreeRTOS/Demo/PIC32MX_MPLAB/Roll2RollPic32-COMPLETE.X’
nbproject/Makefile-H_CHIP_EXPLORER_16_PIC32MX795.mk:84: recipe for target ‘.build-conf’ failed
make[1]: Leaving directory ‘C:/NeuralogSourceCode/2010/Roll2Roll_COMPLETE.X/FreeRTOS/Demo/PIC32MX_MPLAB/Roll2RollPic32-COMPLETE.X’
nbproject/Makefile-impl.mk:39: recipe for target ‘.build-impl’ failed
…/…/Common/Minimal/semtest.c:97:22: fatal error: FreeRTOS.h: No such file or directory
compilation terminated.
make[2]: *** [build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/1163846883/QPeek.o] Error 1
…/…/…/Source/portable/MemMang/heap_4.c:85:22: fatal error: FreeRTOS.h: No such file or directory
compilation terminated.
make[2]: *** [build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/1163846883/comtest.o] Error 1
make[2]: *** [build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/1163846883/semtest.o] Error 1
…/…/Common/Minimal/blocktim.c:77:22: fatal error: FreeRTOS.h: No such file or directory
compilation terminated.
make[2]: *** [build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/1884096877/heap_4.o] Error 1
make[2]: *** [build/H_CHIP_EXPLORER_16_PIC32MX795/production/_ext/1163846883/blocktim.o] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 1s)

davedoors wrote on Tuesday, October 18, 2016:

FreeRTOS.h: No such file or directory

This error is repeated in the compiler output, which is clear, it cant compile because it cant find a included header file. If the compiler cant find a header file you need to tell it where it is.