Skip to content

Commit d944e64

Browse files
committed
Swap the serial ports on the dev verion of OpenEVSE WiFi TFT so it is easier to upload/debug via serial
1 parent eb3ce9a commit d944e64

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

platformio.ini

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -424,16 +424,19 @@ upload_command = curl -F firmware=@$SOURCE http://$UPLOAD_PORT/update
424424

425425
[env:openevse_wifi_tft_v1]
426426
board = denky32
427-
build_flags =
427+
build_flags_openevse =
428428
${common.build_flags}
429429
${common.src_build_flags}
430-
-D DEBUG_PORT=Serial2
431-
-D RAPI_PORT=Serial
430+
${common.gfx_display_build_flags}
432431
-D NEO_PIXEL_PIN=26
433432
-D NEO_PIXEL_LENGTH=14
434433
-D WIFI_PIXEL_NUMBER=1
435434
-D WIFI_BUTTON=0
436435
-D WIFI_BUTTON_PRESSED_STATE=LOW
436+
build_flags =
437+
${env:openevse_wifi_tft_v1.build_flags_openevse}
438+
-D DEBUG_PORT=Serial2
439+
-D RAPI_PORT=Serial
437440
lib_deps =
438441
${common.lib_deps}
439442
${common.gfx_display_libs}
@@ -442,10 +445,11 @@ lib_deps =
442445
[env:openevse_wifi_tft_v1_dev]
443446
extends = env:openevse_wifi_tft_v1
444447
build_flags =
445-
${env:openevse_wifi_tft_v1.build_flags}
448+
${env:openevse_wifi_tft_v1.build_flags_openevse}
446449
${common.debug_flags}
447-
${common.gfx_display_build_flags}
448-
upload_protocol = custom
449-
upload_command = curl -F firmware=@$SOURCE http://$UPLOAD_PORT/update
450+
-D DEBUG_PORT=Serial
451+
-D RAPI_PORT=Serial2
452+
#upload_protocol = custom
453+
#upload_command = curl -F firmware=@$SOURCE http://$UPLOAD_PORT/update
450454
#build_type = debug
451455
#board_build.partitions = ${common.build_partitions_debug}

0 commit comments

Comments
 (0)