Re: FB console/terminal

2025-02-17 Thread Tim Hardisty
Input could be usb keyboard, otherwise the lvgl terminal app with its lvgl keyboard works. Output only mode for this I think. > On 17 Feb 2025, at 21:25, Tomek CEDRO wrote: > > Yes that would be a nice feature also for testing the LCD and should > be easy to implement for output only mode when

Re: FB console/terminal

2025-02-17 Thread Tomek CEDRO
Yes that would be a nice feature also for testing the LCD and should be easy to implement for output only mode when no input is required :-) Input would require serial port like transport, keyboard, or on-screen keyboard that makes things a bit more complicated :-) Tomek On Mon, Feb 17, 2025 at 8:

Re: FB console/terminal

2025-02-17 Thread Alan C. Assis
Hi Tim, Actually that could be a great idea! Maybe even the debug and initialization message from syslog could be printed to this fbcon interface. BR, Alan On Mon, Feb 17, 2025 at 4:11 PM Tim Hardisty wrote: > Just thinking out loud... > > Would NuttX benefit from a FrameBuffer stdout driver

Re: FB console/terminal

2025-02-17 Thread Tim Hardisty
Just thinking out loud... Would NuttX benefit from a FrameBuffer stdout driver (e.g. /dev/fbcon) that allowed a pipe/dup to replace stdout, or the use of CONFIG_NSH_ALTSTDOUT and/or CONFIG_ALTSTDERR for console output? In my case, this is just for MCUboot messages in the case of bootloader i

Re: FB console/terminal

2025-02-16 Thread Tim Hardisty
Thanks Alan - I'll see if I can find nx graphics code to repurpose and, if not immediately obviously, I'm sure there's code out there, such the fbtext tool you linked to. On 16/02/2025 10:45, Alan C. Assis wrote: Hi Tim, I think there is not a framebuffer text in place for NuttX, but you can

Re: FB console/terminal

2025-02-16 Thread Alan C. Assis
Hi Tim, I think there is not a framebuffer text in place for NuttX, but you can use the code to handle text fonts from nx graphics to render the text directly in the framebuffer. For Linux some years ago I used fbtext https://sourceforge.net/projects/fbtext/ to print a message from initrd to let

Re: FB console/terminal

2025-02-15 Thread Tomek CEDRO
We seem to have lvglterm in NuttX already see: https://nuttx.apache.org/docs/latest/applications/examples/lvglterm/index.html https://github.com/lupyuen/lvglterm/tree/main Hope that helps :-) Tomek On Sat, Feb 15, 2025 at 10:07 PM Tim Hardisty wrote: > > What is efficient solution to just do

Re: FB console/terminal

2025-02-15 Thread Tim Hardisty
What is efficient solution to just do text though? > On 15 Feb 2025, at 13:42, Alan C. Assis wrote: > > Hi Tim, > > You can create a NuttX application with LVGL and display your message or > image. > > Actually you don't need to use a graphic library if you just want to write > in the framebu

Re: FB console/terminal

2025-02-15 Thread Alan C. Assis
Hi Tim, You can create a NuttX application with LVGL and display your message or image. Actually you don't need to use a graphic library if you just want to write in the framebuffer, you can convert image to display directly in the /dev/fb0 BR, Alan On Sat, Feb 15, 2025 at 7:45 AM Tim Hardisty