Add quick flash tooling

This commit is contained in:
Rob Moran
2017-12-31 21:16:39 +00:00
parent ec67a3711a
commit d6d0223161
19 changed files with 17719 additions and 0 deletions

9
_flash/run.sh Executable file
View 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"