1#Description: Driver silicon_id; user_visible: True 2include_guard(GLOBAL) 3message("component_silicon_id component is included.") 4 5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 6 ${CMAKE_CURRENT_LIST_DIR}/fsl_silicon_id.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 "MIMXRT1062") 15 include(component_silicon_id_rt10xx) 16endif() 17if(${MCUX_DEVICE} STREQUAL "MIMXRT1042") 18 include(component_silicon_id_rt10xx) 19endif() 20if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm4") 21 include(component_silicon_id_rt1170) 22endif() 23if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm4") 24 include(driver_common) 25endif() 26if(${MCUX_DEVICE} STREQUAL "MIMXRT1175_cm4") 27 include(driver_common) 28endif() 29if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm7") 30 include(component_silicon_id_rt1170) 31endif() 32 33include(driver_common) 34