diff --git a/szl/Cargo.toml b/szl/Cargo.toml index 8fc0b85..2f3fd01 100644 --- a/szl/Cargo.toml +++ b/szl/Cargo.toml @@ -16,6 +16,7 @@ default = ["target_zc706"] [dependencies] log = "0.4" byteorder = { version = "1.3", default-features = false } +fatfs = { git = "https://github.com/rafalh/rust-fatfs", default-features = false } libboard_zynq = { path = "../libboard_zynq" } libsupport_zynq = { path = "../libsupport_zynq" } diff --git a/szl/src/main.rs b/szl/src/main.rs index fc91b7e..82dee7a 100644 --- a/szl/src/main.rs +++ b/szl/src/main.rs @@ -8,7 +8,7 @@ mod netboot; use alloc::rc::Rc; use core::mem; -use core_io::{Read, Seek}; +use fatfs::io::{Read, Seek}; use libboard_zynq::{ self as zynq, clocks::source::{ArmPll, ClockSource, IoPll}, diff --git a/szl/src/netboot.rs b/szl/src/netboot.rs index 8552a6e..770c270 100644 --- a/szl/src/netboot.rs +++ b/szl/src/netboot.rs @@ -1,7 +1,7 @@ use alloc::vec; use alloc::vec::Vec; use byteorder::{ByteOrder, NetworkEndian}; -use core_io::{Read, Seek}; +use fatfs::io::{Read, Seek}; use libboard_zynq::{ devc, eth::Eth,