1target_sources(${PROJECT_NAME} PRIVATE 2 # {{BEGIN_TARGET_SOURCES}} 3 ${CMAKE_CURRENT_LIST_DIR}/src/fx_nand_flash_simulated_driver.c 4 ${CMAKE_CURRENT_LIST_DIR}/src/fx_nor_flash_simulator_driver.c 5 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_256byte_ecc_check.c 6 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_256byte_ecc_compute.c 7 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_block_allocate.c 8 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_block_data_move.c 9 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_block_find.c 10 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_block_mapping_set.c 11 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_block_status_set.c 12 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_close.c 13 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_data_page_copy.c 14 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_defragment.c 15 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_driver_block_erase.c 16 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_driver_block_erased_verify.c 17 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_driver_block_status_get.c 18 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_driver_block_status_set.c 19 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_driver_page_erased_verify.c 20 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_erase_count_set.c 21 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_extended_cache_enable.c 22 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_format.c 23 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_free_block_list_add.c 24 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_initialize.c 25 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_mapped_block_list_add.c 26 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_mapped_block_list_get.c 27 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_mapped_block_list_remove.c 28 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_memory_initialize.c 29 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_metadata_allocate.c 30 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_metadata_build.c 31 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_metadata_write.c 32 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_open.c 33 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_page_ecc_check.c 34 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_page_ecc_compute.c 35 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_partial_defragment.c 36 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_sectors_read.c 37 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_sectors_release.c 38 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_sectors_write.c 39 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_sector_read.c 40 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_sector_release.c 41 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_sector_write.c 42 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_simulator.c 43 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nand_flash_system_error.c 44 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nor_flash_block_reclaim.c 45 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nor_flash_close.c 46 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nor_flash_defragment.c 47 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nor_flash_driver_block_erase.c 48 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nor_flash_driver_read.c 49 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nor_flash_driver_write.c 50 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nor_flash_extended_cache_enable.c 51 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nor_flash_initialize.c 52 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nor_flash_logical_sector_find.c 53 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nor_flash_next_block_to_erase_find.c 54 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nor_flash_open.c 55 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nor_flash_partial_defragment.c 56 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nor_flash_physical_sector_allocate.c 57 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nor_flash_sector_mapping_cache_invalidate.c 58 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nor_flash_sector_read.c 59 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nor_flash_sector_release.c 60 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nor_flash_sector_write.c 61 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nor_flash_simulator.c 62 ${CMAKE_CURRENT_LIST_DIR}/src/lx_nor_flash_system_error.c 63 64 # {{END_TARGET_SOURCES}} 65) 66 67# Add the Common/inc directory to the project include list 68target_include_directories(${PROJECT_NAME} PUBLIC 69 ${CMAKE_CURRENT_LIST_DIR}/inc 70) 71 72