Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

porting FreeRTOS app from PIC32MX795F512L to PIC32MX795F512H. Getting errors.

Posted by roujesky on October 18, 2016

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)


porting FreeRTOS app from PIC32MX795F512L to PIC32MX795F512H. Getting errors.

Posted by davedoors on 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.


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner