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/.cargo | |
| 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/.cargo')
| -rw-r--r-- | examples/embassy-stm32g4/.cargo/config.toml | 9 |
1 files changed, 9 insertions, 0 deletions
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" |
