NuttX ported to STM32H745I-DISCO board

This weekend I ported NuttX to STM32H745I-DISCO 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/ 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

2 thoughts on “NuttX ported to STM32H745I-DISCO board

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s