Differentiate 2G gateway env
To avoid a build error due to concurrency of modules
This commit is contained in:
1 parent
f65cdd831a
commit
3e734671cc
1 file changed
+14
-2
+14
-2
@@ -50,6 +50,7 @@ extra_configs =
|
||||
;default_envs = nodemcuv2-weatherstation
|
||||
;default_envs = nodemcuv2-ir
|
||||
;default_envs = nodemcuv2-ble
|
||||
;default_envs = nodemcuv2-2g
|
||||
;default_envs = nodemcuv2-all
|
||||
;default_envs = uno-rf
|
||||
;default_envs = uno-fastled
|
||||
@@ -363,7 +364,6 @@ lib_deps =
|
||||
${libraries.irremoteesp}
|
||||
${libraries.rfm69}
|
||||
${libraries.rc-switch}
|
||||
${libraries.a6lib}
|
||||
${libraries.newremoteswitch}
|
||||
${libraries.bme280}
|
||||
${libraries.bmp180}
|
||||
@@ -384,7 +384,6 @@ build_flags =
|
||||
'-DZgatewayRF2="RF2"'
|
||||
'-DZgatewayIR="IR"'
|
||||
'-DZgatewayBT="BT"'
|
||||
'-DZgateway2G="2G"'
|
||||
'-DZgatewayPilight="Pilight"'
|
||||
'-DZactuatorONOFF="ONOFF"'
|
||||
'-DZactuatorFASTLED="FASTLED"'
|
||||
@@ -406,6 +405,19 @@ build_flags =
|
||||
'-DGateway_Name="OpenMQTTGateway_ESP8266_ALL"'
|
||||
board_build.flash_mode = dout
|
||||
|
||||
|
||||
[env:nodemcuv2-2g]
|
||||
platform = ${com.esp8266_platform}
|
||||
board = nodemcuv2
|
||||
lib_deps =
|
||||
${com-esp.lib_deps}
|
||||
${libraries.a6lib}
|
||||
build_flags =
|
||||
${com-esp.build_flags}
|
||||
'-DZgatewayBT="2G"'
|
||||
'-DGateway_Name="OpenMQTTGateway_ESP8266_2G"'
|
||||
board_build.flash_mode = dout
|
||||
|
||||
[env:nodemcuv2-ble]
|
||||
platform = ${com.esp8266_platform}
|
||||
board = nodemcuv2
|
||||
|
||||
Reference in new issue
Block a user