Skip to content

Commit

Permalink
Add a d1_mini_noMDNS build option to IRMQTTServer. (#1985)
Browse files Browse the repository at this point in the history
Adding an option for those that don't want to use MDNS.
  • Loading branch information
crankyoldgit committed May 7, 2023
1 parent d7ce2ca commit 35261c3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/IRMQTTServer/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 35261c3

Please sign in to comment.