Problewms Compiling a Code including ESP8266WiFi.h
Posted: Sun Jan 06, 2019 5:42 pm
After fix all the library broken references, I have an error that I can´t fix.
CODE
==============
#include "FS.h"
#include "SPIFFS.h"
#include <ESP8266WiFi.h>
const char* ssid = "Yomoraes";
const char* password = "jatefalei";
String buf;
WiFiServer server(80);
void formatFS(void){
SPIFFS.format();
}
void createFile(void){
File wFile;
//Cria o arquivo se ele não existir
if(SPIFFS.exists("/log.txt")){
Serial.println("Arquivo ja existe!");
} else {
Serial.println("Criando o arquivo...");
wFile = SPIFFS.open("/log.txt","w+");
//Verifica a criação do arquivo
if(!wFile){
Serial.println("Erro ao criar arquivo!");
} else {
Serial.println("Arquivo criado com sucesso!");
}
}
wFile.close();
}
void deleteFile(void) {
//Remove o arquivo
if(SPIFFS.remove("/log.txt")){
Serial.println("Erro ao remover arquivo!");
} else {
Serial.println("Arquivo removido com sucesso!");
}
}
void writeFile(String msg) {
//Abre o arquivo para adição (append)
//Inclue sempre a escrita na ultima linha do arquivo
File rFile = SPIFFS.open("/log.txt","a+");
if(!rFile){
Serial.println("Erro ao abrir arquivo!");
} else {
rFile.println("Log: " + msg);
Serial.println(msg);
}
rFile.close();
}
void readFile(void) {
//Faz a leitura do arquivo
File rFile = SPIFFS.open("/log.txt","r");
Serial.println("Reading file...");
while(rFile.available()) {
String line = rFile.readStringUntil('\n');
buf += line;
buf += "<br />";
}
rFile.close();
}
void closeFS(void){
SPIFFS.end();
}
void openFS(void){
//Abre o sistema de arquivos
if(!SPIFFS.begin()){
Serial.println("Erro ao abrir o sistema de arquivos");
} else {
Serial.println("Sistema de arquivos aberto com sucesso!");
}
}
void setup(void){
//Configura a porta serial para 115200bps
Serial.begin(115200);
//Abre o sistema de arquivos (mount)
openFS();
//Cria o arquivo caso o mesmo não exista
createFile();
writeFile("Booting ESP8266...");
writeFile("Connecting to " + (String)ssid);
//Inicia a conexão WiFi
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
writeFile("WiFi connected");
Serial.println(WiFi.localIP());
//Inicia o webserver
server.begin();
writeFile("Web Server started");
}
void loop(void){
//Tratamento das requisições http
WiFiClient client = server.available();
if (!client) {
return;
}
Serial.println("new client");
while(!client.available()){
delay(1);
}
String req = client.readStringUntil('\r');
Serial.println(req);
client.flush();
buf = "";
buf += "HTTP/1.1 200 OK\r\nContent-Type: text/html\r\n\r\n<!DOCTYPE HTML>\r\n<html>\r\n";
buf += "<h3 style=""text-align: center;"">ESP8266 Web Log</h3>";
buf += "<p>";
readFile();
buf += "</p>";
buf += "<h4>Criado por Alexandre Moraes</h4>";
buf += "</html>\n";
client.print(buf);
client.flush();
Serial.println("Client disonnected");
}
========================================================
ERROR MESSAGE
========================================================
Arduino: 1.8.7 (Windows 10), Placa:"ESP32 Dev Module, Disabled, Default, QIO, 80MHz, 4MB (32Mb), 115200, None"
AVISO: a biblioteca ESP8266WiFi alega rodar em arquitetura(s) (esp8266) e pode ser incompatível com sua placa atual, que roda em arquitetura(s) (esp32).
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:33:0,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:108:5: error: 'uint8' does not name a type
uint8 bssid[6];
^
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:109:5: error: 'uint8' does not name a type
uint8 channel;
^
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:115:5: error: 'uint8' does not name a type
uint8 bssid[6];
^
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:121:5: error: 'uint8' does not name a type
uint8 oldMode;
^
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:122:5: error: 'uint8' does not name a type
uint8 newMode;
^
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:134:5: error: 'uint8' does not name a type
uint8 mac[6];
^
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:135:5: error: 'uint8' does not name a type
uint8 aid;
^
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:140:5: error: 'uint8' does not name a type
uint8 mac[6];
^
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:141:5: error: 'uint8' does not name a type
uint8 aid;
^
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:147:5: error: 'uint8' does not name a type
uint8 mac[6];
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:88:30: error: 'uint32' has not been declared
bool forceSleepBegin(uint32 sleepUs = 0);
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/c_types.h:71:10: error: redeclaration of 'OK'
OK = 0,
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:630:5: note: previous declaration 'STATUS OK'
OK = 0,
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/c_types.h:72:5: error: redeclaration of 'FAIL'
FAIL,
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:631:5: note: previous declaration 'STATUS FAIL'
FAIL,
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/c_types.h:73:5: error: redeclaration of 'PENDING'
PENDING,
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:632:5: note: previous declaration 'STATUS PENDING'
PENDING,
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/c_types.h:74:5: error: redeclaration of 'BUSY'
BUSY,
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:633:5: note: previous declaration 'STATUS BUSY'
BUSY,
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/c_types.h:75:5: error: redeclaration of 'CANCEL'
CANCEL,
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:634:5: note: previous declaration 'STATUS CANCEL'
CANCEL,
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/c_types.h:76:3: error: conflicting declaration 'typedef enum STATUS STATUS'
} STATUS;
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:635:3: note: previous declaration as 'typedef enum STATUS STATUS'
} STATUS;
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:41:8: error: redefinition of 'struct ETSEventTag'
struct ETSEventTag {
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:64:8: error: previous definition of 'struct ETSEventTag'
struct ETSEventTag {
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:52:16: error: redefinition of 'struct _ETSTIMER_'
typedef struct _ETSTIMER_ {
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:286:16: error: previous definition of 'struct _ETSTIMER_'
typedef struct _ETSTIMER_ {
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:58:3: error: conflicting declaration 'typedef int ETSTimer'
} ETSTimer;
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:292:3: note: previous declaration as 'typedef struct _ETSTIMER_ ETSTimer'
} ETSTimer;
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:189:105: error: conflicting declaration of C function 'void* malloc(size_t, const char*, int)'
void *pvPortMalloc(size_t xWantedSize, const char* file, int line) __attribute__((malloc, alloc_size(1)));
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/newlib/stdio.h:29:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:27,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/newlib/stdlib.h:101:21: note: previous declaration 'void* malloc(size_t)'
_PTR _EXFUN_NOTHROW(malloc,(size_t __size));
^
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/newlib/_ansi.h:64:37: note: in definition of macro '_EXFUN_NOTHROW'
#define _EXFUN_NOTHROW(name, proto) name proto _NOTHROW
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:191:53: error: conflicting declaration of C function 'void free(void*, const char*, int)'
void vPortFree(void *ptr, const char* file, int line);
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/newlib/stdio.h:29:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:27,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/newlib/stdlib.h:90:22: note: previous declaration 'void free(void*)'
_VOID _EXFUN_NOTHROW(free,(_PTR));
^
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/newlib/_ansi.h:64:37: note: in definition of macro '_EXFUN_NOTHROW'
#define _EXFUN_NOTHROW(name, proto) name proto _NOTHROW
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:207:37: error: conflicting declaration of C function 'void ets_install_putc1(void*)'
void ets_install_putc1(void* routine);
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:242:6: note: previous declaration 'void ets_install_putc1(void (*)(char))'
void ets_install_putc1(void (*p)(char c));
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:208:27: error: conflicting declaration of C function 'void ets_isr_mask(int)'
void ets_isr_mask(int intr);
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:477:6: note: previous declaration 'void ets_isr_mask(uint32_t)'
void ets_isr_mask(uint32_t mask);
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:209:29: error: conflicting declaration of C function 'void ets_isr_unmask(int)'
void ets_isr_unmask(int intr);
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:488:6: note: previous declaration 'void ets_isr_unmask(uint32_t)'
void ets_isr_unmask(uint32_t unmask);
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:216:68: error: conflicting declaration of C function 'bool ets_task(ETSTask, uint8, ETSEvent*, uint8)'
bool ets_task(ETSTask task, uint8 prio, ETSEvent *queue, uint8 qlen);
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:105:6: note: previous declaration 'void ets_task(ETSTask, uint8_t, ETSEvent*, uint8_t)'
void ets_task(ETSTask task, uint8_t prio, ETSEvent *queue, uint8_t qlen);
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:217:54: error: conflicting declaration of C function 'bool ets_post(uint8, ETSSignal, ETSParam)'
bool ets_post(uint8 prio, ETSSignal sig, ETSParam par);
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:119:12: note: previous declaration 'ETS_STATUS ets_post(uint8_t, ETSSignal, ETSParam)'
ETS_STATUS ets_post(uint8_t prio, ETSSignal sig, ETSParam par);
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:38:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/gpio.h:40:29: error: redeclaration of 'GPIO_PIN_INTR_DISABLE'
GPIO_PIN_INTR_DISABLE = 0,
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/driver/driver/gpio.h:24:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_sleep.h:19,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_system.h:21,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/portable.h:126,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/gpio.h:52:5: note: previous declaration 'GPIO_INT_TYPE GPIO_PIN_INTR_DISABLE'
GPIO_PIN_INTR_DISABLE = 0,
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:38:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/gpio.h:41:29: error: redeclaration of 'GPIO_PIN_INTR_POSEDGE'
GPIO_PIN_INTR_POSEDGE = 1,
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/driver/driver/gpio.h:24:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_sleep.h:19,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_system.h:21,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/portable.h:126,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/gpio.h:53:5: note: previous declaration 'GPIO_INT_TYPE GPIO_PIN_INTR_POSEDGE'
GPIO_PIN_INTR_POSEDGE = 1,
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:38:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/gpio.h:42:29: error: redeclaration of 'GPIO_PIN_INTR_NEGEDGE'
GPIO_PIN_INTR_NEGEDGE = 2,
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/driver/driver/gpio.h:24:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_sleep.h:19,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_system.h:21,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/portable.h:126,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/gpio.h:54:5: note: previous declaration 'GPIO_INT_TYPE GPIO_PIN_INTR_NEGEDGE'
GPIO_PIN_INTR_NEGEDGE = 2,
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:38:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/gpio.h:43:29: error: redeclaration of 'GPIO_PIN_INTR_ANYEDGE'
GPIO_PIN_INTR_ANYEDGE = 3,
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/driver/driver/gpio.h:24:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_sleep.h:19,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_system.h:21,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/portable.h:126,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/gpio.h:55:5: note: previous declaration 'GPIO_INT_TYPE GPIO_PIN_INTR_ANYEDGE'
GPIO_PIN_INTR_ANYEDGE = 3,
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:38:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/gpio.h:44:29: error: redeclaration of 'GPIO_PIN_INTR_LOLEVEL'
GPIO_PIN_INTR_LOLEVEL = 4,
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/driver/driver/gpio.h:24:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_sleep.h:19,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_system.h:21,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/portable.h:126,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/gpio.h:56:5: note: previous declaration 'GPIO_INT_TYPE GPIO_PIN_INTR_LOLEVEL'
GPIO_PIN_INTR_LOLEVEL = 4,
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:38:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/gpio.h:45:29: error: redeclaration of 'GPIO_PIN_INTR_HILEVEL'
GPIO_PIN_INTR_HILEVEL = 5
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/driver/driver/gpio.h:24:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_sleep.h:19,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_system.h:21,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/portable.h:126,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/gpio.h:57:5: note: previous declaration 'GPIO_INT_TYPE GPIO_PIN_INTR_HILEVEL'
GPIO_PIN_INTR_HILEVEL = 5
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:38:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/gpio.h:46:3: error: conflicting declaration 'typedef enum GPIO_INT_TYPE GPIO_INT_TYPE'
} GPIO_INT_TYPE;
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/driver/driver/gpio.h:24:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_sleep.h:19,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_system.h:21,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/portable.h:126,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/gpio.h:58:3: note: previous declaration as 'typedef enum GPIO_INT_TYPE GPIO_INT_TYPE'
} GPIO_INT_TYPE;
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:38:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/gpio.h:54:68: error: conflicting declaration 'typedef void (* gpio_intr_handler_fn_t)(uint32, void*)'
typedef void (* gpio_intr_handler_fn_t)(uint32 intr_mask, void *arg);
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/driver/driver/gpio.h:24:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_sleep.h:19,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_system.h:21,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/portable.h:126,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/gpio.h:67:17: note: previous declaration as 'typedef void (* gpio_intr_handler_fn_t)(uint32_t, bool, void*)'
typedef void (* gpio_intr_handler_fn_t)(uint32_t intr_mask, bool high, void *arg);
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:78:41: error: conflicting declaration of C function 'bool system_deep_sleep(uint64)'
bool system_deep_sleep(uint64 time_in_us);
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_system.h:21:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/portable.h:126,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_sleep.h:264:6: note: previous declaration 'void system_deep_sleep(uint64_t)'
void system_deep_sleep(uint64_t time_in_us) __attribute__((noreturn, deprecated));
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:40:0,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiServer.h:52:3: error: invalid abstract return type 'WiFiClient'
WiFiClient available(uint8_t* status = NULL);
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:39:0,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiClient.h:45:7: note: because the following virtual functions are pure within 'WiFiClient':
class WiFiClient : public Client, public SList<WiFiClient> {
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:155:0,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Client.h:37:18: note: virtual void Client::flush()
virtual void flush() = 0;
^
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Client.h:38:18: note: virtual void Client::stop()
virtual void stop() = 0;
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecure.h:21:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecureBearSSL.h:58:5: error: invalid abstract return type 'BearSSL::WiFiClientSecure'
WiFiClientSecure available(uint8_t* status = NULL);
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecureBearSSL.h:24:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecure.h:21,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:34:7: note: because the following virtual functions are pure within 'BearSSL::WiFiClientSecure':
class WiFiClientSecure : public WiFiClient {
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:155:0,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Client.h:37:18: note: virtual void Client::flush()
virtual void flush() = 0;
^
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Client.h:38:18: note: virtual void Client::stop()
virtual void stop() = 0;
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecureAxTLS.h:36:3: error: invalid abstract return type 'axTLS::WiFiClientSecure'
WiFiClientSecure available(uint8_t* status = NULL);
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:42,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiClientSecureAxTLS.h:33:7: note: because the following virtual functions are pure within 'axTLS::WiFiClientSecure':
class WiFiClientSecure : public WiFiClient {
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:155:0,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Client.h:37:18: note: virtual void Client::flush()
virtual void flush() = 0;
^
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Client.h:38:18: note: virtual void Client::stop()
virtual void stop() = 0;
^
K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino: In function 'void loop()':
ESP_-_Salva_Arquivo:135:40: error: cannot allocate an object of abstract type 'WiFiClient'
ESP_-_Salva_Arquivo:135:14: error: cannot declare variable 'client' to be of abstract type 'WiFiClient'
exit status 1
cannot allocate an object of abstract type 'WiFiClient'
=====================================================
CODE
==============
#include "FS.h"
#include "SPIFFS.h"
#include <ESP8266WiFi.h>
const char* ssid = "Yomoraes";
const char* password = "jatefalei";
String buf;
WiFiServer server(80);
void formatFS(void){
SPIFFS.format();
}
void createFile(void){
File wFile;
//Cria o arquivo se ele não existir
if(SPIFFS.exists("/log.txt")){
Serial.println("Arquivo ja existe!");
} else {
Serial.println("Criando o arquivo...");
wFile = SPIFFS.open("/log.txt","w+");
//Verifica a criação do arquivo
if(!wFile){
Serial.println("Erro ao criar arquivo!");
} else {
Serial.println("Arquivo criado com sucesso!");
}
}
wFile.close();
}
void deleteFile(void) {
//Remove o arquivo
if(SPIFFS.remove("/log.txt")){
Serial.println("Erro ao remover arquivo!");
} else {
Serial.println("Arquivo removido com sucesso!");
}
}
void writeFile(String msg) {
//Abre o arquivo para adição (append)
//Inclue sempre a escrita na ultima linha do arquivo
File rFile = SPIFFS.open("/log.txt","a+");
if(!rFile){
Serial.println("Erro ao abrir arquivo!");
} else {
rFile.println("Log: " + msg);
Serial.println(msg);
}
rFile.close();
}
void readFile(void) {
//Faz a leitura do arquivo
File rFile = SPIFFS.open("/log.txt","r");
Serial.println("Reading file...");
while(rFile.available()) {
String line = rFile.readStringUntil('\n');
buf += line;
buf += "<br />";
}
rFile.close();
}
void closeFS(void){
SPIFFS.end();
}
void openFS(void){
//Abre o sistema de arquivos
if(!SPIFFS.begin()){
Serial.println("Erro ao abrir o sistema de arquivos");
} else {
Serial.println("Sistema de arquivos aberto com sucesso!");
}
}
void setup(void){
//Configura a porta serial para 115200bps
Serial.begin(115200);
//Abre o sistema de arquivos (mount)
openFS();
//Cria o arquivo caso o mesmo não exista
createFile();
writeFile("Booting ESP8266...");
writeFile("Connecting to " + (String)ssid);
//Inicia a conexão WiFi
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
writeFile("WiFi connected");
Serial.println(WiFi.localIP());
//Inicia o webserver
server.begin();
writeFile("Web Server started");
}
void loop(void){
//Tratamento das requisições http
WiFiClient client = server.available();
if (!client) {
return;
}
Serial.println("new client");
while(!client.available()){
delay(1);
}
String req = client.readStringUntil('\r');
Serial.println(req);
client.flush();
buf = "";
buf += "HTTP/1.1 200 OK\r\nContent-Type: text/html\r\n\r\n<!DOCTYPE HTML>\r\n<html>\r\n";
buf += "<h3 style=""text-align: center;"">ESP8266 Web Log</h3>";
buf += "<p>";
readFile();
buf += "</p>";
buf += "<h4>Criado por Alexandre Moraes</h4>";
buf += "</html>\n";
client.print(buf);
client.flush();
Serial.println("Client disonnected");
}
========================================================
ERROR MESSAGE
========================================================
Arduino: 1.8.7 (Windows 10), Placa:"ESP32 Dev Module, Disabled, Default, QIO, 80MHz, 4MB (32Mb), 115200, None"
AVISO: a biblioteca ESP8266WiFi alega rodar em arquitetura(s) (esp8266) e pode ser incompatível com sua placa atual, que roda em arquitetura(s) (esp32).
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:33:0,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:108:5: error: 'uint8' does not name a type
uint8 bssid[6];
^
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:109:5: error: 'uint8' does not name a type
uint8 channel;
^
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:115:5: error: 'uint8' does not name a type
uint8 bssid[6];
^
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:121:5: error: 'uint8' does not name a type
uint8 oldMode;
^
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:122:5: error: 'uint8' does not name a type
uint8 newMode;
^
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:134:5: error: 'uint8' does not name a type
uint8 mac[6];
^
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:135:5: error: 'uint8' does not name a type
uint8 aid;
^
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:140:5: error: 'uint8' does not name a type
uint8 mac[6];
^
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:141:5: error: 'uint8' does not name a type
uint8 aid;
^
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:147:5: error: 'uint8' does not name a type
uint8 mac[6];
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:88:30: error: 'uint32' has not been declared
bool forceSleepBegin(uint32 sleepUs = 0);
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/c_types.h:71:10: error: redeclaration of 'OK'
OK = 0,
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:630:5: note: previous declaration 'STATUS OK'
OK = 0,
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/c_types.h:72:5: error: redeclaration of 'FAIL'
FAIL,
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:631:5: note: previous declaration 'STATUS FAIL'
FAIL,
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/c_types.h:73:5: error: redeclaration of 'PENDING'
PENDING,
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:632:5: note: previous declaration 'STATUS PENDING'
PENDING,
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/c_types.h:74:5: error: redeclaration of 'BUSY'
BUSY,
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:633:5: note: previous declaration 'STATUS BUSY'
BUSY,
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/c_types.h:75:5: error: redeclaration of 'CANCEL'
CANCEL,
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:634:5: note: previous declaration 'STATUS CANCEL'
CANCEL,
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/c_types.h:76:3: error: conflicting declaration 'typedef enum STATUS STATUS'
} STATUS;
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:635:3: note: previous declaration as 'typedef enum STATUS STATUS'
} STATUS;
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:41:8: error: redefinition of 'struct ETSEventTag'
struct ETSEventTag {
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:64:8: error: previous definition of 'struct ETSEventTag'
struct ETSEventTag {
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:52:16: error: redefinition of 'struct _ETSTIMER_'
typedef struct _ETSTIMER_ {
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:286:16: error: previous definition of 'struct _ETSTIMER_'
typedef struct _ETSTIMER_ {
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:58:3: error: conflicting declaration 'typedef int ETSTimer'
} ETSTimer;
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:292:3: note: previous declaration as 'typedef struct _ETSTIMER_ ETSTimer'
} ETSTimer;
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:189:105: error: conflicting declaration of C function 'void* malloc(size_t, const char*, int)'
void *pvPortMalloc(size_t xWantedSize, const char* file, int line) __attribute__((malloc, alloc_size(1)));
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/newlib/stdio.h:29:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:27,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/newlib/stdlib.h:101:21: note: previous declaration 'void* malloc(size_t)'
_PTR _EXFUN_NOTHROW(malloc,(size_t __size));
^
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/newlib/_ansi.h:64:37: note: in definition of macro '_EXFUN_NOTHROW'
#define _EXFUN_NOTHROW(name, proto) name proto _NOTHROW
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:191:53: error: conflicting declaration of C function 'void free(void*, const char*, int)'
void vPortFree(void *ptr, const char* file, int line);
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/newlib/stdio.h:29:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:27,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/newlib/stdlib.h:90:22: note: previous declaration 'void free(void*)'
_VOID _EXFUN_NOTHROW(free,(_PTR));
^
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/newlib/_ansi.h:64:37: note: in definition of macro '_EXFUN_NOTHROW'
#define _EXFUN_NOTHROW(name, proto) name proto _NOTHROW
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:207:37: error: conflicting declaration of C function 'void ets_install_putc1(void*)'
void ets_install_putc1(void* routine);
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:242:6: note: previous declaration 'void ets_install_putc1(void (*)(char))'
void ets_install_putc1(void (*p)(char c));
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:208:27: error: conflicting declaration of C function 'void ets_isr_mask(int)'
void ets_isr_mask(int intr);
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:477:6: note: previous declaration 'void ets_isr_mask(uint32_t)'
void ets_isr_mask(uint32_t mask);
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:209:29: error: conflicting declaration of C function 'void ets_isr_unmask(int)'
void ets_isr_unmask(int intr);
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:488:6: note: previous declaration 'void ets_isr_unmask(uint32_t)'
void ets_isr_unmask(uint32_t unmask);
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:216:68: error: conflicting declaration of C function 'bool ets_task(ETSTask, uint8, ETSEvent*, uint8)'
bool ets_task(ETSTask task, uint8 prio, ETSEvent *queue, uint8 qlen);
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:105:6: note: previous declaration 'void ets_task(ETSTask, uint8_t, ETSEvent*, uint8_t)'
void ets_task(ETSTask task, uint8_t prio, ETSEvent *queue, uint8_t qlen);
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/os_type.h:28:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:28,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ets_sys.h:217:54: error: conflicting declaration of C function 'bool ets_post(uint8, ETSSignal, ETSParam)'
bool ets_post(uint8 prio, ETSSignal sig, ETSParam par);
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOSConfig.h:120:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:99,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/ets_sys.h:119:12: note: previous declaration 'ETS_STATUS ets_post(uint8_t, ETSSignal, ETSParam)'
ETS_STATUS ets_post(uint8_t prio, ETSSignal sig, ETSParam par);
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:38:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/gpio.h:40:29: error: redeclaration of 'GPIO_PIN_INTR_DISABLE'
GPIO_PIN_INTR_DISABLE = 0,
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/driver/driver/gpio.h:24:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_sleep.h:19,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_system.h:21,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/portable.h:126,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/gpio.h:52:5: note: previous declaration 'GPIO_INT_TYPE GPIO_PIN_INTR_DISABLE'
GPIO_PIN_INTR_DISABLE = 0,
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:38:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/gpio.h:41:29: error: redeclaration of 'GPIO_PIN_INTR_POSEDGE'
GPIO_PIN_INTR_POSEDGE = 1,
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/driver/driver/gpio.h:24:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_sleep.h:19,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_system.h:21,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/portable.h:126,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/gpio.h:53:5: note: previous declaration 'GPIO_INT_TYPE GPIO_PIN_INTR_POSEDGE'
GPIO_PIN_INTR_POSEDGE = 1,
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:38:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/gpio.h:42:29: error: redeclaration of 'GPIO_PIN_INTR_NEGEDGE'
GPIO_PIN_INTR_NEGEDGE = 2,
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/driver/driver/gpio.h:24:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_sleep.h:19,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_system.h:21,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/portable.h:126,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/gpio.h:54:5: note: previous declaration 'GPIO_INT_TYPE GPIO_PIN_INTR_NEGEDGE'
GPIO_PIN_INTR_NEGEDGE = 2,
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:38:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/gpio.h:43:29: error: redeclaration of 'GPIO_PIN_INTR_ANYEDGE'
GPIO_PIN_INTR_ANYEDGE = 3,
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/driver/driver/gpio.h:24:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_sleep.h:19,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_system.h:21,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/portable.h:126,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/gpio.h:55:5: note: previous declaration 'GPIO_INT_TYPE GPIO_PIN_INTR_ANYEDGE'
GPIO_PIN_INTR_ANYEDGE = 3,
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:38:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/gpio.h:44:29: error: redeclaration of 'GPIO_PIN_INTR_LOLEVEL'
GPIO_PIN_INTR_LOLEVEL = 4,
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/driver/driver/gpio.h:24:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_sleep.h:19,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_system.h:21,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/portable.h:126,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/gpio.h:56:5: note: previous declaration 'GPIO_INT_TYPE GPIO_PIN_INTR_LOLEVEL'
GPIO_PIN_INTR_LOLEVEL = 4,
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:38:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/gpio.h:45:29: error: redeclaration of 'GPIO_PIN_INTR_HILEVEL'
GPIO_PIN_INTR_HILEVEL = 5
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/driver/driver/gpio.h:24:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_sleep.h:19,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_system.h:21,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/portable.h:126,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/gpio.h:57:5: note: previous declaration 'GPIO_INT_TYPE GPIO_PIN_INTR_HILEVEL'
GPIO_PIN_INTR_HILEVEL = 5
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:38:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/gpio.h:46:3: error: conflicting declaration 'typedef enum GPIO_INT_TYPE GPIO_INT_TYPE'
} GPIO_INT_TYPE;
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/driver/driver/gpio.h:24:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_sleep.h:19,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_system.h:21,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/portable.h:126,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/gpio.h:58:3: note: previous declaration as 'typedef enum GPIO_INT_TYPE GPIO_INT_TYPE'
} GPIO_INT_TYPE;
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:38:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/gpio.h:54:68: error: conflicting declaration 'typedef void (* gpio_intr_handler_fn_t)(uint32, void*)'
typedef void (* gpio_intr_handler_fn_t)(uint32 intr_mask, void *arg);
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/driver/driver/gpio.h:24:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_sleep.h:19,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_system.h:21,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/portable.h:126,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/rom/gpio.h:67:17: note: previous declaration as 'typedef void (* gpio_intr_handler_fn_t)(uint32_t, bool, void*)'
typedef void (* gpio_intr_handler_fn_t)(uint32_t intr_mask, bool high, void *arg);
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/user_interface.h:78:41: error: conflicting declaration of C function 'bool system_deep_sleep(uint64)'
bool system_deep_sleep(uint64 time_in_us);
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_system.h:21:0,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/portable.h:126,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,
from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:32,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32/esp_sleep.h:264:6: note: previous declaration 'void system_deep_sleep(uint64_t)'
void system_deep_sleep(uint64_t time_in_us) __attribute__((noreturn, deprecated));
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:40:0,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiServer.h:52:3: error: invalid abstract return type 'WiFiClient'
WiFiClient available(uint8_t* status = NULL);
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:39:0,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiClient.h:45:7: note: because the following virtual functions are pure within 'WiFiClient':
class WiFiClient : public Client, public SList<WiFiClient> {
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:155:0,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Client.h:37:18: note: virtual void Client::flush()
virtual void flush() = 0;
^
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Client.h:38:18: note: virtual void Client::stop()
virtual void stop() = 0;
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecure.h:21:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecureBearSSL.h:58:5: error: invalid abstract return type 'BearSSL::WiFiClientSecure'
WiFiClientSecure available(uint8_t* status = NULL);
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecureBearSSL.h:24:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecure.h:21,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:34:7: note: because the following virtual functions are pure within 'BearSSL::WiFiClientSecure':
class WiFiClientSecure : public WiFiClient {
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:155:0,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Client.h:37:18: note: virtual void Client::flush()
virtual void flush() = 0;
^
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Client.h:38:18: note: virtual void Client::stop()
virtual void stop() = 0;
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecureAxTLS.h:36:3: error: invalid abstract return type 'axTLS::WiFiClientSecure'
WiFiClientSecure available(uint8_t* status = NULL);
^
In file included from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23:0,
from C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:42,
from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino:23:
C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/WiFiClientSecureAxTLS.h:33:7: note: because the following virtual functions are pure within 'axTLS::WiFiClientSecure':
class WiFiClientSecure : public WiFiClient {
^
In file included from C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Arduino.h:155:0,
from sketch\ESP_-_Salva_Arquivo.ino.cpp:1:
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Client.h:37:18: note: virtual void Client::flush()
virtual void flush() = 0;
^
C:\Users\amora\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32/Client.h:38:18: note: virtual void Client::stop()
virtual void stop() = 0;
^
K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\ESP_-_Salva_Arquivo\ESP_-_Salva_Arquivo.ino: In function 'void loop()':
ESP_-_Salva_Arquivo:135:40: error: cannot allocate an object of abstract type 'WiFiClient'
ESP_-_Salva_Arquivo:135:14: error: cannot declare variable 'client' to be of abstract type 'WiFiClient'
exit status 1
cannot allocate an object of abstract type 'WiFiClient'
=====================================================