[CI] Change environments ini name (#1414)
Remove unecessary macros, modify datatest environment to be continuous change scan duration to 3s for continuous scan environments
This commit is contained in:
1 parent
a3603c6a78
commit
f9d1d0ad6a
3 files changed
+6
-5
No files matched your search
@@ -318,7 +318,7 @@ build_flags =
|
|||||||
'-DLED_SEND_RECEIVE_ON=0'
|
'-DLED_SEND_RECEIVE_ON=0'
|
||||||
'-DGateway_Name="OpenMQTTGateway_ESP32_BLE_C"'
|
'-DGateway_Name="OpenMQTTGateway_ESP32_BLE_C"'
|
||||||
'-DTimeBtwRead=0'
|
'-DTimeBtwRead=0'
|
||||||
'-DScan_duration=1000'
|
'-DScan_duration=3000'
|
||||||
'-DAttemptBLEConnect=false'
|
'-DAttemptBLEConnect=false'
|
||||||
custom_description = Regular BLE gateway with continuous scan and no BLE connection attempt per default
|
custom_description = Regular BLE gateway with continuous scan and no BLE connection attempt per default
|
||||||
|
|
||||||
@@ -1382,9 +1382,10 @@ build_flags =
|
|||||||
'-DZgatewayBT="BT"'
|
'-DZgatewayBT="BT"'
|
||||||
'-DLED_SEND_RECEIVE=2'
|
'-DLED_SEND_RECEIVE=2'
|
||||||
'-DLED_SEND_RECEIVE_ON=0'
|
'-DLED_SEND_RECEIVE_ON=0'
|
||||||
'-DpubBLEManufacturerData=true'
|
'-DTimeBtwRead=0'
|
||||||
|
'-DScan_duration=3000'
|
||||||
|
'-DAttemptBLEConnect=false'
|
||||||
'-DpubBLEAdvData=true'
|
'-DpubBLEAdvData=true'
|
||||||
'-DpubBLEServiceUUID=true'
|
|
||||||
'-DGateway_Name="OpenMQTTGateway_ESP32_BLE"'
|
'-DGateway_Name="OpenMQTTGateway_ESP32_BLE"'
|
||||||
custom_description = Default BLE gateway with additional servicedata, manufacturerdata and service uuid for analysing decoding issues
|
custom_description = Default BLE gateway with additional servicedata, manufacturerdata and service uuid for analysing decoding issues
|
||||||
|
|
||||||
+1
-1
@@ -13,7 +13,7 @@ src_dir = main
|
|||||||
include_dir = main
|
include_dir = main
|
||||||
|
|
||||||
extra_configs =
|
extra_configs =
|
||||||
boards.ini
|
environments.ini
|
||||||
tests/*_env.ini
|
tests/*_env.ini
|
||||||
*_env.ini
|
*_env.ini
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ table_init = pd.DataFrame(columns=['Environment', 'uC', 'Hardware', 'Description
|
|||||||
table = table_init
|
table = table_init
|
||||||
|
|
||||||
# Parse platformio.ini to retrieve boards information
|
# Parse platformio.ini to retrieve boards information
|
||||||
conf.read('boards.ini')
|
conf.read('environments.ini')
|
||||||
for each_section in conf.sections():
|
for each_section in conf.sections():
|
||||||
if ("env:" in each_section and "-test" not in each_section):
|
if ("env:" in each_section and "-test" not in each_section):
|
||||||
env = each_section.replace("env:", "")
|
env = each_section.replace("env:", "")
|
||||||
|
|||||||
Reference in new issue
Block a user