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/.cargo/config.toml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 examples/embassy-stm32g4/.cargo/config.toml (limited to 'examples/embassy-stm32g4/.cargo') diff --git a/examples/embassy-stm32g4/.cargo/config.toml b/examples/embassy-stm32g4/.cargo/config.toml new file mode 100644 index 0000000..cbe0039 --- /dev/null +++ b/examples/embassy-stm32g4/.cargo/config.toml @@ -0,0 +1,9 @@ +[target.'cfg(all(target_arch = "arm", target_os = "none"))'] +# replace STM32G071C8Rx with your chip as listed in `probe-rs chip list` +runner = "probe-rs run --chip STM32G431CBUx --connect-under-reset" + +[build] +target = "thumbv7m-none-eabi" + +[env] +DEFMT_LOG = "trace" -- cgit v1.2.3