
-i '-rts,,-dtr,100,dtr:,-rts'upload_flags = -R -i '-rts,,-dtr,100,dtr:,-rts'Quote from: winfried on February 19, 2026, 10:52:50 AMAlso for "STM32flash" there are options to handle boot and reset, with "dtr" and "rts" pins with your ESP-PROG, (so I can make a dev connector on my board):
Code Select Expand...
-i GPIO_string GPIO sequence to enter/exit bootloader mode
GPIO_string=[entry_seq][:[exit_seq]]
sequence=[-]n[,sequence]
-R Reset device at exit.
...
upload_flags = -R -i '-rts,,-dtr,,,dtr&rts:,-dtr,,,dtr'
; GPIO sequence adding delay after port opening:
; - entry sequence: rts=low,200ms,dtr=low, 300ms delay, dtr&rts=high
; - exit sequence:dtr=low, 300ms delay, dtr=high