From bfa4501cd703149f4720a4ef6cdbe74ef6c3e361 Mon Sep 17 00:00:00 2001 From: Ian McIntyre Date: Sun, 30 Aug 2026 17:35:22 -0400 Subject: Add RP2040 support --- .cargo/rp-pico-2040.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .cargo/rp-pico-2040.toml (limited to '.cargo') 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", +] -- cgit v1.2.3