Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




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 ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists