Setmqtt setting optional (#1021)

* Define MQTTsetMQTT for configuring MQTT over MQTT

* Enable MQTTsetMQTT per default on all ESP except RFBridge

Co-authored-by: Dave <d.kneisz@gmail.com>
This commit is contained in:
FlorianandDave authored and GitHub committed 2021-07-14 17:25:09 -05:00
1 parent c44ab5aeb9
commit ebe17c8899
3 files changed
+25 -10

No files matched your search

+2
View File
@@ -153,6 +153,7 @@ build_flags =
'-DTRACE=1'
'-DCONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED'
'-DCONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED'
'-DMQTTsetMQTT'
;'-DCORE_DEBUG_LEVEL=4'
[com-arduino]
@@ -190,6 +191,7 @@ build_flags =
'-DLED_INFO=13'
'-DLED_INFO_ON=0'
'-DGateway_Name="OpenMQTTGateway_SRFB"'
'-UMQTTsetMQTT' ;We remove this function to have sufficient FLASH available for OTA, you should also use ESPWifiManualSetup to save flash memory and have OTA working
board_build.flash_mode = dout
[env:esp32dev-all-test]