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

Alexandre Abadie notifications at github.com
Fri May 8 13:58:49 CEST 2020


@aabadie commented on this pull request.



> @@ -0,0 +1,27 @@
+# This board uses the vendor's serial bootloader
+
+PROGRAMMER ?= nrfutil
+
+ifeq (nrfutil,$(PROGRAMMER))
+
+  # 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

See [here](https://github.com/RIOT-OS/RIOT/blob/master/cpu/cortexm_common/ldscripts/cortexm_rom_offset.ld#L24).

-- 
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_r422102835
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200508/cd81e135/attachment-0001.htm>


More information about the notifications mailing list