Quality RTOS & Embedded Software

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


FreeRTOS project on Windows 7

Posted by prabhuvd on August 13, 2014

Has any one built the project(FreeRTOSv8.0.1FreeRTOSDemoWIN32-MingW) successfully on windows 7 ?

** My Environment: ** I'm using Eclipse Kepler and MinGW compiler (gcc (GCC) 4.8.1)

I get the build error ** "FreeRTOSDemoPC/FreeRTOSConfig.h:69:17: fatal error: i86.h: No such file or directory" **

Appreciate your help in advance.

FreeRTOS project on Windows 7

Posted by rtel on August 13, 2014

I can build it on Windows 7 without any problems using GCC 4.8.1, but my FreeRTOSConfig.h is not including i86.h (or any other header file for that matter). Did you modify the anything (project files, source files, directory structure, anything) from the main FreeRTOS .zip file before you tried building? Did you follow the documentation page for that demo on how to import the project into Eclipse?


FreeRTOS project on Windows 7

Posted by prabhuvd on August 13, 2014

You're right , the FreeRTOSConfg.h in the project does not refere to **i86.h ** but during the building it picks the FreeRTOSConfg.h from project "PC" .Attached the building below. Please help.

Here is some additional details. Version: Kepler Release Build id: 20130614-0229

Downloaded FreeRTOS from https://sourceforge.net/projects/freertos/FreeRTOSv8.0.1.exe FreeRTOS version : FreeRTOSv8.0.1 GCC 4.8.1

Steps followed to import Eclipse

  • Select 'Import' from the Eclipse 'File' menu.
  • In the dialogue box, select 'General | Existing Projects Into Workspace'. . *Selected FreeRTOS/Demo/WIN32-MingW as the directory and this brings up RTOSDemo, which is the project that i imported.

Build Log :

Info: Internal Builder is used for build gcc "-IC:\WA\Eclipse\FreeRtos\FreeRTOSv8.0.1\FreeRTOS\Source\include" "-IC:\WA\Eclipse\FreeRtos\FreeRTOSv8.0.1\FreeRTOS-Plus\Source\FreeRTOS-Plus-Trace\Include" "-IC:\WA\Eclipse\FreeRtos\FreeRTOSv8.0.1\FreeRTOS\Demo\PC" -O2 -g -Wall -c -fmessage-length=0 -o "FreeRTOS_Source\croutine.o" "..\..\..\Source\croutine.c" In file included from C:WAEclipseFreeRtosFreeRTOSv8.0.1FreeRTOSSourceinclude/FreeRTOS.h:97:0, from ......Sourcecroutine.c:66: C:WAEclipseFreeRtosFreeRTOSv8.0.1FreeRTOSDemoPC/FreeRTOSConfig.h:69:17: fatal error: i86.h: No such file or directory #include ^

FreeRTOS project on Windows 7

Posted by rtel on August 13, 2014

...and you are sure the files are unmodified from those in a fresh FreeRTOS installation, because I I don't think the Eclipse project settings are set to use -O2 in the command line, but that is what is shown in your build log.

I suspect your FREERTOS_ROOT variable is pointing to the wrong place. When you imported the project, did you have the "copy project into workspace" check box checked? If so, can you try again with a clean unzip of FreeRTOS and import with the check box unchecked.

If you still have a problem please post a screen shot of the project in Eclipse with the FreeRTOS Source code visible (expanded) in the project explorer - as per the attachement to this post which shows how it should look.



FreeRTOS project on Windows 7

Posted by prabhuvd on August 13, 2014

Thanks a lot !

FREERTOS_ROOT was pointing to a folder one level up ..!! huh ! It works perfectly fine now ..

[ 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