1# SPDX-License-Identifier: Apache-2.0 2 3cmake_minimum_required(VERSION 3.20.0) 4find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) 5project(fat_fs_api) 6 7target_sources(app PRIVATE 8 src/common.c 9 src/main.c 10 src/test_fat_fs.c 11 src/test_fat_dir.c 12 src/test_fat_mount.c 13 src/test_fat_rename.c 14 src/test_fat_rename.c 15 src/test_fat_rd_only_mount.c 16 src/test_fat_file.c 17 ../common/test_fs_open_flags.c) 18target_sources_ifdef(CONFIG_FLASH app PRIVATE 19 ../common/test_fs_mkfs.c 20 src/test_fat_mkfs.c) 21target_sources_ifdef(CONFIG_FS_FATFS_REENTRANT app PRIVATE 22 src/test_fat_file_reentrant.c) 23