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 tests: unskip some tests 2025-03-28 21:52:13 +01:00
cmsis_nn
cobs tests: lib: Fix zassert string 2025-05-22 16:17:23 +02:00
cpp dts: ambiq: change to enable ambiq drivers in overlays 2025-05-05 21:56:47 +02:00
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 tests/lib/heap_align: improve test some more 2025-03-17 02:21:27 +01:00
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 tests: fix various test ids and use existing scheme 2025-04-07 11:22:36 +02:00
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 tests: lib: p4wq: turn of time slicing 2025-05-17 14:10:13 +02:00
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 tests: lib: fix doxygen groups 2025-04-22 14:03:29 +02:00
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 uuid: Add sample for UUID utilities 2025-04-14 09:47:26 +02:00