-
- Downloads
to fresk
Showing
- .vscode/tasks.json 12 additions, 0 deletions.vscode/tasks.json
- Cargo.toml 10 additions, 8 deletionsCargo.toml
- examples/bare6.rs 5 additions, 3 deletionsexamples/bare6.rs
- examples/rtfm_interrupt.rs 6 additions, 3 deletionsexamples/rtfm_interrupt.rs
- src/main.rs 15 additions, 0 deletionssrc/main.rs
... | @@ -6,11 +6,12 @@ name = "app" | ... | @@ -6,11 +6,12 @@ name = "app" |
version = "0.1.0" | version = "0.1.0" | ||
# [patch.crates-io] | # [patch.crates-io] | ||
# stm32f4xx-hal = { path = "../stm32f4xx-hal" } | # # stm32f4xx-hal = { path = "../stm32f4xx-hal" } | ||
# stm32fxx-hal = {git = "https://github.com/stm32-rs/stm32f4xx-hal.git" } | |||
[dependencies] | [dependencies] | ||
cortex-m-rt = "0.6.7" | cortex-m-rt = "0.6.7" | ||
# cortex-m-semihosting = "0.3.2" | cortex-m-semihosting = "0.3.2" | ||
panic-halt = "0.2.0" | panic-halt = "0.2.0" | ||
# panic-abort = "0.3.1" # requires nightly toolchain | # panic-abort = "0.3.1" # requires nightly toolchain | ||
... | @@ -29,18 +30,19 @@ features = ["inline-asm"] # <- currently requires nightly compiler | ... | @@ -29,18 +30,19 @@ features = ["inline-asm"] # <- currently requires nightly compiler |
[dependencies.stm32f4] | [dependencies.stm32f4] | ||
version = "0.5.0" | version = "0.5.0" | ||
features = ["stm32f411", "rt"] | features = ["stm32f413", "rt"] | ||
# optional = true | # optional = true | ||
[dependencies.stm32f4xx-hal] | [dependencies.stm32f4xx-hal] | ||
git = "https://github.com/stm32-rs/stm32f4xx-hal.git" | |||
version = "0.2.8" | version = "0.2.8" | ||
features = ["stm32f411", "rt"] | features = ["stm32f413", "rt"] | ||
# this lets you use `cargo fix`! | # this lets you use `cargo fix`! | ||
# [[bin]] | [[bin]] | ||
# name = "app" | name = "app" | ||
# test = false | test = false | ||
# bench = false | bench = false | ||
[profile.dev] | [profile.dev] | ||
incremental = false | incremental = false | ||
... | ... |
src/main.rs
0 → 100644
Please register or sign in to comment