zbus: Add message bus subsystem to Zephyr

Add zbus message bus as a Zephyr subsystem. No message bus
or communication abstraction other than the usual (message queues,
mailboxes, etc.) enabled developers to implement event-driven systems in
Zephyr quickly. Zbus would fill that gap by providing the community with
a lightweight and flexible message bus. The implementation tries to be
closest as possible to the existing ones. We use the claim/finish
approach, and the API for publishing and reading channels are similar
in message queues. Zbus is about channels, messages, and observers.

Signed-off-by: Rodrigo Peixoto <rodrigopex@gmail.com>
This commit is contained in:
Rodrigo Peixoto 2022-07-30 23:40:36 -03:00 committed by Anas Nashif
commit b8ecbfaa57
14 changed files with 1411 additions and 0 deletions

View file

@ -32,3 +32,4 @@ add_subdirectory_ifdef(CONFIG_DEMAND_PAGING demand_paging)
add_subdirectory(modbus)
add_subdirectory(sd)
add_subdirectory(rtio)
add_subdirectory_ifdef(CONFIG_ZBUS zbus)