Components you will need:
- STLINK V2 (read before buying): (costs $3)

For flashing the bootloader, connect the SWDCLK, SWDIO, GND and VBUS pins to the STLinkV2 and follow the flashing instructions below using either Windows or Linux. Once the firmware is flashed, the STLinkV2 connection will not longer be required, as all future updates can be done wirelessly over bluetooth.
The firmware HEX file to flash is the "bootloader.hex" that you can download from here.

