aboutsummaryrefslogtreecommitdiff
path: root/examples/embassy-stm32g4/.cargo
diff options
context:
space:
mode:
Diffstat (limited to 'examples/embassy-stm32g4/.cargo')
-rw-r--r--examples/embassy-stm32g4/.cargo/config.toml9
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"