Readit News logoReadit News
nabilt · a year ago
If you just want a simple UI editor and don't want to pay for the official tool, give GUI Glider from NXP a try.

https://www.nxp.com/design/design-center/software/developmen...

Saris · a year ago
EEZ Studio is another option that's open source, and I find it a bit easier to use too: https://github.com/eez-open/studio
echoangle · a year ago
Small typo: GUI Guider
whitehexagon · a year ago
I was using LVGL (8.3.3) some time ago with Zig/WASM/PinePhone, following these great NuttX series of articles by Lup Yuen:

https://lupyuen.github.io/pinephone-lvgl-zig/

I just recently returned to Zig, and started porting the build file (zig cc calls) to latest Zig (build.zig), but struggling to compile the C LVGL to WASM I suspect because LVGL has a few dependencies on standard C bits n bobs, and I cant find a way to reference the C header files needed.

Anyway, just to say that I found the simplicity of LVGL a breath of fresh air. When I first looked at the PinePhone I was struggling to work out how to access the Mali GPU, thinking I'd be doing UI via OpenGL ES. But seeing how well LVGL and the simple frame-buffer approach works, I abandoned that approach all together. Thanks lupyuen!

It is also nice having the UI in WASM for iterative development without the slow deploy to phone hardware.

I was also able to simply extend an LVGL widget to show a 32bit register contents for debugging my SoC work. A huge time saver.

So a big thanks to the LVGL team on the library, and especially the detailed documentation and examples.

rollcat · a year ago
There was a thread the other day about Forth on 6051, and someone challenged Forth's utility. I think it fits the same niche: enables quick iteration, exploration, while maintaining a "just right" level of abstraction over the bare metal.

If you want to build something, step 1 is always: empower the developer.

jeremyjh · a year ago
Is "Embedded graphics library" really ambiguous? People in this thread asking about web UIs, GPUs, etc really confuse me. What are they responding to, exactly?
snuxoll · a year ago
I’ve used it to make a UI for an ESP32 with one of those tiny B&W OLED displays, it happens to scale up from there as well.
androiddrew · a year ago
LVGL works with Micropython! Ok disclaimer don’t use the official port it is not good. There is another port https://github.com/lvgl-micropython/lvgl_micropython that has a better setup. I already have it working with custom fonts, and surprisingly Claude can do a reasonable amount of troubleshooting if you get stuck on the API
karmicthreat · a year ago
It's fairly nice just to build a simple embedded UI. There is also a useful editor now, though I haven't used it. It was implemented as a stand-alone program, I would have preferred a VSCode plugin.

It can be a bit difficult to get going on a specific platform, but once you have it going, it's smooth sailing.

amelius · a year ago
> A fully portable C (C++ compatible) library with no external dependencies.

How does it interact with the screen then?

pmalynin · a year ago
amelius · a year ago
Ok, so I take from this that it uses pixel buffers directly, and has no opengl support (which would allow GPU acceleration).
transpute · a year ago
PoC from shell scripts with Linux framebuffer, https://github.com/rzr/dialog-lvgl
throwaway290 · a year ago
How does it compare to a generic lib like Dear ImGui? Imgui is tiny and well suited for embedded. Blazing fast
Rohansi · a year ago
Dear Imgui is immediate mode and primarily designed for rendering with a 3D-capable GPU. LVGL is retained mode and designed for running on microcontrollers where there is no GPU available.