Added Thingpulse ESP32 gateways (#1369)
* added thingspulse gateways * added thingspulse gateways, RGB LED for tinypico * Added some LED and Birghtness options * Requested Changes * fixed format
This commit is contained in:
1 parent
827724f079
commit
edb8d1a591
5 files changed
+94
-15
No files matched your search
@@ -890,6 +890,7 @@ build_flags =
|
||||
${com-esp.build_flags}
|
||||
'-DZgatewayBT="BT"'
|
||||
'-DGateway_Name="OpenMQTTGateway_ESP32_TINYPICO_BLE"'
|
||||
|
||||
board_build.flash_mode = dio
|
||||
|
||||
[env:ttgo-lora32-v1-868]
|
||||
@@ -1451,3 +1452,65 @@ build_flags =
|
||||
'-DFASTLED_IND_NUM_LEDS=1'
|
||||
'-DRGB_INDICATORS=true'
|
||||
'-DGateway_Name="OpenMQTTGateway_ESP32_BLE"'
|
||||
|
||||
[env:thingpulse-espgateway]
|
||||
platform = ${com.esp32_platform}
|
||||
board = esp32dev
|
||||
board_build.partitions = min_spiffs.csv
|
||||
lib_deps =
|
||||
${com-esp.lib_deps}
|
||||
${libraries.wifimanager32}
|
||||
${libraries.ble}
|
||||
${libraries.fastled}
|
||||
${libraries.decoder}
|
||||
build_flags =
|
||||
${com-esp.build_flags}
|
||||
'-DZgatewayBT="BT"'
|
||||
'-DLED_SEND_RECEIVE=2'
|
||||
'-DLED_SEND_RECEIVE_ON=0'
|
||||
'-DpubBLEServiceUUID=true'
|
||||
'-DGateway_Name="OpenMQTTGateway_THINGPULSE_BLE"'
|
||||
'-DFASTLED_IND_DATA_GPIO=32,GRB'
|
||||
'-DFASTLED_IND_TYPE=WS2812'
|
||||
'-DFASTLED_IND_NUM_LEDS=4'
|
||||
'-DFASTLED_INFO_LED=0'
|
||||
'-DFASTLED_SEND_RECEIVCE_LED=1'
|
||||
'-DFASTLED_ERROR_LED=2'
|
||||
'-DFASTLED_BRIGHTNESS=255'
|
||||
'-DRGB_INDICATORS=true'
|
||||
; '-DsimplePublishing=true'
|
||||
|
||||
|
||||
[env:thingpulse-espgateway-ethernet]
|
||||
platform = ${com.esp32_platform}
|
||||
board = esp32dev
|
||||
board_build.partitions = min_spiffs.csv
|
||||
lib_deps =
|
||||
${com-esp.lib_deps}
|
||||
${libraries.wifimanager32}
|
||||
${libraries.ble}
|
||||
${libraries.fastled}
|
||||
${libraries.decoder}
|
||||
build_flags =
|
||||
${com-esp.build_flags}
|
||||
'-DZgatewayBT="BT"'
|
||||
'-DLED_SEND_RECEIVE=2'
|
||||
'-DLED_SEND_RECEIVE_ON=0'
|
||||
'-DpubBLEServiceUUID=true'
|
||||
'-DGateway_Name="OpenMQTTGateway_THINGPULSE_ETH_BLE"'
|
||||
'-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'
|
||||
'-DFASTLED_IND_DATA_GPIO=32,GRB'
|
||||
'-DFASTLED_IND_TYPE=WS2812'
|
||||
'-DFASTLED_IND_NUM_LEDS=4'
|
||||
'-DFASTLED_INFO_LED=0'
|
||||
'-DFASTLED_SEND_RECEIVCE_LED=1'
|
||||
'-DFASTLED_ERROR_LED=2'
|
||||
'-DFASTLED_BRIGHTNESS=255'
|
||||
'-DRGB_INDICATORS=true'
|
||||
; '-DsimplePublishing=true'
|
||||
Reference in new issue
Block a user