diff --git a/platformio.ini b/platformio.ini index aa7407a29a..3139e035e9 100644 --- a/platformio.ini +++ b/platformio.ini @@ -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}