nuttx-apps/examples/lvgldemo
Lee Lup Yuen 757fc307c3 examples/lvgldemo: Select default demo
The LVGL Example App `lvgldemo` currently requires 1 argument: the name of the demo to show.

```bash
lvgldemo widgets
```

In this PR, we propose to make the argument optional if there is only one demo configured. This will enable PINE64 PinePhone to boot straight into `lvgldemo` and auto-start the LVGL App, without entering any `nsh` commands.

### Modified Files

`examples/lvgldemo/lvgldemo.c`: If no arguments are specified and only 1 demo exists, select the demo
2023-01-16 19:41:19 +08:00
..
.gitignore examples/lvgldemo: LVGL examples are now called lv_demos and not 2021-06-01 09:07:31 -05:00
Kconfig graphics/lvgl: Upgrade to lvgl v8 version 2023-01-01 10:14:55 -03:00
lvgldemo.c examples/lvgldemo: Select default demo 2023-01-16 19:41:19 +08:00
Make.defs Makefiles: Gregory Nutt: update licenses to Apache 2021-06-07 21:35:33 -05:00
Makefile graphics/lvgl: Upgrade to lvgl v8 version 2023-01-01 10:14:55 -03:00