Skip to content

Commit

Permalink
Explain FUS dynamic layer usage
Browse files Browse the repository at this point in the history
  • Loading branch information
tronical committed Mar 27, 2024
1 parent d0e466f commit 028b498
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,26 @@ before running the `populate_sdk` task on your image.

## Demo Images

### STM32 MPU OpenSTLinux

When building for [STM32 MPU OpenSTLinux](https://www.st.com/en/embedded-software/stm32-mpu-openstlinux-distribution.html),
adding this `meta-slint` layer to your environment enables an additional `st-example-image-slint` image target. In your
`conf/local.conf` set `DISTRO = "openstlinux-eglfs"` and run `bitbake st-example-image-slint` to build an image that ships
various Slint demos in a minimal image. The demos run directly on the framebuffer with the LinuxKMS backend.

(Tested on stm32mp157-disco)
(Tested on stm32mp157-disco)

## F&S Elektronik System

When building for F&S Elektronik [meta-fus](https://github.com/FSEmbedded/meta-fus), adding this `meta-slint` layer to your
environment enables an additional `fus-image-slint-demos` image target.

Steps:
- Add `meta-slint`
- Add [meta-clang](https://github.com/kraj/meta-clang)
- Add [meta-rust](https://github.com/meta-rust/meta-rust)
- Edit your `conf/local.conf`:
- Make sure `DISTRO` is set to `"fus-imx-wayland"`
- Select the Rust version from `meta-rust` by adding this line (adjust path to layer accordingly):
`include ../../sources/meta-rust/conf/distro/include/rust_versions.inc`
- Run `bitbake fus-image-slint-demos` to build an image that ships various Slint demos in a minimal image. The demos run directly on the framebuffer with the LinuxKMS backend.

0 comments on commit 028b498

Please sign in to comment.