nuttx-apps/system/smf/Kconfig
Felipe MdeO ca11a7e093 system/smf: Port SMF .c/.h files to NuttX
This commit add state machine framework lib to the NuttX project. Also an example is added to help users understand and use this feature.

Changes: Added some files. No impact in other features are expected.

Adjust SMF macro names

Fix issues requested during MR review

update kconfig

fix ci-cd issue

Signed-off-by: Felipe Moura <moura.fmo@gmail.com>
2026-01-05 12:50:04 -05:00

28 lines
793 B
Text

# SMF (State Machine Framework) configuration options
#
# For syntax reference, see kconfig-language.txt in the NuttX tools repository.
config SYSTEM_SMF
bool "(SMF) support"
default n
---help---
Enables the State Machine Framework (SMF) for implementing state machines
if SYSTEM_SMF
config SYSTEM_SMF_ANCESTOR_SUPPORT
bool "Enable ancestor/parent state support"
default n
---help---
Enables support for parent/ancestor relationships between SMF states.
Required for hierarchical state machines.
config SYSTEM_SMF_INITIAL_TRANSITION
bool "Enable initial transition support"
default n
depends on SYSTEM_SMF_ANCESTOR_SUPPORT
---help---
Enables support for initial transitions in hierarchical states.
Depends on ancestor/parent state support.
endif # SYSTEM_SMF