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 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 user know a secret key the decript the disk.

Alternatively if you want to print images in the screen you can use
something like fbprint ( https://github.com/Weinsen/fbprint ).

BR,

Alan

On Saturday, February 15, 2025, Tim Hardisty <timhardist...@gmail.com>
wrote:

What is efficient solution to just do text though?

On 15 Feb 2025, at 13:42, Alan C. Assis <acas...@gmail.com> 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 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 <timhardist...@gmail.com>
wrote:

Hello NuttX Colleagues!

During MCUboot I want to display text messages on the framebuffer LCD
driver (/dev/fb). This could either be via a FB console (useful for
other reasons) or a FB terminal, or something else.

I also quite like the idea of my main graphics app - LVGL based - having
a console option (for syslog messages, perhaps), so perhaps LVGL is an
option, but I'm wanting to keep the size down of course.

Which of the NuttX armoury of features might be a good choice for this?

Thanks!

TimJTi


Reply via email to