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


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