devanlai / dapboot

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

Add a new 'target_post_setup' hook that targets can use for their own custom initialization #47

Closed obra closed 2 years ago

obra commented 2 years ago

I find myself in need of a hook to initialize a custom i2c device before USB connect. This hook would let me do that more cleanly.

devanlai commented 2 years ago

Seems like a reasonable addition to me and it still builds cleanly, so I'm all for it.