Skip to content

Commit 8db26dc

Browse files
committed
Bump all dependencies and add missing CHANGELOG entries
Signed-off-by: Daniel Egger <[email protected]>
1 parent e9c9965 commit 8db26dc

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
=======
11+
### Changed
12+
13+
- Updated stm32f0 dependency to v0.13 (breaking change)
14+
- Move SPI busy polling to `check_send()`
15+
- Poll for SPI transaction completion before returning
16+
- Update `remap_pins()` and remove critical section
17+
18+
### Added
19+
1020
- Add CAN bus abstraction based on the [bxcan] crate.
1121

1222
[bxcan]: https://crates.io/crates/bxcan

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ targets = ["thumbv6m-none-eabi"]
3232
[dependencies]
3333
bare-metal = { version = "1.0.0" }
3434
cast = { version = "0.2", default-features = false }
35-
cortex-m = "0.6"
35+
cortex-m = "0.7"
3636
embedded-hal = { version = "0.2", features = ["unproven"] }
37-
stm32f0 = "0.12.1"
38-
nb = "1.0"
37+
stm32f0 = "0.13"
38+
nb = "1"
3939
void = { version = "1.0", default-features = false }
40-
stm32-usbd = { version = "0.5.1", features = ["ram_access_2x16"], optional = true }
40+
stm32-usbd = { version = "0.6", optional = true }
4141
bxcan = "0.4.0"
4242

4343
[dev-dependencies]

src/usb.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ unsafe impl UsbPeripheral for Peripheral {
2525
const DP_PULL_UP_FEATURE: bool = true;
2626
const EP_MEMORY: *const () = 0x4000_6000 as _;
2727
const EP_MEMORY_SIZE: usize = 1024;
28+
const EP_MEMORY_ACCESS_2X16: bool = true;
2829

2930
fn enable() {
3031
let rcc = unsafe { &*RCC::ptr() };

0 commit comments

Comments
 (0)