These are quite comprehensive demos. Simpler code snippets can be found on the quick examples page, and on most of the FreeRTOS+IO and FreeRTOS+CLI documentation pages. Additional complete projects that are smaller, and projects that run in the FreeRTOS Windows simulator, will be provided in due course.
These demos use the standard FreeRTOS Cortex-M3 GCC port. It is important that users wishing to use this port without FreeRTOS+IO first consult the port documentation to gain an understanding of the interrupt configuration settings required to use the FreeRTOS interrupt nesting model. The FAQ that documents the most common mistakes made when using a multitasking kernel on a Cortex-M device is a good place to start.
On this page:
Relevant Jumper ConfigurationJumpers must be set correctly! Relevant jumper settings are pictured below.
|
In this demo, FreeRTOS+CLI and FreeRTOS+IO are used
to create the following examples:
|
Relevant Jumper ConfigurationJumpers must be set correctly! Relevant jumper settings are pictured below. Note the settings in the first picture are different to those shown for Demo 1!
|
In this demo, FreeRTOS+CLI, FreeRTOS+IO,
lwIP
and FatFS
are used to create the following examples. NOTE: An SD card
must be inserted for this demo to run!.
|
The dialogue box will list a number of project files. Ensure all the projects are selected, then click finish. The import process will attempt to create some files more than once - resulting in a dialogue box being displayed that warns of the potential for files to be overwritten. When this happens, simply select the "No to all" option.
Likewise, to build project 2, select "FreeRTOS-Plus-Demo-2" in the project window before selecting "Build Project" from the IDE "Project" menu.
| Project | Description |
| CMSISv2p00_LPC17xx | This is the standard CMSIS library provided by NXP for the LPC17xx family of microcontrollers. |
| lpc17xx.cmsis.driver.library | This is the peripheral driver library provided by NXP for the LPC17xx family of microcontrollers. It is used, in part, by the FreeRTOS+IO LPC17xx port layer. It contains very few modifications from the code distributed by NXP themselves. |
| FreeRTOS-Products | This contains the FreeRTOS real time kernel, FreeRTOS+CLI and FreeRTOS+IO code, organised into three separate respective directories. Note that this project is not actually built directly - the source code it contains is just referenced by the two demo application projects. The demo projects reference the files using workspace relative paths - which is why the projects will only build when they are located in the workspace directory. |
| FreeRTOS-Plus-Demo-1 | This project contains the demo 1 application code itself - which in turn uses source files from the FreeRTOS-Products directories. |
| FreeRTOS-Plus-Demo-2 | This project contains the demo 2 application code itself, including the FatFS and lwIP source files. The project also uses source files from the FreeRTOS-Products directories. |
lwIP and FatFS are third party open source products, supplied under their own license terms.