fdcavalcanti opened a new pull request, #19739: URL: https://github.com/apache/nuttx/pull/19739
## Summary <!-- This field should contain a summary of the changes. It will be pre-filled with the commit's message and descriptions. Adjust it accordingly --> * Documentation: update esp32p4-tab5 with LCD and touch info Adds documentation entries to the tab5 board, mentioning the new defconfigs and updates support features. * boards/risc-v: add LVGL examples on esp32p4-tab5 Adds two examples on esp32p4-tab5 that use LCD and touchscreen. Both redirect the serial console to UART0 instead of USB. * board/risc-v: touchscreen support on esp32p4-tab5 Adds support for ST7123 touchscreen controller on esp32p4-tab5. Includes new KConfig option and additions to hmi_power source. * boards/risc-v: LCD support on esp32p4-tab5 Adds support for st7121 and st7123 variants for LCD support on the esp32p4-tab5 board. Includes power management though IO expander under 'hmi_power' and new board KConfig options. * boards/risc-v: support pio4ioe IO Expander on esp32p4-tab5 Adds support for bringup of the two IO Expanders available on the esp32p4-tab5 board. Those IO Expanders allow for control of many peripherals such as radio, camera, display and touch. * arch/risc-v: MIPI-DSI support for Espressif devices Adds lowerhalf MIPI DSI driver for RISC-V Espressif devices, including KConfig options for LDO and MIPI_DSI. In summary, this PR adds the following: - Display + touchscreen support on `esp32p4-tab5` - PI4IOE expanders - ST7121/ST7123 MIPI-DSI LCD with framebuffer - ST7123 touch and power sequencing - `lvgl_demo`/`lvgl_term` defconfigs - update the board/platform docs accordingly, without changing default configs or breaking other hardware. ## Impact <!-- Please fill the following sections with YES/NO and provide a brief explanation --> Impact on user: Yes, M5Stack Tab5 board can now enable board HMI features that were not available before: PI4IOE IO expanders, MIPI-DSI LCD (/dev/fb0 with ST7121 or ST7123), ST7123 touchscreen, and new LVGL configs (`lvgl_demo`, `lvgl_term`). Impact on build: Yes. Board-only build changes: new Kconfig options (ESP32P4_TAB5_*), additions to in Make.defs/CMakeLists.txt, and two new defconfigs. No core toolchain or global build-system changes. Enabling LCD/touch pulls in I2C, IO expander, MIPI-DSI, framebuffer, and (for the demos) LVGL/graphics dependencies. Impact on hardware: Only affects `esp32p4` devices and the `tab5` board. Impact on documentation: Yes, updates `esp32p4-tab5` documents (supported features, I2C map, lvgl_demo/lvgl_term) and marks MIPI DSI as supported in `esp32p4` page. Impact on security: No. Impact on compatibility: No. ## Testing The target board is the `esp32p4-tab5`. Build each of the new configs: `lvgl_demo` and `lvgl_term`. ### Building - `./tools/configure.sh -S esp32p4-tab5:lvgl_term` - or `./tools/configure.sh -S esp32p4-tab5:lvgl_demo` - Make and flash ### Running Important: this board routes the serial console to UART0 instead of the USB Serial device, due to an issue on the USB-Serial driver. ### Results Link with working videos: [Imgur](https://imgur.com/a/nuttx-m5stack-tab5-display-touch-XxGUThD) - Testing nximage splash screen <img width="50%" alt="image" src="https://github.com/user-attachments/assets/1b9a0bc9-d3ae-41fb-bff6-d385c01dc577" /> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
