FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [October 2016 Threads]
Using MPLABX 3.30.
I am porting my FreeRTOS application from PIC32MX795F512L to PIC32MX795F512H.
I duplicated my EXPLORER16PIC32MX795 configuration and called it HCHIPExplorer16PIC32MX795. In HCHIPExplorer16PIC32MX795 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-HCHIPEXPLORER16PIC32MX795.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/NeuralogSourceCode/2010/Roll2RollCOMPLETE.X/FreeRTOS/Demo/PIC32MXMPLAB/Roll2RollPic32-COMPLETE.X'
make -f nbproject/Makefile-HCHIPEXPLORER16PIC32MX795.mk dist/HCHIPEXPLORER16PIC32MX795/production/Roll2RollPic32-COMPLETE.X.production.hex
make[2]: Entering directory 'C:/NeuralogSourceCode/2010/Roll2RollCOMPLETE.X/FreeRTOS/Demo/PIC32MXMPLAB/Roll2RollPic32-COMPLETE.X'
../../../Source/portable/MPLAB/PIC32MX/port.c:79:22: fatal error: FreeRTOS.h: No such file or directory
"C:Program Files (x86)Microchipxc32v1.31binxc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -MMD -MF build/HCHIPEXPLORER16PIC32MX795/production/ext/332309696/port.o.d -o build/HCHIPEXPLORER16PIC32MX795/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)Microchipxc32v1.31binxc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -MMD -MF build/HCHIPEXPLORER16PIC32MX795/production/ext/449926602/queue.o.d -o build/HCHIPEXPLORER16PIC32MX795/production/ext/449926602/queue.o ../../../Source/queue.c
nbproject/Makefile-HCHIPEXPLORER16PIC32MX795.mk:361: recipe for target 'build/HCHIPEXPLORER16PIC32MX795/production/ext/332309696/port.o' failed
nbproject/Makefile-HCHIPEXPLORER16PIC32MX795.mk:367: recipe for target 'build/HCHIPEXPLORER16PIC32MX795/production/ext/449926602/queue.o' failed
"C:Program Files (x86)Microchipxc32v1.31binxc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -MMD -MF build/HCHIPEXPLORER16PIC32MX795/production/ext/449926602/tasks.o.d -o build/HCHIPEXPLORER16PIC32MX795/production/ext/449926602/tasks.o ../../../Source/tasks.c
nbproject/Makefile-HCHIPEXPLORER16PIC32MX795.mk:373: recipe for target 'build/HCHIPEXPLORER16PIC32MX795/production/ext/449926602/tasks.o' failed
"C:Program Files (x86)Microchipxc32v1.31binxc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -MMD -MF build/HCHIPEXPLORER16PIC32MX795/production/ext/449926602/timers.o.d -o build/HCHIPEXPLORER16PIC32MX795/production/ext/449926602/timers.o ../../../Source/timers.c
"C:Program Files (x86)Microchipxc32v1.31binxc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -MMD -MF build/HCHIPEXPLORER16PIC32MX795/production/ext/449926602/list.o.d -o build/HCHIPEXPLORER16PIC32MX795/production/ext/449926602/list.o ../../../Source/list.c
nbproject/Makefile-HCHIPEXPLORER16PIC32MX795.mk:379: recipe for target 'build/HCHIPEXPLORER16PIC32MX795/production/ext/449926602/list.o' failed
nbproject/Makefile-HCHIPEXPLORER16PIC32MX795.mk:385: recipe for target 'build/HCHIPEXPLORER16PIC32MX795/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/HCHIPEXPLORER16PIC32MX795/production/ext/332309696/port.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [build/HCHIPEXPLORER16PIC32MX795/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/HCHIPEXPLORER16PIC32MX795/production/ext/449926602/tasks.o] Error 1
make[2]: *** [build/HCHIPEXPLORER16PIC32MX795/production/ext/449926602/list.o] Error 1
make[2]: *** [build/HCHIPEXPLORER16PIC32MX795/production/ext/449926602/timers.o] Error 1
In file included from ../../../Source/portable/MPLAB/PIC32MX/portasm.S:72:0:
../../../Source/portable/MPLAB/PIC32MX/ISRSupport.h:70:28: fatal error: FreeRTOSConfig.h: No such file or directory
compilation terminated.
"C:Program Files (x86)Microchipxc32v1.31binxc32-gcc.exe" -c -mprocessor=32MX795F512L -MMD -MF build/HCHIPEXPLORER16PIC32MX795/production/ext/332309696/portasm.o.d -o build/HCHIPEXPLORER16PIC32MX795/production/ext/332309696/portasm.o ../../../Source/portable/MPLAB/PIC32MX/portasm.S -Wa,--defsym=__MPLABBUILD=1,-MD=build/HCHIPEXPLORER16PIC32MX795/production/ext/332309696/portasm.o.asm.d,--gdwarf-2
nbproject/Makefile-HCHIPEXPLORER16PIC32MX795.mk:134: recipe for target 'build/HCHIPEXPLORER16PIC32MX795/production/ext/332309696/portasm.o' failed
make[2]: *** [build/HCHIPEXPLORER16PIC32MX795/production/ext/332309696/portasm.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)Microchipxc32v1.31binxc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -MMD -MF build/HCHIPEXPLORER16PIC32MX795/production/ext/1163846883/QPeek.o.d -o build/HCHIPEXPLORER16PIC32MX795/production/ext/1163846883/QPeek.o ../../Common/Minimal/QPeek.c
nbproject/Makefile-HCHIPEXPLORER16PIC32MX795.mk:415: recipe for target 'build/HCHIPEXPLORER16PIC32MX795/production/ext/1163846883/QPeek.o' failed
"C:Program Files (x86)Microchipxc32v1.31binxc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -MMD -MF build/HCHIPEXPLORER16PIC32MX795/production/ext/1163846883/comtest.o.d -o build/HCHIPEXPLORER16PIC32MX795/production/ext/1163846883/comtest.o ../../Common/Minimal/comtest.c
nbproject/Makefile-HCHIPEXPLORER16PIC32MX795.mk:403: recipe for target 'build/HCHIPEXPLORER16PIC32MX795/production/ext/1163846883/comtest.o' failed
"C:Program Files (x86)Microchipxc32v1.31binxc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -MMD -MF build/HCHIPEXPLORER16PIC32MX795/production/ext/1163846883/semtest.o.d -o build/HCHIPEXPLORER16PIC32MX795/production/ext/1163846883/semtest.o ../../Common/Minimal/semtest.c
nbproject/Makefile-HCHIPEXPLORER16PIC32MX795.mk:409: recipe for target 'build/HCHIPEXPLORER16PIC32MX795/production/ext/1163846883/semtest.o' failed
"C:Program Files (x86)Microchipxc32v1.31binxc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -MMD -MF build/HCHIPEXPLORER16PIC32MX795/production/ext/1884096877/heap4.o.d -o build/HCHIPEXPLORER16PIC32MX795/production/ext/1884096877/heap4.o ../../../Source/portable/MemMang/heap4.c
nbproject/Makefile-HCHIPEXPLORER16PIC32MX795.mk:391: recipe for target 'build/HCHIPEXPLORER16PIC32MX795/production/ext/1884096877/heap4.o' failed
"C:Program Files (x86)Microchipxc32v1.31binxc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -MMD -MF build/HCHIPEXPLORER16PIC32MX795/production/ext/1163846883/blocktim.o.d -o build/HCHIPEXPLORER16PIC32MX795/production/ext/1163846883/blocktim.o ../../Common/Minimal/blocktim.c
nbproject/Makefile-HCHIPEXPLORER16PIC32MX795.mk:397: recipe for target 'build/HCHIPEXPLORER16PIC32MX795/production/ext/1163846883/blocktim.o' failed
make[2]: Leaving directory 'C:/NeuralogSourceCode/2010/Roll2RollCOMPLETE.X/FreeRTOS/Demo/PIC32MXMPLAB/Roll2RollPic32-COMPLETE.X'
nbproject/Makefile-HCHIPEXPLORER16PIC32MX795.mk:84: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/NeuralogSourceCode/2010/Roll2RollCOMPLETE.X/FreeRTOS/Demo/PIC32MXMPLAB/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/HCHIPEXPLORER16PIC32MX795/production/ext/1163846883/QPeek.o] Error 1
../../../Source/portable/MemMang/heap4.c:85:22: fatal error: FreeRTOS.h: No such file or directory
compilation terminated.
make[2]: *** [build/HCHIPEXPLORER16PIC32MX795/production/ext/1163846883/comtest.o] Error 1
make[2]: *** [build/HCHIPEXPLORER16PIC32MX795/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/HCHIPEXPLORER16PIC32MX795/production/ext/1884096877/heap4.o] Error 1
make[2]: *** [build/HCHIPEXPLORER16PIC32MX795/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)
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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.