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

J-Link Support for STM32F1 #2455

Closed jamesy0ung closed 1 month ago

jamesy0ung commented 4 months ago

Summary

This PR implements the support for using a STM32CubeProgrammer with a J-Link from the Arduino IDE

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.

close #2452

fpistm commented 1 month ago

Tested using a Nucleo L476RG with ST-Link upgraded to J-Link following this: https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/

Requires https://github.com/stm32duino/Arduino_Tools/pull/101