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
An embedded async Slint GUI demo using Embassy and an stm32u5g9j-dk2 development kit. This demo was written to run on a resource constrained device, not a PC or laptop.
5
+
An embedded async Slint GUI demo using Embassy and an stm32u5g9j-dk2 development kit. This demo was written to run on a resource constrained device, not a PC or laptop.
4
6
The simulator can run on a PC if you do not have the dev kit on hand but it is not meant to be a reference design for an async GUI implementation on a PC.
5
7
6
8
The stm32u5g9j-dk2 was chosen because of its availability and price point and has enough onboard ram (3MB) and flash (4MB) to run Slint without external psram and flash, reducing setup complexity.
@@ -22,7 +24,7 @@ Install the cross compilation target for the mcu:
22
24
rustup target add thumbv8m.main-none-eabihf
23
25
```
24
26
25
-
You need software to be able to flash the firmware to the dev kit.
27
+
You need software to be able to flash the firmware to the dev kit.
If using vscode then make sure `rust-analyzer.cargo.features` is set to `mcu` in `.vscode/settings.json`
52
54
53
55
You may be wondering why you get the following message in the logs: `invalid location: defmt frame-index`
54
-
In the Slint workspace `Cargo.toml` file overrides the `Cargo.toml` file in this crate so make sure the release profile is as follows in that workspace file:
56
+
In the Slint workspace `Cargo.toml` file overrides the `Cargo.toml` file in this crate so make sure the release profile is as follows in that workspace file:
55
57
```toml
56
58
[profile.release]
57
59
debug = true# required for decent panic messages and log line locations
@@ -73,7 +75,7 @@ To run the simulator on a pc:
73
75
cargo run --bin ui_simulator --release --no-default-features --features=simulator --target x86_64-unknown-linux-gnu
74
76
# for windows
75
77
cargo run --bin ui_simulator --release --no-default-features --features=simulator --target x86_64-pc-windows-msvc
76
-
# for mac
78
+
# for mac
77
79
cargo run --bin ui_simulator --release --no-default-features --features=simulator --target x86_64-apple-darwin
0 commit comments