stm32duino / Arduino_Tools

Contains upload tools for STM32 based boards
Other
89 stars 64 forks source link

Update stm32CubeProg.sh to support J-Link with STM32CubeProgrammer #101

Closed jamesy0ung closed 1 day ago

jamesy0ung commented 2 months ago

Summary

This PR implements the support for using a STM32CubeProgrammer with a J-Link from the Arduino IDE, by adding a case to the flashing script.

Explain the motivation for making this change. What existing problem does the pull request solve?

I have a J-Link probe and can use it directly in STM32CubeProgrammer, but not in the Arduino IDE

Validation

I tested it and it works, doesn't seem to break anything else.

See stm32duino/Arduino_Core_STM32#2452