summaryrefslogtreecommitdiffstats
path: root/.cargo
diff options
context:
space:
mode:
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/config.toml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
new file mode 100644
index 0000000..0dc2b8f
--- /dev/null
+++ b/.cargo/config.toml
@@ -0,0 +1,13 @@
+[target.thumbv7em-none-eabihf]
+runner = "probe-rs run --chip STM32F411CEUx"
+linker = "flip-link"
+rustflags = [
+ "-C", "link-arg=-Tlink.x",
+ "-C", "link-arg=-Tdefmt.x",
+]
+
+[build]
+target = "thumbv7em-none-eabihf"
+
+[env]
+DEFMT_LOG = "trace"