From e405c474f5e0e94288191223de7ae0f31ae0b15f Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Sun, 4 Aug 2019 14:19:25 -0400 Subject: Migrate everything over to separate libraries. * `usb-host` is the crate containing the HAL traits. * `bootkbd` is a crate for a bare-bones boot protocol keyboard driver. * `samd21-host` is a crate with an implementation of `usb-host` for a SAMD21 platform, with an example for the trinket-m0 which uses the `bootkbd` driver to print keyboard reports. --- samd21-host/.cargo/config | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 samd21-host/.cargo/config (limited to 'samd21-host/.cargo/config') 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" -- cgit v1.3