From the course: IoT Foundations: Operating Systems Fundamentals

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Get started with FreeRTOS

Get started with FreeRTOS

From the course: IoT Foundations: Operating Systems Fundamentals

Start my 1-month free trial

Get started with FreeRTOS

- [Narrator] Let's see how to build your first FreeRTOS application running on Windows. In this example, we'll create two tasks named task one and task two and make them execute infinitely by repeatedly printing out some strings to the screen. Let's open the exercise file for this chapter. Then, open the Win32.sln solution file with the Visual Studio. Now, you'll see the project named WindowsExample on the right side solution explorer pan in Visual Studio. Expand the example source note and open the file named main_app.c which is the main program file we'll work on. Let's briefly look in the program as we'll have the similar program for the later exercises. Although some codes have self explanatory comments to help you understand the code, I kept a few comments from the FreeRTOS source code. In the lines two to three, we include the FreeRTOS kernel files where FreeRTOS.h is the required included file and the task.h is the header file for task management API functions what used in most…

Contents