mirror of
https://github.com/esphome/esphome.git
synced 2026-02-13 21:17:35 -07:00
f0d9ad6a4e35c8cf3abac8fbc9f4875cb1859a3d
When using static TAG is only valid in the current compile unit. For
some reason it seems that the current ESP8266/ESP32 compiler use the
instance from ble.cpp, but it seems that this causes issues with newer
compiler leading to compile time errors like this:
In file included from /root/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-log.h:164,
from /root/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal.h:71,
from /root/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:36,
from src/esphome/core/esphal.h:3,
from src/esphome/core/helpers.h:10,
from src/esphome/components/esp32_ble/ble_uuid.h:3,
from src/esphome/components/esp32_ble/ble_advertising.cpp:5:
src/esphome/components/esp32_ble/ble_advertising.cpp: In member function 'void esphome::esp32_ble::BLEAdvertising::start()':
src/esphome/components/esp32_ble/ble_advertising.cpp:64:14: error: 'TAG' was not declared in this scope
ESP_LOGE(TAG, "esp_ble_gap_config_adv_data failed (Advertising): %d", err);
^~~
ESPHome

Documentation: https://esphome.io/
For issues, please go to the issue tracker.
For feature requests, please see feature requests.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
259 MiB
Languages
C++
64.2%
Python
35.5%
C
0.2%
