devanlai / dapboot

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

Allow configuration of VID/PID without hacking up the source code #33

Closed obra closed 3 years ago

obra commented 3 years ago

I'm starting to look at using dapboot in a new product. To do this, we're going to want to use our own VID/PID pair.

This PR makes it possible to change the VID/PID without editing the source code of dapboot.

I'm happy to revise it to meet house style.

devanlai commented 3 years ago

Hi @obra, thanks for your contribution. This change looks reasonable and it compiles cleanly, so I'm happy to merge it.