From c62a75a1b3ba367be085851e2aa2636353ea0c58 Mon Sep 17 00:00:00 2001 From: Norbert Walter Date: Tue, 18 Jun 2024 11:46:01 +0200 Subject: [PATCH] Update platformio.ini Add upload and debug port via USB OTG --- lib/obp60task/platformio.ini | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/obp60task/platformio.ini b/lib/obp60task/platformio.ini index 1ffd63e..15387e2 100644 --- a/lib/obp60task/platformio.ini +++ b/lib/obp60task/platformio.ini @@ -46,6 +46,8 @@ build_flags= ${env.build_flags} #CONFIG_ESP_TASK_WDT_TIMEOUT_S = 10 #Task Watchdog timeout period (seconds) [1...60] 5 default upload_port = /dev/ttyACM0 -upload_protocol = esptool +# debug_tool = esp-usb-bridge #debug via USB OTG +# upload_protocol = esp-usb-bridge #firmware upload via USB OTG +upload_protocol = esptool #normal firmware upload, by first upload need to set the ESP32-S3 in the upload mode with shortcut GND to Pin27 upload_speed = 230400 -monitor_speed = 115200 \ No newline at end of file +monitor_speed = 115200