[riot-notifications] [RIOT-OS/RIOT] cpu/nrf52: update vendor files, drive flash settings (#14069)

benpicco notifications at github.com
Tue May 12 18:25:42 CEST 2020

### Contribution description

We don't need to define `FLASHPAGE_SIZE` and `FLASHPAGE_NUMOF´ ourself if the `BPROT` peripheral is present.
Now why nrf52840 doesn't have it, I don't know, but for nrf52832 and nrf23811 the values in `BPROT_REGIONS_SIZE` and `BPROT_REGIONS_NUM` match the values manually provided here before.

Also update the vendor files.
There isn't happening much, but there might be the odd define that might be useful for consistency going forward.

### Testing procedure

No change in generated binaries is expected.

### Issues/PRs references


You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * cpu/nrf52: use vendor defines for flash size
  * cpu/nrf52: update vendor files

-- File Changes --

    M cpu/nrf52/include/cpu_conf.h (12)
    M cpu/nrf52/include/vendor/nrf52.h (17)
    M cpu/nrf52/include/vendor/nrf52840.h (452)
    M cpu/nrf52/include/vendor/nrf52840_bitfields.h (2780)
    M cpu/nrf52/include/vendor/nrf52_bitfields.h (2)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200512/b78180c7/attachment.htm>

More information about the notifications mailing list