diff --git a/stm32CubeProg.sh b/stm32CubeProg.sh index ed5e00c03..bb6ae4c13 100644 --- a/stm32CubeProg.sh +++ b/stm32CubeProg.sh @@ -129,6 +129,7 @@ case $PROTOCOL in ;; 2) PORT="USB1" + ERASE="yes" shift 3 ;; *)