Skip to content

Commit

Permalink
✨ Apply modifications from pr8
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibaud Toullier committed Dec 6, 2024
1 parent c03ddef commit 3a01f24
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ exclude = [
edition = "2018"

[dependencies]
cortex-m = "0.6.2"
cortex-m = "0.7.7"
embedded-dma = "0.1"
nb = "0.1.1"
stm32wb-pac = "0.2"
stm32wb = "0.15.1"
as-slice = "0.1"
cortex-m-semihosting = { version = "0.3.5", features = ["jlink-quirks"] }
bit_field = "0.10.0"
heapless = "0.5.3"

Expand Down Expand Up @@ -57,20 +56,20 @@ optional = true

[features]

xC-package = []
xE-package = []
xG-package = []
xC-package = ["stm32wb/stm32wb55"]
xE-package = ["stm32wb/stm32wb55"]
xG-package = ["stm32wb/stm32wb55"]

stm32-serial = [] # ! untested feature
stm32-spi = [] # ! untested feature
stm32-tsc = [] # ! untested feature

rt = ["stm32wb-pac/rt"]
rt = ["stm32wb/rt"]

default = [ "rt" ]

[dev-dependencies]
cortex-m-rtfm = "0.5"
cortex-m-rtic = {version = "0.5", default-features = false, features = ["cortex-m-7"] }
panic-halt = "0.2.0"
panic-semihosting = "0.5.0"
cortex-m-semihosting = { version = "0.3.5", features = ["jlink-quirks"] }
Expand All @@ -86,3 +85,6 @@ codegen-units = 1
codegen-units = 1
debug = true
lto = true

[package.metadata.docs.rs]
features = ["xG-package", "stm32-usbd"]

0 comments on commit 3a01f24

Please sign in to comment.