Skip to content

Commit 18482eb

Browse files
Merge pull request #46 from kallisti5/master
platform: Add Heltec ESP32 board
2 parents 52b7d53 + ce2a497 commit 18482eb

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ env:
3434
- PIO_ENV=openevse_featheresp32
3535
- PIO_ENV=openevse_esp32-gateway
3636
- PIO_ENV=openevse_esp32-gateway-e
37+
- PIO_ENV=openevse_esp32-heltec-wifi-lora-v2
3738
# - SCRIPT=ci_arduino.sh
3839
# BUILD_TARGET=esp8266:esp8266:huzzah:FlashSize=4M1M
3940

platformio.ini

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,3 +298,30 @@ monitor_speed = 115200
298298
extra_scripts = ${common.extra_scripts}
299299
board_build.partitions = ${common.build_partitions_esp32}
300300
board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY=\'E\'"
301+
302+
[env:openevse_esp32-heltec-wifi-lora-v2]
303+
platform = ${common.platform_esp32}
304+
board = heltec_wifi_lora_32_V2
305+
framework = arduino
306+
lib_deps = ${common.lib_deps}
307+
src_build_flags =
308+
${common.version}.dev
309+
${common.src_build_flags}
310+
${common.src_build_flags_esp32}
311+
${common.debug_flags_esp32}
312+
-DWIFI_LED=25
313+
-DWIFI_BUTTON=2
314+
-DWIFI_LED_ON_STATE=HIGH
315+
-DRAPI_PORT=Serial1
316+
-DONBOARD_LEDS=0,2,4
317+
build_flags =
318+
${common.build_flags}
319+
${common.build_flags_esp32}
320+
-DRX1=25
321+
-DTX1=27
322+
#upload_port = openevse.local
323+
#upload_speed = 921600
324+
upload_protocol = esptool
325+
monitor_speed = 115200
326+
extra_scripts = ${common.extra_scripts}
327+
board_build.partitions = ${common.build_partitions_esp32}

0 commit comments

Comments
 (0)