From 635bee2d21704fd76d066be0f66ce2c70ebaacb7 Mon Sep 17 00:00:00 2001 From: Ian McIntyre Date: Sun, 30 Nov 2025 19:56:39 -0500 Subject: First commit --- .cargo/imxrt1040.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .cargo/imxrt1040.toml (limited to '.cargo/imxrt1040.toml') diff --git a/.cargo/imxrt1040.toml b/.cargo/imxrt1040.toml new file mode 100644 index 0000000..2223c2d --- /dev/null +++ b/.cargo/imxrt1040.toml @@ -0,0 +1,12 @@ +[build] +target = "thumbv7em-none-eabihf" +target-dir = "target/imxrt1040" + +[target.thumbv7em-none-eabihf] +runner = "probe-rs run --chip=mimxrt1040" +rustflags = [ + "-Clink-arg=--nmagic", + "-Clink-arg=-Timxrt-link.x", + "-Clink-arg=-Tdefmt.x", + "-Ctarget-cpu=cortex-m7", +] -- cgit v1.2.3