FreeRTOS as Simulation on PC

Hello list, My simple question is: "Is it possible to "emulate" FreeRTOS or its API in a pc, running another OS (i.e.: Windows and/or Linux)?" My goal is developing on a standard x86 PC running Windows/Linux (just to cut down the developing costs and time), then simply cross-compile all stuff to my embedded board. Obviously I don’t want "Real Time Features" in this environment, just all OS-calls just to check the correctness of my software. Hint: I was thinking about SDL (libSDL) and its thread’s utilities just to make all stuff cross-platform (from Windows to Linux and vice versa) and hopefully easily enough to debug. Best regards, Gianluca

FreeRTOS as Simulation on PC

I have a project sent to me by a third party that allows non-real time use under Windoze.  It looks very interesting although I have not had time to play with it myself yet.  If you are interested I can send you a copy (email me on r _dot_ barry [at] freertos.org).  I have also seem people use Qemu for both ARM7 and Cortex M3, but this tends to be a bit buggy. Some compiler vendors have simulators too, although I find these of less interest as developing on real hardware is quick and easy these days.  For example, you can use a low cost Luminary Micro board and all you need is a USB cable. Regards.

FreeRTOS as Simulation on PC

I have an example of a emulated freertos posted up here http://pureengineering.pbwiki.com/SkyEye When I get some more time, I’ll post up an updated one that runs freertos5. Also there is instead of a true emulation, building a mapping of all the freertos calls to get remapped to posix pthreads and queues. I have done this for testing a system before getting hardware. 

FreeRTOS as Simulation on PC

SASHIONO: > Also there is instead of a true emulation, building a mapping of all the freertos calls to get remapped to posix > pthreads and queues. I have done this for testing a system before getting hardware. That’s what we are looking for! So far, our data logger application is running on ARM Cortex M3 with touchscreen b/w lcd -and- Windows/Linux and SDL library sharing the same application code. This is a terrific value as the user can read data and change the setups (stored on a SD card) using the same interface. Now it’s time to add RTOS functionality to the system, and we would keep the same ease of use and development. So please can you send us the code you use before getting the real hardware? Here is my e-mail: gianlucarenzi [at] eurekelettronica.it RICHARD: > I have a project sent to me by a third party that allows non-real time use under Windoze. We would be glade to you, if you can send us this project. I will write to your account directly for this. Best regards, Gianluca Renzi