This example implements the Blinky sample application on the EFM32-SLSTK3401A board (ARM Cortex-M4F).
EFM32-SLSTK3401A board
The Blinky example is located in the directory qpc/examples/arm-cm/blinky_efm32-slstk3401a, which is organized as follows:
qpn/ - QP-nano installation directory
+-examples/ - QP-nano examples directory (application)
| +-arm-cm/ - QP-nano examples for ARM Cortex-M
| | +-blinky_efm32-slstk3401a/ - Blinky example on the EFM32-SLSTK3401A board
| | | +-qk/ - QK version
| | | | +-arm/ - ARM-KEIL toolchain
| | | | | +-blinky-qk.uvprojx - uVision project
| | | | +-gnu/ - GNU-ARM toolchain
| | | | | +-Makefile - Makefile for building the project
| | | | +-iar/ - IAR-ARM toolchain
| | | | | +-blinky-qk.eww - IAR EW-ARM workspace
| | | | +-bsp.c - BSP for the QK-nano kernel
| | | +-qv/ - QV version
| | | | +-arm/ - ARM-KEIL toolchain
| | | | | +-blinky-qk.uvprojx - uVision project
| | | | +-gnu/ - GNU-ARM toolchain
| | | | | +-Makefile - Makefile for building the project with GNU-ARM
| | | | +-iar/ - IAR-ARM toolchain
| | | | | +-blinky-qk.eww - IAR EW-ARM workspace
| | | | +-bsp.c - BSP for the QV-nano kernel
| | | +-workstation/ - Examples for workstations (Windows, Linux, MacOS)
| | | | +-Makefile - Makefile for building the project with MinGW
| | | | +-bsp.c - BSP for workstations
Features Demonstrated
- cooperative QV-nano kernel
- with ARM-KEIL toolchain
- with GNU-ARM toolchain
- with IAR-ARM toolchain
- preemptive run-to-completion QK-nano kernel
- with ARM-KEIL toolchain
- with GNU-ARM toolchain
- with IAR-ARM toolchain
- Windows emulation (console, single threaded: win32-qv)
Running the Example
Once programmed into the board, the example blinks the on-board LED about once a second.
Windows Emulation
The Windows emulation is a simple console application that produces the following output:
Blinky emulation running in a Windows console
DPP on EK-TM4C123GXL