Fix ESP8266 verbose logging (#291)

This commit is contained in:
Otto Winter 2019-01-02 12:27:05 +01:00 committed by GitHub
parent a8c17e5d05
commit 183e0f4d23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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',