Skip to content

Commit

Permalink
fixup! Update littlefs2 to v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-nitrokey committed Oct 24, 2024
1 parent 48e3b95 commit a9ad329
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 28 deletions.
35 changes: 14 additions & 21 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ trussed = { git = "https://github.com/Nitrokey/trussed.git", branch = "littlefs2
ctaphid-dispatch = { git = "https://github.com/Nitrokey/ctaphid-dispatch.git", tag = "v0.1.1-nitrokey.3" }
littlefs2 = { git = "https://github.com/trussed-dev/littlefs2.git", branch = "release-0.5.0" }
littlefs2-core = { git = "https://github.com/trussed-dev/littlefs2.git", branch = "release-0.5.0" }
littlefs2-sys = { git = "https://github.com/trussed-dev/littlefs2-sys.git", rev = "39626c0dbc2f6c38b74889a5bf9d5a200614f121" }
lpc55-hal = { git = "https://github.com/lpc55/lpc55-hal.git", branch = "littlefs2" }
usbd-ctaphid = { git = "https://github.com/trussed-dev/usbd-ctaphid.git", rev = "dcff9009c3cd1ef9e5b09f8f307aca998fc9a8c8" }
usbd-ccid = { git = "https://github.com/Nitrokey/usbd-ccid", tag = "v0.2.0-nitrokey.1" }
Expand Down
2 changes: 1 addition & 1 deletion components/apps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ trussed-usbip = { version = "0.0.1", default-features = false, features = ["ctap
usbd-ctaphid = { version = "0.1", optional = true }
utils = { path = "../utils" }
if_chain = "1.0.2"
littlefs2 = "0.5"
littlefs2-core = "0.1"

# Backends
trussed-auth = { version = "0.3.0", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion components/apps/src/dispatch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use trussed::{
#[cfg(feature = "backend-auth")]
use trussed::types::Location;

use littlefs2::{path, path::Path};
use littlefs2_core::{path, Path};

use if_chain::if_chain;
use trussed::{
Expand Down
2 changes: 1 addition & 1 deletion components/apps/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use ctaphid_dispatch::app::App as CtaphidApp;
#[cfg(feature = "se050")]
use embedded_hal::blocking::delay::DelayUs;
use heapless::Vec;
use littlefs2::path;
use littlefs2_core::path;

#[cfg(feature = "factory-reset")]
use admin_app::ResetConfigResult;
Expand Down
2 changes: 1 addition & 1 deletion components/apps/src/migrations.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused)]

use admin_app::migrations::Migrator;
use littlefs2::path;
use littlefs2_core::path;

pub(crate) const MIGRATION_VERSION_SPACE_EFFICIENCY: u32 = 1;

Expand Down
2 changes: 1 addition & 1 deletion runners/embedded/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cortex-m = { version = "0.7", features = ["critical-section-single-core"]}
cortex-m-rt = "0.6.15"
cortex-m-rtic = "1.0"
embedded-hal = "0.2.3"
littlefs2 = "0.5"
littlefs2-core = "0.1"
nfc-device = { path = "../../components/nfc-device" }
utils = { path = "../../components/utils", features = ["storage"] }

Expand Down
2 changes: 1 addition & 1 deletion runners/embedded/src/nk3xn/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ use hal::{
Pin,
};
use interchange::Channel;
use littlefs2::path;
use littlefs2_core::path;
use lpc55_hal as hal;
#[cfg(any(feature = "log-info", feature = "log-all"))]
use lpc55_hal::drivers::timer::Elapsed as _;
Expand Down

0 comments on commit a9ad329

Please sign in to comment.