mica-angeli / esp32-hello-tft Goto Github PK
View Code? Open in Web Editor NEWA simple example application using the ESP32_TFT library
A simple example application using the ESP32_TFT library
Did not compile on: ESP-IDF v4.1-dev-1086-g93a8603-dirty
[ 83%] Building C object esp-idf/protocomm/CMakeFiles/__idf_protocomm.dir/proto-c/sec0.pb-c.c.obj In file included from /home/erik/Dokumente/ESP32/projects/esp32-hello-tft/components/spidriver/spi_master_lobo.h:24, from /home/erik/Dokumente/ESP32/projects/esp32-hello-tft/components/tft/tftspi.h:11, from /home/erik/Dokumente/ESP32/projects/esp32-hello-tft/components/tft/tftspi.c:12: /home/erik/Dokumente/ESP32/esp-idf/components/esp32/include/esp_intr.h:16:2: warning: #warning esp_intr.h is deprecated, please include esp_intr_alloc.h instead [-Wcpp] #warning esp_intr.h is deprecated, please include esp_intr_alloc.h instead ^~~~~~~ In file included from /home/erik/Dokumente/ESP32/projects/esp32-hello-tft/components/spidriver/spi_master_lobo.h:26, from /home/erik/Dokumente/ESP32/projects/esp32-hello-tft/components/tft/tftspi.h:11, from /home/erik/Dokumente/ESP32/projects/esp32-hello-tft/components/tft/tftspi.c:12: /home/erik/Dokumente/ESP32/esp-idf/components/esp32/include/rom/lldesc.h:1:2: warning: #warning rom/lldesc.h is deprecated, please use esp32/rom/lldesc.h instead [-Wcpp] #warning rom/lldesc.h is deprecated, please use esp32/rom/lldesc.h instead ^~~~~~~ /home/erik/Dokumente/ESP32/projects/esp32-hello-tft/components/tft/tftspi.c: In function 'disp_spi_transfer_cmd': /home/erik/Dokumente/ESP32/projects/esp32-hello-tft/components/tft/tftspi.c:119:5: error: implicit declaration of function 'gpio_set_level'; did you mean '_xtos_set_intlevel'? [-Werror=implicit-function-declaration] gpio_set_level(PIN_NUM_DC, 0); ^~~~~~~~~~~~~~ _xtos_set_intlevel /home/erik/Dokumente/ESP32/projects/esp32-hello-tft/components/tft/tftspi.c: In function 'TFT_PinsInit': /home/erik/Dokumente/ESP32/projects/esp32-hello-tft/components/tft/tftspi.c:862:5: error: implicit declaration of function 'gpio_pad_select_gpio' [-Werror=implicit-function-declaration] gpio_pad_select_gpio(PIN_NUM_CS); ^~~~~~~~~~~~~~~~~~~~ /home/erik/Dokumente/ESP32/projects/esp32-hello-tft/components/tft/tftspi.c:868:5: error: implicit declaration of function 'gpio_set_direction' [-Werror=implicit-function-declaration] gpio_set_direction(PIN_NUM_MISO, GPIO_MODE_INPUT); ^~~~~~~~~~~~~~~~~~ /home/erik/Dokumente/ESP32/projects/esp32-hello-tft/components/tft/tftspi.c:868:38: error: 'GPIO_MODE_INPUT' undeclared (first use in this function) gpio_set_direction(PIN_NUM_MISO, GPIO_MODE_INPUT); ^~~~~~~~~~~~~~~ /home/erik/Dokumente/ESP32/projects/esp32-hello-tft/components/tft/tftspi.c:868:38: note: each undeclared identifier is reported only once for each function it appears in /home/erik/Dokumente/ESP32/projects/esp32-hello-tft/components/tft/tftspi.c:869:5: error: implicit declaration of function 'gpio_set_pull_mode' [-Werror=implicit-function-declaration] gpio_set_pull_mode(PIN_NUM_MISO, GPIO_PULLUP_ONLY); ^~~~~~~~~~~~~~~~~~ /home/erik/Dokumente/ESP32/projects/esp32-hello-tft/components/tft/tftspi.c:869:38: error: 'GPIO_PULLUP_ONLY' undeclared (first use in this function) gpio_set_pull_mode(PIN_NUM_MISO, GPIO_PULLUP_ONLY); ^~~~~~~~~~~~~~~~ /home/erik/Dokumente/ESP32/projects/esp32-hello-tft/components/tft/tftspi.c:870:36: error: 'GPIO_MODE_OUTPUT' undeclared (first use in this function) gpio_set_direction(PIN_NUM_CS, GPIO_MODE_OUTPUT); ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors esp-idf/tft/CMakeFiles/__idf_tft.dir/build.make:182: die Regel für Ziel „esp-idf/tft/CMakeFiles/__idf_tft.dir/tftspi.c.obj“ scheiterte make[2]: *** [esp-idf/tft/CMakeFiles/__idf_tft.dir/tftspi.c.obj] Fehler 1 make[2]: *** Auf noch nicht beendete Prozesse wird gewartet …
[ 96%] Linking CXX static library liblibsodium.a [ 96%] Built target __idf_libsodium Makefile:127: die Regel für Ziel „all“ scheiterte make: *** [all] Fehler 2 make failed with exit code 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.