mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-18 00:11:20 +08:00
cmake:refine cmake build for apps/examples
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
This commit is contained in:
@@ -19,5 +19,13 @@
|
||||
# ##############################################################################
|
||||
|
||||
if(CONFIG_EXAMPLES_I2SLOOP)
|
||||
nuttx_add_application(NAME i2sloop)
|
||||
nuttx_add_application(
|
||||
NAME
|
||||
i2sloop
|
||||
STACKSIZE
|
||||
${CONFIG_DEFAULT_TASK_STACKSIZE}
|
||||
MODULE
|
||||
${CONFIG_EXAMPLES_I2SLOOP}
|
||||
SRCS
|
||||
i2sloop_main.c)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user