diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-01-20 08:08:22 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-01-20 08:09:28 (GMT) |
| commit | cd1063426ef3aeb928002ec5f2a2e0d8c8395210 (patch) | |
| tree | 97c0548197ef9f50b6e846b21afd0e3cce432e97 | |
| parent | 64f1015a8d1706ee5a144a66b9616231157f4b3f (diff) | |
Makefile: Switch to pyocd for flashing
Using the mass storage device mode on Nitrogen leaves the board in an
odd state where the bootloader cannot properly load the payload.
| -rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -39,7 +39,8 @@ dfu: python3 -m nordicsemi dfu serial --package micropython.zip --port /dev/ttyACM0 flash: - cp bootloader.hex /run/media/$(USER)/MBED + pyocd erase -t nrf52 --mass-erase + pyocd flash -t nrf52 bootloader.hex .PHONY: bootloader micropython |
