Add documentation for imxrt; other doc fixes

This commit is contained in:
Finomnis 2023-11-09 00:35:47 +01:00 committed by Emil Fresk
parent 413955fb39
commit af550483f5
8 changed files with 32 additions and 11 deletions

View file

@ -16,7 +16,14 @@ description = "A library that provides implementations of the Monotonic trait fr
license = "MIT OR Apache-2.0"
[package.metadata.docs.rs]
features = ["cortex-m-systick", "rp2040", "nrf52840"]
features = [
"cortex-m-systick",
"rp2040",
"nrf52840",
"imxrt_gpt1",
"imxrt_gpt2",
"imxrt-ral/imxrt1011",
]
rustdoc-flags = ["--cfg", "docsrs"]
[dependencies]
@ -51,7 +58,9 @@ imxrt-ral = { version = "0.5.3", optional = true }
[build-dependencies]
proc-macro2 = { version = "1.0.36", optional = true }
quote = { version = "1.0.15", optional = true }
stm32-metapac = { version = "14.0.0", default-features = false, features = ["metadata"], optional = true }
stm32-metapac = { version = "14.0.0", default-features = false, features = [
"metadata",
], optional = true }
[features]
default = []