OpenOCD upload via running or new instance, makefile snippet

Sourced from https://gist.github.com/projectgus/8dab3f891c9bd694fc5f