Skip to content

add stm32mp157f#125

Merged
AndreCostaaa merged 3 commits intolvgl:masterfrom
liamHowatt:stm32mp157f
Mar 16, 2026
Merged

add stm32mp157f#125
AndreCostaaa merged 3 commits intolvgl:masterfrom
liamHowatt:stm32mp157f

Conversation

@liamHowatt
Copy link
Contributor

@liamHowatt liamHowatt commented Feb 12, 2026

Summary by cubic

Adds STM32MP157F-DK2 board support for lv_port_linux. Includes setup for Wayland, SDL, and DRM backends, build/run instructions, and Project Creator metadata so users can run LVGL on ST’s MP1 devkit.

  • New Features
    • Added boards/stm32mp157f-dk with README: hardware/software setup, SDK activation, updated Wayland build command, driver backends (Wayland/SDL/DRM-egl-2d), run flags (-m/-f), gdbserver notes, and benchmarks.
    • Added manifest.json for Project Creator (board specs, image, buy links, branches, get-started).
    • Added board image (stm32mp157f-dk.avif).
    • Updated root README to list STM32MP157F-DK2.

Written for commit 427916a. Summary will update on new commits.

@kisvegabor
Copy link
Member

kisvegabor commented Mar 16, 2026

@AndreCostaaa
I'm about to publish the video, so this PR needs to be merged.

Also: is it Yocto? If so we need to tell it in the README.

@AndreCostaaa
Copy link
Collaborator

It is yocto based but ST provides a default ready to install image and SDK, no need to build it

Co-authored-by: André Costa <andre_miguel_costa@hotmail.com>
@AndreCostaaa AndreCostaaa marked this pull request as ready for review March 16, 2026 07:35
@AndreCostaaa AndreCostaaa merged commit 809c753 into lvgl:master Mar 16, 2026
5 of 8 checks passed
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 4 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="boards/stm32mp157f-dk/README.md">

<violation number="1" location="boards/stm32mp157f-dk/README.md:132">
P2: Wayland SSH run instructions omit required session environment variables, which can cause `lvglsim` to fail to connect to the compositor.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

```
On the board, run the binary:
```shell
./lvglsim -m
Copy link

@cubic-dev-ai cubic-dev-ai bot Mar 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Wayland SSH run instructions omit required session environment variables, which can cause lvglsim to fail to connect to the compositor.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At boards/stm32mp157f-dk/README.md, line 132:

<comment>Wayland SSH run instructions omit required session environment variables, which can cause `lvglsim` to fail to connect to the compositor.</comment>

<file context>
@@ -0,0 +1,173 @@
+```
+On the board, run the binary:
+```shell
+./lvglsim -m
+```
+
</file context>
Suggested change
./lvglsim -m
XDG_RUNTIME_DIR=/run/user/1000 WAYLAND_DISPLAY=wayland-1 ./lvglsim -m
Fix with Cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants