Skip to content

Commit 73746f3

Browse files
authored
Merge pull request #548 from stm32-rs/r011
release 0.11
2 parents 37b8102 + 8af525f commit 73746f3

File tree

4 files changed

+17
-14
lines changed

4 files changed

+17
-14
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
## [v0.11.0] - 2025-09-09
11+
1012
### Breaking changes
1113

1214
- Relax pin type generics for `Serial`, `I2c`, `Spi`, `Can`, `Qei`, `PwmInput`. [#462] [#516]
@@ -418,7 +420,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
418420

419421
- First tagged version
420422

421-
[Unreleased]: https://github.com/stm32-rs/stm32f1xx-hal/compare/v0.10.0...HEAD
423+
[Unreleased]: https://github.com/stm32-rs/stm32f1xx-hal/compare/v0.11.0...HEAD
424+
[v0.11.0]: https://github.com/stm32-rs/stm32f1xx-hal/compare/v0.10.0...v0.11.0
422425
[v0.10.0]: https://github.com/stm32-rs/stm32f1xx-hal/compare/v0.9.0...v0.10.0
423426
[v0.9.0]: https://github.com/stm32-rs/stm32f1xx-hal/compare/v0.8.0...v0.9.0
424427
[v0.8.0]: https://github.com/stm32-rs/stm32f1xx-hal/compare/v0.7.0...v0.8.0

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ name = "stm32f1xx-hal"
1414
repository = "https://github.com/stm32-rs/stm32f1xx-hal"
1515
documentation = "https://docs.rs/stm32f1xx-hal"
1616
readme = "README.md"
17-
version = "0.10.0"
17+
version = "0.11.0"
1818

1919
[package.metadata.docs.rs]
2020
features = ["stm32f103", "rtic", "high"]
@@ -23,7 +23,7 @@ default-target = "x86_64-unknown-linux-gnu"
2323
[dependencies]
2424
defmt = { version = "1.0", optional = true }
2525
cortex-m = { version = "0.7.7", features = ["critical-section-single-core"] }
26-
cortex-m-rt = "0.7.3"
26+
cortex-m-rt = "0.7.5"
2727
nb = "1.1"
2828
embedded-dma = "0.2.0"
2929
bxcan = "0.8.0"
@@ -53,7 +53,7 @@ version = "1.0"
5353
version = "0.6.1"
5454

5555
[dependencies.stm32-usbd]
56-
version = "0.7.0"
56+
version = "0.8.0"
5757
optional = true
5858

5959
[dev-dependencies]
@@ -62,10 +62,10 @@ panic-semihosting = "0.6.0"
6262
panic-itm = "0.4.2"
6363
panic-probe = "1.0"
6464
rtt-target = "0.6.1"
65-
cortex-m-rtic = "1.1.3"
65+
cortex-m-rtic = "1.1.4"
6666
cortex-m-semihosting = "0.5.0"
67-
heapless = "0.8.0"
68-
mfrc522 = { version = "0.7.0", features = ["eh02"] }
67+
heapless = "0.9.1"
68+
mfrc522 = { version = "0.8.0", features = ["eh02"] }
6969
mpu9250 = "0.25.0"
7070
usb-device = "0.3.2"
7171
usbd-serial = "0.2.2"

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ You also need to add some dependencies to your `Cargo.toml`:
4747

4848
```toml
4949
[dependencies]
50-
embedded-hal = "0.2.7"
50+
embedded-hal = "1.0"
5151
nb = "1"
52-
cortex-m = "0.7.6"
53-
cortex-m-rt = "0.7.1"
52+
cortex-m = "0.7.7"
53+
cortex-m-rt = "0.7.5"
5454
# Panic behaviour, see https://crates.io/keywords/panic-impl for alternatives
55-
panic-halt = "0.2.0"
55+
panic-halt = "1.0.0"
5656

5757
[dependencies.stm32f1xx-hal]
58-
version = "0.10.0"
58+
version = "0.11.0"
5959
features = ["rt", "stm32f103", "medium"]
6060
```
6161

src/usb.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
use crate::pac::USB;
88
use crate::rcc::{Enable, Reset};
9-
use stm32_usbd::UsbPeripheral;
9+
use stm32_usbd::{MemoryAccess, UsbPeripheral};
1010

1111
use crate::gpio::gpioa::{PA11, PA12};
1212
use crate::gpio::{Floating, Input};
@@ -25,7 +25,7 @@ unsafe impl UsbPeripheral for Peripheral {
2525
const DP_PULL_UP_FEATURE: bool = false;
2626
const EP_MEMORY: *const () = 0x4000_6000 as _;
2727
const EP_MEMORY_SIZE: usize = 512;
28-
const EP_MEMORY_ACCESS_2X16: bool = false;
28+
const EP_MEMORY_ACCESS: MemoryAccess = MemoryAccess::Word16x1;
2929

3030
fn enable() {
3131
unsafe {

0 commit comments

Comments
 (0)