-
- Downloads
bare8, 9
... | @@ -19,7 +19,10 @@ panic-semihosting = "0.5.1" | ... | @@ -19,7 +19,10 @@ panic-semihosting = "0.5.1" |
panic-itm = "0.4.0" | panic-itm = "0.4.0" | ||
bare-metal = "0.2.4" | bare-metal = "0.2.4" | ||
nb = "0.1.1" | nb = "0.1.1" | ||
cortex-m-rtfm = "0.4.0" | |||
[dependencies.cortex-m-rtfm] | |||
version = "0.4.0" | |||
optional = true | |||
[dependencies.cortex-m] | [dependencies.cortex-m] | ||
version = "0.5.8" | version = "0.5.8" | ||
... | @@ -31,12 +34,18 @@ features = ["inline-asm"] # <- currently requires nightly compiler | ... | @@ -31,12 +34,18 @@ features = ["inline-asm"] # <- currently requires nightly compiler |
[dependencies.stm32f4] | [dependencies.stm32f4] | ||
version = "0.5.0" | version = "0.5.0" | ||
features = ["stm32f413", "rt"] | features = ["stm32f413", "rt"] | ||
# optional = true | optional = true | ||
[dependencies.stm32f4xx-hal] | [dependencies.stm32f4xx-hal] | ||
git = "https://github.com/stm32-rs/stm32f4xx-hal.git" | git = "https://github.com/stm32-rs/stm32f4xx-hal.git" | ||
version = "0.2.8" | version = "0.2.8" | ||
features = ["stm32f413", "rt"] | features = ["stm32f413", "rt"] | ||
optional = true | |||
[features] | |||
hal = ["stm32f4", "stm32f4xx-hal"] | |||
rtfm = ["cortex-m-rtfm"] | |||
pac = ["stm32f4"] | |||
# this lets you use `cargo fix`! | # this lets you use `cargo fix`! | ||
[[bin]] | [[bin]] | ||
... | ... |
Please register or sign in to comment