aboutsummaryrefslogtreecommitdiff
path: root/.cargo
diff options
context:
space:
mode:
authorIan McIntyre <me@mciantyre.dev>2025-12-21 10:49:59 -0500
committerIan McIntyre <me@mciantyre.dev>2025-12-21 11:03:59 -0500
commit03c232fe156c167a9e4738b2c051ea9776246960 (patch)
tree3fb2cde487f086c01e17330ceb8dc72b81545b37 /.cargo
parentb3732747cf52a743d7c4dd4a07479cc533ad5416 (diff)
Add 1160evk target-gen test support
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/1160evk.toml (renamed from .cargo/test_flash_algo.toml)2
-rw-r--r--.cargo/1170evk.toml14
2 files changed, 15 insertions, 1 deletions
diff --git a/.cargo/test_flash_algo.toml b/.cargo/1160evk.toml
index 6b3ef39..997875f 100644
--- a/.cargo/test_flash_algo.toml
+++ b/.cargo/1160evk.toml
@@ -8,7 +8,7 @@ rustflags = [
"-Clink-arg=-Tmemory.x",
"-Clink-arg=-Tdefmt.x",
]
-runner = "target-gen test template.yaml target/test_definition.yaml --protocol=swd --chip=mimxrt1170"
+runner = "target-gen test templates/1160evk.yaml target/1160evk.yaml --protocol=swd --chip=mimxrt1160"
[env]
DEFMT_LOG="off"
diff --git a/.cargo/1170evk.toml b/.cargo/1170evk.toml
new file mode 100644
index 0000000..45e8592
--- /dev/null
+++ b/.cargo/1170evk.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 templates/1170evk.yaml target/1170evk.yaml --protocol=swd --chip=mimxrt1170"
+
+[env]
+DEFMT_LOG="off"