From 1df33d761743dae1c755a9d2b37b66fba4127550 Mon Sep 17 00:00:00 2001 From: Marc Poulhiès Date: Tue, 1 Mar 2022 22:24:27 +0100 Subject: Add cargo-embed configuration Flash + gdb server --- firmware/Embed.toml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 firmware/Embed.toml 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" -- cgit v1.2.3