This weekend I ported NuttX to STM32H745I-DISCOw board and got LVGL working on it.

It is a nice board to run NuttX because it has a big LCD display with resolution of 480×272. Soon I’ll submit it to mainline.

Compiling and flashing:

$ ./tools/configure.sh stm32h745i-disco:lvgl
$ make
$ sudo openocd -f interface/stlink-v2.cfg -f target/stm32h7x.cfg -c init -c "reset halt" -c "flash write_image erase nuttx.bin 0x08000000"

Open minicom and configure it to use /dev/ttyACM0 115200 8n1

NuttShell (NSH) NuttX-10.1.0
nsh> ?
help usage: help [-v] []

. cat dd false ls ps sleep uname
[ cd df free mkdir pwd source umount
? cp echo help mkrd rm test unset
basename cmp exec hexdump mount rmdir time usleep
break dirname exit kill mv set true xd

Builtin Apps:
lvgldemo tc fb sh nsh
nsh> lvgldemo
tp_init: Opening /dev/input0
tp_cal result
offset x:14, y:3
range x:463, y:260
invert x/y:0, x:0, y:0