#bsp #discovery #arm #stm32f3

no-std stm32f3-discovery

Board support package for the STM32F3DISCOVERY board

17 unstable releases (6 breaking)

0.7.2 Jul 6, 2021
0.6.1 Jun 16, 2021
0.6.0 Feb 8, 2021
0.5.0 Nov 25, 2020
0.4.0 Mar 21, 2020

#457 in Embedded development

Download history 119/week @ 2024-07-29 28/week @ 2024-08-05 89/week @ 2024-08-12 19/week @ 2024-08-19 37/week @ 2024-08-26 24/week @ 2024-09-02 15/week @ 2024-09-09 52/week @ 2024-09-16 104/week @ 2024-09-23 126/week @ 2024-09-30 65/week @ 2024-10-07 18/week @ 2024-10-14 90/week @ 2024-10-21 82/week @ 2024-10-28 22/week @ 2024-11-04 23/week @ 2024-11-11

222 downloads per month
Used in grove-matrix-led-my9221-r…

MIT/Apache

31KB
398 lines

stm32f3-discovery

Board support package for the STM32F3DISCOVERY board.

Rust crates.io crates.io docs.rs

Dependencies

To build embedded programs using this you'll need:

  • Rust 1.51 or newer toolchain
  • rust-std components (pre-compiled core crate) for the ARM Cortex-M target.
$ cargo install cargo-generate
$ rustup target add thumbv7em-none-eabihf

For more info on working with embedded Rust, see the Embedded Rust Book and the Discovery Book.

Documentation

https://docs.rs/stm32f3-discovery

For the board specific functionality this crate adds, see:

VS Code

This repository includes launch configurations for debugging CortexM programs with Visual Studio Code in the .vscode/ directory.
See .vscode/README.md for more information.

To debug one of the examples, open the example source file in the editor and press F5.

License

This template is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Changelog

0.7.2

Implements the Accelerometer trait from the Accelerometer crate.

0.7.1

0.7.0

Updates stm32f3xx-hal to 0.7.0. Since we re-export the stm32f3xx-hal, any breaking changes in their API are also breaking changes in ours. For details see the stm32f3xx-hal changelog

Although the minimum Rust version is technically still 1.49, because of changes to embedded_time, the minimum version of Cargo is now 1.51, so we're updating our MSRV to 1.51.

0.6.1

Update cortex-m, cortex-m-rt, and switch-hal dependencies.

0.6.0

Update stm32f3xx-hal version.
stm32f3xx-hal had breaking changes.
Since we re-export the HAL, that means we also had breaking changes.

For details, see the stm32f3xx-hal changelog.

0.5.0

  • Updated dependencies
  • InputSwitch for UserButton now has an Error type of core::convert::Infallible instead of ()

0.4.0

  • Updated stm32f3xx-hal from 0.4.0 to 0.4.1
  • Allows setting TriggerMode on the user button (breaking change)
  • Removes deprecated GpioE struct and Leds::init function

0.3.4

  • Introduced Compass struct and implemented Accelerometer trait.
  • Add Leds::new function and deprecate Leds::init.

0.3.3

  • Add wait_for_interrupt function
  • Upgrade switch-hal version

0.3.2

  • Re-export lsm303dhlc driver

Dependencies

~27MB
~753K SLoC