You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tftspi.h
// 2021-06-24 marco teleEspBoard3 pins
#define PIN_NUM_MISO 19 //marco ok // SPI MISO
#define PIN_NUM_MOSI 23 //marco ok // SPI MOSI
#define PIN_NUM_CLK 18 //marco ok // SPI CLOCK pin
#define PIN_NUM_CS 5 //marco ok // Display CS pin
#define PIN_NUM_DC 2 //marco 2 was 26 // Display command/data pin
#define PIN_NUM_TCS 0 //marco 0 was 25 // Touch screen CS pin (NOT used if USE_TOUCH=0)
#define PIN_NUM_RST 27 //marco 27 was 0 // GPIO used for RESET control (#16)
#define PIN_NUM_BCKL 0 //marco not used ledPin set 3.3V, not used // GPIO used for backlight control
-- compile solved problems ---
(1) components/heap/heap_caps_init.c:230:44: error:
Can you please try removing --save-temps CFLAG from project build: Makefile
(2) /ILI9341/main/tft_demo.c:925:13: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
if (r <= 0) break;
correct indentation, correct indentation in C language ? Yes correct indentation and compile ok.
(3) /ILI9341/components/spiffs/spiffs_vfs.c:60:12: error: 'MAXNAMLEN' undeclared here (not in a function)
char path[MAXNAMLEN + 1];
^~~~~~~~~
spiffs_vfs.c add line: #define MAXNAMLEN 50 (why 50 ? its a running lucky try.)
(4) ILI9341/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);
^~~~~~~~~~~~~~
tftspi.c add line: #include "driver/gpio.h"
--- run problems ---
(0) beware esp32 160Mhz/240Mhz
(1) in tft_demo.c: line 1250 tft_disp_type = DISP_TYPE_ILI9341;
(2) with esp32 160 mhz cannot read file from spiffs ?!
The text was updated successfully, but these errors were encountered:
tftspi.h
// 2021-06-24 marco teleEspBoard3 pins
#define PIN_NUM_MISO 19 //marco ok // SPI MISO
#define PIN_NUM_MOSI 23 //marco ok // SPI MOSI
#define PIN_NUM_CLK 18 //marco ok // SPI CLOCK pin
#define PIN_NUM_CS 5 //marco ok // Display CS pin
#define PIN_NUM_DC 2 //marco 2 was 26 // Display command/data pin
#define PIN_NUM_TCS 0 //marco 0 was 25 // Touch screen CS pin (NOT used if USE_TOUCH=0)
#define PIN_NUM_RST 27 //marco 27 was 0 // GPIO used for RESET control (#16)
#define PIN_NUM_BCKL 0 //marco not used ledPin set 3.3V, not used // GPIO used for backlight control
-- compile solved problems ---
(1) components/heap/heap_caps_init.c:230:44: error:
Can you please try removing
--save-temps
CFLAG from project build: Makefile(2) /ILI9341/main/tft_demo.c:925:13: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
if (r <= 0) break;
correct indentation, correct indentation in C language ? Yes correct indentation and compile ok.
(3) /ILI9341/components/spiffs/spiffs_vfs.c:60:12: error: 'MAXNAMLEN' undeclared here (not in a function)
char path[MAXNAMLEN + 1];
^~~~~~~~~
spiffs_vfs.c add line: #define MAXNAMLEN 50 (why 50 ? its a running lucky try.)
(4) ILI9341/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);
^~~~~~~~~~~~~~
tftspi.c add line: #include "driver/gpio.h"
--- run problems ---
(0) beware esp32 160Mhz/240Mhz
(1) in tft_demo.c: line 1250 tft_disp_type = DISP_TYPE_ILI9341;
(2) with esp32 160 mhz cannot read file from spiffs ?!
The text was updated successfully, but these errors were encountered: