From d26c3fb6081c0c0d2d40cad21b7ec155c4eac1fa Mon Sep 17 00:00:00 2001 From: Lorenzo Good Date: Tue, 16 Jun 2026 12:39:20 -0400 Subject: [PATCH] Fix target type to use ARM FPU. --- .cargo/config.toml | 2 +- rust-toolchain.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 4b7f228..adb7956 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,5 +1,5 @@ [build] -target = "thumbv7m-none-eabi" +target = "thumbv7em-none-eabihf" rustflags = [ "-C", "link-arg=-Tlink.x", ] diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 9f7a8dd..46af74a 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] channel = "1.96.0" profile = "default" -targets = ["thumbv7m-none-eabi"] +targets = ["thumbv7em-none-eabihf"] components = [ "rustfmt", "rust-analyzer", "clippy", "rust-src"]