mirror of
https://github.com/thegecko/web-bluetooth-dfu.git
synced 2025-12-16 14:08:13 +08:00
Add quick flash tooling
This commit is contained in:
9
_flash/run.sh
Executable file
9
_flash/run.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
./nrfjprog --family NRF52 --eraseall
|
||||
./nrfjprog --family NRF52 --program s132_nrf52_4.0.2_softdevice.hex --sectorerase --reset
|
||||
./nrfjprog --family NRF52 --program secure_dfu_ble_s132_pca10040_debug.hex --sectoranduicrerase --reset
|
||||
|
||||
echo "test by flashing with dfu_test_app_hrm_s132.zip"
|
||||
Reference in New Issue
Block a user