Skip to content

Commit

Permalink
Swap the serial ports on the dev verion of OpenEVSE WiFi TFT so it is…
Browse files Browse the repository at this point in the history
… easier to upload/debug via serial
  • Loading branch information
jeremypoulter committed Feb 4, 2024
1 parent eb3ce9a commit d944e64
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -424,16 +424,19 @@ upload_command = curl -F firmware=@$SOURCE http://$UPLOAD_PORT/update

[env:openevse_wifi_tft_v1]
board = denky32
build_flags =
build_flags_openevse =
${common.build_flags}
${common.src_build_flags}
-D DEBUG_PORT=Serial2
-D RAPI_PORT=Serial
${common.gfx_display_build_flags}
-D NEO_PIXEL_PIN=26
-D NEO_PIXEL_LENGTH=14
-D WIFI_PIXEL_NUMBER=1
-D WIFI_BUTTON=0
-D WIFI_BUTTON_PRESSED_STATE=LOW
build_flags =
${env:openevse_wifi_tft_v1.build_flags_openevse}
-D DEBUG_PORT=Serial2
-D RAPI_PORT=Serial
lib_deps =
${common.lib_deps}
${common.gfx_display_libs}
Expand All @@ -442,10 +445,11 @@ lib_deps =
[env:openevse_wifi_tft_v1_dev]
extends = env:openevse_wifi_tft_v1
build_flags =
${env:openevse_wifi_tft_v1.build_flags}
${env:openevse_wifi_tft_v1.build_flags_openevse}
${common.debug_flags}
${common.gfx_display_build_flags}
upload_protocol = custom
upload_command = curl -F firmware=@$SOURCE http://$UPLOAD_PORT/update
-D DEBUG_PORT=Serial
-D RAPI_PORT=Serial2
#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 d944e64

Please sign in to comment.