Cargo.toml: fix stm32h7xx-hal override
Doing it via dependencies.stm32h7xx-hal causes cargo vendor to fail with: error: failed to sync Caused by: found duplicate version of package `stm32h7xx-hal v0.5.0` vendored from two sources: source 1: registry `https://github.com/rust-lang/crates.io-index` source 2: https://github.com/quartiq/stm32h7xx-hal.git?branch=feature/pounder-support#ff00e938
This commit is contained in:
parent
4a607e63f2
commit
4a95b6e2b0
|
@ -58,10 +58,11 @@ branch = "master"
|
|||
features = ["stm32h743v"]
|
||||
|
||||
[dependencies.stm32h7xx-hal]
|
||||
git = "https://github.com/quartiq/stm32h7xx-hal.git"
|
||||
branch = "feature/pounder-support"
|
||||
features = ["stm32h743v", "rt", "unproven"]
|
||||
|
||||
[patch.crates-io]
|
||||
stm32h7xx-hal = { git = "https://github.com/quartiq/stm32h7xx-hal.git", branch = "feature/pounder-support" }
|
||||
|
||||
[features]
|
||||
semihosting = ["panic-semihosting", "cortex-m-log/semihosting"]
|
||||
bkpt = [ ]
|
||||
|
|
Loading…
Reference in New Issue