diff --git a/example/.cargo/config b/example/.cargo/config index 6a24a28f52ae9167bf4b18f88dee579139958934..ce93b2d04c5c1545b035246ce836dc02801bf6a2 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 6f3d65b48876528fc3ce731733e9b21d76873ace..18c15a196781b4e2c5b07d5266db56989137993d 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")