Skip to content

Commit 35261c3

Browse files
authored
Add a d1_mini_noMDNS build option to IRMQTTServer. (#1985)
Adding an option for those that don't want to use MDNS.
1 parent d7ce2ca commit 35261c3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

examples/IRMQTTServer/platformio.ini

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ lib_deps = ${common_esp8266.lib_deps_external}
3838
board = d1_mini
3939
lib_deps = ${common_esp8266.lib_deps_external}
4040

41+
[env:d1_mini_noMDNS]
42+
board = d1_mini
43+
build_flags =
44+
${env.build_flags}
45+
-DMQTT_SERVER_AUTODETECT_ENABLE=false
46+
-DMDNS_ENABLE=false
47+
lib_deps = ${common_esp8266.lib_deps_external}
48+
4149
[env:d1_mini_no_mqtt]
4250
board = d1_mini
4351
build_flags =

0 commit comments

Comments
 (0)