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
+11-4
Original file line number
Diff line number
Diff line change
@@ -25,10 +25,17 @@ classic template at https://github.com/slint-ui/slint-rust-template.
25
25
```
26
26
cargo run --features simulator
27
27
```
28
-
4. If you have a [RaspberryPi Pico](https://www.raspberrypi.com/products/raspberry-pi-pico/) with a [2.8 inch Waveshare Touch Screen](https://www.waveshare.com/pico-restouch-lcd-2.8.htm), run on the device with
4. If you have a [RaspberryPi Pico](https://www.raspberrypi.com/products/raspberry-pi-pico/) with a [2.8 inch Waveshare Touch Screen](https://www.waveshare.com/pico-restouch-lcd-2.8.htm):
29
+
30
+
a. Install the cargo extension to create UF2 images for the RP2040 USB Bootloader
31
+
```
32
+
cargo install elf2uf2-rs --locked
33
+
```
34
+
35
+
b. Run on the device
36
+
```
37
+
cargo run --target=thumbv6m-none-eabi --features=pico --release
38
+
```
32
39
33
40
In order to port to your device, you will have to replace all the code that is specific to the RaspberryPi Pico.
34
41
See also the instructions on https://slint-ui.com/snapshots/master/docs/rust/slint/docs/mcu/index.html
0 commit comments