Quality RTOS & Embedded Software

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


pic.h No such file or directory

Posted by nschowdh on March 30, 2017

I was trying to compile an application file that you have in Demo directory and getting "pic.h: No such file or directory".

What is the the functionality of pic.h? I couldn't find this file in code repository.

pic.h No such file or directory

Posted by rtel on March 30, 2017


Can you share which application you were trying to build?

pic.h No such file or directory

Posted by nschowdh on March 31, 2017

**portmacro.h:87:17: pic.h: No such file or directory **


pic.h No such file or directory

Posted by rtel on March 31, 2017

This is frustrating, I'm replying a second time without really knowing what it is you are doing. http://www.freertos.org/FAQ-how-to-use-the-FreeRTOS-support-forum.html

Having scanned the entire code base I can find a reference to pic.h on a line 87, but in an obscure PIC18 port. I still don't know which port you are trying to use. You point to a file included in a demo for a Win32 port, but are complaining about a header file used in a pic18 port.

I'm going to guess one of the following:

1) You are trying to use a Win32 port but have the include paths set incorrectly, so are picking up a header file for a different port (the PIC18 port), or

2) You are trying to use the PIC18 port but are also trying to build a file intended for use with the Win32 demo

3) You are trying to build a PIC18 port with a compiler intended to build Windows executables.

[ 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.

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.


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


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