zephyr/lib
Glenn Andrews 94084e5aba Lib: SMF: Add return code to signal event propagation
See Discussion https://github.com/zephyrproject-rtos/zephyr/discussions/83659
for information about the purpose of this change.

Modifies run actions of hierarchical state machines
to return a value indicating if the event was handled
by the run action or should be propagated up to the
parent run action. Flat state machines are not affected,
and their run action returns void.

smf_set_handled() has been removed and replaced by
this return value. smf_set_state() will not propagate
events regardless of the return value as the transition
is considered to have occurred.

Documentation, tests, samples, has been updated.
USB-C and hawkBit use SMF and have been updated to use
the new return codes.

Signed-off-by: Glenn Andrews <glenn.andrews.42@gmail.com>
2025-06-17 16:04:04 +02:00
..
acpi lib: fix typo in multiple directories 2025-01-28 00:06:18 +01:00
cpp cpp: Add c++ version number 2025-02-10 15:57:26 +00:00
crc lib: crc: add CRC-32K/4.2 2025-04-14 09:49:02 +02:00
hash lib: hash: murmur3: Account for unaligned 32-bit access 2025-04-29 17:54:51 +02:00
heap kernel: sys_heap: Fix chunk size request validation 2025-06-06 10:12:19 +02:00
libc libc/minimal: Add stub 'sys/lock.h' 2025-05-23 17:41:40 -04:00
mem_blocks lib: mem_block: move to own folder 2023-12-13 17:27:54 -05:00
min_heap lib: min_heap: Add min-heap data structure 2025-06-07 13:29:24 +01:00
net_buf lib: net_buf: remove deprecated net_buf_put() and net_buf_get() functions 2025-03-12 19:04:19 +01:00
open-amp lib: open-amp: fix OPENAMP_COPY_RSC_TABLE dependancy 2025-04-25 15:55:43 +02:00
os lib/os/fdtable: Remove ifdef on NATIVE_POSIX 2025-03-12 02:27:36 +01:00
posix lib: posix: dedicated symbol for POSIX system headers 2025-06-11 08:19:54 +02:00
runtime llvm: Add support for selecting runtime library 2023-08-03 19:35:11 +02:00
smf Lib: SMF: Add return code to signal event propagation 2025-06-17 16:04:04 +02:00
utils lib: hex: remove unnecessary defensive programming 2025-06-11 10:25:14 -07:00
uuid lib: uuid: do not support UUID_v5 on TF-M platforms 2025-05-27 10:29:34 +02:00
CMakeLists.txt lib: min_heap: Add min-heap data structure 2025-06-07 13:29:24 +01:00
Kconfig lib: min_heap: Add min-heap data structure 2025-06-07 13:29:24 +01:00