Lup Yuen Lee 李立源 Profile picture
May 30, 2023 15 tweets 16 min read Read on X
Will #LVGL Graphical Apps run in the Web Browser ... With #WebAssembly and #ZigLang Compiler? Let's find out!

Article: lupyuen.codeberg.page/articles/lvgl3… Image
#ZigLang and JavaScript will happily interoperate in #WebAssembly ... Both ways!

Article: lupyuen.codeberg.page/articles/lvgl3… Image
LVGL App in #ZigLang ... For #PinePhone on Apache #NuttX RTOS

Article: lupyuen.codeberg.page/articles/lvgl3… Image
Let's compile our #LVGL GUI App to #WebAssembly with #ZigLang Compiler

Article: lupyuen.codeberg.page/articles/lvgl3… Image
To run in #WebAssemby, our #LVGL App needs the LVGL Library ... Let's compile the library to WebAssembly

Article: lupyuen.codeberg.page/articles/lvgl3… Image
Compiling a tiny chunk of #LVGL Library from C to #WebAssembly ... With #ZigLang Compiler

Article: lupyuen.codeberg.page/articles/lvgl3… Image
#ZigLang Compiler calls Clang Compiler to compile #LVGL Library from C to #WebAssembly

Article: lupyuen.codeberg.page/articles/lvgl3… Image
Let's compile the entire #LVGL Library from C to #WebAssembly ... With #ZigLang Compiler

Article: lupyuen.codeberg.page/articles/lvgl3… Image
#LVGL in #WebAssembly says that strlen() is missing ... Let's fix it in #ZigLang

Article: lupyuen.codeberg.page/articles/lvgl3… Image
strlen() is missing for #LVGL in #WebAssembly ... Here's our workaround in #ZigLang

Article: lupyuen.codeberg.page/articles/lvgl3… Image
Handling #LVGL Timers, Assertions and Logging in #WebAssembly with #ZigLang

Article: lupyuen.codeberg.page/articles/lvgl3… Image
Setting up the #LVGL Display ... With #ZigLang and #WebAssembly

Article: lupyuen.codeberg.page/articles/lvgl3… Image

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Lup Yuen Lee 李立源

Lup Yuen Lee 李立源 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @MisterTechBlog

Dec 18, 2023
Let's look inside the #RISCV Sv39 Memory Management Unit ... With Apache #NuttX RTOS on @ThePine64 #Ox64 64-bit SBC

Article: lupyuen.codeberg.page/articles/mmu
Image
Protecting the RAM and I/O Memory inside our #Ox64 BL808 SBC

Article: lupyuen.codeberg.page/articles/mmu.h…
Image
Here's the Level 1 Page Table for #RISCV Sv39 Memory Management Unit

Article: lupyuen.codeberg.page/articles/mmu.h…
Image
Read 10 tweets
Sep 10, 2023
Let's power up the Display Controller inside #RISCV Star64 #JH7110 SBC @ThePine64 ... By running simple commands in the #UBoot Bootloader

Article: lupyuen.codeberg.page/articles/displ…
Image
#UBoot Commands "md" and "mw" for Dumping and Writing Memory

Article: lupyuen.codeberg.page/articles/displ…
Image
Writing to the Star64 #JH7110 UART Registers ... With #UBoot Bootloader

Article: lupyuen.codeberg.page/articles/displ…
Image
Read 14 tweets
Aug 22, 2023
#RISCV Star64 #JH7110 SBC is now supported by Apache #NuttX RTOS! Let's review how we created the first release of NuttX for Star64 @ThePine64

Article: lupyuen.codeberg.page/articles/relea…
Image
Here's how we build Apache #NuttX RTOS for #RISCV Star64 #JH7110 SBC

Article: lupyuen.codeberg.page/articles/relea…
Image
Bootable microSD with Apache #NuttX RTOS inside ... By creating a Flat Image Tree

Article: lupyuen.codeberg.page/articles/relea…
Image
Read 14 tweets
Aug 9, 2023
Apache #NuttX RTOS crashes on @ThePine64 Star64 #JH7110 #RISCV SBC because there's no Semihosting ... Let's modify NuttX to boot with an Initial RAM Disk instead (initrd)

Article: https://t.co/nhtphJNCvVlupyuen.codeberg.page/articles/semih…
Image
Apache #NuttX RTOS crashes on Star64 #JH7110 with #RISCV MCAUSE 3 ... Let's find out why

Article: https://t.co/YWcdZqVdcelupyuen.codeberg.page/articles/semih…
Image
Apache #NuttX RTOS halts with #RISCV MCAUSE 3 because of the EBREAK Instruction for Debugging ... But we're not doing any debugging!

Article: https://t.co/BZU2aQ8tjylupyuen.codeberg.page/articles/semih…
Image
Read 6 tweets
Mar 22, 2023
Building the #PinePhone USB Driver for Apache #NuttX Real-Time Operating System ... All shall be explained in this article

Article: lupyuen.github.io/articles/usb3?1 Image
#PinePhone USB Programming is so much easier with USB EHCI ... Here's why

Article: lupyuen.github.io/articles/usb3?… Image
#PinePhone USB EHCI Registers are (thankfully) documented in the Allwinner A64 manual

Article: lupyuen.github.io/articles/usb3?… Image
Read 15 tweets
Jun 24, 2021
Come join me (the "monster" 😂) as we dive deep into the #WiFi Code inside #RISCV #BL602 (the "wifi chip" 😂)

lupyuen.github.io/articles/pinec… Image
Many thanks to this hilarious (but truthful) comment on #BL602 😂

Here's the #BL602 #WiFi Firmware ... Let's find out how it connects to a WiFi Access Point

github.com/lupyuen/bl_iot… Image
Read 34 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(