pico]OS for MS Windows Operating Systems

This port enables pico]OS to run on top of the MS Windows 32 Bit operating systems. The prefered operating system is Windows XP, but also the older versions (down to Windows 95) are supported.

This port is based on Windows threads, but it supports the full pico]OS scheduling scheme. This does not mean that the port turns MS Windows into a realtime operating system! MS Windows is not, and will never be a realtime operating system. This port is thought to help you developing and testing your pico]OS application, maybe by use of the MS Visual C++ compiler and debugger.

This port supports console I/O for the nano layer.


The port can be compiled with MS Visual C++ version 6 or newer or with GCC from the MinGW package. You can download MinGW at sourceforge.

Debugging pico]OS with MS Visual Studio

The debugging of a pico]OS application with the integrated Visual Studio IDE is realy easy:

  1. Start the MS Visual Studio IDE.

  2. Create a new project, click on File->New..., click on tab Project, and mark "Win32 console application" (the last entry in the list). Choose a project name, and a place to store the project. I prefer a place in the picoos directory tree.

  3. If the new (and still empty) project is create, please press ALT+F7, choose the tab "linker", and set the output path (the path to the executable and the filename) as follows (example): C:/picoos-0.9.1/out/x86w32/deb/test.exe

  4. Even you do not need it, you may now add some source files to the project (this is usefull to set breakpoints):

    • picoos-x.x.x/examples/*.c
    • picoos-x.x.x/inc/*.h
    • picoos-x.x.x/src/nano/*.c
    • picoos-x.x.x/src/pico/*.c
    • picoos-x.x.x/src/ports/x86w32/*.c

  5. To start the program in the context of the debugger, press F5. The IDE will ask you to recompile the project. Please select "NO".

  6. The program is running in the context of the debugger. Now you can debug the program as usual.