1
0
Fork 0

szl switch to fatfs r/w traits

This commit is contained in:
Simon Renblad 2024-10-04 15:28:19 +08:00
parent b5479825bd
commit 7d7c55e95d
3 changed files with 3 additions and 2 deletions

View File

@ -16,6 +16,7 @@ default = ["target_zc706"]
[dependencies] [dependencies]
log = "0.4" log = "0.4"
byteorder = { version = "1.3", default-features = false } byteorder = { version = "1.3", default-features = false }
fatfs = { git = "https://github.com/rafalh/rust-fatfs", default-features = false }
libboard_zynq = { path = "../libboard_zynq" } libboard_zynq = { path = "../libboard_zynq" }
libsupport_zynq = { path = "../libsupport_zynq" } libsupport_zynq = { path = "../libsupport_zynq" }

View File

@ -8,7 +8,7 @@ mod netboot;
use alloc::rc::Rc; use alloc::rc::Rc;
use core::mem; use core::mem;
use core_io::{Read, Seek}; use fatfs::io::{Read, Seek};
use libboard_zynq::{ use libboard_zynq::{
self as zynq, self as zynq,
clocks::source::{ArmPll, ClockSource, IoPll}, clocks::source::{ArmPll, ClockSource, IoPll},

View File

@ -1,7 +1,7 @@
use alloc::vec; use alloc::vec;
use alloc::vec::Vec; use alloc::vec::Vec;
use byteorder::{ByteOrder, NetworkEndian}; use byteorder::{ByteOrder, NetworkEndian};
use core_io::{Read, Seek}; use fatfs::io::{Read, Seek};
use libboard_zynq::{ use libboard_zynq::{
devc, devc,
eth::Eth, eth::Eth,