summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Poulhiès <dkm@kataplop.net>2022-03-01 22:24:27 +0100
committerMarc Poulhiès <dkm@kataplop.net>2022-03-01 22:24:27 +0100
commit1df33d761743dae1c755a9d2b37b66fba4127550 (patch)
treed4bb23401d0d7459fdb3e5debc41b22b4659a1bd
parent3d7b7dd6e23eb8d48c4dad3b9b736f814144d2b8 (diff)
Add cargo-embed configuration
Flash + gdb server
-rw-r--r--firmware/Embed.toml21
1 files changed, 21 insertions, 0 deletions
diff --git a/firmware/Embed.toml b/firmware/Embed.toml
new file mode 100644
index 0000000..80179ac
--- /dev/null
+++ b/firmware/Embed.toml
@@ -0,0 +1,21 @@
+[default.probe]
+protocol = "Swd"
+
+[default.flashing]
+enabled = true
+
+[default.reset]
+enabled = true
+# Whether or not the target should be halted after reset.
+halt_afterwards = false
+
+[default.general]
+chip = "STM32L072CBTX"
+log_level = "WARN"
+
+[default.rtt]
+enabled = false
+
+[default.gdb]
+enabled = true
+gdb_connection_string = "127.0.0.1:1337"