C Training example

Introduction

This is a simple example used for C training. It uses the BSP to flash LEDs on and off when timer interrupts occur. This will attempt to open all the timers, but fail for two of them. One timer is used for LightOS, the other timer is used for the ethernet driver.

Building the example

Change directory to the basic c training example
    cd %LF_HOME%\examples\c_training

Rebuild the application
    lfmake clean all

Running the example

To run the example in the simulator
    lf2debug sw c_training.lfa

To run the example on the board
    lfdownload c_training.bin

Features

This example demonstrates the following SDK features.