[package]
name = "stm32-hal2"
version = "1.4.4"
authors = ["David O'Connor <david.alan.oconnor@gmail.com>"]
description = "Hardware abstraction layer for the STM32 MCUs"
keywords = ["no-std", "stm32", "embedded", "embedded-hal"]
categories = [
"embedded",
"hardware-support",
"no-std",
]
repository = "https://github.com/David-OConnor/stm32-hal"
documentation = "https://docs.rs/stm32-hal2"
readme = "README.md"
license = "MIT"
exclude = [".gitignore"]
edition = "2021"
[dependencies]
cortex-m = "0.7.3"
stm32f3 = { version = "0.14.0", optional = true }
stm32f4 = { version = "0.14.0", optional = true }
stm32l4 = { version = "0.14.0", optional = true }
stm32l5 = { version = "0.14.0", optional = true }
stm32g0 = { version = "0.14.0", optional = true }
stm32g4 = { version = "0.14.0", optional = true }
stm32h7 = { version = "0.14.0", optional = true }
stm32wb = { version = "0.14.0", optional = true }
stm32wl = { version = "0.14.0", optional = true }
embedded-hal = { version = "0.2.5", features = ["unproven"], optional = true }
nb = "1.0.0"
chrono = { version = "0.4.19", default-features = false }
bit_field = { version = "0.10.1", optional = true }
stm32-device-signature = { version = "0.3.3", features = ["stm32wb5x"], optional = true }
heapless = { version = "0.5.3", optional = true}
byteorder = { version = "1.4.3", optional = true, default-features = false }
bbqueue = { version = "0.4.8", optional = true}
stm32-usbd = { version = "0.6.0", optional = true }
synopsys-usb-otg = { version = "0.2.4", optional = true }
bxcan = { version = "0.6.0", optional = true }
cast = { version = "0.2.2", default-features = false }
num-traits = { version = "0.2.14", default-features = false, features=["libm"] }
cfg-if = "1.0.0"
paste = "1.0.4"
[package.metadata.docs.rs]
features = ["h743v", "h7rt", "usb", "embedded-hal"]
targets = ["thumbv7em-none-eabihf"]
rustdoc-args = ["--cfg", "docsrs"]
[features]
f3rt = ["stm32f3/rt"]
f4rt = ["stm32f4/rt"]
l4rt = ["stm32l4/rt"]
l5rt = ["stm32l5/rt"]
g0rt = ["stm32g0/rt"]
g4rt = ["stm32g4/rt"]
h7rt = ["stm32h7/rt"]
wbrt = ["stm32wb/rt"]
wlrt = ["stm32wl/rt"]
f301 = ["stm32f3/stm32f301", "f3"]
f302 = ["stm32f3/stm32f302", "f3"]
f303 = ["stm32f3/stm32f303", "f3"]
f373 = ["stm32f3/stm32f373", "f3"]
f3x4 = ["stm32f3/stm32f3x4", "f3"]
f401 = ["stm32f4/stm32f401", "f4"]
f405 = ["stm32f4/stm32f405", "f4"]
f407 = ["stm32f4/stm32f407", "f4"]
f410 = ["stm32f4/stm32f410", "f4"]
f411 = ["stm32f4/stm32f411", "f4"]
f412 = ["stm32f4/stm32f412", "f4"]
f413 = ["stm32f4/stm32f413", "f4"]
f427 = ["stm32f4/stm32f427", "f4"]
f429 = ["stm32f4/stm32f429", "f4"]
f446 = ["stm32f4/stm32f446", "f4"]
f469 = ["stm32f4/stm32f469", "f4"]
l4x1 = ["stm32l4/stm32l4x1", "l4"]
l4x2 = ["stm32l4/stm32l4x2", "l4"]
l412 = ["stm32l4/stm32l412", "l4"]
l4x3 = ["stm32l4/stm32l4x3", "l4"]
l4x5 = ["stm32l4/stm32l4x5", "l4"]
l4x6 = ["stm32l4/stm32l4x6", "l4"]
l552 = ["stm32l5/stm32l552", "l5"]
l562 = ["stm32l5/stm32l562", "l5"]
g030 = ["stm32g0/stm32g030", "g0"]
g031 = ["stm32g0/stm32g031", "g0"]
g041 = ["stm32g0/stm32g041", "g0"]
g050 = ["stm32g0/stm32g050", "g0"]
g051 = ["stm32g0/stm32g051", "g0"]
g061 = ["stm32g0/stm32g061", "g0"]
g070 = ["stm32g0/stm32g070", "g0"]
g071 = ["stm32g0/stm32g071", "g0"]
g081 = ["stm32g0/stm32g081", "g0"]
g0b0 = ["stm32g0/stm32g0b0", "g0"]
g0b1 = ["stm32g0/stm32g0b1", "g0"]
g0c1 = ["stm32g0/stm32g0c1", "g0"]
g431 = ["stm32g4/stm32g431", "g4"]
g441 = ["stm32g4/stm32g441", "g4"]
g471 = ["stm32g4/stm32g471", "g4"]
g473 = ["stm32g4/stm32g473", "g4"]
g474 = ["stm32g4/stm32g474", "g4"]
g483 = ["stm32g4/stm32g483", "g4"]
g484 = ["stm32g4/stm32g484", "g4"]
g491 = ["stm32g4/stm32g491", "g4"]
g4a1 = ["stm32g4/stm32g4a1", "g4"]
h743 = ["stm32h7/stm32h743", "h7"]
h743v = ["stm32h7/stm32h743v", "h7"]
h747cm4 = ["stm32h7/stm32h747cm4", "h7"]
h747cm7 = ["stm32h7/stm32h747cm7", "h7"]
h753 = ["stm32h7/stm32h753", "h7"]
h753v = ["stm32h7/stm32h753v", "h7"]
h7b3 = ["stm32h7/stm32h7b3", "h7"]
wb55 = ["stm32wb/stm32wb55", "wb"]
wle5 = ["stm32wl/stm32wle5", "wl"]
usb = ["stm32-usbd"]
usbotg_fs = ["synopsys-usb-otg/fs"]
usbotg_hs = ["synopsys-usb-otg/hs"]
bx_can = ["bxcan"]
embedded_hal = ["embedded-hal"]
f3 = []
f4 = []
l4 = []
l5 = []
g0 = []
g4 = []
h7 = []
wb = ["bit_field", "stm32-device-signature", "heapless", "byteorder", "bbqueue"]
wl = []