Article: NuttX RTOS for PinePhone: Feature Phone UI in LVGL, Zig and WebAssembly
#19
Perfectly explained as always, thanks Smile

I had a funny moment of enlightenment after a couple more days re-learning C. The whole point of this was to exercise my Zig skills, so then I had some fun porting my KEYADC code back up to the Zig layer. Some inspiration for Register handling from link below, but using a packed struct(u32) for bool bit flags. Looks like Zig are currently adding some builtins to improve this usecase.

https://www.scattered-thoughts.net/writing/mmio-in-zig/

My interrupt code is working, but I seem to miss the occasional KEYUP event, so next job is looking at that in more detail. I got some debug back on the display now, and found a bigger font that my eyes can read Smile

PS the missing interrupts are regardless of C or Zig, so maybe something GIC layer, next learning exercise Smile
  Reply


Messages In This Thread
RE: Article: NuttX RTOS for PinePhone: Feature Phone UI in LVGL, Zig and WebAssembly - by WhiteHexagon - 07-05-2023, 01:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Fedora + Phosh for PinePhone njha 77 202,379 01-14-2026, 12:22 AM
Last Post: tllim
  Difficulty with openSUSE Tumbleweed Install PinePhone Beta danm1988 0 280 11-17-2025, 07:49 AM
Last Post: danm1988
  How-To: Remote Control Your Phone from Desktop via VNC biketool 16 8,245 10-16-2025, 06:55 AM
Last Post: biketool
  Movuan distribution for PinePhone merom 5 5,121 07-27-2025, 05:01 PM
Last Post: merom
  baremetal via Zig on PinePhone - JumpDrive help please WhiteHexagon 1 3,292 07-07-2025, 10:33 AM
Last Post: WhiteHexagon
  Jami on the Pine phone ? bcnaz 8 13,067 06-09-2025, 04:17 PM
Last Post: j_s
  Latest firmware for PinePhone modem! Subsentient 105 207,497 02-02-2025, 08:47 PM
Last Post: bacydentir85
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 40 56,882 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 62,983 07-26-2024, 10:35 PM
Last Post: Peter Gamma

Forum Jump:


Users browsing this thread: 1 Guest(s)