BSP Configuration Example
Introduction
This example demonstrates how to use the BSP and support multple
platforms from the one configuration file. The configuration file (config.xml)
demonstrates how to configure a number of features such as diagnostics,
installed devices and provide constants for the application.
The example starts a number of threads, the exact number is controlled
by the configuration file. Each thread opens a timer and processes
messages from the timer send to a message queue.
Building the example
Change directory to the bsp configuration example
cd %LF_HOME%\examples\bsp_configuration
Rebuild the application
lfmake clean all
Running the example
To run the example in the simulator
lf2debug sw bsp_configuration.lfa
To run the example on the board
lfdownload bsp_configuration.bin
Features
This example demonstrates the following SDK features.