Skip to content

Commit

Permalink
Adding options to build for the new TFT OpenEVSE board
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremypoulter committed Nov 13, 2023
1 parent ed7d7c4 commit bfb2514
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
- wt32-eth01
- elecrow_esp32_hmi
- elecrow_esp32_hmi_dev
- openevse_wifi_tft_v1
- openevse_wifi_tft_v1_dev
gui:
- name: gui-v2
repo: OpenEVSE/openevse-gui-v2
Expand Down
28 changes: 28 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -405,3 +405,31 @@ upload_protocol = custom
upload_command = curl -F firmware=@$SOURCE http://$UPLOAD_PORT/update
#build_type = debug
#board_build.partitions = ${common.build_partitions_debug}

[env:openevse_wifi_tft_v1]
board = denky32
build_flags =
${common.build_flags}
${common.src_build_flags}
-D DEBUG_PORT=Serial2
-D RAPI_PORT=Serial
-D NEO_PIXEL_PIN=10
-D NEO_PIXEL_LENGTH=14
-D WIFI_PIXEL_NUMBER=1
-D WIFI_BUTTON=0
-D WIFI_BUTTON_PRESSED_STATE=LOW
lib_deps =
${common.lib_deps}
${common.gfx_display_libs}
${common.neopixel_lib}

[env:openevse_wifi_tft_v1_dev]
extends = env:openevse_wifi_tft_v1
build_flags =
${env:openevse_wifi_tft_v1.build_flags}
${common.debug_flags}
${common.gfx_display_build_flags}
upload_protocol = custom
upload_command = curl -F firmware=@$SOURCE http://$UPLOAD_PORT/update
#build_type = debug
#board_build.partitions = ${common.build_partitions_debug}

0 comments on commit bfb2514

Please sign in to comment.