aboutsummaryrefslogtreecommitdiff
path: root/.cargo
diff options
context:
space:
mode:
authorIan McIntyre <me@mciantyre.dev>2025-12-20 10:15:01 -0500
committerIan McIntyre <me@mciantyre.dev>2025-12-20 14:46:43 -0500
commita5ab874302568024ad9985d234b08b9ad72301d9 (patch)
tree1a43c3fc34c88eaa168c3ece5307981d2aabb633 /.cargo
parentfa5b0daeb02bb1775462ac57b353589d983fa2bb (diff)
Add target-gen test support for 1170 targets
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/test_flash_algo.toml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.cargo/test_flash_algo.toml b/.cargo/test_flash_algo.toml
new file mode 100644
index 0000000..6b3ef39
--- /dev/null
+++ b/.cargo/test_flash_algo.toml
@@ -0,0 +1,14 @@
+[build]
+target = "thumbv7em-none-eabi"
+
+[target.'cfg(all(target_os = "none", target_arch = "arm"))']
+rustflags = [
+ "-Clink-arg=-nmagic",
+ "-Clink-arg=-Tlink.x",
+ "-Clink-arg=-Tmemory.x",
+ "-Clink-arg=-Tdefmt.x",
+]
+runner = "target-gen test template.yaml target/test_definition.yaml --protocol=swd --chip=mimxrt1170"
+
+[env]
+DEFMT_LOG="off"