Tweet

Replying to @bradanlane

It’s more Adafruit goodness: they have a library called Adafruit_DAP, which I believe they use in house for this sort of thing. It turns any M0+ board into an SWD programmer. My flashing app just has the bootloader hard coded in a header file; sketch here: https://github.com/joeycastillo/Sensor-Watch/blob/main/utils/flash_watch_pyruler/flash_watch_pyruler.ino

(original)