aboutsummaryrefslogtreecommitdiff
path: root/.cargo/flash_algo.toml
diff options
context:
space:
mode:
Diffstat (limited to '.cargo/flash_algo.toml')
-rw-r--r--.cargo/flash_algo.toml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.cargo/flash_algo.toml b/.cargo/flash_algo.toml
new file mode 100644
index 0000000..51a41a8
--- /dev/null
+++ b/.cargo/flash_algo.toml
@@ -0,0 +1,11 @@
+[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 elf --fixed-load-address"