/FreeRTOS_WindowsDemo

FreeRTOS Windows Port: It is for simulating on VS.

Primary LanguageCOtherNOASSERTION

FreeRTOS Windows Port

It is for simulating on Visual Studio.

Buildable CMakeLists.txt located on: BasicTemplate project here and another example here

How To:

  • If you want create yourself project you can refer to BasicTemplate project located here:
  • First of all clone this repo (FreeRTOS_WindowsDemo)
  • And then create your projects folder on inside ExamplesNExperiments folder ('FreeRTOS_WindowsDemo/ExamplesNExperiments').
  • Copy the mentioned BasicTemplate project files to your created folder.
  • Go to CMakeLists.txt file on your project folder.
  • Open file and edit the next lines (line 2 and 3) by specifying your projects name i.e. MyProjectForExample:
project(MyProjectForExample)
set(PROJ_NAME MyProjectForExample)
  • Save your edits and close file.
  • Then do next steps:
mkdir build
cd build
cmake ..
  • After successfully built project go to /build folder and open the "MyProjectForExample.sln" file.
  • After opening it on VS (not VS Code!) set the main project ("MyProjectForExample") as startup project. To do it open Solution Explorer window on VS and chose Set as Startup Project by clicking right mouse on MyProjectForExample in list. Now you can launch the VS debug.
    Note: Unfortunatly I've found some buggy moment on VS 2019 Debug Launch. It doesn't shows the consoles processes/writings after Debug start so to avoid it just do a few restarts of debugging.
    Note: CMSIS OS functions simulations testing in progress.