remove manual upload port and switch to autodiscovery in platformio (#17427)

This commit is contained in:
blakadder 2022-12-17 21:52:12 +01:00 committed by GitHub
parent 1b3eedd635
commit c908dc289e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 8 deletions

View File

@ -35,10 +35,9 @@ custom_unpack_dir = unpacked_littlefs
build_unflags = ${core.build_unflags} build_unflags = ${core.build_unflags}
build_flags = ${core.build_flags} build_flags = ${core.build_flags}
monitor_speed = 115200 monitor_speed = 115200
monitor_port = COM5
; *** Upload Serial reset method for Wemos and NodeMCU ; *** Upload Serial reset method for Wemos and NodeMCU
upload_resetmethod = nodemcu upload_resetmethod = nodemcu
upload_port = COM5 upload_port = /dev/cu.SLAB_USBtoUART
extra_scripts = ${esp_defaults.extra_scripts} extra_scripts = ${esp_defaults.extra_scripts}
lib_ldf_mode = chain lib_ldf_mode = chain
lib_compat_mode = strict lib_compat_mode = strict

View File

@ -70,9 +70,9 @@ board = ${common.board}
;board = esp8266_4M2M ;board = esp8266_4M2M
;board_build.f_cpu = 160000000L ;board_build.f_cpu = 160000000L
;board_build.f_flash = 40000000L ;board_build.f_flash = 40000000L
;monitor_speed = 115200 ; *** Define serial port used for erasing/flashing/terminal
; *** Serial port used for erasing/flashing the ESP82xx upload_port =
;upload_port = COM5 monitor_port = ${env.upload_port}
extra_scripts = ${esp_defaults.extra_scripts} extra_scripts = ${esp_defaults.extra_scripts}
; pio-tools/obj-dump.py ; pio-tools/obj-dump.py
lib_ignore = lib_ignore =
@ -111,12 +111,12 @@ lib_extra_dirs = ${library.lib_extra_dirs}
;board_upload.maximum_size = 8388608 ;board_upload.maximum_size = 8388608
;board_upload.arduino.flash_extra_images = ;board_upload.arduino.flash_extra_images =
;board_build.partitions = partitions/esp32_partition_app2944k_fs2M.csv ;board_build.partitions = partitions/esp32_partition_app2944k_fs2M.csv
monitor_speed = 115200
; *** Serial port used for erasing/flashing the ESP32 ; *** Serial port used for erasing/flashing the ESP32
;upload_port = ${common.upload_port} upload_port =
upload_port = COM4
;upload_speed = 115200 ;upload_speed = 115200
monitor_port = ${env.upload_port}
upload_resetmethod = ${common.upload_resetmethod} upload_resetmethod = ${common.upload_resetmethod}
monitor_speed = 115200
extra_scripts = ${esp32_defaults.extra_scripts} extra_scripts = ${esp32_defaults.extra_scripts}
; pio-tools/obj-dump.py ; pio-tools/obj-dump.py
lib_ignore = lib_ignore =