diff --git a/Cargo.lock b/Cargo.lock index 88defec..2ad66c3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -173,6 +173,7 @@ dependencies = [ [[package]] name = "eb_cmds" version = "0.1.0" +source = "git+ssh://gitea@git.ggeta.com:2002/guangzong/eb_cmds.git#49d7eaf9ecdfa207a1afb23abf73e6a8c8459ea7" [[package]] name = "embassy-executor" @@ -523,6 +524,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "stm32-metapac" version = "15.0.0" +source = "git+https://gitea.ggeta.com/guangzong/stm32-data-generated#a9f7568e7fb17705922cd5947523ee1869774234" dependencies = [ "cortex-m", "cortex-m-rt", @@ -579,6 +581,7 @@ dependencies = [ [[package]] name = "u5-lib" version = "0.1.0" +source = "git+ssh://gitea@git.ggeta.com:2002/guangzong/u5_new.git?branch=dev#85f674f6dbd42e04f34f4f51bbf557a35d87c183" dependencies = [ "cortex-m", "cortex-m-rt", diff --git a/Cargo.toml b/Cargo.toml index 78f0b23..c9bf518 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,6 +9,8 @@ name = "i2c" path = "src/bin/i2c.rs" +[net] +git-fetch-with-cli = true [dependencies] # cortex-m = "0.7.0" @@ -16,11 +18,11 @@ cortex-m = { version = "0.7.7", features = [ "inline-asm", "critical-section-single-core", ]} -u5-lib = { path = "../u5_new",features = [ +u5-lib = { git = "ssh://gitea@git.ggeta.com:2002/guangzong/u5_new.git",features = [ "stm32u5a5qj", # "stm32u575zi" - ], default-features = false } -eb_cmds = { path = "../ebutton_usb_cmds"} + ], default-features = false, branch = "dev" } +eb_cmds = { git = "ssh://gitea@git.ggeta.com:2002/guangzong/eb_cmds.git"} critical-section = "1.1.2" defmt = "0.3.6" defmt-rtt = { version = "0.4.0" }