[riot-notifications] [RIOT-OS/RIOT] Add Riotboot support for CC2538 (#11665)

Francisco notifications at github.com
Wed Jun 19 20:35:00 CEST 2019


@brent7984 For `cca` region there is an easy solution. If make is called with `CFLAGS+=-DUPDATE_CCA=0` then `cca[]` wont be defined and therefore won't be updated. If you do this with a board that was already flashed at least once with RIOT then it will allways work. We could filter this in `cc2538dk/Makefile.include`

```
# 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 .
ifneq (,$(filter riotboot,$(FEATURES_REQUIRED)))
ifneq (riotboot,$(filter riotboot,$(APPLICATION)))
  CFLAGS+=-DUPDATE_CCA=0
endif
endif
```

-- 
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/11665#issuecomment-503679175
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190619/931d96d6/attachment.html>


More information about the notifications mailing list