It will be great if we have an option to automatically bring a device into DFU mode without having to perform the hardware button-pressing combination.
Opening & closing a serial terminal to the device at 14400 baud will put it into DFU mode. On the mac, I’m using
stty to trigger DFU right before flashing:
stty -f /dev/cu.usbmodem141110 14400
Hope a cross-platform implementation of this can be Included as part of the local flashing build task in the next alpha release in 2019…