[riot-notifications] [RIOT-OS/RIOT] boards/cc2538: add riotboot feature (#15392)

Francisco notifications at github.com
Fri Nov 13 08:36:23 CET 2020


@fjmolinas commented on this pull request.



>  CFLAGS += -DCC2538_FLASHSIZE=$(FLASHSIZE)U
 
+# Use common ld script
+LINKER_SCRIPT ?= cc2538.ld
+
+# The entry point `cortex_vector_base` is defined in the cca field.
+# If the cca field is updated when flashing a slot then the entry
+# point will never be the bootloader but the respective slot. This
+# ensures it never happens, the last page will never be touched when
+# using riotboot.
+ifneq (,$(filter riotboot,$(FEATURES_USED)))
+    CFLAGS+=-DUPDATE_CCA=0

addressed

-- 
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/15392#discussion_r522734021
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201113/a9655ea5/attachment.htm>


More information about the notifications mailing list