Files
web-bluetooth-dfu/_flash/run.sh
2017-12-31 21:17:54 +00:00

10 lines
308 B
Bash
Executable File

#!/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"