aboutsummaryrefslogtreecommitdiff
path: root/.cargo/test_flash_algo.toml
diff options
context:
space:
mode:
Diffstat (limited to '.cargo/test_flash_algo.toml')
-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"