Como consigo a biblioteca ESP2688WiFi.h? Alguém pode me ajudar?

Quase todos os códigos que encontro usam a biblioteca que mencionei. Não a encontrei na internet e estou tendo dificuldades. Os links do GITHUB estão todos quebrados. Alguém sabe onde consigo?

Exibições: 395

Responder esta

Respostas a este tópico

Bom dia Alexandre, 

Se você nos informasse de onde baseou o seu sketch, facilitaria bem as coisas. Ás vezes, algumas bibliotecas se tornam incompatíveis, quando existe alguma atualização de placas na IDE do Arduino. Não sei se o seu caso.

https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiF...

Obrigado, amigo! Desculpe-me se não forneci detalhes suficientes. Vamos lá!

Uso ha mais de ano arduinos(Mega, Uno e nano) com o IDE do arduino e nunca tive problemas.

Em setembro, resolvi desenvolver um projeto em ESP-32, mas optei por usar o mesmo Arduino IDE, como parece que a maioria faz.

Que preciso na realidade rodar no ESP-32

1 - Monitoramento de temperatura (montado e testado)
2 - Conexão via WiFi - Onde os problemas começaram, com a ESP8266WiFi.h (posteriormente usarei LoRa)
3 - Salvar e Editar arquivos no ESP (Onde este sketch me permitiria explorar)
4 - Postar dados em servidores na nuvem, via MQTT (nem cheguei perto ainda deste ponto)

De inicio, estou usando SKETCHS prontos, só pra dominar a ESP-32... entender como funciona nela e ganhar segurança.
Posteriormente elaboraremos nosso próprio sketch abrangendo todos os tópcos.

Quando instalei a ESP8266WiFi.h, os erros de quebra de links para arquivos foram inúmeros (outubro), me levando a
crer que eu havia instalado algo errado (removi e instalei a IDE dezenas de vezes. Terminei por formatar o note e não resolveu)

Estudando bem todos os passos que ja dei, após o ultimo post que fiz aqui, quando o erro era a "bearSSL.h", tive alguns progressos,
mas considero um gatilho, tal necessidade.

Vi que o arduino IDE, alem da pasta de librarys no drive C, tinha uma similar no ONEDRIVE, da microsoft.
Eu havia testado tudo no C:/users/nome/appdata/arduino15/....esp82.. /library/ESP8266WiFi/SRC.
Passei a repetir os testes na pasta similar no ONEDRIVE (obtive resultados).
Criei uma pasta bearssl dentro da SCR da ESP8266WiFi com todos os arquivos da mesma no GitHub. FUNCIONOU.
A pensencia seguinte foi a "queue.h". Achei dentro de uma subpasta da "Arduino - Master" no GitHub
Acreditando ser uma Library, baixei-a .ZIP e tentei instala-la, sem sucesso.
Peguei o arquivo "queue.h" de uma subpasta dela e copiei para o SCR das ESP8266WiFi.
A compilação pediu outro arquivo que tambem existia na mesma pasta.
Copiei todos os arquivos da subpasta da master para a SCR mencionada... ACABARAM AS PENDENCIAS
Os erros passaram a ser outros que envio em arquivos anexos (Sketch e Erro).

Pergunta: Para usar ESP na IDE arduino e sempre essa novela?
Observei que a propria biblioteca ESP8266WiFi.h, ao instalar, deixou de incluir varios arquivos que SE ENCONTRAVAM
no ZIP original e nao foram para a pasa SRC do windows. Copiando-os manualmente sanei pendencias anteriores.

É normal isso?
Ta me parecendo um tremendo gatilho, perdão da palavra.

Grato,
Alexandre Moraes

SKETCH
====================================

#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");
}

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;

^

CONTINUAÇÃO ERRO

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,

^

CONTINUACAO 2 ERRO FIM

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,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 1cannot allocate an object of abstract type 'WiFiClient'
Este relatório teria mais informações com"Mostrar a saida detalhada durante a compilação"opção pode ser ativada em "Arquivo -> Preferências"

RSS

Destaques

Registre-se no
Lab de Garagem
Clicando aqui

Convide um
amigo para fazer
parte

curso gratis de arduino

© 2019   Criado por Marcelo Rodrigues.   Ativado por

Badges  |  Relatar um incidente  |  Termos de serviço