aboutsummaryrefslogtreecommitdiff
path: root/.cargo/config
diff options
context:
space:
mode:
Diffstat (limited to '.cargo/config')
-rw-r--r--.cargo/config11
1 files changed, 11 insertions, 0 deletions
diff --git a/.cargo/config b/.cargo/config
new file mode 100644
index 0000000..149feab
--- /dev/null
+++ b/.cargo/config
@@ -0,0 +1,11 @@
+# Copyright 2019 Robin Krahl <robin.krahl@ireas.org>
+# SPDX-License-Identifier: CC0-1.0
+
+[target.thumbv7m-none-eabi]
+runner = "arm-none-eabi-gdb -q -x etc/debug.gdb"
+rustflags = [
+ "-C", "link-arg=-Tlink.x",
+]
+
+[build]
+target = "thumbv7m-none-eabi"