Skip to content

Commit 4fe9da8

Browse files
committed
feat(Makefile.posix): Impl flash-softdevice.stlinkv2
1 parent 369d9fa commit 4fe9da8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

make/Makefile.posix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ flash-softdevice.jlink:
105105
$(MAKE_BUILD_FOLDER)
106106
printf "w4 4001e504 1\nloadbin \"$(SOFTDEVICE_OUTPUT:.hex=.bin)\" 0\nr\ng\nexit\n" > $(OUTPUT_PATH)flash-softdevice.jlink
107107

108+
flash-softdevice.stlinkv2:
109+
$(MAKE_BUILD_FOLDER)
110+
$(OPENOCD) -c 'program $(SOFTDEVICE) verify reset exit'
111+
108112
flash-bootloader: bootloader flash-bootloader.jlink test-softdevice
109113
$(JLINK) $(OUTPUT_PATH)flash-bootloader.jlink
110114

0 commit comments

Comments
 (0)