From 05682fb73c7fe65146b380565416846e27807347 Mon Sep 17 00:00:00 2001 From: crankyoldgit Date: Thu, 4 May 2023 22:50:29 +1000 Subject: [PATCH] Add a d1_mini_noMDNS build option to IRMQTTServer. Adding an option for those that don't want to use MDNS. --- examples/IRMQTTServer/platformio.ini | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/examples/IRMQTTServer/platformio.ini b/examples/IRMQTTServer/platformio.ini index 9598e794c..a20250c67 100644 --- a/examples/IRMQTTServer/platformio.ini +++ b/examples/IRMQTTServer/platformio.ini @@ -38,6 +38,14 @@ lib_deps = ${common_esp8266.lib_deps_external} board = d1_mini lib_deps = ${common_esp8266.lib_deps_external} +[env:d1_mini_noMDNS] +board = d1_mini +build_flags = + ${env.build_flags} + -DMQTT_SERVER_AUTODETECT_ENABLE=false + -DMDNS_ENABLE=false +lib_deps = ${common_esp8266.lib_deps_external} + [env:d1_mini_no_mqtt] board = d1_mini build_flags =