From 52ebfd07a51749d996e149eccc104a2cc0fd294e Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 17 May 2018 15:20:07 +0700 Subject: [PATCH] update nrfutil to 0.5.2d with singlebank option --- lib/nrfutil | 2 +- ports/nrf/boards/feather52/mpconfigboard.mk | 2 +- ports/nrf/boards/feather52840/mpconfigboard_s140.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/nrfutil b/lib/nrfutil index d48561b073..9e7dfb28a5 160000 --- a/lib/nrfutil +++ b/lib/nrfutil @@ -1 +1 @@ -Subproject commit d48561b07386132b849d0125b0ff6a532d833d8b +Subproject commit 9e7dfb28a5c6f3d7a19340971b32e0c2b4128ecf diff --git a/ports/nrf/boards/feather52/mpconfigboard.mk b/ports/nrf/boards/feather52/mpconfigboard.mk index 07aec3f791..7ff8684d22 100644 --- a/ports/nrf/boards/feather52/mpconfigboard.mk +++ b/ports/nrf/boards/feather52/mpconfigboard.mk @@ -35,7 +35,7 @@ dfu-gen: dfu-flash: @:$(call check_defined, SERIAL, example: SERIAL=/dev/ttyUSB0) - $(NRFUTIL) dfu serial --package $(BUILD)/dfu-package.zip -p $(SERIAL) -b 115200 + $(NRFUTIL) dfu serial --package $(BUILD)/dfu-package.zip -p $(SERIAL) -b 115200 --singlebank boot-flash: @:$(call check_defined, SERIAL, example: SERIAL=/dev/ttyUSB0) diff --git a/ports/nrf/boards/feather52840/mpconfigboard_s140.mk b/ports/nrf/boards/feather52840/mpconfigboard_s140.mk index cc64b2c3ce..2d525169e2 100644 --- a/ports/nrf/boards/feather52840/mpconfigboard_s140.mk +++ b/ports/nrf/boards/feather52840/mpconfigboard_s140.mk @@ -35,7 +35,7 @@ dfu-gen: dfu-flash: @:$(call check_defined, SERIAL, example: SERIAL=/dev/ttyUSB0) - $(NRFUTIL) --verbose dfu serial --package $(BUILD)/dfu-package.zip -p $(SERIAL) -b 115200 + $(NRFUTIL) --verbose dfu serial --package $(BUILD)/dfu-package.zip -p $(SERIAL) -b 115200 --singlebank boot-flash: nrfjprog --program $(BOOTLOADER_FILENAME).hex -f nrf52 --chiperase --reset