You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-40Lines changed: 18 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# Project template for rp2040-hal
1
+
# Project template for rp235x-hal
2
2
3
-
This template is intended as a starting point for developing your own firmware based on the rp2040-hal.
3
+
This template is intended as a starting point for developing your own firmware based on the rp235x-hal.
4
4
5
5
It includes all of the `knurling-rs` tooling as showcased in https://github.com/knurling-rs/app-template (`defmt`, `defmt-rtt`, `panic-probe`, `flip-link`) to make development as easy as possible.
6
6
@@ -21,7 +21,6 @@ If you aren't using a debugger (or want to use other debugging configurations),
@@ -37,7 +36,7 @@ If you aren't using a debugger (or want to use other debugging configurations),
37
36
38
37
- The standard Rust tooling (cargo, rustup) which you can install from https://rustup.rs/
39
38
40
-
- Toolchain support for the cortex-m0+ processors in the rp2040 (thumbv6m-none-eabi)
39
+
- Toolchain support for the cortex-m33 processors in the rp235x (thumbv8m.main-none-eabihf)
41
40
42
41
- flip-link - this allows you to detect stack-overflows on the first core, which is the only supported target for now.
43
42
@@ -55,13 +54,13 @@ If you aren't using a debugger (or want to use other debugging configurations),
55
54
<detailsopen="open">
56
55
<summary><h2style="display: inline-block"id="installation-of-development-dependencies">Installation of development dependencies</h2></summary>
57
56
57
+
If you are using Nix, you can use the `devShell` made available in `flake.nix`. Otherwise, you can follow these commands (provided you already have [`Rustup`](https://rustup.rs/) installed):
58
+
58
59
```sh
59
-
rustup target install thumbv6m-none-eabi
60
+
rustup target install thumbv8m.main-none-eabihf
60
61
cargo install flip-link
61
62
# Installs the probe-rs tools, including probe-rs run, our recommended default runner
62
63
cargo install --locked probe-rs-tools
63
-
# If you want to use elf2uf2-rs instead, do...
64
-
cargo install --locked elf2uf2-rs
65
64
```
66
65
If you get the error ``binary `cargo-embed` already exists`` during installation of probe-rs, run `cargo uninstall cargo-embed` to uninstall your older version of cargo-embed before trying again.
67
66
@@ -74,7 +73,7 @@ If you get the error ``binary `cargo-embed` already exists`` during installation
0 commit comments