1#Description: statically allocated file system for mflash; user_visible: False 2include_guard(GLOBAL) 3message("component_mflash_file component is included.") 4 5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 6 ${CMAKE_CURRENT_LIST_DIR}/mflash_file.c 7) 8 9target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 10 ${CMAKE_CURRENT_LIST_DIR}/. 11) 12 13#OR Logic component 14if(${MCUX_DEVICE} STREQUAL "MIMXRT1166_cm4") 15 include(component_mflash_rt1160) 16endif() 17if(${MCUX_DEVICE} STREQUAL "MIMXRT1166_cm7") 18 include(component_mflash_rt1160) 19endif() 20if(${MCUX_DEVICE} STREQUAL "MIMXRT1052") 21 include(component_mflash_rt1050) 22endif() 23if(${MCUX_DEVICE} STREQUAL "MIMXRT1064") 24 include(component_mflash_rt1064) 25endif() 26if(${MCUX_DEVICE} STREQUAL "MK64F12") 27 include(component_mflash_frdmk64f) 28endif() 29if(${MCUX_DEVICE} STREQUAL "MK66F18") 30 include(component_mflash_frdmk66f) 31endif() 32if(${MCUX_DEVICE} STREQUAL "LPC54628") 33 include(component_mflash_lpc54xxx) 34endif() 35if(${MCUX_DEVICE} STREQUAL "MIMXRT1021") 36 include(component_mflash_rt1020) 37endif() 38if(${MCUX_DEVICE} STREQUAL "MIMXRT1062") 39 include(component_mflash_rt1060) 40endif() 41if(${MCUX_DEVICE} STREQUAL "LPC54S018") 42 include(component_mflash_lpc54xxx) 43endif() 44if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm4") 45 include(component_mflash_rt1170) 46endif() 47if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm7") 48 include(component_mflash_rt1170) 49endif() 50if(${MCUX_DEVICE} STREQUAL "LPC54S018M") 51 include(component_mflash_lpc54s018m) 52endif() 53if(${MCUX_DEVICE} STREQUAL "LPC55S69_cm33_core0") 54 include(component_mflash_lpc55xxx) 55endif() 56if(${MCUX_DEVICE} STREQUAL "MIMXRT1024") 57 include(component_mflash_rt1024) 58endif() 59if(${MCUX_DEVICE} STREQUAL "LPC55S28") 60 include(component_mflash_lpc55xxx) 61endif() 62if(${MCUX_DEVICE} STREQUAL "MIMXRT685S_cm33") 63 include(component_mflash_rt685) 64endif() 65if(${MCUX_DEVICE} STREQUAL "MIMXRT595S_cm33") 66 include(component_mflash_rt595) 67endif() 68 69