Skip to content

Cannot upload sketch on MacOS #99

Closed
@miroslavpetrov

Description

@miroslavpetrov

Describe the bug
I am also not able to upload sketches from the Arduino IDE on MacOS. I have STM32cubeprog installed and working on my Mac but thats what I get from the Arduino IDE:

Sketch uses 110728 bytes (42%) of program storage space. Maximum is 262144 bytes.
Global variables use 8648 bytes (13%) of dynamic memory, leaving 56888 bytes for local variables. Maximum is 65536 bytes.
getopt: illegal option -- o
Terminating...
Failed uploading: uploading error: exit status 1

To Reproduce
Steps to reproduce the behavior:
No matter what upload method I select - SWD, UART, DFU the output is the same.
I am only able to upload the sketch by exporting compiled binary, open sketch folder in finder and move the .bin file to STLink drive.

Expected behavior
I expect to be able to flash STM32WL using Arduino IDE

Desktop

  • OS: Mac OS Sonoma 14.5
  • Arduino IDE version: 2.3.2
  • STM32 core version: 2.8.0
  • STM32 Low Power: 1.2.5
  • STM32 LoRaWAN: 0.2.0
  • Tools menu settings if not the default: Core logs enabled, Optimize: smallest, Runtime Newlib nano, UART: Enabled(generic serial), Board part number: Lora-E5 mini
  • Upload method: SWD

Board (please complete the following information):

  • Name: Seeed Wio-E5 Mini based on STM32wle5jc
  • Hardware Revision: v1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions