mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
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>
18 lines
496 B
CMake
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()
|