| Crates.io | stm32f3-discovery |
| lib.rs | stm32f3-discovery |
| version | 0.7.2 |
| created_at | 2020-01-11 10:36:58.167446+00 |
| updated_at | 2021-07-06 02:46:24.827231+00 |
| description | Board support package for the STM32F3DISCOVERY board |
| homepage | |
| repository | https://github.com/rubberduck203/stm32f3-discovery |
| max_upload_size | |
| id | 197455 |
| size | 77,771 |
stm32f3-discoveryBoard support package for the STM32F3DISCOVERY board.
To build embedded programs using this you'll need:
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.
https://docs.rs/stm32f3-discovery
For the board specific functionality this crate adds, see:
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.
This template is licensed under either of
at your option.
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.
Implements the Accelerometer trait from the Accelerometer crate.
Implements an Iterator for the Leds struct and introduced the Leds::iter_mut() method.
Testing shows that direct iteration over the leds using Leds::iter_mut() can save up to 800 bytes off the size of the final binary over the old Leds::into_array() method.
See: https://github.com/rubberduck203/stm32f3-discovery/pull/41
Adds the ability to obtain a mutable reference to a led based on it's compass direction on the board.
Contributed by Christian Meusel
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.
Update cortex-m, cortex-m-rt, and switch-hal dependencies.
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.
InputSwitch for UserButton now has an Error type of core::convert::Infallible instead of ()stm32f3xx-hal from 0.4.0 to 0.4.1TriggerMode on the user button (breaking change)GpioE struct and Leds::init functionCompass struct and implemented Accelerometer trait.Leds::new function and deprecate Leds::init.wait_for_interrupt functionswitch-hal versionlsm303dhlc driver