correct build error when using ESPWifiManualSetup
#529 add a test environment so as to verify this functionnality on [CI]
This commit is contained in:
1 parent
74908f699a
commit
aeb00c4a7a
2 files changed
+17
No files matched your search
@@ -1505,7 +1505,9 @@ if (cmpToMainTopic(topicOri,subjectMQTTtoSYSset))
|
||||
}
|
||||
else if (strstr(cmd, eraseCmd) != NULL)
|
||||
{ //erase and restart
|
||||
#ifndef ESPWifiManualSetup
|
||||
setup_wifimanager(true);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -49,6 +49,7 @@ extra_configs =
|
||||
;default_envs = uno-rf
|
||||
;default_envs = uno-fastled
|
||||
;default_envs = atmega-all
|
||||
;default_envs = test-manual-wifi
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; ENVIRONMENTS PARAMETERS ;
|
||||
@@ -378,6 +379,20 @@ build_flags =
|
||||
'-DGateway_Name="OpenMQTTGateway_ESP8266_RF"'
|
||||
board_build.flash_mode = dout
|
||||
|
||||
[env:test-manual-wifi]
|
||||
platform = ${com.esp8266_platform}
|
||||
board = nodemcuv2
|
||||
lib_deps =
|
||||
${com-esp.lib_deps}
|
||||
${libraries.rc-switch}
|
||||
${libraries.esp8266_mdns}
|
||||
build_flags =
|
||||
${com-esp.build_flags}
|
||||
'-DZgatewayRF="RF"'
|
||||
'-DESPWifiManualSetup=true'
|
||||
'-DGateway_Name="OpenMQTTGateway_TEST_MANUAL_WIFI"'
|
||||
board_build.flash_mode = dout
|
||||
|
||||
[env:rf-wifi-gateway]
|
||||
platform = ${com.esp8266_platform}
|
||||
board = nodemcuv2
|
||||
|
||||
Reference in new issue
Block a user