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: 373

Responder esta

Respostas a este tópico

Boa tarde AOM,

veja se este link resolve.

https://github.com/esp8266/Arduino

RV

Obrigado, vou testar.

Reinstalei do zero o IDE e as placas ESP8266 e ESP-32 e a library entrou. Agora gerou uma pendência dentro dela: “user_config.h”. E comum essas library’s se instalarem incompletas?

Boa tarde , 

Procedimento para instalação do NodeMCU-ESP12 (ou ESP8266) na Arduino IDE.

A biblioteca ESP8266WIFI já esta integrada com a instalação da placa. 

http://blog.eletrogate.com/nodemcu-esp12-usando-arduino-ide-2/

Muito obrigado. Preciso conhecer o NodeMCU, mesmo.

Vou testar ainda hoje.

Reinstalei do zero o IDE e as placas ESP8266 e ESP-32 e a library entrou. Agora gerou uma pendência dentro dela: “user_config.h”. E comum essas library’s se instalarem incompletas?  Fiz isso 2 vezes e terminou na mesma pendência.

Bom dia, 

Você precisa nos informar o que realmente pretende. Informou sobre ESP8266 e agora informa que instalou o ESP32 também ?

Copie todas as mensagens de erro e nos envie. Siga esse procedimento :

http://labdegaragem.com/forum/topics/sugest-o-de-como-postar?commen...

http://blog.eletrogate.com/conhecendo-o-esp32-introducao-1/

http://blog.eletrogate.com/conhecendo-o-esp32-usando-arduino-ide-2/

Estou usando o ESP-32 para um projeto. Nele usarei: Gravação na memoria propria e acesso a rede Wifi para transmitir as informações que lerá.
Ao tentar rodar um código experimental para gravação em aquivo e outro para Transmitir dados por wifi, ambos pediram a library ESP8266WiFi.h, que inicialmente pedi.

