aboutsummaryrefslogtreecommitdiff
path: root/.cargo
diff options
context:
space:
mode:
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/rp-pico-2040.toml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.cargo/rp-pico-2040.toml b/.cargo/rp-pico-2040.toml
new file mode 100644
index 0000000..7bb6886
--- /dev/null
+++ b/.cargo/rp-pico-2040.toml
@@ -0,0 +1,10 @@
+[build]
+target = "thumbv6m-threadx-eabi"
+
+[target.thumbv6m-threadx-eabi]
+runner = "elf2uf2-rs -d"
+rustflags = [
+ "-Clink-arg=-Tweak-symbols.x",
+ "-Clink-arg=-Tlink.x",
+ "-Ctarget-cpu=cortex-m0",
+]