So I am trying to setup Continuous Integration for our project using electron. The idea is, when there is pull request for new code, it will trigger internal build and flash the binary into the device.
However, if we want to flash via usb, it will give this error:
particle flash --usb ./electron_firmware.bin
!!! I was unable to detect any devices in DFU mode
Is there anyway we can setup the device in DFU mode remotely? Without physically pressing and holding of the RESET and MODE button.