Closed Irvan789 closed 3 months ago
That is the issue from TFT_eSPI.h
instead.
That library does some conflicts with filesystem which is generally available from core library.
See this basic example without Firebase library that still cannot compile.
#include <Arduino.h>
#include <TFT_eSPI.h>
#include <FS.h>
void setup()
{
File fs;
}
void loop()
{
}
You still can use TFT_eSPI.h
with FirebaseClient by include the TFT_eSPI.h
after FirebaseClient.h
.
#include <Arduino.h>
#include <FirebaseClient.h>
#include <TFT_eSPI.h>
FYI. Please use the discussion first instead of opening the issue.
There are many issues in TFT_eSPI
library related to FS.h
.
The issue also occurs in the latest version of TFT_eSPI
library which maintainer does not properly fix it as he doesn't test it with bare minimum setup.
Hello, I have IoT project with TFT display, When I try to migrate from Firebase Esp32 to FirebaseClient, this error appears when I want to upload the code to my ESP32. But if i remove the
#include <TFT_eSPI.h>
the code works well.Here my code main.cpp
platformio.ini
Expected behavior The code can be upload to ESP32
Screenshots
![image](https://github.com/mobizt/FirebaseClient/assets/33544411/d5815dfc-e4d5-4317-848b-7e626a27e6f9)
IDE and its version: