#arm #template #cortex-m

no-std stm32f407g-disc

Board support crate for the STM32F407G DISCOVERY microcontroller board

7 unstable releases

0.4.1 Apr 20, 2021
0.4.0 Dec 28, 2019
0.3.0 Apr 27, 2019
0.2.0 Mar 17, 2019
0.1.1 Oct 12, 2018

#1848 in Embedded development

28 downloads per month

0BSD license

13KB
233 lines

stm32f407g-disc

stm32f407g-disc contains a basic board support package for the STM32F407G-DISC microcontroller board (also known as STM32F4DISCOVERY, but easy to confuse with other STM32F4 discovery boards which also exist) to write firmwares using the Rust language. This experimentation board features multiple user programmable LEDs an accelerometer, an audio DAC with amplified, a microphone jack, a microphone and a user programmable USB connector. A shield with breakout for Ethernet, RS232 serial port, SD-Card reader, and LCD connector is also available.

It also contains a (non-removable) capable ST-Link V2 debugging interface.

Programming

Several methods for programming exist. If the ST-Link on your board has a recent firmware (can be updated e.g. via ST-LINK utility), we recomend the use of cargo-embed:

cargo embed --example=mems

(cargo embed doesn't support ITM at the moment.)

Otherwise this repo also contains config files for OpenOCD.

License

0-clause BSD license.

Dependencies

~54MB
~1.5M SLoC