Article: Inside a Smartphone Accelerometer: PinePhone with NuttX RTOS
#19
(05-24-2023, 04:49 AM)WhiteHexagon Wrote: how does it map to the lvgldemo.c 'main' function?

Let's walk through the steps from NuttX Startup to our LVGL Demo (lvgldemo_main)...

NuttX Boot Sequence: Part 1

NuttX Boot Sequence: Part 2

Then nx_bringup calls...

nx_create_initthread, which calls...

- nx_start_application, which calls...

CONFIG_INIT_ENTRYNAME, which maps to...

- lvgldemo_main

Which starts our LVGL Demo App. Yeah sorry for the long call chain :-)

(05-24-2023, 04:49 AM)WhiteHexagon Wrote: btw I found using the PP without battery seems to be the optimal way to develop?

Yep it probably works fine for LVGL Apps. But later when we test the LTE Modem, it won't work because the LTE Modem is powered directly by the battery :-)
  Reply


Messages In This Thread
RE: Article: Inside a Smartphone Accelerometer: PinePhone with NuttX RTOS - by lupyuen - 05-24-2023, 11:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  asterisk or FreePBX on pinephone? vanja 0 681 06-16-2026, 09:24 AM
Last Post: vanja
  Jami on Pinephone [ IM and VOIP ] p1trson 15 24,425 06-16-2026, 05:02 AM
Last Post: marlboro1950
  Movuan distribution for PinePhone merom 6 7,545 06-04-2026, 02:10 AM
Last Post: merom
  Latest firmware for PinePhone modem! Subsentient 106 240,357 04-03-2026, 08:37 AM
Last Post: baptx
  Fedora + Phosh for PinePhone njha 77 228,028 01-14-2026, 12:22 AM
Last Post: tllim
  Difficulty with openSUSE Tumbleweed Install PinePhone Beta danm1988 0 1,209 11-17-2025, 07:49 AM
Last Post: danm1988
  baremetal via Zig on PinePhone - JumpDrive help please WhiteHexagon 1 4,461 07-07-2025, 10:33 AM
Last Post: WhiteHexagon
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 40 69,464 12-28-2024, 12:19 AM
Last Post: mara
  Office applications for the Pinephone Peter Gamma 2 5,899 09-05-2024, 09:22 AM
Last Post: Peter Gamma
  Struggle to install LibreOffice on the PinePhone Peter Gamma 50 78,009 07-26-2024, 10:35 PM
Last Post: Peter Gamma

Forum Jump:


Users browsing this thread: 1 Guest(s)