Skip to content

Commit bfb2514

Browse files
committed
Adding options to build for the new TFT OpenEVSE board
1 parent ed7d7c4 commit bfb2514

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ jobs:
5858
- wt32-eth01
5959
- elecrow_esp32_hmi
6060
- elecrow_esp32_hmi_dev
61+
- openevse_wifi_tft_v1
62+
- openevse_wifi_tft_v1_dev
6163
gui:
6264
- name: gui-v2
6365
repo: OpenEVSE/openevse-gui-v2

platformio.ini

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,3 +405,31 @@ upload_protocol = custom
405405
upload_command = curl -F firmware=@$SOURCE http://$UPLOAD_PORT/update
406406
#build_type = debug
407407
#board_build.partitions = ${common.build_partitions_debug}
408+
409+
[env:openevse_wifi_tft_v1]
410+
board = denky32
411+
build_flags =
412+
${common.build_flags}
413+
${common.src_build_flags}
414+
-D DEBUG_PORT=Serial2
415+
-D RAPI_PORT=Serial
416+
-D NEO_PIXEL_PIN=10
417+
-D NEO_PIXEL_LENGTH=14
418+
-D WIFI_PIXEL_NUMBER=1
419+
-D WIFI_BUTTON=0
420+
-D WIFI_BUTTON_PRESSED_STATE=LOW
421+
lib_deps =
422+
${common.lib_deps}
423+
${common.gfx_display_libs}
424+
${common.neopixel_lib}
425+
426+
[env:openevse_wifi_tft_v1_dev]
427+
extends = env:openevse_wifi_tft_v1
428+
build_flags =
429+
${env:openevse_wifi_tft_v1.build_flags}
430+
${common.debug_flags}
431+
${common.gfx_display_build_flags}
432+
upload_protocol = custom
433+
upload_command = curl -F firmware=@$SOURCE http://$UPLOAD_PORT/update
434+
#build_type = debug
435+
#board_build.partitions = ${common.build_partitions_debug}

0 commit comments

Comments
 (0)