[riot-notifications] [RIOT-OS/RIOT] boards: add support for nrf52840-dongle (#13146)

chrysn notifications at github.com
Fri May 8 11:37:10 CEST 2020


@chrysn commented on this pull request.



> +# Using nrfutil implies using the Nordic bootloader described at
+# <https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial>.
+#
+# It has a static MBR at the first 4k, and an ample 128k Open USB Bootloader at
+# the end, leaving 892k for the application. This overwrites any SoftDevice,
+# but that's what the minimal working example for the dongle does as well.
+
+ROM_OFFSET = 0x1000
+FW_ROM_LEN = 0xdf000
+
+FLASHFILE = $(HEXFILE)
+FLASHDEPS += $(HEXFILE).zip
+FLASHER = nrfutil
+FFLAGS = dfu usb-serial --port=${PORT} --package=$(HEXFILE).zip
+
+%.hex.zip: %.hex

Thanks, fixed. (I was a bit unsure how to do this properly anyway with indentation).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/13146#discussion_r422047006
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200508/4b14c1cd/attachment-0001.htm>


More information about the notifications mailing list