Read the articles...
This NuttX App is a simplified version of the LVGL Demo App for NuttX...
To add this repo to your NuttX project...
## TODO: Change this to the path of our "incubator-nuttx-apps/examples" folder
pushd nuttx/apps/examples
git submodule add https://github.com/lupyuen/lvgltest-nuttx lvgltest
popd
Then update the NuttX Build Config...
## TODO: Change this to the path of our "incubator-nuttx" folder
cd nuttx/nuttx
## Preserve the Build Config
cp .config ../config
## Erase the Build Config and Kconfig files
make distclean
## For PineDio Stack BL604: Configure the build for PineDio Stack BL604
./tools/configure.sh bl602evb:pinedio
## For BL602 / BL604: Configure the build for BL602 / BL604
./tools/configure.sh bl602evb:nsh
## For ESP32: Configure the build for ESP32.
## TODO: Change "esp32-devkitc" to our ESP32 board.
./tools/configure.sh esp32-devkitc:nsh
## Restore the Build Config
cp ../config .config
## Edit the Build Config
make menuconfig
In menuconfig, enable the LVGL Test App under "Application Configuration" → "Examples".
To run the app, enter this in the NuttX Shell...
lvgltest