Skip to content

Collection of FreeRTOS examples running on Posix threads

Notifications You must be signed in to change notification settings

snhobbs/FreeRTOS-on-Linux

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FreeRTOS on linux

NOTE Make sure to check out the official demos at https://github.com/FreeRTOS/FreeRTOS/tree/master/FreeRTOS/Demo.

Demo project useful as a starting point for building an emulated application using the FreeRTOS operating system on a posix system. Includes the FreeRTOS and freertos-addons repositories as submodules. The example main is the most bare bones example of two dynamically created tasks printing to screen when they're scheduled. More advanced examples can be found in the freertos-addons Linux demos.

Installing, Building, & Running

Install

Each of these has submodules so those have to be checkout out. To speed up time and reduce footprint, only the FreeRTOS/Source dir has to be initialized.

git clone https://github.com/snhobbs/FreeRTOS-on-Linux ./
cd FreeRTOS-on-Linux
git submodule update --init --recursive --depth=2

build & run basic example

cd examples/basic && mkdir build && cmake ../ && make
./freertos

Similar Projects

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%