Let's create a Terminal App for #PinePhone ... With #LVGL and Apache #NuttX RTOS
Source: https://github.com/lupyuen/pinephone-nuttx#lvgl-terminal-for-nuttx
Apache #NuttX RTOS has an NSH Shell that runs simple commands ... Our #LVGL Terminal App shall send commands to NSH over POSIX Pipes
Source: https://github.com/lupyuen/pinephone-nuttx#lvgl-terminal-for-nuttx
Our #LVGL Terminal shouldn't block while waiting for #NuttX NSH Output ... So we call poll() to check if there's NSH Output ready for processing
Source: https://github.com/lupyuen/pinephone-nuttx#poll-for-nsh-output