Article: NuttX RTOS for PinePhone: Feature Phone UI in LVGL, Zig and WebAssembly
#18
(07-02-2023, 07:15 AM)WhiteHexagon Wrote: I assume there is an event thread running for LVGL somewhere

Actually there isn't an Event Thread for LVGL :-)

If you remember our WebAssembly Article, our LVGL App calls LVGL periodically to execute Background Tasks (lv_timer_handler).

For PinePhone, lv_timer_handler is called by the Main Function of lvgldemo:

https://github.com/apache/nuttx-apps/blo...#L240-L249

lv_timer_handler will trigger a callback to read a Touch Sample:

https://lupyuen.codeberg.page/articles/t...our-driver

So no worries about clashing threads! LVGL looks really simplistic because it's meant to run on Bare Metal Hardware without threading. Which makes things easier for us :-)
  Reply


Messages In This Thread
RE: Article: NuttX RTOS for PinePhone: Feature Phone UI in LVGL, Zig and WebAssembly - by lupyuen - 07-02-2023, 08:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Fedora + Phosh for PinePhone njha 77 202,385 01-14-2026, 12:22 AM
Last Post: tllim
  Difficulty with openSUSE Tumbleweed Install PinePhone Beta danm1988 0 282 11-17-2025, 07:49 AM
Last Post: danm1988
  How-To: Remote Control Your Phone from Desktop via VNC biketool 16 8,246 10-16-2025, 06:55 AM
Last Post: biketool
  Movuan distribution for PinePhone merom 5 5,122 07-27-2025, 05:01 PM
Last Post: merom
  baremetal via Zig on PinePhone - JumpDrive help please WhiteHexagon 1 3,293 07-07-2025, 10:33 AM
Last Post: WhiteHexagon
  Jami on the Pine phone ? bcnaz 8 13,069 06-09-2025, 04:17 PM
Last Post: j_s
  Latest firmware for PinePhone modem! Subsentient 105 207,512 02-02-2025, 08:47 PM
Last Post: bacydentir85
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 40 56,884 12-28-2024, 12:19 AM
Last Post: mara
  Office applications for the Pinephone Peter Gamma 2 4,521 09-05-2024, 09:22 AM
Last Post: Peter Gamma
  Struggle to install LibreOffice on the PinePhone Peter Gamma 50 63,073 07-26-2024, 10:35 PM
Last Post: Peter Gamma

Forum Jump:


Users browsing this thread: 2 Guest(s)