add dependencies for offline use without a build step

This commit is contained in:
liamcottle
2024-07-24 20:51:23 +12:00
parent 4946a8a71a
commit 0fa7055b0a
10 changed files with 17826 additions and 9 deletions

View File

@@ -20,7 +20,7 @@ Generally, you would use the following command to flash a firmware.zip to your d
adafruit-nrfutil dfu serial --package firmware.zip -p /dev/cu.usbmodem14401 -b 115200 -t 1200
```
The [nrf52_dfu_flasher.js](./nrf52_dfu_flasher.js) in this project implements a javascript, web based version of the above command.
The [nrf52_dfu_flasher.js](js/nrf52_dfu_flasher.js) in this project implements a javascript, web based version of the above command.
There was an existing package called [pc-nrf-dfu-js](https://github.com/NordicSemiconductor/pc-nrf-dfu-js), however this repo had been archived and didn't appear to support the latest DFU protocol.