From 6e134ea7ff468aa504ab6c6fcef7700278fb4cad Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Tue, 17 Dec 2024 14:17:22 +0800 Subject: [PATCH] use forked core_io, fatfs --- libconfig/Cargo.toml | 14 +++++++++++--- szl/Cargo.toml | 7 +++++-- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/libconfig/Cargo.toml b/libconfig/Cargo.toml index 35265c5..41c2d22 100644 --- a/libconfig/Cargo.toml +++ b/libconfig/Cargo.toml @@ -6,10 +6,18 @@ edition = "2018" [dependencies] libboard_zynq = { path = "../libboard_zynq" } -core_io = { version = "0.1", features = ["collections"] } -fatfs = { version = "0.3", features = ["core_io"], default-features = false } log = "0.4" +[dependencies.core_io] +git = "https://git.m-labs.hk/srenblad/rs-core_io.git" +branch = "main" + +[dependencies.fatfs] +git = "https://git.m-labs.hk/srenblad/rust-fatfs.git" +branch = "main" +default-features = false +features = ["core_io"] + [features] target_zc706 = [] target_coraz7 = [] @@ -17,4 +25,4 @@ target_ebaz4205 = [] target_redpitaya = [] target_kasli_soc = [] ipv6 = [] -fat_lfn = [ "fatfs/alloc" ] \ No newline at end of file +fat_lfn = [ "fatfs/alloc" ] diff --git a/szl/Cargo.toml b/szl/Cargo.toml index ac16fb0..a4882e6 100644 --- a/szl/Cargo.toml +++ b/szl/Cargo.toml @@ -16,10 +16,13 @@ default = ["target_zc706"] [dependencies] log = "0.4" byteorder = { version = "1.3", default-features = false } -core_io = { version = "0.1", features = ["collections"] } - libboard_zynq = { path = "../libboard_zynq" } libsupport_zynq = { path = "../libsupport_zynq" } libcortex_a9 = { path = "../libcortex_a9" } libregister = { path = "../libregister" } libconfig = { path = "../libconfig" } + +[dependencies.core_io] +git = "https://git.m-labs.hk/srenblad/rs-core_io.git" +branch = "main" +