rogerclarkmelbourne / Arduino_STM32

Arduino STM32. Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards
Other
2.53k stars 1.26k forks source link

SWD Pins #575

Closed Hamid-Najafi closed 5 years ago

Hamid-Najafi commented 5 years ago

Hi, I'm using blackpill with STM32 HAL library and every time that I want to flash the program I must change jumper on BOOT0 or hold reset... I know its because SWD pin are disabled but is there any way to enable those? just flashing st official boot loader or modify exiting one ?

rogerclarkmelbourne commented 5 years ago

This Arduino core has nothing to do with the STM HAL library.

Perhaps you are have mistaken this core for https://github.com/stm32duino

matthijskooijman commented 4 years ago

Though if you are using this core, it seems it always disables the SWD pins intentionally, see https://github.com/rogerclarkmelbourne/Arduino_STM32/commit/a8d1c1d1b614a5ed6924df3facc72a5f9980e34d