aboutsummaryrefslogtreecommitdiffstats
path: root/samd21-host/.cargo/config
diff options
context:
space:
mode:
Diffstat (limited to 'samd21-host/.cargo/config')
-rw-r--r--samd21-host/.cargo/config6
1 files changed, 6 insertions, 0 deletions
diff --git a/samd21-host/.cargo/config b/samd21-host/.cargo/config
new file mode 100644
index 0000000..b6cdff0
--- /dev/null
+++ b/samd21-host/.cargo/config
@@ -0,0 +1,6 @@
+[build]
+target = "thumbv6m-none-eabi"
+
+[target.thumbv6m-none-eabi]
+rustflags = ["-C", "link-arg=-Tlink.x"]
+runner = "qemu-system-arm -pidfile qemu.pid -cpu cortex-m0 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -gdb tcp::3333 -S -kernel"