Skip to content

Commit

Permalink
telemetry-module: set toolchain version, tidy deps, add lints
Browse files Browse the repository at this point in the history
  • Loading branch information
DanNixon committed Feb 17, 2025
1 parent ca21816 commit 69f1392
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 30 deletions.
26 changes: 0 additions & 26 deletions telemetry-module/firmware/Cargo.lock

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

6 changes: 3 additions & 3 deletions telemetry-module/firmware/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ edition = "2021"
license = "MIT"

[dependencies]
cortex-m = "0.7.7"
cortex-m-rt = "0.7.3"
embassy-rp = { version = "0.2.0", features = ["defmt", "unstable-pac", "time-driver", "critical-section-impl"] }
assign-resources = "0.4.1"
Expand All @@ -20,7 +19,6 @@ rand = { version = "0.8.5", default-features = false }
embassy-executor = { version = "0.6.1", features = ["task-arena-size-98304", "arch-cortex-m", "executor-thread", "executor-interrupt", "defmt", "integrated-timers"] }
embassy-time = { version = "0.3.2", features = ["defmt"] }

embedded-hal = "1.0.0"
embassy-embedded-hal = { version = "0.2.0", features = ["defmt"] }
embedded-io-async = "0.6.1"

Expand All @@ -30,7 +28,6 @@ panic-probe = { version = "0.3.2", features = ["print-defmt"] }

embassy-sync = "0.6.0"
embassy-futures = "0.1.1"
embassy-time-queue-driver = "0.1.0"
portable-atomic = { version = "1.9.0", features = ["critical-section"] }
static_cell = "2.1.0"

Expand Down Expand Up @@ -59,3 +56,6 @@ opt-level = 'z'
debug = 2
lto = true
opt-level = "z"

[lints.rust]
unused_crate_dependencies = "deny"
2 changes: 1 addition & 1 deletion telemetry-module/firmware/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "stable"
channel = "1.84"
components = ["rust-src", "clippy", "rust-analyzer"]
profile = "minimal"
1 change: 1 addition & 0 deletions telemetry-module/firmware/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ use embassy_rp::{
use embassy_sync::pubsub::WaitResult;
use embassy_time::{Duration, Ticker, Timer};
use panic_probe as _;
use portable_atomic as _;
use static_cell::StaticCell;

static mut CORE1_STACK: Stack<4096> = Stack::new();
Expand Down

0 comments on commit 69f1392

Please sign in to comment.