cmake/apps: add more applications into cmake support

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2023-07-13 16:08:16 +08:00 committed by Mateusz Szafoni
parent 73b888869b
commit 7cfcb49213
12 changed files with 183 additions and 8 deletions

View file

@ -19,5 +19,5 @@
# ##############################################################################
if(CONFIG_FSUTILS_FLASH_ERASEALL)
nuttx_add_application(NAME flash_eraseall SRCS flash_eraseall.c)
target_sources(apps PRIVATE flash_eraseall.c)
endif()

View file

@ -19,5 +19,5 @@
# ##############################################################################
if(CONFIG_FSUTILS_MKSMARTFS)
nuttx_add_application(NAME mksmartfs SRCS mksmartfs.c)
target_sources(apps PRIVATE mksmartfs.c)
endif()