[riot-notifications] [RIOT-OS/RIOT] sys/bit: provide CPU_HAS_SRAM_BITBAND [backport 2021.01] (#15812)

Marian Buschsieweke notifications at github.com
Wed Jan 20 10:44:45 CET 2021


# Backport of #15809

### Contribution description

- Add `CPU_HAS_SRAM_BITBAND` flag to allow checking whether all of SRAM has proper bit-banding support
- Use this in the Cortex M implementation of `atomic_utils`

### Testing procedure

```
make BOARD=frdm-k64f -C tests/sys_atomic_utils_unittests flash test
```

### Issues/PRs references

Reported by @fjmolinas, fixes https://github.com/RIOT-OS/RIOT/issues/15810
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/15812

-- Commit Summary --

  * sys/bit: provide CPU_HAS_SRAM_BITBAND
  * cpu/cortexm_common: fix atomic_utils_arch.h

-- File Changes --

    M cpu/cortexm_common/include/atomic_utils_arch.h (2)
    M cpu/kinetis/include/cpu_conf.h (4)
    M sys/include/bit.h (22)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/15812.patch
https://github.com/RIOT-OS/RIOT/pull/15812.diff

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


More information about the notifications mailing list