Getting Started with Simple FreeRTOS Projects
[See also the Quick Start Guide and the hardware independent
starter functions provided.]
Simply Blinky Projects
The most recent FreeRTOS demos can be configured to build either a simple blinky starter
application, or a comprehensive test and demo application:
Simple blinky demos
Blinky demos are intended for beginners. They normally
create just two tasks, one
queue, and sometimes also a
Their functionality is contained in a single C source file called
Comprehensive demos demonstrate and test a lot of FreeRTOS features,
direct to task notifications,
queues, semaphores, recursive
semaphores, software timers,
and more. Comprehensive demos create a lot of tasks and use a lot
of API functions, so are not recommended for beginners.
Each official FreeRTOS project has its own documentation page.
The documentation page describes how to configure the project to build either
the simply blinky demo or the comprehensive demo, and describes the behaviour of
Note: A project that is configured to build a simply blinky demo will still
build all the source files used by the comprehensive demo, even though the simply
blinky functionality is contained within the single main_blinky.c source file.
Refer to the Source Code Organisation and
Creating a New FreeRTOS Project
pages for a description of the RTOS and demo application source files.
Try It Now, Using the Windows Port
No hardware yet? Don't worry - you can run a simple blinky demo in a Windows
environment using free tools and the FreeRTOS Windows port, although the FreeRTOS
Windows port will not exhibit true real time behaviour.
If you are a beginner, then don't read the
main documentation page for the Windows demo
yet, or pay any attention to the comprehensive demo that can be built by the same
project (the comprehensive demo for the Windows port is very comprehensive
as it is used as a development and test platform!) - just start by using the
simple instructions below:
If you don't already have it installed, download and install the
free version of Microsoft Visual Studio.
If you have not done so already, download
and unzip the official FreeRTOS distribution.
Start Visual Studio, then use the File|Open|Project/Solution menu item
to open the Win32.sln solution file, which is located in the
FreeRTOS/Demo/WIN32-MSVC directory of the official FreeRTOS
Find the definition of mainCREATE_SIMPLE_BLINKY_DEMO_ONLY at the top of
main.c, and make sure it is set to 1.
Read the comments at the top of main_blinky.c, before compiling and then
either debugging or running the application.
The output produced by the FreeRTOS Windows port simple blinky demo
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.