summaryrefslogtreecommitdiff
path: root/.cargo/config
diff options
context:
space:
mode:
Diffstat (limited to '.cargo/config')
-rw-r--r--.cargo/config10
1 files changed, 10 insertions, 0 deletions
diff --git a/.cargo/config b/.cargo/config
new file mode 100644
index 0000000..6f29034
--- /dev/null
+++ b/.cargo/config
@@ -0,0 +1,10 @@
+[target.thumbv7m-none-eabi]
+runner = 'arm-none-eabi-gdb'
+rustflags = [
+ "-C", "link-arg=-Tlink.x",
+ "-C", "linker=arm-none-eabi-ld",
+ "-Z", "linker-flavor=ld",
+]
+
+[build]
+target = "thumbv7m-none-eabi"