2016-05-10 10:08:27 -07:00
|
|
|
*****************************************************************************
|
2016-05-12 09:56:39 -07:00
|
|
|
** ChibiOS/HAL + ChibiOS/EX - SPI + LIS302L demo for STM32F4xx. **
|
2016-05-10 10:08:27 -07:00
|
|
|
*****************************************************************************
|
|
|
|
|
|
|
|
** TARGET **
|
|
|
|
|
|
|
|
The demo runs on an STM32F407 Discovery board rev MB997B.
|
|
|
|
|
|
|
|
** The Demo **
|
|
|
|
|
|
|
|
The demo flashes the board LED using a thread, read data from LIS302L printing
|
|
|
|
it on a BaseSequentialStream (SDU1, mapped on USB virtual COM port).
|
|
|
|
|
|
|
|
** Build Procedure **
|
|
|
|
|
|
|
|
The demo has been tested by using the free Codesourcery GCC-based toolchain
|
|
|
|
and YAGARTO.
|
|
|
|
Just modify the TRGT line in the makefile in order to use different GCC ports.
|
|
|
|
|
|
|
|
** Notes **
|
|
|
|
|
|
|
|
Some files used by the demo are not part of ChibiOS/RT but are copyright of
|
|
|
|
ST Microelectronics and are licensed under a different license.
|
|
|
|
Also note that not all the files present in the ST library are distributed
|
|
|
|
with ChibiOS/RT, you can find the whole library on the ST web site:
|
|
|
|
|
|
|
|
http://www.st.com
|