Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [v0.11.0] - 2025-09-09

### Breaking changes

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

- First tagged version

[Unreleased]: https://github.com/stm32-rs/stm32f1xx-hal/compare/v0.10.0...HEAD
[Unreleased]: https://github.com/stm32-rs/stm32f1xx-hal/compare/v0.11.0...HEAD
[v0.11.0]: https://github.com/stm32-rs/stm32f1xx-hal/compare/v0.10.0...v0.11.0
[v0.10.0]: https://github.com/stm32-rs/stm32f1xx-hal/compare/v0.9.0...v0.10.0
[v0.9.0]: https://github.com/stm32-rs/stm32f1xx-hal/compare/v0.8.0...v0.9.0
[v0.8.0]: https://github.com/stm32-rs/stm32f1xx-hal/compare/v0.7.0...v0.8.0
Expand Down
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name = "stm32f1xx-hal"
repository = "https://github.com/stm32-rs/stm32f1xx-hal"
documentation = "https://docs.rs/stm32f1xx-hal"
readme = "README.md"
version = "0.10.0"
version = "0.11.0"

[package.metadata.docs.rs]
features = ["stm32f103", "rtic", "high"]
Expand All @@ -23,7 +23,7 @@ default-target = "x86_64-unknown-linux-gnu"
[dependencies]
defmt = { version = "1.0", optional = true }
cortex-m = { version = "0.7.7", features = ["critical-section-single-core"] }
cortex-m-rt = "0.7.3"
cortex-m-rt = "0.7.5"
nb = "1.1"
embedded-dma = "0.2.0"
bxcan = "0.8.0"
Expand Down Expand Up @@ -53,7 +53,7 @@ version = "1.0"
version = "0.6.1"

[dependencies.stm32-usbd]
version = "0.7.0"
version = "0.8.0"
optional = true

[dev-dependencies]
Expand All @@ -62,10 +62,10 @@ panic-semihosting = "0.6.0"
panic-itm = "0.4.2"
panic-probe = "1.0"
rtt-target = "0.6.1"
cortex-m-rtic = "1.1.3"
cortex-m-rtic = "1.1.4"
cortex-m-semihosting = "0.5.0"
heapless = "0.8.0"
mfrc522 = { version = "0.7.0", features = ["eh02"] }
heapless = "0.9.1"
mfrc522 = { version = "0.8.0", features = ["eh02"] }
mpu9250 = "0.25.0"
usb-device = "0.3.2"
usbd-serial = "0.2.2"
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ You also need to add some dependencies to your `Cargo.toml`:

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

[dependencies.stm32f1xx-hal]
version = "0.10.0"
version = "0.11.0"
features = ["rt", "stm32f103", "medium"]
```

Expand Down
4 changes: 2 additions & 2 deletions src/usb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use crate::pac::USB;
use crate::rcc::{Enable, Reset};
use stm32_usbd::UsbPeripheral;
use stm32_usbd::{MemoryAccess, UsbPeripheral};

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

fn enable() {
unsafe {
Expand Down
Loading