diff options
| author | Ian McIntyre <me@mciantyre.dev> | 2026-08-30 17:35:22 -0400 |
|---|---|---|
| committer | Ian McIntyre <me@mciantyre.dev> | 2026-09-05 13:37:16 -0400 |
| commit | bfa4501cd703149f4720a4ef6cdbe74ef6c3e361 (patch) | |
| tree | 0bf7f586d2d363d7ae5a5599204378f8951a74e8 /.cargo | |
| parent | c4962c8b9207e9474659526e91a1cf387d2a7b8f (diff) | |
Add RP2040 support
Diffstat (limited to '.cargo')
| -rw-r--r-- | .cargo/rp-pico-2040.toml | 10 |
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", +] |
