05-24-2023, 04:49 AM
(This post was last modified: 05-24-2023, 05:28 AM by WhiteHexagon.)
@lupyuen good news, I got the LVGL widgets demo running just now, thank you for the extra tips! It is not quite clear how the entry point works. So I can see on the nuttx project the CONFIG_INIT_ENTRYPOINT got set with 'lvgldemo_main' vis the menuconfig. But then in the 'apps' project, there is only a comment in lvgldemo.c mentioning 'lvgldemo_main', but seems like the entry point is 'main' and the parameter is 'widgets' (CONFIG_INIT_ARGS), what am I missing please? ie what does setting that entry point do? ie. how does it map to the lvgldemo.c 'main' function?
btw I found using the PP without battery seems to be the optimal way to develop? ie constantly swapping SD cards and rebooting. And in this case the widgets demo boots up in within 2 seconds! amazing
btw I found using the PP without battery seems to be the optimal way to develop? ie constantly swapping SD cards and rebooting. And in this case the widgets demo boots up in within 2 seconds! amazing