[SYS] Use PicoMQTT for MQTT communication (#1954)
* Update Arduino core for selected configurations * Use PicoMQTT for MQTT communication
This commit is contained in:
1 parent
b20f2c4819
commit
9257433a50
8 files changed
+214
-233
No files matched your search
+5
-3
@@ -26,7 +26,7 @@ custom_description = RF gateway for the Sonoff RF Bridge relying on the internal
|
||||
custom_hardware = RFBridge v1
|
||||
|
||||
[env:rfbridge-direct]
|
||||
platform = espressif8266@^2
|
||||
platform = ${com.esp8266_platform}
|
||||
board = esp8285
|
||||
lib_deps =
|
||||
${com-esp.lib_deps}
|
||||
@@ -42,6 +42,7 @@ build_flags =
|
||||
'-DZsensorGPIOInput="GPIOInput"'
|
||||
'-DINPUT_GPIO=0'
|
||||
'-DGateway_Name="OMG_SRFB_Direct"'
|
||||
'-fcommon'
|
||||
board_build.flash_mode = dout
|
||||
board_build.ldscript = eagle.flash.1m64.ld ;this frees more space for firmware uplad via OTA.
|
||||
;extra_scripts = scripts/compressFirmware.py ;uncomment this to compress the firmware. This helps updating e.g. Sonoff RF Bridge via OTA flash by saving space for the uploaded firmware.
|
||||
@@ -1459,7 +1460,7 @@ board_build.flash_mode = dout
|
||||
custom_description = KAKU RF gateway using NewRemoteSwitch library, need CC1101
|
||||
|
||||
[env:nodemcuv2-pilight]
|
||||
platform = espressif8266@^2
|
||||
platform = ${com.esp8266_platform}
|
||||
board = nodemcuv2
|
||||
lib_deps =
|
||||
${com-esp.lib_deps}
|
||||
@@ -1470,6 +1471,7 @@ build_flags =
|
||||
${com-esp.build_flags}
|
||||
'-DZgatewayPilight="Pilight"'
|
||||
'-DGateway_Name="OMG_ESP8266_Pilight"'
|
||||
'-fcommon'
|
||||
board_build.flash_mode = dout
|
||||
custom_description = Gateway using ESPilight without the need of CC1101
|
||||
|
||||
@@ -1779,5 +1781,5 @@ build_flags =
|
||||
'-DLED_SEND_RECEIVE_ON=0'
|
||||
'-DGateway_Name="OMG_ESP32_BLE"'
|
||||
'-DUSE_BLUFI=1'
|
||||
'-DARDUINO_LOOP_STACK_SIZE=15000'
|
||||
'-DARDUINO_LOOP_STACK_SIZE=16000'
|
||||
custom_description = Regular BLE gateway based on esp-idf with adaptive scanning activated, automatically adapts the scan parameters depending on your devices
|
||||
Reference in new issue
Block a user