Skip to content

Commit ec64231

Browse files
committed
Fix incorrect chip name in uf2create provider
Fixes incorrect (`rp2035`) chip name, which could lead to confusion and errors when the correct name `rp2350` was uses for the uf2create task. Signed-off-by: Winford <winford@object.stream>
1 parent d687c9f commit ec64231

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,9 +495,9 @@ The following table enumerates the valid `family_id` options:
495495
| Key | Description |
496496
|-------------|-------------|
497497
| `rp2040` | Original Raspberry Pi Pico and Pico-W |
498-
| `rp2035` | Raspberry Pi Pico 2 |
498+
| `rp2350` | Raspberry Pi Pico 2 |
499499
| `data` | Raspberry Pi Pico 2 |
500-
| `universal` | Universal format for both `rp2040` and `rp2035` |
500+
| `universal` | Universal format for both `rp2040` and `rp2350` |
501501

502502
> Note the convenience of universal uf2 binaries comes with the expense of being twice the size, as both versions are included in the universal uf2.
503503

src/atomvm_uf2create_provider.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ validate_flavor(Flavor) ->
153153
rp2040;
154154
"rp2040" ->
155155
rp2040;
156-
rp2035 ->
156+
rp2350 ->
157157
data;
158-
"rp2035" ->
158+
"rp2350" ->
159159
data;
160160
data ->
161161
data;

0 commit comments

Comments
 (0)