06-09-2023, 06:39 PM
We have created an LVGL App that runs in a Web Browser and on PinePhone…
1. We compiled LVGL Library from C to WebAssembly with Zig Compiler
2. We wrote our LVGL App in the Zig Programming Language (instead of C)
3. Exact same code runs in a Web Browser and on PinePhone (with Apache NuttX RTOS)
4. Which is super helpful for prototyping LVGL Apps
Check out the details in this article:
“NuttX RTOS for PinePhone: Feature Phone UI in LVGL, Zig and WebAssembly”
How it looks on PinePhone:
And how we tested in a Web Browser with WebAssembly:
1. We compiled LVGL Library from C to WebAssembly with Zig Compiler
2. We wrote our LVGL App in the Zig Programming Language (instead of C)
3. Exact same code runs in a Web Browser and on PinePhone (with Apache NuttX RTOS)
4. Which is super helpful for prototyping LVGL Apps
Check out the details in this article:
“NuttX RTOS for PinePhone: Feature Phone UI in LVGL, Zig and WebAssembly”
How it looks on PinePhone:
And how we tested in a Web Browser with WebAssembly: