Skip to content
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ extra_configs =
;default_envs = esp32dev-tls-test
;default_envs = nodemcuv2-tls-test
;default_envs = nodemcuv2-rs232
;default_envs = sonoff-rfbridge-direct

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ENVIRONMENTS PARAMETERS ;
Expand Down Expand Up @@ -871,3 +872,22 @@ build_flags =
${com-arduino-low-memory.build_flags}
'-DGateway_Name="OMG_1_FL"'
'-DZactuatorFASTLED="FASTLED"'

[env:sonoff-rfbridge-direct]
platform = ${com.esp8266_platform}
board = esp8285
lib_deps =
${com-esp.lib_deps}
${libraries.esppilight}
puuu/ESPiLight@^0.17.0
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you call
${libraries.esppilight}
instead please

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right mdns is not necessary here.
You should also remove :

puuu/ESPiLight@^0.17.0

Since it is called by

${libraries.esppilight}

build_flags =
${com-esp.build_flags}
'-DZgatewayPilight="Pilight"'
'-DRF_RECEIVER_GPIO=4'
'-DRF_EMITTER_GPIO=5'
'-DLED_INFO=13'
'-DLED_INFO_ON=0'
'-DZsensorGPIOInput="GPIOInput"'
'-DINPUT_GPIO=0'
'-DGateway_Name="OpenMQTTGateway_SRFB_Direct"'
board_build.flash_mode = dout