Skip to content

Using esp-idf to build Arduino project with TFT_eSPI library

Notifications You must be signed in to change notification settings

mdaskalov/esp32-idf-tetra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using TFT_eSPI and Arduino in a ESP-IDF project

This example will help you build your arduino projects using esp-idf build system.

It assumes that esp-idf is already installed and on your system. Refer to this article.

Start by importing the esp-idf environment

cd esp-idf; . ./export.sh; cd ..

Don't forget to install and enable ccache - this saves time compiling:

export IDF_CCACHE_ENABLE=1

Then configure the project using

idf.py menuconfig

In "Arduino Configuration" select "Autostart Arduino setup and loop on boot" to be fully Arduino compatible.

In "ComponentConfig --> TFT_eSPI" configure the pins of your display (I've tested with TTGO T-Display ST7789V)

Then build, flash and start monitoring with:

idf.py flash monitor

In montiotor press Ctrl-T Ctrl-X to exit.

About

Using esp-idf to build Arduino project with TFT_eSPI library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published