[riot-notifications] [RIOT-OS/RIOT] WIP: sys/rb: new module for ringbuffers (#15853)

Marian Buschsieweke notifications at github.com
Mon Jan 25 10:53:39 CET 2021


### Contribution description

***WARNING:*** This is still work in progress and not ready for review! I will rebase, squash, and rewrite the code as I see fit until the WIP label get's dropped.

#### Goals

- Provide ringbuffers that are easier to use than `sys/tsrb` when not operating on byte-level
- Easy to use with DMA (e.g. trivial to enforce read/writing occurs only in chunks that fulfill the DMA's alignment and minimum size requirements)
- ...

### Testing procedure

There will be a test application, eventually...

### Issues/PRs references

Written with https://github.com/RIOT-OS/RIOT/pull/13247 in mind
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * sys/rb: new module for ringbuffers

-- File Changes --

    A sys/include/rb.h (464)
    A sys/rb/Makefile (1)
    A sys/rb/rb.c (141)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/15853.patch
https://github.com/RIOT-OS/RIOT/pull/15853.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/15853
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210125/5ad6b60e/attachment.htm>


More information about the notifications mailing list