HackRF-Treasure-Chest/Software/portapack-mayhem/firmware/chibios/demos/ARMCM4-STM32F407-DISCOVERY
2022-09-22 09:26:57 -07:00
..
iar Add software 2022-09-22 09:26:57 -07:00
keil Add software 2022-09-22 09:26:57 -07:00
.cproject Add software 2022-09-22 09:26:57 -07:00
.project Add software 2022-09-22 09:26:57 -07:00
chconf.h Add software 2022-09-22 09:26:57 -07:00
halconf.h Add software 2022-09-22 09:26:57 -07:00
main.c Add software 2022-09-22 09:26:57 -07:00
Makefile Add software 2022-09-22 09:26:57 -07:00
mcuconf.h Add software 2022-09-22 09:26:57 -07:00
readme.txt Add software 2022-09-22 09:26:57 -07:00

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

** TARGET **

The demo runs on an ST STM32F4-Discovery board.

** The Demo **

The demo shows how to use the ADC, PWM and SPI drivers using asynchronous
APIs. The ADC samples two channels (temperature sensor and PC1) and modulates
the PWM using the sampled values. The sample data is also transmitted using
the SPI port 2 (NSS=PB12, SCK=PB13, MISO=PB14, MOSI=PB15).
By pressing the button located on the board the test procedure is activated
with output on the serial port SD2 (USART2).

** 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 toolchains.

** 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