File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ version = "1.0.2"
21
21
version = " 0.1.1"
22
22
23
23
[dev-dependencies ]
24
- stm32f30x = " 0.6.0 "
24
+ stm32f3 = { version = " 0.8 " , features = [ " stm32f303 " , " rt " ] }
25
25
futures = " 0.1.17"
26
26
27
27
[features ]
Original file line number Diff line number Diff line change 119
119
//! Shown below is an implementation of some of the HAL traits for the [`stm32f30x`] crate. This
120
120
//! single implementation will work for *any* microcontroller in the STM32F30x family.
121
121
//!
122
- //! [`stm32f30x `]: https://crates.io/crates/stm32f30x
122
+ //! [`stm32f3 `]: https://crates.io/crates/stm32f3
123
123
//!
124
124
//! ```
125
- //! // crate: stm32f30x -hal
126
- //! // An implementation of the `embedded-hal` traits for STM32F30x microcontrollers
125
+ //! // crate: stm32f3xx -hal
126
+ //! // An implementation of the `embedded-hal` traits for STM32F3xx microcontrollers
127
127
//!
128
128
//! extern crate embedded_hal as hal;
129
129
//! extern crate nb;
130
130
//!
131
131
//! // device crate
132
- //! extern crate stm32f30x ;
132
+ //! extern crate stm32f3 ;
133
133
//!
134
- //! use stm32f30x ::USART1;
134
+ //! use stm32f3::stm32f303 ::USART1;
135
135
//!
136
136
//! /// A serial interface
137
137
//! // NOTE generic over the USART peripheral
You can’t perform that action at this time.
0 commit comments