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
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 40 35,523 12-28-2024, 12:19 AM
Last Post: mara
  Office applications for the Pinephone Peter Gamma 2 702 09-05-2024, 09:22 AM
Last Post: Peter Gamma
  Struggle to install LibreOffice on the PinePhone Peter Gamma 50 38,349 07-26-2024, 10:35 PM
Last Post: Peter Gamma
  Why does Pine64 sabotage office on the Pinephone? Peter Gamma 5 1,363 07-04-2024, 07:34 AM
Last Post: Kevin Kofler
  Which word processor to choose for the Pinephone? Peter Gamma 16 6,381 06-22-2024, 07:28 AM
Last Post: Peter Gamma
  Samba share on the Pinephone? Peter Gamma 0 737 06-16-2024, 10:26 PM
Last Post: Peter Gamma
  Possible Free Backup Carrier for PinePhone PineFone 0 661 06-13-2024, 03:45 PM
Last Post: PineFone
  Using Signal on PinePhone in mid-2023? dante404 47 25,132 05-03-2024, 02:19 AM
Last Post: dragonhospital
Wink PINEPHONE not booting Touchwood 2 1,396 02-23-2024, 07:27 AM
Last Post: Touchwood
  Slack on PinePhone Adam Seline 5 6,773 12-20-2023, 07:20 AM
Last Post: nickolas

Forum Jump:


Users browsing this thread: 16 Guest(s)