aboutsummaryrefslogtreecommitdiff
path: root/.cargo
diff options
context:
space:
mode:
authorIan McIntyre <me@mciantyre.dev>2026-08-03 07:46:10 -0400
committerIan McIntyre <me@mciantyre.dev>2026-08-03 07:46:10 -0400
commit7ffc62ab8613b097485b2c664093e649907dc2a1 (patch)
tree428e6e958af00e1022e663676fffe9c19f0174a6 /.cargo
First commit
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/imxrt1170evk.toml10
-rw-r--r--.cargo/qemu.toml10
-rw-r--r--.cargo/teensy4.toml10
3 files changed, 30 insertions, 0 deletions
diff --git a/.cargo/imxrt1170evk.toml b/.cargo/imxrt1170evk.toml
new file mode 100644
index 0000000..a3f57df
--- /dev/null
+++ b/.cargo/imxrt1170evk.toml
@@ -0,0 +1,10 @@
+[build]
+target = "thumbv7em-threadx-eabihf"
+
+[target.thumbv7em-threadx-eabihf]
+runner = "probe-rs run --chip=mimxrt1170"
+rustflags = [
+ "-Clink-arg=-Tweak-symbols.x",
+ "-Clink-arg=-Timxrt-link.x",
+ "-Ctarget-cpu=cortex-m7",
+]
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",
+]
diff --git a/.cargo/teensy4.toml b/.cargo/teensy4.toml
new file mode 100644
index 0000000..dcdf45e
--- /dev/null
+++ b/.cargo/teensy4.toml
@@ -0,0 +1,10 @@
+[build]
+target = "thumbv7em-threadx-eabihf"
+
+[target.thumbv7em-threadx-eabihf]
+runner = "teensy4-runner"
+rustflags = [
+ "-Clink-arg=-Tweak-symbols.x",
+ "-Clink-arg=-Tt4link.x",
+ "-Ctarget-cpu=cortex-m7",
+]