zephyr/tests/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
c_lib tests: c_lib: thrd: run test on 1 cpu 2025-06-14 12:36:48 -04:00
cbprintf_fp
cbprintf_package
cmsis_dsp
cmsis_nn
cobs tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
cpp
devicetree devicetree: Enhance DT_ENUM_HAS_VALUE macro for arrays 2025-06-12 11:44:46 +02:00
fdtable
gui/lvgl tests: lib: gui: lvgl: Remove LV_FONT_SIMSUN_16_CJK symbol 2025-06-11 08:20:09 +02:00
hash_function
hash_map
heap tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
heap_align
json tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
linear_range
lockfree tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
math/interpolation
mem_alloc tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
mem_blocks tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
mem_blocks_stats
min_heap tests: lib: min_heap: add test coverage for edge cases 2025-06-11 16:24:59 -07:00
mpsc_pbuf tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
multi_heap tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
net_buf
newlib
notify
onoff
p4workq
ringbuffer tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
shared_multi_heap
smf Lib: SMF: Add return code to signal event propagation 2025-06-17 16:04:04 +02:00
sprintf
spsc_pbuf tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
sys_util
time tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
timespec_util tests: lib: timeutil: add timespec util testsuite 2025-05-22 23:57:17 +02:00
uuid