Update platformio.ini

Add upload and debug port via USB OTG
This commit is contained in:
Norbert Walter 2024-06-18 11:46:01 +02:00 committed by norbert-walter
parent 33efbeda79
commit db42a0b056
1 changed files with 4 additions and 2 deletions

View File

@ -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
monitor_speed = 115200