Arduino_Tools
Arduino_Tools copied to clipboard
Update stm32CubeProg.sh to support J-Link with STM32CubeProgrammer
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