MCBSTR7 User's Guide

RTX RTOS Example

The RL-ARM Real-Time Library provides a software foundation for embedded applications. It contains the following components:

  • RTL-RTX RTL-RTX is a full-featured kernel with task priorities, round-robin, preemptive context switching, and support for multiple instances of the same task function. Use this Real-Time Operating System to manage several jobs (tasks) on a single CPU.
  • RTL-FILE: Use the Flash File System to create, save, read and modify files stored on a standard Flash memory device.
  • RTL-TCP/IP: Protocol Stack Suite is a ground-up implementation specifically designed for embedded applications. Use it to create TCP/IP solutions that connect to standard internet browsers.
  • RTL-CAN: The CAN driver for STR7xx devices is based on the RTX Kernel. Use this driver to build Controller Area Network applications.

RTX Kernel Library

The MDK-ARM includes an RTX Kernel library with an example application in the folder ..\ARM\BOARDS\ST\STR710\RTX_BLINKY.

The BLINKY application uses the RTX configuration file ..\ARM\STARTUP\ST\RTX_CONF_STR71X.c to create tasks that demonstrate RTOS features.

Review the task status using the µVision dialog Peripherals - RTX Kernel:

Advanced ARTX Peripheral Dialog

Use the µVision dialog Peripherals - I/O Ports - Port2 to review the port pins output:

Port 2 I/O Port Peripheral Dialog