Skip to content

Commit

Permalink
Added Heltec ESP32 Lora board (#865)
Browse files Browse the repository at this point in the history
  • Loading branch information
hallard authored Feb 11, 2021
1 parent 14fedfd commit 1758746
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 1758746

Please sign in to comment.