From b1467c62b4b4f61ce53b6572c30920a72550ea45 Mon Sep 17 00:00:00 2001 From: cschuhen <47763321+cschuhen@users.noreply.github.com> Date: Tue, 27 Feb 2024 21:25:07 +1000 Subject: Add example of using Embassy HAL(stm32) with RTIC. (#891) The RTIC book mentions Embassy+RTIC but gives no examples. fmt. Add feature flag Seems CI does not deal with 2 levels of depth. Forgot to stage. Thumb m arch. Co-authored-by: Corey Schuhen --- examples/embassy-stm32g4/build.rs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 examples/embassy-stm32g4/build.rs (limited to 'examples/embassy-stm32g4/build.rs') diff --git a/examples/embassy-stm32g4/build.rs b/examples/embassy-stm32g4/build.rs new file mode 100644 index 0000000..8cd32d7 --- /dev/null +++ b/examples/embassy-stm32g4/build.rs @@ -0,0 +1,5 @@ +fn main() { + println!("cargo:rustc-link-arg-bins=--nmagic"); + println!("cargo:rustc-link-arg-bins=-Tlink.x"); + println!("cargo:rustc-link-arg-bins=-Tdefmt.x"); +} -- cgit v1.2.3