diff --git a/docs/use/gateway.md b/docs/use/gateway.md index fb5807c..23759cf 100644 --- a/docs/use/gateway.md +++ b/docs/use/gateway.md @@ -135,6 +135,11 @@ vEsXCS+0yx5DaMkHJ8HSXPfqIbloEpw8nL+e/IBcm2PN7EeqJSdnoDfzAIJ9VNep A bash script is available [here](ota_command_cert.zip) to simplify the use of the `server_cert` parameter. +::: warning +The pre-built binaries for **rfbridge** and **avatto-bakeey-ir** have the above WiFi and MQTT broker credentials and the Firmware update via MQTT options disabled. This is due to the restricted available flash, so as to still be able to use OTA firmware updates for these boards. +::: + + # State LED usage The gateway can support up to 3 LED to display its operating state: diff --git a/platformio.ini b/platformio.ini index e024af1..11c510d 100644 --- a/platformio.ini +++ b/platformio.ini @@ -756,6 +756,7 @@ board_build.flash_mode = dout [env:avatto-bakeey-ir] platform = ${com.esp8266_platform} board = esp01_1m +board_build.ldscript = eagle.flash.1m64.ld lib_deps = ${com-esp.lib_deps} ${libraries.irremoteesp} @@ -767,6 +768,8 @@ build_flags = '-DLED_SEND_RECEIVE=4' '-DIR_EMITTER_GPIO=14' '-DIR_RECEIVER_GPIO=5' + '-UMQTTsetMQTT' ;We remove this function to have sufficient FLASH available for OTA, you should also use ESPWifiManualSetup and 'board_build.ldscript = eagle.flash.1m64.ld' to save flash memory and have OTA working + '-UMQTT_HTTPS_FW_UPDATE' ;We remove this function to have sufficient FLASH available for OTA, you should also use ESPWifiManualSetup and 'board_build.ldscript = eagle.flash.1m64.ld' to save flash memory and have OTA working '-DGateway_Name="OpenMQTTGateway_AVATTO_IR"' board_build.flash_mode = dout