mirror of
https://github.com/laanwj/k210-sdk-stuff.git
synced 2025-01-18 21:17:09 +04:00
rust: Clean up cargo patches
No more need for any `k210-hal` and `k210-pac` patches with 0.2.0
This commit is contained in:
parent
33eab72e3e
commit
a1c65405ea
@ -18,11 +18,7 @@ members = [
|
||||
]
|
||||
|
||||
[patch.crates-io]
|
||||
k210-hal = { git = "https://github.com/riscv-rust/k210-hal.git", rev = "b83e843c19a2f0bc4eb7f56322ae844818709298" }
|
||||
k210-pac = { git = "https://github.com/riscv-rust/k210-pac.git", rev = "ce714c0b09a71e5b73357a479295e9ea1201501e" }
|
||||
|
||||
# TODO: upstream these patches after the dependent change rust-lang/rust#62281 ends up in stable
|
||||
# patch: "Remove work-around for pcrel issue"
|
||||
|
||||
# patch: "risc-v: Use medany model"
|
||||
cc = { git = "https://github.com/laanwj/cc-rs.git", rev = "83e66a79a25b55d0aa84db42257a8edbb0095cf8" }
|
||||
|
@ -6,7 +6,7 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
riscv-rt = "0.6"
|
||||
k210-hal = "0.1.0"
|
||||
k210-hal = "0.2.0"
|
||||
riscv = "0.5"
|
||||
libm = "0.1"
|
||||
k210-shared = { path = "../k210-shared" }
|
||||
|
@ -7,6 +7,6 @@ edition = "2018"
|
||||
[dependencies]
|
||||
bare-metal = "0.2.0"
|
||||
riscv-rt = "0.6"
|
||||
k210-hal = "0.1.0"
|
||||
k210-hal = "0.2.0"
|
||||
riscv = { version = "0.5", features = ["inline-asm"] }
|
||||
k210-shared = { path = "../k210-shared" }
|
||||
|
@ -6,6 +6,6 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
riscv-rt = "0.6"
|
||||
k210-hal = "0.1.0"
|
||||
k210-hal = "0.2.0"
|
||||
riscv = "0.5"
|
||||
k210-shared = { path = "../k210-shared" }
|
||||
|
@ -6,7 +6,7 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
riscv-rt = "0.6"
|
||||
k210-hal = "0.1.0"
|
||||
k210-hal = "0.2.0"
|
||||
riscv = "0.5"
|
||||
libm = "0.1"
|
||||
k210-shared = { path = "../k210-shared" }
|
||||
|
@ -6,6 +6,6 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
riscv-rt = "0.6"
|
||||
k210-hal = "0.1.0"
|
||||
k210-hal = "0.2.0"
|
||||
riscv = "0.5"
|
||||
k210-shared = { path = "../k210-shared" }
|
||||
|
@ -6,7 +6,7 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
riscv-rt = "0.6"
|
||||
k210-hal = "0.1.0"
|
||||
k210-hal = "0.2.0"
|
||||
riscv = "0.5"
|
||||
k210-shared = { path = "../k210-shared" }
|
||||
k210-console = { path = "../k210-console" }
|
||||
|
@ -6,6 +6,6 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
riscv-rt = "0.6"
|
||||
k210-hal = "0.1.0"
|
||||
k210-hal = "0.2.0"
|
||||
riscv = { version = "0.5", features = ["inline-asm"] }
|
||||
k210-shared = { path = "../k210-shared" }
|
||||
|
@ -6,6 +6,6 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
riscv-rt = "0.6"
|
||||
k210-hal = "0.1.0"
|
||||
k210-hal = "0.2.0"
|
||||
riscv = "0.5"
|
||||
k210-shared = { path = "../k210-shared" }
|
||||
|
@ -5,7 +5,7 @@ authors = ["W.J. van der Laan <laanwj@protonmail.com>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
k210-hal = "0.1.0"
|
||||
k210-hal = "0.2.0"
|
||||
libm = "0.1"
|
||||
riscv = "0.5"
|
||||
riscv-rt = "0.6"
|
||||
|
@ -6,6 +6,6 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
riscv-rt = "0.6"
|
||||
k210-hal = "0.1.0"
|
||||
k210-hal = "0.2.0"
|
||||
riscv = "0.5"
|
||||
k210-shared = { path = "../k210-shared" }
|
||||
|
@ -5,7 +5,7 @@ authors = ["W.J. van der Laan <laanwj@protonmail.com>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
k210-hal = "0.1.0"
|
||||
k210-hal = "0.2.0"
|
||||
k210-shared = { path = "../k210-shared" }
|
||||
riscv = "0.5"
|
||||
riscv-rt = "0.6"
|
||||
|
@ -7,6 +7,6 @@ edition = "2018"
|
||||
[dependencies]
|
||||
nb = "0.1.1"
|
||||
riscv-rt = "0.6"
|
||||
k210-hal = "0.1.0"
|
||||
k210-hal = "0.2.0"
|
||||
riscv = "0.5"
|
||||
k210-shared = { path = "../k210-shared" }
|
||||
|
@ -7,6 +7,6 @@ edition = "2018"
|
||||
[dependencies]
|
||||
nb = "0.1.1"
|
||||
riscv-rt = "0.6"
|
||||
k210-hal = "0.1.0"
|
||||
k210-hal = "0.2.0"
|
||||
riscv = "0.5"
|
||||
k210-shared = { path = "../k210-shared" }
|
||||
|
@ -6,7 +6,7 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
riscv-rt = "0.6"
|
||||
k210-hal = "0.1.0"
|
||||
k210-hal = "0.2.0"
|
||||
riscv = "0.5"
|
||||
k210-shared = { path = "../k210-shared" }
|
||||
secp256k1 = { version = "0.15.2", default-features = false, features = ['lowmemory'] }
|
||||
|
@ -8,7 +8,7 @@ edition = "2018"
|
||||
embedded-hal = { version = "0.2.1", features = ["unproven"] }
|
||||
nb = "0.1.1"
|
||||
riscv-rt = "0.6"
|
||||
k210-hal = "0.1.0"
|
||||
k210-hal = "0.2.0"
|
||||
riscv = "0.5"
|
||||
k210-shared = { path = "../k210-shared" }
|
||||
k210-console = { path = "../k210-console" }
|
||||
|
@ -7,6 +7,6 @@ edition = "2018"
|
||||
[dependencies]
|
||||
nb = "0.1.1"
|
||||
riscv-rt = "0.6"
|
||||
k210-hal = "0.1.0"
|
||||
k210-hal = "0.2.0"
|
||||
riscv = "0.5"
|
||||
k210-shared = { path = "../k210-shared" }
|
||||
|
@ -8,7 +8,7 @@ edition = "2018"
|
||||
embedded-hal = { version = "0.2.1", features = ["unproven"] }
|
||||
nb = "0.1.1"
|
||||
riscv-rt = "0.6"
|
||||
k210-hal = "0.1.0"
|
||||
k210-hal = "0.2.0"
|
||||
riscv = "0.5"
|
||||
k210-shared = { path = "../k210-shared" }
|
||||
k210-console = { path = "../k210-console" }
|
||||
|
Loading…
Reference in New Issue
Block a user