aboutsummaryrefslogtreecommitdiff
path: root/.cargo/teensy4.toml
diff options
context:
space:
mode:
Diffstat (limited to '.cargo/teensy4.toml')
-rw-r--r--.cargo/teensy4.toml10
1 files changed, 10 insertions, 0 deletions
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",
+]