[SYS] Add serial self test feature (#1964)
Add self testing for Theengs Bridge v1.1 (TBRIDGE02) This feature enables factory testing
This commit is contained in:
1 parent
e321448db0
commit
a74a6ebc06
4 files changed
+145
-7
No files matched your search
@@ -87,6 +87,47 @@ build_flags =
|
||||
custom_description = BLE gateway with external antenna and Ethernet/WiFi connectivity, [user guide](https://tbridge01.theengs.io/)
|
||||
custom_hardware = Theengs Bridge gateway ethernet
|
||||
|
||||
[env:theengs-bridge-v11]
|
||||
platform = ${com.esp32_platform}
|
||||
board = esp32dev
|
||||
extra_scripts = ${com-esp32.extra_scripts}
|
||||
board_build.partitions = min_spiffs.csv
|
||||
lib_deps =
|
||||
${com-esp32.lib_deps}
|
||||
${libraries.ble}
|
||||
${libraries.adafruit_neopixel}
|
||||
${libraries.decoder}
|
||||
build_flags =
|
||||
${com-esp32.build_flags}
|
||||
'-DZgatewayBT="BT"'
|
||||
'-DLED_SEND_RECEIVE=2'
|
||||
'-DLED_SEND_RECEIVE_ON=0'
|
||||
'-DESP32_ETHERNET=true'
|
||||
'-DETH_PHY_TYPE=ETH_PHY_LAN8720'
|
||||
'-DETH_PHY_ADDR=0'
|
||||
'-DETH_PHY_POWER=5'
|
||||
'-DETH_PHY_MDC=23'
|
||||
'-DETH_PHY_MDIO=18'
|
||||
'-DETH_CLK_MODE=ETH_CLOCK_GPIO16_OUT'
|
||||
'-DANEOPIX_IND_DATA_GPIO=32'
|
||||
'-DANEOPIX_IND_NUM_LEDS=4'
|
||||
'-DANEOPIX_INFO_LED=0'
|
||||
'-DANEOPIX_SEND_RECEIVE_LED=1'
|
||||
'-DANEOPIX_ERROR_LED=1'
|
||||
'-DANEOPIX_BRIGHTNESS=100'
|
||||
'-DRGB_INDICATORS=true'
|
||||
'-DAttemptBLEConnect=false'
|
||||
'-DTRIGGER_GPIO=4'
|
||||
'-DUSE_MAC_AS_GATEWAY_NAME'
|
||||
'-DGATEWAY_MANUFACTURER="Theengs"'
|
||||
'-DGATEWAY_MODEL="TBRIDGE02"'
|
||||
;'-DBOARD_HAS_PSRAM'
|
||||
'-UZwebUI="WebUI"' ; Disable WebUI
|
||||
'-DSELF_TEST=true'
|
||||
;'-mfix-esp32-psram-cache-issue'
|
||||
custom_description = BLE gateway with external antenna and Ethernet/WiFi connectivity, [user guide](https://tbridge02.theengs.io/)
|
||||
custom_hardware = Theengs Bridge gateway ethernet
|
||||
|
||||
[env:esp32dev-all-test]
|
||||
platform = ${com.esp32_platform}
|
||||
board = esp32dev
|
||||
|
||||
Reference in new issue
Block a user