Skip to content

Commit efa3e8e

Browse files
[autofix.ci] apply automated fixes
1 parent e02bfc1 commit efa3e8e

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

examples/mcu-embassy/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
<!-- Copyright © SixtyFPS GmbH <[email protected]> ; SPDX-License-Identifier: MIT -->
2+
13
# Embassy Slint stm32u5g9j-dk2 Demo
24

3-
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.
46
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.
57

68
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:
2224
rustup target add thumbv8m.main-none-eabihf
2325
```
2426

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.
2628

2729
```bash
2830
cargo install --force --locked probe-rs-tools
@@ -51,7 +53,7 @@ target = "thumbv8m.main-none-eabihf"
5153
If using vscode then make sure `rust-analyzer.cargo.features` is set to `mcu` in `.vscode/settings.json`
5254

5355
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:
5557
```toml
5658
[profile.release]
5759
debug = true # required for decent panic messages and log line locations
@@ -73,7 +75,7 @@ To run the simulator on a pc:
7375
cargo run --bin ui_simulator --release --no-default-features --features=simulator --target x86_64-unknown-linux-gnu
7476
# for windows
7577
cargo run --bin ui_simulator --release --no-default-features --features=simulator --target x86_64-pc-windows-msvc
76-
# for mac
78+
# for mac
7779
cargo run --bin ui_simulator --release --no-default-features --features=simulator --target x86_64-apple-darwin
7880
```
7981

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<!-- Copyright © SixtyFPS GmbH <[email protected]> ; SPDX-License-Identifier: MIT -->
2+
13
# Generated
24

35
This crate is here to separate the `.slint` file compilation from the main application.

0 commit comments

Comments
 (0)