Skip to content

macOS issue on uploading since 2.8.0 #2444

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gbr1 opened this issue Jul 16, 2024 · 1 comment
Closed

macOS issue on uploading since 2.8.0 #2444

gbr1 opened this issue Jul 16, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists
Milestone

Comments

@gbr1
Copy link
Contributor

gbr1 commented Jul 16, 2024

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:

  • Try to flash blink example

Expected behavior
It should upload firmware.

Desktop (please complete the following information):

  • OS: macOS 14.5
  • Arduino IDE version: 2.3.2
  • STM32 core version: 2.8.0
  • Tools menu settings if not the default: Newlib standard, no serial (not relevant)
  • Upload method: SWD and DFU

Board (please complete the following information):

  • Name: G071 with STlink and same behaviour on F411 via DFU

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

@fpistm fpistm added the duplicate This issue or pull request already exists label Jul 16, 2024
@fpistm fpistm added this to the 2.8.1 milestone Jul 16, 2024
@fpistm
Copy link
Member

fpistm commented Jul 16, 2024

Duplicate of: stm32duino/Arduino_Tools#99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
Development

No branches or pull requests

2 participants