From 7ffc62ab8613b097485b2c664093e649907dc2a1 Mon Sep 17 00:00:00 2001 From: Ian McIntyre Date: Mon, 3 Aug 2026 07:46:10 -0400 Subject: First commit --- .cargo/imxrt1170evk.toml | 10 ++++++++++ .cargo/qemu.toml | 10 ++++++++++ .cargo/teensy4.toml | 10 ++++++++++ 3 files changed, 30 insertions(+) create mode 100644 .cargo/imxrt1170evk.toml create mode 100644 .cargo/qemu.toml create mode 100644 .cargo/teensy4.toml (limited to '.cargo') 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", +] -- cgit v1.2.3