stm32duino / Arduino_Core_STM32

STM32 core support for Arduino
https://github.com/stm32duino/Arduino_Core_STM32/wiki
Other
2.86k stars 979 forks source link

macOS issue on uploading since 2.8.0 #2444

Closed gbr1 closed 4 months ago

gbr1 commented 4 months ago

Describe the bug When uploading

Sketch uses 26688 bytes (20%) of program storage space. Maximum is 131072 bytes.
Global variables use 1652 bytes (4%) of dynamic memory, leaving 35212 bytes for local variables. Maximum is 36864 bytes.
"" sh "/Users/giovannibruno/Library/Arduino15/packages/STMicroelectronics/tools/STM32Tools/2.2.2/stm32CubeProg.sh" -i swd -f "/private/var/folders/gy/73fdbz8101s04tl73cny05600000gn/T/arduino/sketches/17A24782CF1465DAF7FBC0CC35BFC2D5/service_fw.ino.bin" -o 0x0 
getopt: illegal option -- o
Terminating...
Failed uploading: uploading error: exit status 1

To Reproduce Use an STLink attached to any STM32 or DFU.

Steps to reproduce the behavior:

Expected behavior It should upload firmware.

Desktop (please complete the following information):

Board (please complete the following information):

Additional context Impossible to upload the firmware, it seems some option are wrong written

fpistm commented 4 months ago

Duplicate of: https://github.com/stm32duino/Arduino_Tools/issues/99