aboutsummaryrefslogtreecommitdiff
path: root/.cargo/qemu.toml
diff options
context:
space:
mode:
Diffstat (limited to '.cargo/qemu.toml')
-rw-r--r--.cargo/qemu.toml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.cargo/qemu.toml b/.cargo/qemu.toml
new file mode 100644
index 0000000..5e76894
--- /dev/null
+++ b/.cargo/qemu.toml
@@ -0,0 +1,10 @@
+[build]
+target = "thumbv7em-threadx-eabihf"
+
+[target.thumbv7em-threadx-eabihf]
+runner = "qemu-system-arm -cpu cortex-m4 -machine lm3s6965evb -serial none -monitor none -display none -semihosting-config enable=on,target=native -s -kernel"
+rustflags = [
+ "-Clink-arg=-Tweak-symbols.x",
+ "-Clink-arg=-Tlink.x",
+ "-Ctarget-cpu=cortex-m4",
+]