mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
Fix ESP8266 verbose logging (#291)
This commit is contained in:
parent
a8c17e5d05
commit
183e0f4d23
1 changed files with 1 additions and 2 deletions
|
@ -78,12 +78,11 @@ def required_build_flags(config):
|
||||||
has_serial_logging = config.get(CONF_BAUD_RATE) != 0
|
has_serial_logging = config.get(CONF_BAUD_RATE) != 0
|
||||||
if CORE.is_esp8266 and has_serial_logging and is_at_least_verbose:
|
if CORE.is_esp8266 and has_serial_logging and is_at_least_verbose:
|
||||||
flags.append(u"-DDEBUG_ESP_PORT=Serial")
|
flags.append(u"-DDEBUG_ESP_PORT=Serial")
|
||||||
|
flags.append(u"-DLWIP_DEBUG")
|
||||||
DEBUG_COMPONENTS = {
|
DEBUG_COMPONENTS = {
|
||||||
'CORE',
|
|
||||||
'HTTP_CLIENT',
|
'HTTP_CLIENT',
|
||||||
'HTTP_SERVER',
|
'HTTP_SERVER',
|
||||||
'HTTP_UPDATE',
|
'HTTP_UPDATE',
|
||||||
'OOM',
|
|
||||||
'OTA',
|
'OTA',
|
||||||
'SSL',
|
'SSL',
|
||||||
'TLS_MEM',
|
'TLS_MEM',
|
||||||
|
|
Loading…
Reference in a new issue