1#Description: Component log; user_visible: True 2include_guard(GLOBAL) 3message("component_log component is included.") 4 5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 6 ${CMAKE_CURRENT_LIST_DIR}/fsl_component_log.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 "RW612") 15 include(utility_str) 16endif() 17if(${MCUX_DEVICE} STREQUAL "RW610") 18 include(utility_str) 19endif() 20if(${MCUX_DEVICE} STREQUAL "MIMXRT1166_cm7") 21 include(utility_debug_console) 22endif() 23if(${MCUX_DEVICE} STREQUAL "MIMXRT1052") 24 include(utility_debug_console) 25endif() 26if(${MCUX_DEVICE} STREQUAL "MK22F12810") 27 include(utility_debug_console) 28endif() 29if(${MCUX_DEVICE} STREQUAL "MKV10Z1287") 30 include(utility_debug_console) 31endif() 32if(${MCUX_DEVICE} STREQUAL "MIMXRT633S_cm33") 33 include(utility_debug_console) 34endif() 35if(${MCUX_DEVICE} STREQUAL "MIMXRT1064") 36 include(utility_debug_console) 37endif() 38if(${MCUX_DEVICE} STREQUAL "LPC5526") 39 include(utility_debug_console) 40endif() 41if(${MCUX_DEVICE} STREQUAL "LPC54607") 42 include(utility_debug_console) 43endif() 44if(${MCUX_DEVICE} STREQUAL "LPC54S016") 45 include(utility_debug_console) 46endif() 47if(${MCUX_DEVICE} STREQUAL "LPC54606") 48 include(utility_debug_console) 49endif() 50if(${MCUX_DEVICE} STREQUAL "LPC54616") 51 include(utility_debug_console) 52endif() 53if(${MCUX_DEVICE} STREQUAL "MKE15Z7") 54 include(utility_debug_console) 55endif() 56if(${MCUX_DEVICE} STREQUAL "K32L2B31A") 57 include(utility_debug_console) 58endif() 59if(${MCUX_DEVICE} STREQUAL "MKE16Z4") 60 include(utility_debug_console) 61endif() 62if(${MCUX_DEVICE} STREQUAL "MKM14ZA5") 63 include(utility_debug_console) 64endif() 65if(${MCUX_DEVICE} STREQUAL "LPC54016") 66 include(utility_debug_console) 67endif() 68if(${MCUX_DEVICE} STREQUAL "MKV11Z7") 69 include(utility_debug_console) 70endif() 71if(${MCUX_DEVICE} STREQUAL "LPC54018") 72 include(utility_debug_console) 73endif() 74if(${MCUX_DEVICE} STREQUAL "MKV31F51212") 75 include(utility_debug_console) 76endif() 77if(${MCUX_DEVICE} STREQUAL "MKE12Z7") 78 include(utility_debug_console) 79endif() 80if(${MCUX_DEVICE} STREQUAL "LPC54628") 81 include(utility_debug_console) 82endif() 83if(${MCUX_DEVICE} STREQUAL "LPC5512") 84 include(utility_debug_console) 85endif() 86if(${MCUX_DEVICE} STREQUAL "MK22F51212") 87 include(utility_debug_console) 88endif() 89if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm4") 90 include(utility_debug_console) 91endif() 92if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm7") 93 include(utility_debug_console) 94endif() 95if(${MCUX_DEVICE} STREQUAL "LPC5516") 96 include(utility_debug_console) 97endif() 98if(${MCUX_DEVICE} STREQUAL "MKM34ZA5") 99 include(utility_debug_console) 100endif() 101if(${MCUX_DEVICE} STREQUAL "LPC54605") 102 include(utility_debug_console) 103endif() 104if(${MCUX_DEVICE} STREQUAL "MIMXRT1051") 105 include(utility_debug_console) 106endif() 107if(${MCUX_DEVICE} STREQUAL "LPC54618") 108 include(utility_debug_console) 109endif() 110if(${MCUX_DEVICE} STREQUAL "MKE13Z7") 111 include(utility_debug_console) 112endif() 113if(${MCUX_DEVICE} STREQUAL "MKE14Z7") 114 include(utility_debug_console) 115endif() 116if(${MCUX_DEVICE} STREQUAL "MIMXRT1021") 117 include(utility_debug_console) 118endif() 119if(${MCUX_DEVICE} STREQUAL "MKV10Z7") 120 include(utility_debug_console) 121endif() 122if(${MCUX_DEVICE} STREQUAL "MIMXRT555S_cm33") 123 include(utility_debug_console) 124endif() 125if(${MCUX_DEVICE} STREQUAL "LPC54018M") 126 include(utility_debug_console) 127endif() 128if(${MCUX_DEVICE} STREQUAL "LPC5514") 129 include(utility_debug_console) 130endif() 131if(${MCUX_DEVICE} STREQUAL "LPC55S16") 132 include(utility_debug_console) 133endif() 134if(${MCUX_DEVICE} STREQUAL "K32L2B11A") 135 include(utility_debug_console) 136endif() 137if(${MCUX_DEVICE} STREQUAL "MK02F12810") 138 include(utility_debug_console) 139endif() 140if(${MCUX_DEVICE} STREQUAL "MIMXRT1062") 141 include(utility_debug_console) 142endif() 143if(${MCUX_DEVICE} STREQUAL "LPC54S018") 144 include(utility_debug_console) 145endif() 146if(${MCUX_DEVICE} STREQUAL "MKE15Z4") 147 include(utility_debug_console) 148endif() 149if(${MCUX_DEVICE} STREQUAL "K32L3A60_cm0plus") 150 include(utility_debug_console) 151endif() 152if(${MCUX_DEVICE} STREQUAL "K32L3A60_cm4") 153 include(utility_debug_console) 154endif() 155if(${MCUX_DEVICE} STREQUAL "MIMXRT1042") 156 include(utility_debug_console) 157endif() 158if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm4") 159 include(utility_debug_console) 160endif() 161if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm7") 162 include(utility_debug_console) 163endif() 164if(${MCUX_DEVICE} STREQUAL "MIMXRT1175_cm4") 165 include(utility_debug_console) 166endif() 167if(${MCUX_DEVICE} STREQUAL "MIMXRT1175_cm7") 168 include(utility_debug_console) 169endif() 170if(${MCUX_DEVICE} STREQUAL "LPC54S018M") 171 include(utility_debug_console) 172endif() 173if(${MCUX_DEVICE} STREQUAL "MK22F25612") 174 include(utility_debug_console) 175endif() 176if(${MCUX_DEVICE} STREQUAL "MKM35Z7") 177 include(utility_debug_console) 178endif() 179if(${MCUX_DEVICE} STREQUAL "K32L2B21A") 180 include(utility_debug_console) 181endif() 182if(${MCUX_DEVICE} STREQUAL "LPC51U68") 183 include(utility_debug_console) 184endif() 185if(${MCUX_DEVICE} STREQUAL "MIMXRT1061") 186 include(utility_debug_console) 187endif() 188if(${MCUX_DEVICE} STREQUAL "LPC5528") 189 include(utility_debug_console) 190endif() 191if(${MCUX_DEVICE} STREQUAL "MIMXRT1165_cm7") 192 include(utility_debug_console) 193endif() 194if(${MCUX_DEVICE} STREQUAL "LPC55S66_cm33_core0") 195 include(utility_debug_console) 196endif() 197if(${MCUX_DEVICE} STREQUAL "MKM34Z7") 198 include(utility_debug_console) 199endif() 200if(${MCUX_DEVICE} STREQUAL "MKV31F12810") 201 include(utility_debug_console) 202endif() 203if(${MCUX_DEVICE} STREQUAL "LPC54S005") 204 include(utility_debug_console) 205endif() 206if(${MCUX_DEVICE} STREQUAL "MKE17Z7") 207 include(utility_debug_console) 208endif() 209if(${MCUX_DEVICE} STREQUAL "MIMXRT1171_cm7") 210 include(utility_debug_console) 211endif() 212if(${MCUX_DEVICE} STREQUAL "LPC55S69_cm33_core0") 213 include(utility_debug_console) 214endif() 215if(${MCUX_DEVICE} STREQUAL "K32L2A31A") 216 include(utility_debug_console) 217endif() 218if(${MCUX_DEVICE} STREQUAL "MIMXRT1024") 219 include(utility_debug_console) 220endif() 221if(${MCUX_DEVICE} STREQUAL "MKM33ZA5") 222 include(utility_debug_console) 223endif() 224if(${MCUX_DEVICE} STREQUAL "MIMXRT1011") 225 include(utility_debug_console) 226endif() 227if(${MCUX_DEVICE} STREQUAL "LPC54005") 228 include(utility_debug_console) 229endif() 230if(${MCUX_DEVICE} STREQUAL "LPC55S28") 231 include(utility_debug_console) 232endif() 233if(${MCUX_DEVICE} STREQUAL "MKE14Z4") 234 include(utility_debug_console) 235endif() 236if(${MCUX_DEVICE} STREQUAL "MIMXRT533S_cm33") 237 include(utility_debug_console) 238endif() 239if(${MCUX_DEVICE} STREQUAL "LPC55S14") 240 include(utility_debug_console) 241endif() 242if(${MCUX_DEVICE} STREQUAL "MKV31F25612") 243 include(utility_debug_console) 244endif() 245if(${MCUX_DEVICE} STREQUAL "MKV30F12810") 246 include(utility_debug_console) 247endif() 248if(${MCUX_DEVICE} STREQUAL "LPC55S26") 249 include(utility_debug_console) 250endif() 251if(${MCUX_DEVICE} STREQUAL "K32L2A41A") 252 include(utility_debug_console) 253endif() 254if(${MCUX_DEVICE} STREQUAL "LPC54608") 255 include(utility_debug_console) 256endif() 257if(${MCUX_DEVICE} STREQUAL "MIMXRT685S_cm33") 258 include(utility_debug_console) 259endif() 260if(${MCUX_DEVICE} STREQUAL "MIMXRT595S_cm33") 261 include(utility_debug_console) 262endif() 263if(${MCUX_DEVICE} STREQUAL "MIMXRT1172_cm7") 264 include(utility_debug_console) 265endif() 266if(${MCUX_DEVICE} STREQUAL "MIMXRT1015") 267 include(utility_debug_console) 268endif() 269if(${MCUX_DEVICE} STREQUAL "MK64F12") 270 include(utility_debug_console) 271endif() 272if(${MCUX_DEVICE} STREQUAL "MK66F18") 273 include(utility_debug_console) 274endif() 275 276