How To Setup the FreeRTOS Project in Visual Studio Community
Note: Visual Studio Community was called Visual Studio Express prior to 2017. The same HowTo guide is also valid for
Visual Studio Express 2015.
1) Download the project from the Coursera webpage.
2) Extract the zip file on your computer
3) You should now have a folder called FreeRTOSv10.x.x
4) Download and install Visual Studio Community (VS) from https://www.visualstudio.com/downloads/
5) Start VS
6) Choose “File” and then “Open Project” according to Figure 1.
Figure 1
Now to open your project look at Figure 2:
1) Navigate to the path of the project
2) Go to the folder “FreeRTOS”
3) Go to the folder “Demo”
4) Go to the folder “WIN32-MSVC”
5) Choose the file “WIN32.vcxproj”
6) Click “Open”
For Internal Use Only
In VS the left pane contains the source files of the project. In this case .c source files.
The middle and right pane contains the currently opened source file
Figure 3 the project select
To build
To build your project select “Build” from the menu and then select “Build Solution” as seen in Figure 4.
For Internal Use Only
Figure 4
For Internal Use Only
When the project is successfully built select “Debug” from the menu and then select “Start Debugging”.
There should now appear a console window which outputs your printf() statements from the program.
To stop the execution, simply close the console window.
Figure 5
For Internal Use Only
How To Setup the FreeRTOS Project in Eclipse C++ Mars
It is also possible to use the Eclipse C++ studio for this project. In our example we used the Mars version with Java SE
Development Kit 8. To use Eclipse please follow the following steps:
1) Download the project from the Coursera webpage
2) Extract the zip file on your computer
3) You should now have a folder called FreeRTOSv10.x.x
4) Download and install Eclipse from https://eclipse.org/downloads/
5) Download and update your Java runtime in case it is out of date
6) Start Eclipse and choose “File” and “Import” as seen in Figure 6
7) Choose “Existing Projects into Workspace” as seen in Figure 7
Figure 7
Figure 6
For Internal Use Only
You should now see a dialog window similar to Figure 8. Click “Finish” to import the project.
Then build your project from the “Project” menu in Figure 9.
After this you can run the project from the “Run” menu
and then with “Run”.
Figure 8
Figure 9
For Internal Use Only