This is a sample project demonstrating how to set up and use a T-Display esp32 board (ST7789) with Zephyr RTOS 4.2.99.
- T-Display with ST7789 controller (240x135 resolution)
- USB data cable for programming and power
To build and flash the project with base ESP32 DevKitC board with T-Display:
west build -p always -b esp32_devkitc/esp32/procpu -- -DDTC_OVERLAY_FILE=boards/esp32_devkitc_st7789v.overlay
west flash --esp-baud-rate 460800- Zephyr SDK installed
- West tool installed
- ESP32 toolchain configured (
west blobs fetch hal_espressifcommand) - T-Display board (ST7789) connected to your computer
If you encounter issues:
- Ensure the T-Display is properly connected to the ESP32
- Check that the device tree overlay is correctly applied (
esp32_devkitc_st7789v.overlay) - Try to lower the baud rate (
--esp-baud-rate) if there is an issue with flashing - Make sure Zephyr 4.2.99 is properly installed and initialized (
~/zephyrproject/zephyr/zephyr-env.sh) - Ensure the display backlight pin is enabled (
backlightwith GPIO 4)
