AnsweredAssumed Answered

RTOS demo for STM32F4-Discovery

Question asked by Giovanni Di Sirio on Nov 27, 2011
Latest reply on Nov 30, 2011 by Giovanni Di Sirio
Hi,

Starting from version 2.3.4 ChibiOS/RT includes full support for the STM32F4 and a full demo for the STM32F4-Discovery board.

The demo guide is available here: Getting started with the STM32F4-Discovery board and ChibiOS/RT

The application demonstrates the use of the following components:
       
  •     Cortex-M4 startup support.
  •    
  •    
    Linker scripts for STM32F4.
       
  •    
  •    
    STM32F4-Discovery specific board files.
       
  •    
  •    
    RTOS kernel for multi-threading and synchronization.
       
  •    
  •    
    HAL driver for the STM32F4 platform initialization (clock tree).
       
  •    
  •    
    PAL driver (I/O ports abstraction).
       
  •    
  •    
    DMA driver (shared DMA abstractor helper driver).
       
  •    
  •    
    ADC driver in DMA mode.
       
  •    
  •    
    SPI driver in DMA mode.
       
  •    
  •    
    PWM driver.
       
  •    
  •    
    Interrupt driven serial driver.
       
  •    
  •    
    Test Suite for self test and reporting.
       
  •    
  • Build files for GCC, IAR and Keil compilers.
Similar demos are also available for the STM8S-Discovery, STM8L-Discovery, STM32VL-Discovery and STM32L-Discovery.

The STM32F4 is pretty impressive, for example the context switch benchmark resulted in a 390nS context switch time. More benchmark results are available here:
http://www.chibios.org/dokuwiki/doku.php?id=chibios:metrics#latest_test_reports

Giovanni
---
ChibiOS/RT free embedded RTOS

Outcomes