This repository was archived by the owner on Jan 30, 2024. It is now read-only.

Description
Describe the bug
While trying to cargo run this project on my Mac OS 13.5 M1, with rustc 1.71.1 (eb26296b5 2023-08-03) I have the following error:
Compiling rs-nrf-fw v0.1.0 (/Users/adrien/Dev/rust/rs-nrf-fw)
Finished dev [unoptimized + debuginfo] target(s) in 30.20s
Running `target/thumbv7em-none-eabihf/debug/rs-nrf-fw`
target/thumbv7em-none-eabihf/debug/rs-nrf-fw: target/thumbv7em-none-eabihf/debug/rs-nrf-fw: cannot execute binary file
I suspect it is linked to the fact I am using thumbv7em-none-eabihf with hf at the end, and this nrf52840-sample, which is basically based on a bump version of defmt of a 3 year old example project from this tutorial, produces a similar error:
Finished dev [unoptimized + debuginfo] target(s) in 18.97s
Running `target/thumbv7em-none-eabihf/debug/nrf52840dk-sample`
target/thumbv7em-none-eabihf/debug/nrf52840dk-sample: target/thumbv7em-none-eabihf/debug/nrf52840dk-sample: cannot execute binary file```