ChibiOS-Contrib/demos/STM32/RT-STM32F429-DISCOVERY-TRIBUF
Fabien Poussin 2268395124 Updated all halconf/chconf headers 2020-04-08 00:35:16 +02:00
..
debug Updated Makefiles for STM32 according to 2016-04-23 20:27:12 +03:00
.cproject Updated Makefiles for STM32 according to 2016-04-23 20:27:12 +03:00
.gitignore Added HW demo for triple buffer [WIP] 2015-07-05 22:47:27 +02:00
.project Updated Makefiles for STM32 according to 2016-04-23 20:27:12 +03:00
Makefile Updating osal.mk path 2020-04-04 18:30:52 +02:00
chconf.h Updated all halconf/chconf headers 2020-04-08 00:35:16 +02:00
halconf.h Updated all halconf/chconf headers 2020-04-08 00:35:16 +02:00
halconf_community.h Updating halconf_community.h for demos/testhal 2019-10-30 13:35:59 +01:00
main.c demos: stm32: update to latest ChibiOS API 2018-03-12 21:20:41 +01:00
mcuconf.h Fixed STM32 demos 2019-10-02 10:47:02 +02:00
mcuconf_community.h fix warnings in STM32 projects because of missing configs 2016-05-01 03:28:40 +02:00
readme.txt Added descriptions and code simplified 2015-07-08 21:57:53 +02:00
usbcfg.c demos: stm32: update to latest ChibiOS API 2018-03-12 21:20:41 +01:00
usbcfg.h demos: stm32: update to latest ChibiOS API 2018-03-12 21:20:41 +01:00

readme.txt

*****************************************************************************
** ChibiOS/RT port for ARM-Cortex-M4 STM32F429.                            **
*****************************************************************************

** TARGET **

The demo runs on an ST STM32F429I-Discovery board.

** The Demo **

This demo shows how to use a triple buffer handler, with one writer thread and
one reader thread.
The writer thread puts a character into the current back buffer, thus swapping
the back buffer with the orphan buffer for a new write. The writer then sleeps
for a specified delay in milliseconds.
The reader thread gets waits (if there is a timeout) until the orphan buffer
contains available data, becoming the new front buffer. The character is read
from the new front buffer and printed. The reader then sleeps for a specified
delay in milliseconds.
A simple command shell is activated on virtual serial port SD1 or SDU1.
Via command line it is possible to start, stop, set the delay, and set the
thread priority of the reader and writer threads.
The reader can also be assigned a wait timeout in milliseconds, with special
cases of "*" for infinite timeout, and "-" (or 0 ms) for none.

** Build Procedure **

The demo has been tested by using the free GNU Tools ARM Embedded toolchain
and ChibiStudio. Just modify the TRGT line in the makefile in order to use
different GCC toolchains.