Posterior a isso, apaguei minha IDE e instalei do zero, colocando os paths para baixar as placas ESP. 
Instalei a ESP8266 (por causa dos drivers e librarys que precisaria e a ESP-32, que efetivamente utilizaria.

Agora, a ESP8266WiFi apareceu, nao da mais o erro. Mas, dentro desta, ela da um include de varias outras pequenas librarys, que compõem o pacote, mas a user_config.h, que mencionei por ultimo, nao esta na pasta SRC, junto às outras que a mesma library chama.
Posso inclui-la manualmente, pegando no GitHub, mas seria melhor eu achar onde esta o erro para que a instalação nao deixasse essa pendência sempre que fosse instalado.

O circuito atende um projeto de TCC meu (ES) e de outro aluno do Parana. Temos que ter IDEs bem similares, para que o codigo que um escreva possa, tambem, ser compilado pelo outro, em outro estado.

SEGUE CODIGO (Nao e Meu) + Erros na compilação, caso queira/possa conferir se o que eu falo tem lógica.

Obrigado, amigo! 

#include <ESP8266WiFi.h>
#include <WiFiClientSecure.h>
#include <String.h>
#include "sha256.h"
#include "Base64.h"

// START: Azure Evet Hub settings

const char* KEY = "Your event hub primary key"; // event hub access key
const char* KEY_NAME = "RootManageSharedAccessKey"; // event hub key name ( policy name)
const char* HOST = "your evnt hub namespace.servicebus.windows.net"; // event hub name (name of service bus)
const char* END_POINT = "/ your event hub name /messages"; // name of the evnthub which we create inside eventhub namespace
// END: Azure Evet Hub settings
// START: WiFi settings
const char* SSID = "amoraes";
const char* PASSWORD = "jatefalei";
// END: WiFi settings
String request;
String data;
String fullSas;
WiFiClientSecure client;
void setup() {
Serial.begin(115200);

// START: Naive URL Encode
String url = "https://" + (String)HOST + (String)END_POINT;
url.replace(":", "%3A");
url.replace("/", "%2F");
Serial.println(url);
// END: Naive URL Encode

// START: Create SAS
// https://azure.microsoft.com/en-us/documentation/articles/service-bu...
// Where to get secods since the epoch: local service, SNTP, RTC
int expire = 1711104241;
String stringToSign = url + "\n" + expire;

// START: Create signature
Sha256.initHmac((const uint8_t*)KEY, 44);
Sha256.print(stringToSign);
char* sign = (char*) Sha256.resultHmac();

//Serial.println(String (Sha256.resultHmac));
int signLen = 32;
// END: Create signature

// START: Get base64 of signature
int encodedSignLen = base64_enc_len(signLen);
char encodedSign[encodedSignLen];
base64_encode(encodedSign, sign, signLen);
String encodedSas = (String) encodedSign;

// Naive URL encode
encodedSas.replace("=", "%3D");
//Serial.println(encodedSas);
// END: Get base64 of signature

// SharedAccessSignature
fullSas = "sr=" + url + "&sig="+ encodedSas + "&se=" + expire +"&skn=" + KEY_NAME;
// END: create SAS
//Serial.println("SAS below");
//Serial.println(fullSas);
//Serial.println();
// START: Wifi connection
Serial.print("connecting to ");
Serial.println(SSID);

WiFi.begin(SSID, PASSWORD);
while (WiFi.status() != WL_CONNECTED) {
delay(1000);
Serial.print(".");
}

Serial.println("");
Serial.println("WiFi connected");
Serial.println("IP address: ");
Serial.println(WiFi.localIP());
// END: Wifi connection

}

void loop() {
//delay(100);
WiFiClientSecure client;
if (!client.connect(HOST, 443)) {
Serial.println("connection failed");
return;
}
int r=random(100,10000);
int temp=random(25 , 45);
int light= random(10 , 100);
int soilm = random (10 , 70 );
data = "{'deviceid':'esp8266'";
data+= ", 'temperature' : ";
data+= temp;
data+=" , 'soilmoisture' : ";
data+=soilm;
data+=" , 'lightintensity' :";
data+=light;
data+="}";
request = String("POST ") + END_POINT + " HTTP/1.1\r\n" +
"Host: " + HOST + "\r\n" +
"Authorization: SharedAccessSignature " + fullSas + "\r\n" +
"Content-Type: application/atom+xml;type=entry;charset=utf-8\r\n" +
"Content-Length: " + data.length() + "\r\n\r\n" +
data;
Serial.println(request);
client.print(request);
delay(100);
/*
String response = "";
while (client.connected()) {
response += client.readStringUntil('\n');
}

Serial.println();
Serial.print("Response code: ");
Serial.println(response.substring(9, 12));

*/
}

Arduino: 1.8.2 (Windows 10), Placa:"ESP32 Dev Module, Disabled, Default, QIO, 80MHz, 4MB (32Mb), 921600, None"

C:\Program Files\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\Arduino\hardware -hardware C:\Users\kaie\AppData\Local\Arduino15\packages -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -tools C:\Users\kaie\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files\Arduino\libraries -libraries K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\libraries -fqbn=esp32:esp32:esp32:PSRAM=disabled,PartitionScheme=default,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none -ide-version=10802 -build-path C:\Users\kaie\AppData\Local\Temp\arduino_build_293140 -warnings=none -build-cache C:\Users\kaie\AppData\Local\Temp\arduino_cache_525777 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.esptool.path=C:\Users\kaie\AppData\Local\Arduino15\packages\esp32\tools\esptool\2.3.1 -prefs=runtime.tools.mkspiffs.path=C:\Users\kaie\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\kaie\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0 -verbose K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\Esp32_-_Azure_1\Esp32_-_Azure_1.ino
C:\Program Files\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files\Arduino\hardware -hardware C:\Users\kaie\AppData\Local\Arduino15\packages -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -tools C:\Users\kaie\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files\Arduino\libraries -libraries K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\libraries -fqbn=esp32:esp32:esp32:PSRAM=disabled,PartitionScheme=default,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none -ide-version=10802 -build-path C:\Users\kaie\AppData\Local\Temp\arduino_build_293140 -warnings=none -build-cache C:\Users\kaie\AppData\Local\Temp\arduino_cache_525777 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.esptool.path=C:\Users\kaie\AppData\Local\Arduino15\packages\esp32\tools\esptool\2.3.1 -prefs=runtime.tools.mkspiffs.path=C:\Users\kaie\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\kaie\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0 -verbose K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\Esp32_-_Azure_1\Esp32_-_Azure_1.ino
Using board 'esp32' from platform in folder: C:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0
Using core 'esp32' from platform in folder: C:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0
Detecting libraries used...
"C:\Users\kaie\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DHAVE_CONFIG_H "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/config" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/bluedroid" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/bluedroid/api" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/app_trace" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/app_update" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/bootloader_support" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/bt" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/driver" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp_adc_cal" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp_http_client" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp-tls" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/ethernet" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/fatfs" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/heap" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/jsmn" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/log" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/mdns" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/mbedtls" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/mbedtls_port" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/newlib" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/nvs_flash" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/openssl" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/spi_flash" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/sdmmc" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/smartconfig_ack" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/spiffs" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/tcpip_adapter" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/ulp" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/vfs" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/wear_levelling" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/xtensa-debug-module" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/coap" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/console" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/expat" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/json" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/lwip" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/newlib" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/nghttp" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/soc" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/wpa_supplicant" -std=gnu++11 -fno-exceptions -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10802 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 -DARDUINO_BOARD="ESP32_DEV" -DARDUINO_VARIANT="esp32" -DESP32 -DCORE_DEBUG_LEVEL=0 "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\variants\esp32" "C:\Users\kaie\AppData\Local\Temp\arduino_build_293140\sketch\Esp32_-_Azure_1.ino.cpp" -o "nul"
"C:\Users\kaie\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DHAVE_CONFIG_H "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/config" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/bluedroid" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/bluedroid/api" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/app_trace" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/app_update" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/bootloader_support" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/bt" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/driver" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp_adc_cal" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp_http_client" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp-tls" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/ethernet" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/fatfs" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/heap" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/jsmn" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/log" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/mdns" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/mbedtls" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/mbedtls_port" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/newlib" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/nvs_flash" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/openssl" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/spi_flash" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/sdmmc" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/smartconfig_ack" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/spiffs" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/tcpip_adapter" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/ulp" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/vfs" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/wear_levelling" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/xtensa-debug-module" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/coap" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/console" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/expat" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/json" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/lwip" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/newlib" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/nghttp" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/soc" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/wpa_supplicant" -std=gnu++11 -fno-exceptions -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10802 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 -DARDUINO_BOARD="ESP32_DEV" -DARDUINO_VARIANT="esp32" -DESP32 -DCORE_DEBUG_LEVEL=0 "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\variants\esp32" "-IK:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\libraries\ESP8266WiFi\src" "C:\Users\kaie\AppData\Local\Temp\arduino_build_293140\sketch\Esp32_-_Azure_1.ino.cpp" -o "nul"
"C:\Users\kaie\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DHAVE_CONFIG_H "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/config" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/bluedroid" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/bluedroid/api" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/app_trace" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/app_update" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/bootloader_support" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/bt" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/driver" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp32" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp_adc_cal" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp_http_client" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/esp-tls" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/ethernet" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/fatfs" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/freertos" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/heap" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/jsmn" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/log" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/mdns" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/mbedtls" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/mbedtls_port" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/newlib" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/nvs_flash" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/openssl" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/spi_flash" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/sdmmc" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/smartconfig_ack" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/spiffs" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/tcpip_adapter" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/ulp" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/vfs" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/wear_levelling" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/xtensa-debug-module" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/coap" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/console" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/expat" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/json" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/lwip" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/newlib" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/nghttp" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/soc" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/wpa_supplicant" -std=gnu++11 -fno-exceptions -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10802 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 -DARDUINO_BOARD="ESP32_DEV" -DARDUINO_VARIANT="esp32" -DESP32 -DCORE_DEBUG_LEVEL=0 "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\cores\esp32" "-IC:\Users\kaie\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\variants\esp32" "-IK:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\libraries\ESP8266WiFi\src" "C:\Users\kaie\AppData\Local\Temp\arduino_build_293140\sketch\Esp32_-_Azure_1.ino.cpp" -o "C:\Users\kaie\AppData\Local\Temp\arduino_build_293140\preproc\ctags_target_for_gcc_minus_e.cpp"
In file included from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:29:0,

from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\Esp32_-_Azure_1\Esp32_-_Azure_1.ino:1:

K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\libraries\ESP8266WiFi\src/user_interface.h:36:25: fatal error: user_config.h: No such file or directory

compilation terminated.

Usando a biblioteca ESP8266WiFi na versão 1.0 na pasta: K:\!Kaie\!Laboratório\Arduino\!!Arduino Skatches\libraries\ESP8266WiFi
exit status 1
Erro compilando para a placa ESP32 Dev Module

Bom dia, 

Essas são as bibliotecas usadas no seu programa:

#include <ESP8266WiFi.h>
#include <WiFiClientSecure.h>
#include <String.h>
#include "sha256.h"
#include "Base64.h"

Instalou todas ? Deve estar faltando a instalação de alguma biblioteca.

Siga o tutorial de onde copiou esse programa. 

Perdoe-me a demora, viajei.

Instalei todas as bibliotecas, mas agora compreendi que a ESP8266WiFi.h esta dependendo da bearssl.h. Esta nao esta instalada e nao estou conseguindo faze-lo.
Baixei os arquivos no GitHub e coloquei manualmente nas pastas, mas nao resolveu.

C:\Users\amora\OneDrive\Documentos\Arduino\libraries\ESP8266WiFi\src/BearSSLHelpers.h:26:29: fatal error: bearssl/bearssl.h: No such file or directory

Vi que a instalação da ESP8266WiFi tinha uma serie de arquivos ausentes (e que estavam dentro do pacote instalado). Coloquei-os manualmente e resolveu, mas nao o BEARSSL.

Coloquei os aquivos dentro de SRC e nao deu
Criei a pasta src/bearssl e coloquei dentro, mas nao resolveu.

Reinstalei a placa ESP8266 para ver se nao era ela c pendencias...

Nao sei se todos passam por isso com a instalação dessa biblioteca (ESP8266WiFi.h). 

Grato,

Alexandre

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