diff options
| author | cschuhen <47763321+cschuhen@users.noreply.github.com> | 2024-02-27 21:25:07 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-27 11:25:07 +0000 |
| commit | b1467c62b4b4f61ce53b6572c30920a72550ea45 (patch) | |
| tree | f2e685383be2203ee96b7172f11f7bfcdb26d52a /examples/embassy-stm32g4/build.rs | |
| parent | 27985009579e82673dcaf7a6a715fcf50c184863 (diff) | |
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 <cschuhen@gmail.com>
Diffstat (limited to 'examples/embassy-stm32g4/build.rs')
| -rw-r--r-- | examples/embassy-stm32g4/build.rs | 5 |
1 files changed, 5 insertions, 0 deletions
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"); +} |
