Sketch upload failure using v.2.8.0
Posted: Tue Jul 16, 2024 3:45 pm
I tried uploading the Blink example to my BlackPill. With Arduino_Core_STM32 version 2.8.0, I get this error:
Any idea where that "illegal option o" is coming from? I then tried installing version 2.7.1, and the issue is resolved. I also tried version 2.0.0, as well as 1.9.0. They all work fine.
Here are the version and settings I have:
Arduino IDE
Version: 2.3.2
Date: 2024-02-20T09:53:59.281Z
CLI Version: 0.35.3
Board: Generic STM32F4 series
Board part number: BlackPill F411CE
C Runtime Library: Newlib Nano (default)
Upload Method: STM32CubeProgrammer (DFU)
USB Support: CDC (generic 'Serial' supersede U(S)ART)
U(S)ART: Enabled (generic 'Serial')
USB Speed: Low/Full Speed
STM32CubeProgrammer v2.17.0
Code: Select all
Sketch uses 13244 bytes (2%) of program storage space. Maximum is 524288 bytes.
Global variables use 1216 bytes (0%) of dynamic memory, leaving 129856 bytes for local variables. Maximum is 131072 bytes.
getopt: illegal option -- o
Terminating...
Failed uploading: uploading error: exit status 1
Here are the version and settings I have:
Arduino IDE
Version: 2.3.2
Date: 2024-02-20T09:53:59.281Z
CLI Version: 0.35.3
Board: Generic STM32F4 series
Board part number: BlackPill F411CE
C Runtime Library: Newlib Nano (default)
Upload Method: STM32CubeProgrammer (DFU)
USB Support: CDC (generic 'Serial' supersede U(S)ART)
U(S)ART: Enabled (generic 'Serial')
USB Speed: Low/Full Speed
STM32CubeProgrammer v2.17.0