nuttx icon indicating copy to clipboard operation
nuttx copied to clipboard

[FEATURE] Missing ~board config~ and Documentation about NuttX Boot Splashscreen

Open acassis opened this issue 4 weeks ago • 10 comments

Is your feature request related to a problem? Please describe.

Tim added support to NX Boot Splashscreen, but we still missing ~a board config example and~ a proper Documentation

Describe the solution you'd like

  • ~Create a board config~
  • Create a documentation

Describe alternatives you've considered

No response

Verification

  • [x] I have verified before submitting the report.

acassis avatar Nov 26 '25 18:11 acassis

ping @TimJTi

acassis avatar Nov 26 '25 18:11 acassis

ping @TimJTi

@acassis - documentation is on my to-do. I can't easily do a default config since my board is out-of-tree and custom. Documentation is too much of a PITA as we use RST and I am yet to find a reliable previewer (e.g. in VS Code).

TimJTi avatar Nov 26 '25 18:11 TimJTi

Maybe we can use an existing board. I have a stm32f429i-disco here, I will test using the fb profile and include the boot logo. If it work I will submit it.

acassis avatar Nov 26 '25 18:11 acassis

@TimJTi please review: https://github.com/apache/nuttx/pull/17391

acassis avatar Nov 27 '25 16:11 acassis

@TimJTi as you can see in the image the logo is displayed upside down. It should be nice to include a option in the menuconfig to rotate to logo 90, 180 and 270 degrees.

acassis avatar Nov 27 '25 16:11 acassis

@TimJTi as you can see in the image the logo is displayed upside down. It should be nice to include a option in the menuconfig to rotate to logo 90, 180 and 270 degrees.

It isn't upside down - it's correct as per the display I would say? The writing on the LCD is upside down too...

But, yes, I can see that offering rotation would be a good enhancement. I'll take a quik look and see what's involved: since it was based on NX graphics - which has this feature I think - I'm sure it would be fairly easy.

TimJTi avatar Nov 27 '25 16:11 TimJTi

@acassis My arch LCDC peripheral has image rotation already, supported by NuttX. I wonder if most processors with LCD support have this, even if not (yet) provided by NuttX drivers?

TimJTi avatar Nov 27 '25 16:11 TimJTi

@TimJTi yes this LCD is mounted in the board upside down. And you are right, many LCDs has rotation in the driver, so I think we don't need to transfer this function to the splashscreen

acassis avatar Nov 27 '25 17:11 acassis

@acassis - and if someone wants a rotated logo and the driver doesn't offer rotation, they can create a "custom" logo file and pre-rotate the image.

TimJTi avatar Nov 27 '25 17:11 TimJTi

@acassis - and if someone wants a rotated logo and the driver doesn't offer rotation, they can create a "custom" logo file and pre-rotate the image.

Yes, that is true! Please include these details about rotation in the documentation

acassis avatar Nov 27 '25 17:11 acassis