Skip to content

Commit

Permalink
[CI] Change environments ini name (1technophile#1414)
Browse files Browse the repository at this point in the history
Remove unecessary macros,
modify datatest environment to be continuous
change scan duration to 3s for continuous scan environments
  • Loading branch information
1technophile authored Jan 23, 2023
1 parent a3603c6 commit f9d1d0a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions boards.ini → environments.ini
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ build_flags =
'-DLED_SEND_RECEIVE_ON=0'
'-DGateway_Name="OpenMQTTGateway_ESP32_BLE_C"'
'-DTimeBtwRead=0'
'-DScan_duration=1000'
'-DScan_duration=3000'
'-DAttemptBLEConnect=false'
custom_description = Regular BLE gateway with continuous scan and no BLE connection attempt per default

Expand Down Expand Up @@ -1382,9 +1382,10 @@ build_flags =
'-DZgatewayBT="BT"'
'-DLED_SEND_RECEIVE=2'
'-DLED_SEND_RECEIVE_ON=0'
'-DpubBLEManufacturerData=true'
'-DTimeBtwRead=0'
'-DScan_duration=3000'
'-DAttemptBLEConnect=false'
'-DpubBLEAdvData=true'
'-DpubBLEServiceUUID=true'
'-DGateway_Name="OpenMQTTGateway_ESP32_BLE"'
custom_description = Default BLE gateway with additional servicedata, manufacturerdata and service uuid for analysing decoding issues

Expand Down
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ src_dir = main
include_dir = main

extra_configs =
boards.ini
environments.ini
tests/*_env.ini
*_env.ini

Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_board_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
table = table_init

# Parse platformio.ini to retrieve boards information
conf.read('boards.ini')
conf.read('environments.ini')
for each_section in conf.sections():
if ("env:" in each_section and "-test" not in each_section):
env = each_section.replace("env:", "")
Expand Down

0 comments on commit f9d1d0a

Please sign in to comment.