nuttx-apps/examples/smf/CMakeLists.txt
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

18 lines
496 B
CMake

# ##############################################################################
# apps/examples/hsm_psicc2/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
# ##############################################################################
if(CONFIG_EXAMPLES_SMF)
nuttx_add_application(
NAME
${CONFIG_EXAMPLES_SMF_PROGNAME}
SRCS
smf_main.c
hsm_psicc2_thread.c
STACKSIZE
${CONFIG_EXAMPLES_SMF_STACKSIZE}
PRIORITY
${CONFIG_EXAMPLES_SMF_PRIORITY})
endif()