aboutsummaryrefslogtreecommitdiffstats
path: root/.cargo/config
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2019-08-04 15:33:03 -0400
committerBrian Cully <bjc@kublai.com>2019-08-04 19:58:34 -0400
commite02128bd4d9d2716b55be5db3dccb18f92f01e9c (patch)
tree8f74b58be72a31a257f11022454fc186060193a3 /.cargo/config
downloadatsamd-usb-host-e02128bd4d9d2716b55be5db3dccb18f92f01e9c.tar.gz
atsamd-usb-host-e02128bd4d9d2716b55be5db3dccb18f92f01e9c.zip
Initial commit
Diffstat (limited to '.cargo/config')
-rw-r--r--.cargo/config6
1 files changed, 6 insertions, 0 deletions
diff --git a/.cargo/config b/.cargo/config
new file mode 100644
index 0000000..b6cdff0
--- /dev/null
+++ b/.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"