devanlai / dapboot

DFU Bootloader for STM32 chips
Other
331 stars 111 forks source link

Use BOOT1 as bootloader enter button in bluepill board. #21

Closed dmsc closed 4 years ago

dmsc commented 4 years ago

The bluepill board has a dip-switch connected to BOOT1 (PB2) via a 100k resistor.

This allows entering the bootloader when connecting the switch to "1".

devanlai commented 4 years ago

Looks good to me. I tried it out on my bluepill board that has jumpers on BOOT0/BOOT1 and removing the jumper connecting it to 0 was sufficient to enter the bootloader. Thanks for the contribution!