Quality RTOS & Embedded Software

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


Loading

MPLabX2.0 tons of errors, but still compiles and runs

Posted by roujesky on February 20, 2014

New to MPLabX, but use FreeRTOS alot.... Sounds like a MPLabX problem, but I think folks here could shed light on my problem easier than Microchip :) I get a lot of errors/warnings "Cannot find include file FreeRTOS.h" "Cannot find include file task.h"

yet compiles and runs just fine. Can someone shed light on this annoyance?

thanks so much!


MPLabX2.0 tons of errors, but still compiles and runs

Posted by rtel on February 20, 2014

Well if it compiles it must be able to find them when it needs to, so I'm afraid I have no idea as it is not something I have seen myself.

When do the errors show up? When you open the project, or when you build the project. If when you build the project then are they all shown before the compiler starts compiling or while it is compiling?

I have seen similar things with other systems where a dependency scanner which is either part of the compiler passes (unlikely in this case as it is GCC) or part of the editor (as it tries to find references to words it finds in the C files) goes a bit weird, but it does not effect the compiler itself.

Regards.


MPLabX2.0 tons of errors, but still compiles and runs

Posted by roujesky on February 20, 2014

the errors/warnings show up in the IDE as red circle with an exclamation mark in the middle. I attached a screenshot of the IDE.

thanks!!!

Attachments

RTOSError.jpg (325298 bytes)

MPLabX2.0 tons of errors, but still compiles and runs

Posted by edwards3 on February 20, 2014

If this is anything like Eclipse then the IDE is trying to parse the code in a dumb way and coming up with phoney errors. In Eclipse it can be turned off, don't know about MPLAB though.


MPLabX2.0 tons of errors, but still compiles and runs

Posted by roujesky on February 24, 2014

Does anyone know how to make MPLabX not so sensitive to these warnings/errors?

thanks!


MPLabX2.0 tons of errors, but still compiles and runs

Posted by rtel on February 25, 2014

You are more likely to get an answer to that on a Microchip forum.

Regards.


[ 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