From 80434500da23f1561e5d6da3abd1865308e64117 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Tue, 8 Dec 2020 11:49:11 +0100 Subject: [PATCH 1/2] mDNS has been disabled from all pre-compiled binaries to allow new features mDNS has been disabled from all pre-compiled binaries to allow new features --- CHANGELOG.md | 1 + RELEASENOTES.md | 1 + tasmota/my_user_config.h | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57a781fb1..2a64d5f62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ All notable changes to this project will be documented in this file. - IRremoteESP8266 library from v2.7.12 to v2.7.13 - Shelly Dimmer 1 and 2 stm32 firmware from v51.4 to v51.5 - Force bigger Thunk Stack if 4K RSA even without EC ciphers (#10075) +- mDNS has been disabled from all pre-compiled binaries to allow new features ### Fixed - KNX ESP32 UDP mulicastpackage (#9811) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 79bfa0bd2..778a85d5e 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -87,6 +87,7 @@ The attached binaries can also be downloaded from http://ota.tasmota.com/tasmota - Core library from v2.7.4.5 to v2.7.4.9 - IRremoteESP8266 library from v2.7.12 to v2.7.13 - Shelly Dimmer 1 and 2 stm32 firmware from v51.4 to v51.5 +- mDNS has been disabled from all pre-compiled binaries to allow new features - Platformio compiler option `no target align` enabled (#9749) - Sonoff L1 color up scaling and color margin detection (#9545) - MQTT Wifi connection timeout from 5000 to 200 mSec (#9886) diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index fffd2a7ab..9878c48e2 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -421,7 +421,7 @@ // #define USE_CCLOADER // Enable CCLoader FW upgrade tool (for CC25xx devices) // -- mDNS ---------------------------------------- -#define USE_DISCOVERY // Enable mDNS for the following services (+8k code or +23.5k code with core 2_5_x, +0.3k mem) +//#define USE_DISCOVERY // Enable mDNS for the following services (+8k code or +23.5k code with core 2_5_x, +0.3k mem) #define WEBSERVER_ADVERTISE // Provide access to webserver by name .local/ #define MQTT_HOST_DISCOVERY // Find MQTT host server (overrides MQTT_HOST if found) From 5e87bbecfcf2828756d7fca81d687ce6a290bd01 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Tue, 8 Dec 2020 14:31:41 +0100 Subject: [PATCH 2/2] Revert compile option -mno-target-align Revert compile option -mno-target-align (hopefully) fixing watchdog exceptions. --- platformio.ini | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/platformio.ini b/platformio.ini index 5dfb5a6c5..6c0f401df 100644 --- a/platformio.ini +++ b/platformio.ini @@ -100,13 +100,14 @@ extra_scripts = pio-tools/strip-floats.py [esp_defaults] ; *** remove undesired all warnings -build_unflags = -mtarget-align - -Wall +build_unflags = -Wall +; -mtarget-align -Wdeprecated-declarations -build_flags = -mno-target-align +build_flags = -Wno-deprecated-declarations +; -mno-target-align + -mtarget-align -free -fipa-pta - -Wno-deprecated-declarations -Wreturn-type -D_IR_ENABLE_DEFAULT_=false -DDECODE_HASH=true -DDECODE_NEC=true -DSEND_NEC=true