Simulation of FreeRTOS on windows XP

child4 wrote on Monday, August 09, 2010:

I want to simulate MultiTasking environment on my PC (with windows XP and over AMD Athlon dual core),
I have read the documentation on the “” site, and I’m a little bit confused from the explanation there.

I tried to compile the project of  “Demo\PC” directory, after downloading the zip file of version 6.0.5 of FreeRTOS.
The compilation was failed.

I tried to create new project with the same files and definitions of the existing project,
but I’ve realized that it was impossible, since there are some definitions that I couldn’t find in open watcom (version 1.8)

1. Is that directory (Demo\PC) what I need in order to do such simulation?
2.  In case that the Demo\PC is the correct directory I need,
      What should be the watcom definitions for:
     * memory model,
     * target processor,
     * Linker system  ?
Thank you.

edwards3 wrote on Monday, August 09, 2010:

The Demo/PC directory contains an Open Watcom project that should contain everything you need, so all you have to do is open the project. Make sure you have the 16bit version of the Open Watcom tools installed though, it is an option during the installation process.

child4 wrote on Monday, August 09, 2010:

You are right. The 16-bit option was not checked, when I installed the watcom. I installed   it again, and now it can be compiled.

I assume that your answer for my first question is: ‘Yes’, meaning that this is the way for simulating RT embedded environment
on my PC…? (I haven’t yet looked deeply inside the tasks code)


edwards3 wrote on Monday, August 09, 2010:

The Watcom port is a real mode emulation. Not real real time, but no windows simulation will be real real time. See also

You can also run Keil ARM demos in the Keil simulator on a PC.