INFO Reading configuration /config/esp32.yaml...
WARNING GPIO2 is a Strapping PIN and should be avoided.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Compiling app...
Processing esp32 (board: nodemcu-32s; framework: arduino; platform: platformio/espressif32 @ 3.5.0)
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- <AsyncTCP-esphome> 1.2.2
|-- <WiFi> 1.0
|-- <FS> 1.0
|-- <Update> 1.0
|-- <ESPAsyncWebServer-esphome> 2.1.0
| |-- <AsyncTCP-esphome> 1.2.2
|-- <DNSServer> 1.1.0
|-- <ESPmDNS> 1.0
|-- <ArduinoJson> 6.18.5
Compiling .pioenvs/esp32/src/main.cpp.o
In file included from src/esphome/components/sensor/sensor.h:3:0,
from src/esphome/core/application.h:16,
from src/esphome/components/api/api_connection.h:4,
from src/esphome.h:3,
from src/main.cpp:3:
/config/esp32.yaml: In lambda function:
/config/esp32.yaml:65:96: warning: 'std::__cxx11::string esphome::hexencode(const T&) [with T = std::vector<unsigned char>; std::__cxx11::string = std::__cxx11::basic_string<char>]' is deprecated: hexencode() is deprecated, use format_hex_pretty() instead. [-Wdeprecated-declarations]
ESP_LOGD("ble_adv", " - %s:%s", data.uuid.to_string().c_str(), hexencode(data.data).c_str());
^
src/esphome/core/log.h:92:89: note: in definition of macro 'esph_log_d'
esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
^
/config/esp32.yaml:65:11: note: in expansion of macro 'ESP_LOGD'
ESP_LOGD("ble_adv", " - %s:%s", data.uuid.to_string().c_str(), hexencode(data.data).c_str());
^
In file included from src/esphome/core/preferences.h:6:0,
from src/esphome/core/application.h:6,
from src/esphome/components/api/api_connection.h:4,
from src/esphome.h:3,
from src/main.cpp:3:
src/esphome/core/helpers.h:644:13: note: declared here
std::string hexencode(const T &data) {
^
src/esphome/core/helpers.h: In instantiation of 'std::__cxx11::string esphome::hexencode(const T&) [with T = std::vector<unsigned char>; std::__cxx11::string = std::__cxx11::basic_string<char>]':
/config/esp32.yaml:65:11: required from here
src/esphome/core/helpers.h:645:19: warning: 'std::__cxx11::string esphome::hexencode(const uint8_t*, uint32_t)' is deprecated: hexencode() is deprecated, use format_hex_pretty() instead. [-Wdeprecated-declarations]
return hexencode(data.data(), data.size());
^
src/esphome/core/helpers.h:640:20: note: declared here
inline std::string hexencode(const uint8_t *data, uint32_t len) { return format_hex_pretty(data, len); }