From 72a20617f6148c2161a6c3b3afd2ad271f1154cd Mon Sep 17 00:00:00 2001 From: Andelf Date: Sun, 12 May 2024 00:22:12 +0800 Subject: [PATCH] enhance: use ch32-metapac via git tag --- Cargo.toml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f209071..c8dcb06 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,14 +13,14 @@ readme = "README.md" license = "MIT OR Apache-2.0" [dependencies] -# ch32-metapac = { version = "0.1.0", features = [ -# "memory-x", -# "rt", -# ], git = "https://github.com/ch32-rs/ch32-metapac.git" } -ch32-metapac = { version = "0.1.0", features = [ +ch32-metapac = { features = [ "memory-x", "rt", -], path = "../ch32-data/build/ch32-metapac" } +], git = "https://github.com/ch32-rs/ch32-metapac.git", tag = "ch32-data-b6fa48d43f467e8e87ea826c2979ada86e0e6f02" } +# ch32-metapac = { features = [ +# "memory-x", +# "rt", +# ], path = "../ch32-data/build/ch32-metapac" } qingke = { version = "0.2.0", features = ["critical-section-impl"] } qingke-rt = "0.2.0" @@ -57,12 +57,12 @@ sdio-host = "0.5.0" [build-dependencies] proc-macro2 = "1.0.78" quote = "1.0" -#ch32-metapac = { version = "0.1.0", default-features = false, features = [ -# "metadata", -#], git = "https://github.com/ch32-rs/ch32-metapac.git" } -ch32-metapac = { version = "0.1.0", default-features = false, features = [ +ch32-metapac = { features = [ "metadata", -], path = "../ch32-data/build/ch32-metapac" } +], git = "https://github.com/ch32-rs/ch32-metapac.git", tag = "ch32-data-b6fa48d43f467e8e87ea826c2979ada86e0e6f02" } +# ch32-metapac = { default-features = false, features = [ +# "metadata", +# ], path = "../ch32-data/build/ch32-metapac" } [features] default = ["embassy", "rt"]