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
Our Terminal App will execute #NuttX NSH Commands on #PinePhone ... With a little help from #LVGL Timers
Source: https://github.com/lupyuen/pinephone-nuttx#timer-for-lvgl-terminal