Skip to content

Commit 40f9b60

Browse files
bors[bot]newAM
andauthored
Merge #287
287: Fix the rt feature for stm32h7 0.14.0 r=richardeoin a=newAM The stm32h7 crate includes 'rt' as a default feature for 0.14.0: https://docs.rs/crate/stm32h7/0.14.0/source/Cargo.toml Co-authored-by: Alex Martens <alexmgit@protonmail.com>
2 parents 78bfedf + 533922b commit 40f9b60

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* adc: Allow parallel execution of multiple ADCs through `start_conversion()`
1313
* Rename the PeripheralREC object for BDMA2 on 7B3, 7B0, 7A3 parts from BDMA to BDMA2
1414
* pac: Upgrade to stm32-rs v0.14.0
15+
* Add "rt" to the default features
1516

1617
* ethernet: `ethernet::DesRing` and `ethernet::EthernetDMA` require generic
1718
constants to specify how many transmit / receive buffers to include in

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ targets = ["thumbv7em-none-eabihf"]
2828
embedded-hal = "0.2.6"
2929
embedded-dma = "0.1.2"
3030
cortex-m = "^0.7.1"
31-
stm32h7 = "^0.14.0"
31+
stm32h7 = { version = "^0.14.0", default-features = false }
3232
void = { version = "1.0.2", default-features = false }
3333
cast = { version = "0.3.0", default-features = false }
3434
nb = "1.0.0"
@@ -73,7 +73,7 @@ default-features = false
7373
features = ["ethernet", "proto-ipv4", "proto-ipv6", "socket-raw"]
7474

7575
[features]
76-
default = ["unproven"]
76+
default = ["unproven", "rt"]
7777
unproven = ["embedded-hal/unproven"]
7878
device-selected = []
7979
revision_v = []

0 commit comments

Comments
 (0)