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

Alexandre Abadie notifications at github.com
Thu Nov 12 21:56:08 CET 2020


@aabadie 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

```suggestion
  CFLAGS+=-DUPDATE_CCA=0
```

-- 
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#pullrequestreview-529490122
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201112/a102c5d5/attachment.htm>


More information about the notifications mailing list