Skip to content

Commit dd3c66c

Browse files
rodrigopexkartben
authored andcommitted
doc: releases: Add runtime changes to release notes
Add runtime observers static allocation feature to release notes. Signed-off-by: Rodrigo Peixoto <rodrigopex@gmail.com>
1 parent 6cd508f commit dd3c66c

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

doc/releases/migration-guide-4.2.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -514,13 +514,6 @@ Video
514514
Other subsystems
515515
****************
516516

517-
ZBus
518-
====
519-
520-
* The function :c:func:`zbus_chan_add_obs` now requires a :c:struct:`zbus_observer_node` as an argument,
521-
which was previously allocated through :c:func:`k_malloc` internally. The structure must remain valid
522-
in memory until :c:func:`zbus_chan_rem_obs` is called.
523-
524517
Modules
525518
*******
526519

doc/releases/release-notes-4.2.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,19 @@ New APIs and options
237237

238238
* :kconfig:option:`CONFIG_LV_Z_COLOR_MONO_HW_INVERSION`
239239

240+
* ZBus
241+
242+
* Runtime observers can work without heap. Now it is possible to choose between static, dynamic,
243+
and none allocation for the runtime observers nodes.
244+
* Runtime observers using :kconfig:option:`CONFIG_ZBUS_RUNTIME_OBSERVERS_NODE_ALLOC_NONE` must use
245+
the new function :c:func:`zbus_chan_add_obs_with_node`.
246+
247+
* :kconfig:option:`CONFIG_ZBUS_RUNTIME_OBSERVERS_NODE_ALLOC_DYNAMIC`
248+
* :kconfig:option:`CONFIG_ZBUS_RUNTIME_OBSERVERS_NODE_ALLOC_STATIC`
249+
* :kconfig:option:`CONFIG_ZBUS_RUNTIME_OBSERVERS_NODE_ALLOC_NONE`
250+
* :kconfig:option:`CONFIG_ZBUS_RUNTIME_OBSERVERS_NODE_POOL_SIZE`
251+
252+
240253
New Boards
241254
**********
242255

0 commit comments

Comments
 (0)