Added Heltec ESP32 Lora board (#865)
This commit is contained in:
1 parent
14fedfdf53
commit
1758746050
1 file changed
+16
-1
+16
-1
@@ -50,6 +50,7 @@ extra_configs =
|
||||
;default_envs = esp32-m5atom
|
||||
;default_envs = ttgo-lora32-v1
|
||||
;default_envs = ttgo-t-beam
|
||||
;default_envs = heltec_wifi_lora_32
|
||||
;default_envs = nodemcuv2-rf
|
||||
;default_envs = nodemcuv2-rf-cc1101
|
||||
;default_envs = nodemcuv2-somfy-cc1101
|
||||
@@ -526,7 +527,21 @@ build_flags =
|
||||
'-DADC_DIVIDER=2'
|
||||
# Reading battery level every minutes should be more than enought
|
||||
'-DTimeBetweenReadingADC=60000'
|
||||
|
||||
|
||||
[env:heltec_wifi_lora_32]
|
||||
platform = ${com.esp32_platform}
|
||||
board = heltec_wifi_lora_32
|
||||
|
||||
lib_deps =
|
||||
${com-esp.lib_deps}
|
||||
${libraries.lora}
|
||||
build_flags =
|
||||
${com-esp.build_flags}
|
||||
'-DZgatewayLORA="LORA"'
|
||||
'-DGateway_Name="OpenMQTTGateway_ESP32_LORA"'
|
||||
'-DLED_RECEIVE=25'
|
||||
'-DTimeLedON=0.1'
|
||||
'-DLED_RECEIVE_ON=1'
|
||||
|
||||
[env:nodemcuv2-all-test]
|
||||
platform = ${com.esp8266_platform}
|
||||
|
||||
Reference in new issue
Block a user