From 9a4a43a8f08b0da15d836065d2d5341dceb5a970 Mon Sep 17 00:00:00 2001
From: Astro <astro@spaceboyz.net>
Date: Thu, 22 Aug 2019 19:37:57 +0200
Subject: [PATCH] s/eabihf/eabi/

---
 example/.cargo/config | 6 +++---
 l0dable/build.rs      | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/example/.cargo/config b/example/.cargo/config
index 6a24a28f..ce93b2d0 100644
--- a/example/.cargo/config
+++ b/example/.cargo/config
@@ -1,10 +1,10 @@
-[target.thumbv7em-none-eabihf]
+[target.thumbv7em-none-eabi]
 rustflags = [
-  "-C", "linker=arm-none-eabihf-gcc",
+  "-C", "linker=arm-none-eabi-gcc",
   "-C", "link-args=-Tl0dable.ld -n -pie -fPIC",
   "-C", "relocation-model=pic",
 ]
 
 [build]
-target = "thumbv7em-none-eabihf" # Cortex-M4F and Cortex-M7F (with FPU)
+target = "thumbv7em-none-eabi" # Cortex-M4F and Cortex-M7F (with FPU)
 
diff --git a/l0dable/build.rs b/l0dable/build.rs
index 6f3d65b4..18c15a19 100644
--- a/l0dable/build.rs
+++ b/l0dable/build.rs
@@ -17,8 +17,8 @@ fn main() {
 
     // Link against C code
     cc::Build::new()
-        .target("thumbv7em-none-eabihf")
-        .compiler("arm-none-eabihf-gcc")
+        .target("thumbv7em-none-eabi")
+        .compiler("arm-none-eabi-gcc")
         .define("TARGET", "MAX32665")
         .define("TARGET_UC", "MAX32665")
         .define("TARGET_LC", "max32665")
-- 
GitLab