`nucleo-f401re`
Free[Nucleo-F401RE] [](https://crates.io/crates/nucleo-f401re)
FreeFree tier
About `nucleo-f401re`
Nucleo-F401RE is a Rust Board Support Package (BSP) crate for the STM Nucleo-F401RE development board. It provides a support package with hardware definitions (user LED on PA5, user button on PC13, serial port on USART2 with Tx PA2 and Rx PA3) and example projects such as button-interrupt. The crate is based on the stm32f407g-disc repository and is licensed under the 0BSD license. It is part of the Rust embedded ecosystem and hosted on GitHub.
Key Features
Support package for the STM Nucleo-F401RE board
User LED on PA5
User button on PC13
Serial port through ST-LINK on USART2 (Tx: PA2, Rx: PA3)
Example project: button-interrupt
Based on stm32f407g-disc repository
0BSD licensed open-source crate
Pros & Cons
Pros
- Free and open source (0BSD license)
- Provides ready-to-run examples like button-interrupt
- Clear hardware pin definitions in README
- Part of the Rust embedded ecosystem
Cons
- Limited documentation beyond basic README
- May require firmware update for ST-LINK programmer
- Only supports the Nucleo-F401RE board specifically
Best For
Embedded Rust development on STM32 Nucleo-F401RELearning STM32 hardware abstraction in RustRapid prototyping with Nucleo-F401RE boardTeaching embedded systems with Rust
FAQ
What is nucleo-f401re?
It is a Rust Board Support Package (BSP) crate for the STM Nucleo-F401RE development board, providing hardware definitions and example code.
How do I run the examples?
Clone the repository and run 'cargo run --example button-interrupt' from the project root.
What are the board properties?
User LED on PA5, user button on PC13, serial port through ST-LINK on USART2 (Tx: PA2, Rx: PA3).
What license is this crate under?
It is licensed under the 0BSD license.