Merge #138
138: Cargo.toml: fix stm32h7xx-hal override r=jordens a=sbourdeauducq 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 Co-authored-by: Sebastien Bourdeauducq <sb@m-labs.hk>
This commit is contained in:
commit
6b1ade7bb4
|
@ -58,10 +58,11 @@ branch = "master"
|
||||||
features = ["stm32h743v"]
|
features = ["stm32h743v"]
|
||||||
|
|
||||||
[dependencies.stm32h7xx-hal]
|
[dependencies.stm32h7xx-hal]
|
||||||
git = "https://github.com/quartiq/stm32h7xx-hal.git"
|
|
||||||
branch = "feature/pounder-support"
|
|
||||||
features = ["stm32h743v", "rt", "unproven"]
|
features = ["stm32h743v", "rt", "unproven"]
|
||||||
|
|
||||||
|
[patch.crates-io]
|
||||||
|
stm32h7xx-hal = { git = "https://github.com/quartiq/stm32h7xx-hal.git", branch = "feature/pounder-support" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
semihosting = ["panic-semihosting", "cortex-m-log/semihosting"]
|
semihosting = ["panic-semihosting", "cortex-m-log/semihosting"]
|
||||||
bkpt = [ ]
|
bkpt = [ ]
|
||||||
|
|
Loading…
Reference in New Issue