1include_guard(GLOBAL) 2 3 4if (CONFIG_USE_device_MIMXRT595S_startup) 5# Add set(CONFIG_USE_device_MIMXRT595S_startup true) in config.cmake to use this component 6 7message("device_MIMXRT595S_startup component is included from ${CMAKE_CURRENT_LIST_FILE}.") 8 9if(CONFIG_TOOLCHAIN STREQUAL armgcc AND CONFIG_CORE STREQUAL cm33 AND CONFIG_CORE_ID STREQUAL cm33) 10 target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 11 ${CMAKE_CURRENT_LIST_DIR}/./gcc/startup_MIMXRT595S_cm33.S 12 ) 13endif() 14 15if(CONFIG_TOOLCHAIN STREQUAL mcux AND CONFIG_CORE STREQUAL cm33 AND CONFIG_CORE_ID STREQUAL cm33) 16 target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 17 ${CMAKE_CURRENT_LIST_DIR}/./mcuxpresso/startup_mimxrt595s_cm33.c 18 ${CMAKE_CURRENT_LIST_DIR}/./mcuxpresso/startup_mimxrt595s_cm33.cpp 19 ) 20endif() 21 22 23endif() 24 25 26if (CONFIG_USE_middleware_baremetal) 27# Add set(CONFIG_USE_middleware_baremetal true) in config.cmake to use this component 28 29message("middleware_baremetal component is included from ${CMAKE_CURRENT_LIST_FILE}.") 30 31if(CONFIG_USE_COMPONENT_CONFIGURATION) 32 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 33 34 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 35 -DSDK_OS_BAREMETAL 36 ) 37 38endif() 39 40 41endif() 42 43 44if (CONFIG_USE_RTE_Device) 45# Add set(CONFIG_USE_RTE_Device true) in config.cmake to use this component 46 47message("RTE_Device component is included from ${CMAKE_CURRENT_LIST_FILE}.") 48 49add_config_file(${CMAKE_CURRENT_LIST_DIR}/template/RTE_Device.h "" RTE_Device.MIMXRT595S) 50 51target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 52 ${CMAKE_CURRENT_LIST_DIR}/template/. 53) 54 55 56endif() 57 58 59if (CONFIG_USE_utilities_misc_utilities) 60# Add set(CONFIG_USE_utilities_misc_utilities true) in config.cmake to use this component 61 62message("utilities_misc_utilities component is included from ${CMAKE_CURRENT_LIST_FILE}.") 63 64if(CONFIG_TOOLCHAIN STREQUAL armgcc) 65 target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 66 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/misc_utilities/fsl_sbrk.c 67 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/misc_utilities/fsl_syscall_stub.c 68 ) 69endif() 70 71if(CONFIG_CORE STREQUAL cm33 AND (CONFIG_TOOLCHAIN STREQUAL armgcc OR CONFIG_TOOLCHAIN STREQUAL mcux)) 72 target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 73 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/misc_utilities/fsl_memcpy.S 74 ) 75endif() 76 77 78endif() 79 80 81if (CONFIG_USE_driver_nand_flash-common) 82# Add set(CONFIG_USE_driver_nand_flash-common true) in config.cmake to use this component 83 84message("driver_nand_flash-common component is included from ${CMAKE_CURRENT_LIST_FILE}.") 85 86target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 87 ${CMAKE_CURRENT_LIST_DIR}/../../components/flash/nand/. 88) 89 90 91endif() 92 93 94if (CONFIG_USE_driver_nor_flash-common) 95# Add set(CONFIG_USE_driver_nor_flash-common true) in config.cmake to use this component 96 97message("driver_nor_flash-common component is included from ${CMAKE_CURRENT_LIST_FILE}.") 98 99target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 100 ${CMAKE_CURRENT_LIST_DIR}/../../components/flash/nor/. 101) 102 103 104endif() 105 106 107if (CONFIG_USE_component_mflash_common) 108# Add set(CONFIG_USE_component_mflash_common true) in config.cmake to use this component 109 110message("component_mflash_common component is included from ${CMAKE_CURRENT_LIST_FILE}.") 111 112target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 113 ${CMAKE_CURRENT_LIST_DIR}/../../components/flash/mflash/. 114) 115 116 117endif() 118 119 120if (CONFIG_USE_component_wifi_bt_module_tx_pwr_limits) 121# Add set(CONFIG_USE_component_wifi_bt_module_tx_pwr_limits true) in config.cmake to use this component 122 123message("component_wifi_bt_module_tx_pwr_limits component is included from ${CMAKE_CURRENT_LIST_FILE}.") 124 125target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 126 ${CMAKE_CURRENT_LIST_DIR}/../../components/wifi_bt_module/AzureWave/tx_pwr_limits 127 ${CMAKE_CURRENT_LIST_DIR}/../../components/wifi_bt_module/Murata/tx_pwr_limits 128) 129 130 131endif() 132 133 134if (CONFIG_USE_DEVICES_Project_Template_MIMXRT595S) 135# Add set(CONFIG_USE_DEVICES_Project_Template_MIMXRT595S true) in config.cmake to use this component 136 137message("DEVICES_Project_Template_MIMXRT595S component is included from ${CMAKE_CURRENT_LIST_FILE}.") 138 139if(CONFIG_USE_component_usart_adapter AND (CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_device_MIMXRT595S_startup AND CONFIG_USE_driver_cache_cache64 AND CONFIG_USE_driver_clock AND CONFIG_USE_driver_common AND CONFIG_USE_driver_flexcomm_usart AND CONFIG_USE_driver_flexspi AND CONFIG_USE_driver_lpc_gpio AND CONFIG_USE_driver_lpc_iopctl AND CONFIG_USE_driver_power AND CONFIG_USE_driver_reset AND ((CONFIG_USE_component_serial_manager AND CONFIG_USE_utility_assert AND CONFIG_USE_utility_debug_console) OR (CONFIG_USE_utility_assert_lite AND CONFIG_USE_utility_debug_console_lite))) 140 141add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/board.h "" DEVICES_Project_Template_MIMXRT595S.MIMXRT595S) 142add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/board.c "" DEVICES_Project_Template_MIMXRT595S.MIMXRT595S) 143add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/clock_config.h "" DEVICES_Project_Template_MIMXRT595S.MIMXRT595S) 144add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/clock_config.c "" DEVICES_Project_Template_MIMXRT595S.MIMXRT595S) 145add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/pin_mux.h "" DEVICES_Project_Template_MIMXRT595S.MIMXRT595S) 146add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/pin_mux.c "" DEVICES_Project_Template_MIMXRT595S.MIMXRT595S) 147add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/peripherals.h "" DEVICES_Project_Template_MIMXRT595S.MIMXRT595S) 148add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/peripherals.c "" DEVICES_Project_Template_MIMXRT595S.MIMXRT595S) 149 150target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 151 ${CMAKE_CURRENT_LIST_DIR}/project_template/. 152) 153 154else() 155 156message(SEND_ERROR "DEVICES_Project_Template_MIMXRT595S.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 157 158endif() 159 160endif() 161 162 163if (CONFIG_USE_driver_flash_config_evkmimxrt595) 164# Add set(CONFIG_USE_driver_flash_config_evkmimxrt595 true) in config.cmake to use this component 165 166message("driver_flash_config_evkmimxrt595 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 167 168if((CONFIG_BOARD STREQUAL evkmimxrt595) AND CONFIG_USE_driver_iap) 169 170target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 171 ${CMAKE_CURRENT_LIST_DIR}/../../boards/evkmimxrt595/flash_config/flash_config.c 172) 173 174target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 175 ${CMAKE_CURRENT_LIST_DIR}/../../boards/evkmimxrt595/flash_config/. 176) 177 178if(CONFIG_USE_COMPONENT_CONFIGURATION) 179 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 180 181 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 182 -DBOOT_HEADER_ENABLE=1 183 ) 184 185endif() 186 187else() 188 189message(SEND_ERROR "driver_flash_config_evkmimxrt595.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 190 191endif() 192 193endif() 194 195 196if (CONFIG_USE_driver_iap) 197# Add set(CONFIG_USE_driver_iap true) in config.cmake to use this component 198 199message("driver_iap component is included from ${CMAKE_CURRENT_LIST_FILE}.") 200 201if(CONFIG_USE_driver_common) 202 203target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 204 ${CMAKE_CURRENT_LIST_DIR}/drivers/fsl_iap.c 205) 206 207target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 208 ${CMAKE_CURRENT_LIST_DIR}/drivers/. 209) 210 211else() 212 213message(SEND_ERROR "driver_iap.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 214 215endif() 216 217endif() 218 219 220if (CONFIG_USE_device_MIMXRT595S_CMSIS) 221# Add set(CONFIG_USE_device_MIMXRT595S_CMSIS true) in config.cmake to use this component 222 223message("device_MIMXRT595S_CMSIS component is included from ${CMAKE_CURRENT_LIST_FILE}.") 224 225if(CONFIG_USE_CMSIS_Include_core_cm AND (CONFIG_DEVICE_ID STREQUAL MIMXRT595S)) 226 227if(CONFIG_CORE STREQUAL cm33 AND CONFIG_CORE_ID STREQUAL cm33) 228 target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 229 ${CMAKE_CURRENT_LIST_DIR}/./system_MIMXRT595S_cm33.c 230 ) 231endif() 232 233if(CONFIG_CORE STREQUAL cm33) 234target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 235 ${CMAKE_CURRENT_LIST_DIR}/./. 236) 237endif() 238 239else() 240 241message(SEND_ERROR "device_MIMXRT595S_CMSIS.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 242 243endif() 244 245endif() 246 247 248if (CONFIG_USE_device_MIMXRT595S_DSP) 249# Add set(CONFIG_USE_device_MIMXRT595S_DSP true) in config.cmake to use this component 250 251message("device_MIMXRT595S_DSP component is included from ${CMAKE_CURRENT_LIST_FILE}.") 252 253if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S)) 254 255if(CONFIG_TOOLCHAIN STREQUAL xcc) 256 target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 257 ${CMAKE_CURRENT_LIST_DIR}/./system_MIMXRT595S_dsp.c 258 ) 259endif() 260 261if(CONFIG_TOOLCHAIN STREQUAL xcc) 262target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 263 ${CMAKE_CURRENT_LIST_DIR}/./. 264) 265endif() 266 267else() 268 269message(SEND_ERROR "device_MIMXRT595S_DSP.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 270 271endif() 272 273endif() 274 275 276if (CONFIG_USE_driver_pca9420) 277# Add set(CONFIG_USE_driver_pca9420 true) in config.cmake to use this component 278 279message("driver_pca9420 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 280 281if(CONFIG_USE_driver_power AND CONFIG_USE_driver_common AND (CONFIG_USE_driver_flexcomm_i2c)) 282 283target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 284 ${CMAKE_CURRENT_LIST_DIR}/../../components/pca9420/fsl_pca9420.c 285) 286 287target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 288 ${CMAKE_CURRENT_LIST_DIR}/../../components/pca9420/. 289) 290 291if(CONFIG_USE_COMPONENT_CONFIGURATION) 292 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 293 294 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 295 -DSDK_I2C_BASED_COMPONENT_USED=1 296 ) 297 298endif() 299 300else() 301 302message(SEND_ERROR "driver_pca9420.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 303 304endif() 305 306endif() 307 308 309if (CONFIG_USE_driver_utick) 310# Add set(CONFIG_USE_driver_utick true) in config.cmake to use this component 311 312message("driver_utick component is included from ${CMAKE_CURRENT_LIST_FILE}.") 313 314if(CONFIG_USE_driver_power AND (CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 315 316target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 317 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/utick/fsl_utick.c 318) 319 320target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 321 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/utick/. 322) 323 324else() 325 326message(SEND_ERROR "driver_utick.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 327 328endif() 329 330endif() 331 332 333if (CONFIG_USE_driver_dsp) 334# Add set(CONFIG_USE_driver_dsp true) in config.cmake to use this component 335 336message("driver_dsp component is included from ${CMAKE_CURRENT_LIST_FILE}.") 337 338if(CONFIG_USE_driver_power AND CONFIG_USE_driver_common AND (CONFIG_DEVICE_ID STREQUAL MIMXRT595S)) 339 340target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 341 ${CMAKE_CURRENT_LIST_DIR}/drivers/fsl_dsp.c 342) 343 344target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 345 ${CMAKE_CURRENT_LIST_DIR}/drivers/. 346) 347 348else() 349 350message(SEND_ERROR "driver_dsp.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 351 352endif() 353 354endif() 355 356 357if (CONFIG_USE_driver_clock) 358# Add set(CONFIG_USE_driver_clock true) in config.cmake to use this component 359 360message("driver_clock component is included from ${CMAKE_CURRENT_LIST_FILE}.") 361 362if(CONFIG_USE_driver_common) 363 364target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 365 ${CMAKE_CURRENT_LIST_DIR}/drivers/fsl_clock.c 366) 367 368target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 369 ${CMAKE_CURRENT_LIST_DIR}/drivers/. 370) 371 372else() 373 374message(SEND_ERROR "driver_clock.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 375 376endif() 377 378endif() 379 380 381if (CONFIG_USE_driver_power) 382# Add set(CONFIG_USE_driver_power true) in config.cmake to use this component 383 384message("driver_power component is included from ${CMAKE_CURRENT_LIST_FILE}.") 385 386if(CONFIG_USE_driver_common AND (CONFIG_DEVICE_ID STREQUAL MIMXRT595S)) 387 388target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 389 ${CMAKE_CURRENT_LIST_DIR}/drivers/fsl_power.c 390) 391 392target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 393 ${CMAKE_CURRENT_LIST_DIR}/drivers/. 394) 395 396else() 397 398message(SEND_ERROR "driver_power.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 399 400endif() 401 402endif() 403 404 405if (CONFIG_USE_component_serial_manager_uart) 406# Add set(CONFIG_USE_component_serial_manager_uart true) in config.cmake to use this component 407 408message("component_serial_manager_uart component is included from ${CMAKE_CURRENT_LIST_FILE}.") 409 410if(CONFIG_USE_component_usart_adapter AND CONFIG_USE_component_serial_manager AND (CONFIG_USE_driver_flexcomm_usart)) 411 412target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 413 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/fsl_component_serial_port_uart.c 414) 415 416target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 417 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/. 418) 419 420if(CONFIG_USE_COMPONENT_CONFIGURATION) 421 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 422 423 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 424 -DSERIAL_PORT_TYPE_UART=1 425 ) 426 427endif() 428 429else() 430 431message(SEND_ERROR "component_serial_manager_uart.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 432 433endif() 434 435endif() 436 437 438if (CONFIG_USE_utility_debug_console_lite) 439# Add set(CONFIG_USE_utility_debug_console_lite true) in config.cmake to use this component 440 441message("utility_debug_console_lite component is included from ${CMAKE_CURRENT_LIST_FILE}.") 442 443if(CONFIG_USE_component_usart_adapter AND (CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 444 445target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 446 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/str/fsl_str.c 447 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/debug_console_lite/fsl_debug_console.c 448) 449 450target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 451 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/str 452 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/debug_console_lite 453) 454 455else() 456 457message(SEND_ERROR "utility_debug_console_lite.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 458 459endif() 460 461endif() 462 463 464if (CONFIG_USE_driver_dmic_dma) 465# Add set(CONFIG_USE_driver_dmic_dma true) in config.cmake to use this component 466 467message("driver_dmic_dma component is included from ${CMAKE_CURRENT_LIST_FILE}.") 468 469if(CONFIG_USE_driver_lpc_dma AND CONFIG_USE_driver_dmic) 470 471target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 472 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/dmic/fsl_dmic_dma.c 473) 474 475target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 476 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/dmic/. 477) 478 479else() 480 481message(SEND_ERROR "driver_dmic_dma.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 482 483endif() 484 485endif() 486 487 488if (CONFIG_USE_driver_flexio_mculcd_smartdma) 489# Add set(CONFIG_USE_driver_flexio_mculcd_smartdma true) in config.cmake to use this component 490 491message("driver_flexio_mculcd_smartdma component is included from ${CMAKE_CURRENT_LIST_FILE}.") 492 493if(CONFIG_USE_driver_lpc_smartdma AND CONFIG_USE_driver_flexio_mculcd) 494 495target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 496 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/mculcd/fsl_flexio_mculcd_smartdma.c 497) 498 499target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 500 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/mculcd/. 501) 502 503else() 504 505message(SEND_ERROR "driver_flexio_mculcd_smartdma.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 506 507endif() 508 509endif() 510 511 512if (CONFIG_USE_driver_flexspi_dma) 513# Add set(CONFIG_USE_driver_flexspi_dma true) in config.cmake to use this component 514 515message("driver_flexspi_dma component is included from ${CMAKE_CURRENT_LIST_FILE}.") 516 517if(CONFIG_USE_driver_lpc_dma AND CONFIG_USE_driver_flexspi) 518 519target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 520 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexspi/fsl_flexspi_dma.c 521) 522 523target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 524 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexspi/. 525) 526 527else() 528 529message(SEND_ERROR "driver_flexspi_dma.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 530 531endif() 532 533endif() 534 535 536if (CONFIG_USE_driver_flexcomm_i2c_dma) 537# Add set(CONFIG_USE_driver_flexcomm_i2c_dma true) in config.cmake to use this component 538 539message("driver_flexcomm_i2c_dma component is included from ${CMAKE_CURRENT_LIST_FILE}.") 540 541if(CONFIG_USE_driver_lpc_dma AND CONFIG_USE_driver_flexcomm AND CONFIG_USE_driver_common AND CONFIG_USE_driver_flexcomm_i2c) 542 543target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 544 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/i2c/fsl_i2c_dma.c 545) 546 547target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 548 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/i2c/. 549) 550 551else() 552 553message(SEND_ERROR "driver_flexcomm_i2c_dma.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 554 555endif() 556 557endif() 558 559 560if (CONFIG_USE_driver_flexcomm_i2s_dma) 561# Add set(CONFIG_USE_driver_flexcomm_i2s_dma true) in config.cmake to use this component 562 563message("driver_flexcomm_i2s_dma component is included from ${CMAKE_CURRENT_LIST_FILE}.") 564 565if(CONFIG_USE_driver_lpc_dma AND CONFIG_USE_driver_flexcomm_i2s) 566 567target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 568 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/i2s/fsl_i2s_dma.c 569) 570 571target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 572 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/i2s/. 573) 574 575else() 576 577message(SEND_ERROR "driver_flexcomm_i2s_dma.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 578 579endif() 580 581endif() 582 583 584if (CONFIG_USE_driver_mipi_dsi_smartdma) 585# Add set(CONFIG_USE_driver_mipi_dsi_smartdma true) in config.cmake to use this component 586 587message("driver_mipi_dsi_smartdma component is included from ${CMAKE_CURRENT_LIST_FILE}.") 588 589if(CONFIG_USE_driver_lpc_smartdma AND CONFIG_USE_driver_mipi_dsi) 590 591target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 592 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/mipi_dsi/fsl_mipi_dsi_smartdma.c 593) 594 595target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 596 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/mipi_dsi/. 597) 598 599else() 600 601message(SEND_ERROR "driver_mipi_dsi_smartdma.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 602 603endif() 604 605endif() 606 607 608if (CONFIG_USE_driver_flexcomm_spi_dma) 609# Add set(CONFIG_USE_driver_flexcomm_spi_dma true) in config.cmake to use this component 610 611message("driver_flexcomm_spi_dma component is included from ${CMAKE_CURRENT_LIST_FILE}.") 612 613if(CONFIG_USE_driver_lpc_dma AND CONFIG_USE_driver_flexcomm AND CONFIG_USE_driver_flexcomm_spi) 614 615target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 616 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/spi/fsl_spi_dma.c 617) 618 619target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 620 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/spi/. 621) 622 623else() 624 625message(SEND_ERROR "driver_flexcomm_spi_dma.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 626 627endif() 628 629endif() 630 631 632if (CONFIG_USE_driver_flexcomm_usart_dma) 633# Add set(CONFIG_USE_driver_flexcomm_usart_dma true) in config.cmake to use this component 634 635message("driver_flexcomm_usart_dma component is included from ${CMAKE_CURRENT_LIST_FILE}.") 636 637if(CONFIG_USE_driver_lpc_dma AND CONFIG_USE_driver_flexcomm AND CONFIG_USE_driver_flexcomm_usart) 638 639target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 640 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/usart/fsl_usart_dma.c 641) 642 643target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 644 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/usart/. 645) 646 647else() 648 649message(SEND_ERROR "driver_flexcomm_usart_dma.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 650 651endif() 652 653endif() 654 655 656if (CONFIG_USE_driver_memory) 657# Add set(CONFIG_USE_driver_memory true) in config.cmake to use this component 658 659message("driver_memory component is included from ${CMAKE_CURRENT_LIST_FILE}.") 660 661if(CONFIG_USE_driver_common AND (CONFIG_DEVICE_ID STREQUAL MIMXRT595S)) 662 663target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 664 ${CMAKE_CURRENT_LIST_DIR}/drivers/. 665) 666 667else() 668 669message(SEND_ERROR "driver_memory.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 670 671endif() 672 673endif() 674 675 676if (CONFIG_USE_driver_inputmux_connections) 677# Add set(CONFIG_USE_driver_inputmux_connections true) in config.cmake to use this component 678 679message("driver_inputmux_connections component is included from ${CMAKE_CURRENT_LIST_FILE}.") 680 681if(CONFIG_USE_driver_common AND (CONFIG_DEVICE_ID STREQUAL MIMXRT595S)) 682 683target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 684 ${CMAKE_CURRENT_LIST_DIR}/drivers/. 685) 686 687else() 688 689message(SEND_ERROR "driver_inputmux_connections.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 690 691endif() 692 693endif() 694 695 696if (CONFIG_USE_driver_common) 697# Add set(CONFIG_USE_driver_common true) in config.cmake to use this component 698 699message("driver_common component is included from ${CMAKE_CURRENT_LIST_FILE}.") 700 701if(CONFIG_USE_driver_reset AND CONFIG_USE_driver_clock AND CONFIG_USE_device_MIMXRT595S_CMSIS) 702 703target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 704 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/common/fsl_common.c 705) 706 707if(CONFIG_CORE STREQUAL cm33) 708 target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 709 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/common/fsl_common_arm.c 710 ) 711endif() 712 713if(CONFIG_CORE STREQUAL dsp) 714 target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 715 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/common/fsl_common_dsp.c 716 ) 717endif() 718 719target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 720 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/common/. 721) 722 723else() 724 725message(SEND_ERROR "driver_common.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 726 727endif() 728 729endif() 730 731 732if (CONFIG_USE_utility_assert) 733# Add set(CONFIG_USE_utility_assert true) in config.cmake to use this component 734 735message("utility_assert component is included from ${CMAKE_CURRENT_LIST_FILE}.") 736 737if(CONFIG_USE_utility_debug_console) 738 739target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 740 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/assert/fsl_assert.c 741) 742 743else() 744 745message(SEND_ERROR "utility_assert.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 746 747endif() 748 749endif() 750 751 752if (CONFIG_USE_utility_assert_lite) 753# Add set(CONFIG_USE_utility_assert_lite true) in config.cmake to use this component 754 755message("utility_assert_lite component is included from ${CMAKE_CURRENT_LIST_FILE}.") 756 757if(CONFIG_USE_utility_debug_console_lite) 758 759target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 760 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/assert/fsl_assert.c 761) 762 763else() 764 765message(SEND_ERROR "utility_assert_lite.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 766 767endif() 768 769endif() 770 771 772if (CONFIG_USE_utility_str) 773# Add set(CONFIG_USE_utility_str true) in config.cmake to use this component 774 775message("utility_str component is included from ${CMAKE_CURRENT_LIST_FILE}.") 776 777if(CONFIG_USE_driver_common) 778 779target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 780 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/str/fsl_str.c 781) 782 783target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 784 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/str 785) 786 787else() 788 789message(SEND_ERROR "utility_str.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 790 791endif() 792 793endif() 794 795 796if (CONFIG_USE_utility_debug_console) 797# Add set(CONFIG_USE_utility_debug_console true) in config.cmake to use this component 798 799message("utility_debug_console component is included from ${CMAKE_CURRENT_LIST_FILE}.") 800 801if(CONFIG_USE_component_serial_manager AND CONFIG_USE_driver_common) 802 803target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 804 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/str/fsl_str.c 805 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/debug_console/fsl_debug_console.c 806) 807 808target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 809 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/str 810 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/debug_console 811) 812 813else() 814 815message(SEND_ERROR "utility_debug_console.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 816 817endif() 818 819endif() 820 821 822if (CONFIG_USE_driver_cmsis_flexcomm_i2c) 823# Add set(CONFIG_USE_driver_cmsis_flexcomm_i2c true) in config.cmake to use this component 824 825message("driver_cmsis_flexcomm_i2c component is included from ${CMAKE_CURRENT_LIST_FILE}.") 826 827if(CONFIG_USE_driver_flexcomm_i2c_dma AND CONFIG_USE_CMSIS_Driver_Include_I2C AND CONFIG_USE_RTE_Device) 828 829target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 830 ${CMAKE_CURRENT_LIST_DIR}/../../cmsis_drivers/flexcomm/fsl_i2c_cmsis.c 831) 832 833target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 834 ${CMAKE_CURRENT_LIST_DIR}/../../cmsis_drivers/flexcomm/. 835) 836 837else() 838 839message(SEND_ERROR "driver_cmsis_flexcomm_i2c.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 840 841endif() 842 843endif() 844 845 846if (CONFIG_USE_driver_cmsis_flexcomm_spi) 847# Add set(CONFIG_USE_driver_cmsis_flexcomm_spi true) in config.cmake to use this component 848 849message("driver_cmsis_flexcomm_spi component is included from ${CMAKE_CURRENT_LIST_FILE}.") 850 851if(CONFIG_USE_driver_flexcomm_spi_dma AND CONFIG_USE_CMSIS_Driver_Include_SPI AND CONFIG_USE_RTE_Device) 852 853target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 854 ${CMAKE_CURRENT_LIST_DIR}/../../cmsis_drivers/flexcomm/fsl_spi_cmsis.c 855) 856 857target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 858 ${CMAKE_CURRENT_LIST_DIR}/../../cmsis_drivers/flexcomm/. 859) 860 861else() 862 863message(SEND_ERROR "driver_cmsis_flexcomm_spi.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 864 865endif() 866 867endif() 868 869 870if (CONFIG_USE_driver_cmsis_flexcomm_usart) 871# Add set(CONFIG_USE_driver_cmsis_flexcomm_usart true) in config.cmake to use this component 872 873message("driver_cmsis_flexcomm_usart component is included from ${CMAKE_CURRENT_LIST_FILE}.") 874 875if(CONFIG_USE_driver_flexcomm_usart_dma AND CONFIG_USE_CMSIS_Driver_Include_USART AND CONFIG_USE_RTE_Device) 876 877target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 878 ${CMAKE_CURRENT_LIST_DIR}/../../cmsis_drivers/flexcomm/fsl_usart_cmsis.c 879) 880 881target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 882 ${CMAKE_CURRENT_LIST_DIR}/../../cmsis_drivers/flexcomm/. 883) 884 885else() 886 887message(SEND_ERROR "driver_cmsis_flexcomm_usart.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 888 889endif() 890 891endif() 892 893 894if (CONFIG_USE_component_audio_flexcomm_i2s_dma_adapter) 895# Add set(CONFIG_USE_component_audio_flexcomm_i2s_dma_adapter true) in config.cmake to use this component 896 897message("component_audio_flexcomm_i2s_dma_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 898 899if(CONFIG_USE_driver_common AND CONFIG_USE_driver_flexcomm_i2s_dma) 900 901target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 902 ${CMAKE_CURRENT_LIST_DIR}/../../components/audio/fsl_adapter_flexcomm_i2s.c 903) 904 905target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 906 ${CMAKE_CURRENT_LIST_DIR}/../../components/audio/. 907) 908 909else() 910 911message(SEND_ERROR "component_audio_flexcomm_i2s_dma_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 912 913endif() 914 915endif() 916 917 918if (CONFIG_USE_component_button) 919# Add set(CONFIG_USE_component_button true) in config.cmake to use this component 920 921message("component_button component is included from ${CMAKE_CURRENT_LIST_FILE}.") 922 923if(CONFIG_USE_driver_common AND CONFIG_USE_component_timer_manager AND (CONFIG_USE_component_lpc_gpio_adapter OR CONFIG_USE_component_rt_gpio_adapter)) 924 925target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 926 ${CMAKE_CURRENT_LIST_DIR}/../../components/button/fsl_component_button.c 927) 928 929target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 930 ${CMAKE_CURRENT_LIST_DIR}/../../components/button/. 931) 932 933else() 934 935message(SEND_ERROR "component_button.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 936 937endif() 938 939endif() 940 941 942if (CONFIG_USE_driver_codec) 943# Add set(CONFIG_USE_driver_codec true) in config.cmake to use this component 944 945message("driver_codec component is included from ${CMAKE_CURRENT_LIST_FILE}.") 946 947if(CONFIG_USE_driver_common AND (CONFIG_USE_component_wm8904_adapter OR CONFIG_USE_component_tfa9896_adapter OR CONFIG_USE_component_cs42888_adapter OR CONFIG_USE_component_cs42448_adapter OR CONFIG_USE_component_codec_adapters)) 948 949target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 950 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/fsl_codec_common.c 951) 952 953target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 954 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/. 955) 956 957if(CONFIG_USE_COMPONENT_CONFIGURATION) 958 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 959 960 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 961 -DSDK_I2C_BASED_COMPONENT_USED=1 962 ) 963 964endif() 965 966else() 967 968message(SEND_ERROR "driver_codec.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 969 970endif() 971 972endif() 973 974 975if (CONFIG_USE_component_codec_adapters) 976# Add set(CONFIG_USE_component_codec_adapters true) in config.cmake to use this component 977 978message("component_codec_adapters component is included from ${CMAKE_CURRENT_LIST_FILE}.") 979 980if((CONFIG_USE_driver_codec AND CONFIG_USE_component_wm8904_adapter) OR (CONFIG_USE_driver_codec AND CONFIG_USE_component_tfa9896_adapter) OR (CONFIG_USE_driver_codec AND CONFIG_USE_component_cs42888_adapter) OR (CONFIG_USE_driver_common AND CONFIG_USE_component_cs42448_adapter)) 981 982target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 983 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port/fsl_codec_adapter.c 984) 985 986target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 987 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port 988) 989 990if(CONFIG_USE_COMPONENT_CONFIGURATION) 991 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 992 993 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 994 -DCODEC_MULTI_ADAPTERS=1 995 ) 996 997endif() 998 999else() 1000 1001message(SEND_ERROR "component_codec_adapters.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1002 1003endif() 1004 1005endif() 1006 1007 1008if (CONFIG_USE_component_wm8904_adapter) 1009# Add set(CONFIG_USE_component_wm8904_adapter true) in config.cmake to use this component 1010 1011message("component_wm8904_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1012 1013if(CONFIG_USE_driver_wm8904 AND CONFIG_USE_driver_codec) 1014 1015target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1016 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port/wm8904/fsl_codec_wm8904_adapter.c 1017) 1018 1019target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1020 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port/wm8904 1021 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port 1022) 1023 1024else() 1025 1026message(SEND_ERROR "component_wm8904_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1027 1028endif() 1029 1030endif() 1031 1032 1033if (CONFIG_USE_component_cs42888_adapter) 1034# Add set(CONFIG_USE_component_cs42888_adapter true) in config.cmake to use this component 1035 1036message("component_cs42888_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1037 1038if(CONFIG_USE_driver_cs42888 AND CONFIG_USE_driver_codec) 1039 1040target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1041 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port/cs42888/fsl_codec_cs42888_adapter.c 1042) 1043 1044target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1045 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port/cs42888 1046 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port 1047) 1048 1049else() 1050 1051message(SEND_ERROR "component_cs42888_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1052 1053endif() 1054 1055endif() 1056 1057 1058if (CONFIG_USE_component_cs42448_adapter) 1059# Add set(CONFIG_USE_component_cs42448_adapter true) in config.cmake to use this component 1060 1061message("component_cs42448_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1062 1063if(CONFIG_USE_driver_cs42448 AND CONFIG_USE_driver_codec) 1064 1065target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1066 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port/cs42448/fsl_codec_cs42448_adapter.c 1067) 1068 1069target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1070 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port/cs42448 1071 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port 1072) 1073 1074else() 1075 1076message(SEND_ERROR "component_cs42448_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1077 1078endif() 1079 1080endif() 1081 1082 1083if (CONFIG_USE_component_tfa9896_adapter) 1084# Add set(CONFIG_USE_component_tfa9896_adapter true) in config.cmake to use this component 1085 1086message("component_tfa9896_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1087 1088if(CONFIG_USE_driver_tfa9896 AND CONFIG_USE_driver_codec) 1089 1090target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1091 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port/tfa9896/fsl_codec_tfa9896_adapter.c 1092) 1093 1094target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1095 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port/tfa9896 1096 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port 1097) 1098 1099else() 1100 1101message(SEND_ERROR "component_tfa9896_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1102 1103endif() 1104 1105endif() 1106 1107 1108if (CONFIG_USE_component_codec_i2c) 1109# Add set(CONFIG_USE_component_codec_i2c true) in config.cmake to use this component 1110 1111message("component_codec_i2c component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1112 1113if(CONFIG_USE_driver_common AND (CONFIG_USE_component_flexcomm_i2c_adapter OR CONFIG_USE_component_i3c_adapter)) 1114 1115target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1116 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/i2c/fsl_codec_i2c.c 1117) 1118 1119target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1120 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/i2c/. 1121) 1122 1123if(CONFIG_USE_COMPONENT_CONFIGURATION) 1124 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 1125 1126 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 1127 -DSDK_I2C_BASED_COMPONENT_USED=1 1128 ) 1129 1130endif() 1131 1132else() 1133 1134message(SEND_ERROR "component_codec_i2c.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1135 1136endif() 1137 1138endif() 1139 1140 1141if (CONFIG_USE_component_lpc_crc_adapter) 1142# Add set(CONFIG_USE_component_lpc_crc_adapter true) in config.cmake to use this component 1143 1144message("component_lpc_crc_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1145 1146if(CONFIG_USE_driver_common AND CONFIG_USE_driver_lpc_crc) 1147 1148target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1149 ${CMAKE_CURRENT_LIST_DIR}/../../components/crc/fsl_adapter_lpc_crc.c 1150) 1151 1152target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1153 ${CMAKE_CURRENT_LIST_DIR}/../../components/crc/. 1154) 1155 1156else() 1157 1158message(SEND_ERROR "component_lpc_crc_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1159 1160endif() 1161 1162endif() 1163 1164 1165if (CONFIG_USE_component_software_crc_adapter) 1166# Add set(CONFIG_USE_component_software_crc_adapter true) in config.cmake to use this component 1167 1168message("component_software_crc_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1169 1170if(CONFIG_USE_driver_common) 1171 1172target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1173 ${CMAKE_CURRENT_LIST_DIR}/../../components/crc/fsl_adapter_software_crc.c 1174) 1175 1176target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1177 ${CMAKE_CURRENT_LIST_DIR}/../../components/crc/. 1178) 1179 1180else() 1181 1182message(SEND_ERROR "component_software_crc_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1183 1184endif() 1185 1186endif() 1187 1188 1189if (CONFIG_USE_driver_cs42448) 1190# Add set(CONFIG_USE_driver_cs42448 true) in config.cmake to use this component 1191 1192message("driver_cs42448 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1193 1194if(CONFIG_USE_driver_common AND CONFIG_USE_component_codec_i2c) 1195 1196target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1197 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/cs42448/fsl_cs42448.c 1198) 1199 1200target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1201 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/cs42448/. 1202) 1203 1204if(CONFIG_USE_COMPONENT_CONFIGURATION) 1205 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 1206 1207 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 1208 -DSDK_I2C_BASED_COMPONENT_USED=1 1209 -DCODEC_CS42448_ENABLE 1210 ) 1211 1212endif() 1213 1214else() 1215 1216message(SEND_ERROR "driver_cs42448.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1217 1218endif() 1219 1220endif() 1221 1222 1223if (CONFIG_USE_driver_cs42888) 1224# Add set(CONFIG_USE_driver_cs42888 true) in config.cmake to use this component 1225 1226message("driver_cs42888 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1227 1228if(CONFIG_USE_driver_common AND CONFIG_USE_component_codec_i2c) 1229 1230target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1231 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/cs42888/fsl_cs42888.c 1232) 1233 1234target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1235 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/cs42888/. 1236) 1237 1238if(CONFIG_USE_COMPONENT_CONFIGURATION) 1239 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 1240 1241 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 1242 -DSDK_I2C_BASED_COMPONENT_USED=1 1243 -DCODEC_CS42888_ENABLE 1244 ) 1245 1246endif() 1247 1248else() 1249 1250message(SEND_ERROR "driver_cs42888.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1251 1252endif() 1253 1254endif() 1255 1256 1257if (CONFIG_USE_driver_ektf2k) 1258# Add set(CONFIG_USE_driver_ektf2k true) in config.cmake to use this component 1259 1260message("driver_ektf2k component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1261 1262if(CONFIG_USE_driver_common) 1263 1264target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1265 ${CMAKE_CURRENT_LIST_DIR}/../../components/ektf2k/fsl_ektf2k.c 1266) 1267 1268target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1269 ${CMAKE_CURRENT_LIST_DIR}/../../components/ektf2k/. 1270) 1271 1272if(CONFIG_USE_COMPONENT_CONFIGURATION) 1273 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 1274 1275 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 1276 -DSDK_I2C_BASED_COMPONENT_USED=1 1277 ) 1278 1279endif() 1280 1281else() 1282 1283message(SEND_ERROR "driver_ektf2k.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1284 1285endif() 1286 1287endif() 1288 1289 1290if (CONFIG_USE_driver_nand_flash-controller-flexspi) 1291# Add set(CONFIG_USE_driver_nand_flash-controller-flexspi true) in config.cmake to use this component 1292 1293message("driver_nand_flash-controller-flexspi component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1294 1295if(CONFIG_USE_driver_nand_flash-common AND CONFIG_USE_driver_flexspi) 1296 1297target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1298 ${CMAKE_CURRENT_LIST_DIR}/../../components/flash/nand/flexspi/fsl_flexspi_nand_flash.c 1299) 1300 1301target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1302 ${CMAKE_CURRENT_LIST_DIR}/../../components/flash/nand/flexspi/. 1303) 1304 1305else() 1306 1307message(SEND_ERROR "driver_nand_flash-controller-flexspi.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1308 1309endif() 1310 1311endif() 1312 1313 1314if (CONFIG_USE_driver_nor_flash-controller-flexspi) 1315# Add set(CONFIG_USE_driver_nor_flash-controller-flexspi true) in config.cmake to use this component 1316 1317message("driver_nor_flash-controller-flexspi component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1318 1319if(CONFIG_USE_driver_nor_flash-common AND CONFIG_USE_driver_flexspi) 1320 1321target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1322 ${CMAKE_CURRENT_LIST_DIR}/../../components/flash/nor/flexspi/fsl_flexspi_nor_flash.c 1323) 1324 1325target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1326 ${CMAKE_CURRENT_LIST_DIR}/../../components/flash/nor/flexspi/. 1327) 1328 1329else() 1330 1331message(SEND_ERROR "driver_nor_flash-controller-flexspi.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1332 1333endif() 1334 1335endif() 1336 1337 1338if (CONFIG_USE_driver_ft3267) 1339# Add set(CONFIG_USE_driver_ft3267 true) in config.cmake to use this component 1340 1341message("driver_ft3267 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1342 1343if(CONFIG_USE_driver_common) 1344 1345target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1346 ${CMAKE_CURRENT_LIST_DIR}/../../components/ft3267/fsl_ft3267.c 1347) 1348 1349target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1350 ${CMAKE_CURRENT_LIST_DIR}/../../components/ft3267/. 1351) 1352 1353else() 1354 1355message(SEND_ERROR "driver_ft3267.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1356 1357endif() 1358 1359endif() 1360 1361 1362if (CONFIG_USE_driver_ft5406) 1363# Add set(CONFIG_USE_driver_ft5406 true) in config.cmake to use this component 1364 1365message("driver_ft5406 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1366 1367if(CONFIG_USE_driver_common) 1368 1369target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1370 ${CMAKE_CURRENT_LIST_DIR}/../../components/ft5406/fsl_ft5406.c 1371) 1372 1373target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1374 ${CMAKE_CURRENT_LIST_DIR}/../../components/ft5406/. 1375) 1376 1377else() 1378 1379message(SEND_ERROR "driver_ft5406.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1380 1381endif() 1382 1383endif() 1384 1385 1386if (CONFIG_USE_driver_fxos8700cq) 1387# Add set(CONFIG_USE_driver_fxos8700cq true) in config.cmake to use this component 1388 1389message("driver_fxos8700cq component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1390 1391if(CONFIG_USE_driver_common) 1392 1393target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1394 ${CMAKE_CURRENT_LIST_DIR}/../../components/fxos8700cq/fsl_fxos.c 1395) 1396 1397target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1398 ${CMAKE_CURRENT_LIST_DIR}/../../components/fxos8700cq/. 1399) 1400 1401else() 1402 1403message(SEND_ERROR "driver_fxos8700cq.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1404 1405endif() 1406 1407endif() 1408 1409 1410if (CONFIG_USE_component_lpc_gpio_adapter) 1411# Add set(CONFIG_USE_component_lpc_gpio_adapter true) in config.cmake to use this component 1412 1413message("component_lpc_gpio_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1414 1415if(CONFIG_USE_driver_lpc_gpio AND CONFIG_USE_driver_inputmux AND CONFIG_USE_driver_pint) 1416 1417target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1418 ${CMAKE_CURRENT_LIST_DIR}/../../components/gpio/fsl_adapter_lpc_gpio.c 1419) 1420 1421target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1422 ${CMAKE_CURRENT_LIST_DIR}/../../components/gpio/. 1423) 1424 1425else() 1426 1427message(SEND_ERROR "component_lpc_gpio_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1428 1429endif() 1430 1431endif() 1432 1433 1434if (CONFIG_USE_component_rt_gpio_adapter) 1435# Add set(CONFIG_USE_component_rt_gpio_adapter true) in config.cmake to use this component 1436 1437message("component_rt_gpio_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1438 1439if(CONFIG_USE_driver_lpc_gpio AND (CONFIG_BOARD STREQUAL evkmimxrt595)) 1440 1441target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1442 ${CMAKE_CURRENT_LIST_DIR}/../../components/gpio/fsl_adapter_rt_gpio.c 1443) 1444 1445target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1446 ${CMAKE_CURRENT_LIST_DIR}/../../components/gpio/. 1447) 1448 1449else() 1450 1451message(SEND_ERROR "component_rt_gpio_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1452 1453endif() 1454 1455endif() 1456 1457 1458if (CONFIG_USE_driver_gt911) 1459# Add set(CONFIG_USE_driver_gt911 true) in config.cmake to use this component 1460 1461message("driver_gt911 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1462 1463if(CONFIG_USE_driver_common) 1464 1465target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1466 ${CMAKE_CURRENT_LIST_DIR}/../../components/gt911/fsl_gt911.c 1467) 1468 1469target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1470 ${CMAKE_CURRENT_LIST_DIR}/../../components/gt911/. 1471) 1472 1473if(CONFIG_USE_COMPONENT_CONFIGURATION) 1474 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 1475 1476 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 1477 -DSDK_I2C_BASED_COMPONENT_USED=1 1478 ) 1479 1480endif() 1481 1482else() 1483 1484message(SEND_ERROR "driver_gt911.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1485 1486endif() 1487 1488endif() 1489 1490 1491if (CONFIG_USE_component_flexcomm_i2c_adapter) 1492# Add set(CONFIG_USE_component_flexcomm_i2c_adapter true) in config.cmake to use this component 1493 1494message("component_flexcomm_i2c_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1495 1496if(CONFIG_USE_driver_common AND CONFIG_USE_driver_flexcomm_i2c) 1497 1498target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1499 ${CMAKE_CURRENT_LIST_DIR}/../../components/i2c/fsl_adapter_flexcomm_i2c.c 1500) 1501 1502target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1503 ${CMAKE_CURRENT_LIST_DIR}/../../components/i2c/. 1504) 1505 1506else() 1507 1508message(SEND_ERROR "component_flexcomm_i2c_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1509 1510endif() 1511 1512endif() 1513 1514 1515if (CONFIG_USE_component_i3c_adapter) 1516# Add set(CONFIG_USE_component_i3c_adapter true) in config.cmake to use this component 1517 1518message("component_i3c_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1519 1520if(CONFIG_USE_driver_common AND CONFIG_USE_driver_i3c) 1521 1522target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1523 ${CMAKE_CURRENT_LIST_DIR}/../../components/i2c/fsl_adapter_i3c.c 1524) 1525 1526target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1527 ${CMAKE_CURRENT_LIST_DIR}/../../components/i2c/. 1528) 1529 1530else() 1531 1532message(SEND_ERROR "component_i3c_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1533 1534endif() 1535 1536endif() 1537 1538 1539if (CONFIG_USE_component_i3c_bus) 1540# Add set(CONFIG_USE_component_i3c_bus true) in config.cmake to use this component 1541 1542message("component_i3c_bus component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1543 1544if(CONFIG_USE_driver_common AND CONFIG_USE_component_lists) 1545 1546target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1547 ${CMAKE_CURRENT_LIST_DIR}/../../components/i3c_bus/fsl_component_i3c.c 1548) 1549 1550target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1551 ${CMAKE_CURRENT_LIST_DIR}/../../components/i3c_bus/. 1552) 1553 1554else() 1555 1556message(SEND_ERROR "component_i3c_bus.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1557 1558endif() 1559 1560endif() 1561 1562 1563if (CONFIG_USE_component_i3c_bus_adapter) 1564# Add set(CONFIG_USE_component_i3c_bus_adapter true) in config.cmake to use this component 1565 1566message("component_i3c_bus_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1567 1568if(CONFIG_USE_driver_i3c AND CONFIG_USE_component_i3c_bus) 1569 1570target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1571 ${CMAKE_CURRENT_LIST_DIR}/../../components/i3c_bus/fsl_component_i3c_adapter.c 1572) 1573 1574target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1575 ${CMAKE_CURRENT_LIST_DIR}/../../components/i3c_bus/. 1576) 1577 1578else() 1579 1580message(SEND_ERROR "component_i3c_bus_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1581 1582endif() 1583 1584endif() 1585 1586 1587if (CONFIG_USE_component_flexspi_nor_flash_adapter_rt595evk) 1588# Add set(CONFIG_USE_component_flexspi_nor_flash_adapter_rt595evk true) in config.cmake to use this component 1589 1590message("component_flexspi_nor_flash_adapter_rt595evk component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1591 1592if((CONFIG_BOARD STREQUAL evkmimxrt595) AND CONFIG_USE_driver_common AND CONFIG_USE_driver_flexspi) 1593 1594target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1595 ${CMAKE_CURRENT_LIST_DIR}/../../components/internal_flash/octal_flash/RT595/fsl_adapter_flexspi_nor_flash.c 1596) 1597 1598target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1599 ${CMAKE_CURRENT_LIST_DIR}/../../components/internal_flash/. 1600) 1601 1602else() 1603 1604message(SEND_ERROR "component_flexspi_nor_flash_adapter_rt595evk.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1605 1606endif() 1607 1608endif() 1609 1610 1611if (CONFIG_USE_component_led) 1612# Add set(CONFIG_USE_component_led true) in config.cmake to use this component 1613 1614message("component_led component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1615 1616if(CONFIG_USE_driver_common AND CONFIG_USE_component_timer_manager AND (CONFIG_USE_component_lpc_gpio_adapter)) 1617 1618target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1619 ${CMAKE_CURRENT_LIST_DIR}/../../components/led/fsl_component_led.c 1620) 1621 1622target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1623 ${CMAKE_CURRENT_LIST_DIR}/../../components/led/. 1624) 1625 1626else() 1627 1628message(SEND_ERROR "component_led.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1629 1630endif() 1631 1632endif() 1633 1634 1635if (CONFIG_USE_component_lists) 1636# Add set(CONFIG_USE_component_lists true) in config.cmake to use this component 1637 1638message("component_lists component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1639 1640if(CONFIG_USE_driver_common) 1641 1642target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1643 ${CMAKE_CURRENT_LIST_DIR}/../../components/lists/fsl_component_generic_list.c 1644) 1645 1646target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1647 ${CMAKE_CURRENT_LIST_DIR}/../../components/lists/. 1648) 1649 1650else() 1651 1652message(SEND_ERROR "component_lists.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1653 1654endif() 1655 1656endif() 1657 1658 1659if (CONFIG_USE_component_log) 1660# Add set(CONFIG_USE_component_log true) in config.cmake to use this component 1661 1662message("component_log component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1663 1664if(CONFIG_USE_driver_common AND CONFIG_USE_utility_str) 1665 1666target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1667 ${CMAKE_CURRENT_LIST_DIR}/../../components/log/fsl_component_log.c 1668) 1669 1670target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1671 ${CMAKE_CURRENT_LIST_DIR}/../../components/log/. 1672) 1673 1674else() 1675 1676message(SEND_ERROR "component_log.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1677 1678endif() 1679 1680endif() 1681 1682 1683if (CONFIG_USE_component_log_backend_debugconsole) 1684# Add set(CONFIG_USE_component_log_backend_debugconsole true) in config.cmake to use this component 1685 1686message("component_log_backend_debugconsole component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1687 1688if(CONFIG_USE_driver_common AND CONFIG_USE_component_log AND CONFIG_USE_utility_debug_console) 1689 1690target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1691 ${CMAKE_CURRENT_LIST_DIR}/../../components/log/fsl_component_log_backend_debugconsole.c 1692) 1693 1694target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1695 ${CMAKE_CURRENT_LIST_DIR}/../../components/log/. 1696) 1697 1698else() 1699 1700message(SEND_ERROR "component_log_backend_debugconsole.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1701 1702endif() 1703 1704endif() 1705 1706 1707if (CONFIG_USE_component_log_backend_debugconsole_lite) 1708# Add set(CONFIG_USE_component_log_backend_debugconsole_lite true) in config.cmake to use this component 1709 1710message("component_log_backend_debugconsole_lite component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1711 1712if(CONFIG_USE_driver_common AND CONFIG_USE_component_log AND CONFIG_USE_utility_debug_console_lite) 1713 1714target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1715 ${CMAKE_CURRENT_LIST_DIR}/../../components/log/fsl_component_log_backend_debugconsole.c 1716) 1717 1718target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1719 ${CMAKE_CURRENT_LIST_DIR}/../../components/log/. 1720) 1721 1722else() 1723 1724message(SEND_ERROR "component_log_backend_debugconsole_lite.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1725 1726endif() 1727 1728endif() 1729 1730 1731if (CONFIG_USE_component_log_backend_ringbuffer) 1732# Add set(CONFIG_USE_component_log_backend_ringbuffer true) in config.cmake to use this component 1733 1734message("component_log_backend_ringbuffer component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1735 1736if(CONFIG_USE_driver_common AND CONFIG_USE_component_log) 1737 1738target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1739 ${CMAKE_CURRENT_LIST_DIR}/../../components/log/fsl_component_log_backend_ringbuffer.c 1740) 1741 1742target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1743 ${CMAKE_CURRENT_LIST_DIR}/../../components/log/. 1744) 1745 1746else() 1747 1748message(SEND_ERROR "component_log_backend_ringbuffer.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1749 1750endif() 1751 1752endif() 1753 1754 1755if (CONFIG_USE_component_mem_manager) 1756# Add set(CONFIG_USE_component_mem_manager true) in config.cmake to use this component 1757 1758message("component_mem_manager component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1759 1760if(CONFIG_USE_driver_common AND CONFIG_USE_component_lists) 1761 1762target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1763 ${CMAKE_CURRENT_LIST_DIR}/../../components/mem_manager/fsl_component_mem_manager.c 1764) 1765 1766target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1767 ${CMAKE_CURRENT_LIST_DIR}/../../components/mem_manager/. 1768) 1769 1770else() 1771 1772message(SEND_ERROR "component_mem_manager.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1773 1774endif() 1775 1776endif() 1777 1778 1779if (CONFIG_USE_component_mem_manager_light) 1780# Add set(CONFIG_USE_component_mem_manager_light true) in config.cmake to use this component 1781 1782message("component_mem_manager_light component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1783 1784if(CONFIG_USE_driver_common AND CONFIG_USE_component_lists) 1785 1786target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1787 ${CMAKE_CURRENT_LIST_DIR}/../../components/mem_manager/fsl_component_mem_manager_light.c 1788) 1789 1790target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1791 ${CMAKE_CURRENT_LIST_DIR}/../../components/mem_manager/. 1792) 1793 1794else() 1795 1796message(SEND_ERROR "component_mem_manager_light.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1797 1798endif() 1799 1800endif() 1801 1802 1803if (CONFIG_USE_component_messaging) 1804# Add set(CONFIG_USE_component_messaging true) in config.cmake to use this component 1805 1806message("component_messaging component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1807 1808if(CONFIG_USE_driver_common AND CONFIG_USE_component_lists AND CONFIG_USE_component_mem_manager_light) 1809 1810target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1811 ${CMAKE_CURRENT_LIST_DIR}/../../components/messaging/fsl_component_messaging.c 1812) 1813 1814target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1815 ${CMAKE_CURRENT_LIST_DIR}/../../components/messaging/. 1816) 1817 1818else() 1819 1820message(SEND_ERROR "component_messaging.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1821 1822endif() 1823 1824endif() 1825 1826 1827if (CONFIG_USE_component_mflash_file) 1828# Add set(CONFIG_USE_component_mflash_file true) in config.cmake to use this component 1829 1830message("component_mflash_file component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1831 1832if(CONFIG_USE_component_mflash_rt595) 1833 1834target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1835 ${CMAKE_CURRENT_LIST_DIR}/../../components/flash/mflash/mflash_file.c 1836) 1837 1838target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1839 ${CMAKE_CURRENT_LIST_DIR}/../../components/flash/mflash/. 1840) 1841 1842else() 1843 1844message(SEND_ERROR "component_mflash_file.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1845 1846endif() 1847 1848endif() 1849 1850 1851if (CONFIG_USE_component_mflash_dummy) 1852# Add set(CONFIG_USE_component_mflash_dummy true) in config.cmake to use this component 1853 1854message("component_mflash_dummy component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1855 1856if(CONFIG_USE_component_mflash_file) 1857 1858target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1859 ${CMAKE_CURRENT_LIST_DIR}/../../components/flash/mflash/mflash_dummy.c 1860) 1861 1862else() 1863 1864message(SEND_ERROR "component_mflash_dummy.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1865 1866endif() 1867 1868endif() 1869 1870 1871if (CONFIG_USE_component_mflash_rt595) 1872# Add set(CONFIG_USE_component_mflash_rt595 true) in config.cmake to use this component 1873 1874message("component_mflash_rt595 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1875 1876if(CONFIG_USE_component_mflash_common AND (CONFIG_BOARD STREQUAL evkmimxrt595) AND CONFIG_USE_driver_flexspi AND CONFIG_USE_driver_cache_cache64) 1877 1878target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1879 ${CMAKE_CURRENT_LIST_DIR}/../../components/flash/mflash/mimxrt595/mflash_drv.c 1880) 1881 1882target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1883 ${CMAKE_CURRENT_LIST_DIR}/../../components/flash/mflash/mimxrt595/. 1884) 1885 1886if(CONFIG_USE_COMPONENT_CONFIGURATION) 1887 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 1888 1889 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 1890 -DMFLASH_FILE_BASEADDR=7340032 1891 ) 1892 1893endif() 1894 1895else() 1896 1897message(SEND_ERROR "component_mflash_rt595.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1898 1899endif() 1900 1901endif() 1902 1903 1904if (CONFIG_USE_driver_mma8652fc) 1905# Add set(CONFIG_USE_driver_mma8652fc true) in config.cmake to use this component 1906 1907message("driver_mma8652fc component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1908 1909if(CONFIG_USE_driver_common) 1910 1911target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1912 ${CMAKE_CURRENT_LIST_DIR}/../../components/mma8652fc/fsl_mma.c 1913) 1914 1915target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1916 ${CMAKE_CURRENT_LIST_DIR}/../../components/mma8652fc/. 1917) 1918 1919else() 1920 1921message(SEND_ERROR "driver_mma8652fc.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1922 1923endif() 1924 1925endif() 1926 1927 1928if (CONFIG_USE_driver_mpi_loader) 1929# Add set(CONFIG_USE_driver_mpi_loader true) in config.cmake to use this component 1930 1931message("driver_mpi_loader component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1932 1933if(CONFIG_USE_driver_common) 1934 1935target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1936 ${CMAKE_CURRENT_LIST_DIR}/../../components/mpi_loader/fsl_mpi_loader.c 1937) 1938 1939target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1940 ${CMAKE_CURRENT_LIST_DIR}/../../components/mpi_loader/. 1941) 1942 1943else() 1944 1945message(SEND_ERROR "driver_mpi_loader.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1946 1947endif() 1948 1949endif() 1950 1951 1952if (CONFIG_USE_component_panic) 1953# Add set(CONFIG_USE_component_panic true) in config.cmake to use this component 1954 1955message("component_panic component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1956 1957if(CONFIG_USE_driver_common) 1958 1959target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1960 ${CMAKE_CURRENT_LIST_DIR}/../../components/panic/fsl_component_panic.c 1961) 1962 1963target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1964 ${CMAKE_CURRENT_LIST_DIR}/../../components/panic/. 1965) 1966 1967else() 1968 1969message(SEND_ERROR "component_panic.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1970 1971endif() 1972 1973endif() 1974 1975 1976if (CONFIG_USE_component_pwm_ctimer_adapter) 1977# Add set(CONFIG_USE_component_pwm_ctimer_adapter true) in config.cmake to use this component 1978 1979message("component_pwm_ctimer_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1980 1981if(CONFIG_USE_driver_common AND CONFIG_USE_driver_ctimer) 1982 1983target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1984 ${CMAKE_CURRENT_LIST_DIR}/../../components/pwm/fsl_adapter_pwm_ctimer.c 1985) 1986 1987target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1988 ${CMAKE_CURRENT_LIST_DIR}/../../components/pwm/. 1989) 1990 1991else() 1992 1993message(SEND_ERROR "component_pwm_ctimer_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1994 1995endif() 1996 1997endif() 1998 1999 2000if (CONFIG_USE_component_reset_adapter) 2001# Add set(CONFIG_USE_component_reset_adapter true) in config.cmake to use this component 2002 2003message("component_reset_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2004 2005if(CONFIG_USE_driver_common) 2006 2007target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2008 ${CMAKE_CURRENT_LIST_DIR}/../../components/reset/fsl_adapter_reset.c 2009) 2010 2011target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2012 ${CMAKE_CURRENT_LIST_DIR}/../../components/reset/. 2013) 2014 2015else() 2016 2017message(SEND_ERROR "component_reset_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2018 2019endif() 2020 2021endif() 2022 2023 2024if (CONFIG_USE_component_trng_adapter) 2025# Add set(CONFIG_USE_component_trng_adapter true) in config.cmake to use this component 2026 2027message("component_trng_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2028 2029if(CONFIG_USE_driver_common AND CONFIG_USE_driver_trng) 2030 2031target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2032 ${CMAKE_CURRENT_LIST_DIR}/../../components/rng/fsl_adapter_trng.c 2033) 2034 2035target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2036 ${CMAKE_CURRENT_LIST_DIR}/../../components/rng/. 2037) 2038 2039else() 2040 2041message(SEND_ERROR "component_trng_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2042 2043endif() 2044 2045endif() 2046 2047 2048if (CONFIG_USE_component_software_rng_adapter) 2049# Add set(CONFIG_USE_component_software_rng_adapter true) in config.cmake to use this component 2050 2051message("component_software_rng_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2052 2053if(CONFIG_USE_driver_common) 2054 2055target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2056 ${CMAKE_CURRENT_LIST_DIR}/../../components/rng/fsl_adapter_software_rng.c 2057) 2058 2059target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2060 ${CMAKE_CURRENT_LIST_DIR}/../../components/rng/. 2061) 2062 2063else() 2064 2065message(SEND_ERROR "component_software_rng_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2066 2067endif() 2068 2069endif() 2070 2071 2072if (CONFIG_USE_component_lpcrtc) 2073# Add set(CONFIG_USE_component_lpcrtc true) in config.cmake to use this component 2074 2075message("component_lpcrtc component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2076 2077if(CONFIG_USE_driver_common AND CONFIG_USE_driver_lpc_rtc AND (CONFIG_DEVICE_ID STREQUAL MIMXRT595S)) 2078 2079target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2080 ${CMAKE_CURRENT_LIST_DIR}/../../components/rtc/fsl_adapter_lpcrtc.c 2081) 2082 2083target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2084 ${CMAKE_CURRENT_LIST_DIR}/../../components/rtc/. 2085) 2086 2087if(CONFIG_USE_COMPONENT_CONFIGURATION) 2088 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 2089 2090 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 2091 -DRTC_LEGACY_FUNCTION_PROTOTYPE=1 2092 ) 2093 2094endif() 2095 2096else() 2097 2098message(SEND_ERROR "component_lpcrtc.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2099 2100endif() 2101 2102endif() 2103 2104 2105if (CONFIG_USE_component_serial_manager) 2106# Add set(CONFIG_USE_component_serial_manager true) in config.cmake to use this component 2107 2108message("component_serial_manager component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2109 2110if(CONFIG_USE_driver_common AND CONFIG_USE_component_lists AND (CONFIG_USE_component_serial_manager_uart OR CONFIG_USE_component_serial_manager_usb_cdc OR CONFIG_USE_component_serial_manager_virtual OR CONFIG_USE_component_serial_manager_swo OR CONFIG_USE_component_serial_manager_spi)) 2111 2112target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2113 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/fsl_component_serial_manager.c 2114) 2115 2116target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2117 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/. 2118) 2119 2120else() 2121 2122message(SEND_ERROR "component_serial_manager.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2123 2124endif() 2125 2126endif() 2127 2128 2129if (CONFIG_USE_component_serial_manager_spi) 2130# Add set(CONFIG_USE_component_serial_manager_spi true) in config.cmake to use this component 2131 2132message("component_serial_manager_spi component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2133 2134if(CONFIG_USE_component_serial_manager AND ((CONFIG_USE_driver_flexcomm_spi AND CONFIG_USE_component_flexcomm_spi_adapter))) 2135 2136target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2137 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/fsl_component_serial_port_spi.c 2138) 2139 2140target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2141 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/. 2142) 2143 2144if(CONFIG_USE_COMPONENT_CONFIGURATION) 2145 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 2146 2147 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 2148 -DSERIAL_PORT_TYPE_SPI=1 2149 -DSERIAL_PORT_TYPE_SPI_MASTER=1 2150 -DSERIAL_PORT_TYPE_SPI_SLAVE=1 2151 -DSERIAL_MANAGER_NON_BLOCKING_MODE=1 2152 ) 2153 2154endif() 2155 2156else() 2157 2158message(SEND_ERROR "component_serial_manager_spi.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2159 2160endif() 2161 2162endif() 2163 2164 2165if (CONFIG_USE_component_serial_manager_usb_cdc) 2166# Add set(CONFIG_USE_component_serial_manager_usb_cdc true) in config.cmake to use this component 2167 2168message("component_serial_manager_usb_cdc component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2169 2170if(CONFIG_USE_component_serial_manager AND CONFIG_USE_middleware_usb_device_cdc_external AND CONFIG_USE_driver_common) 2171 2172target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2173 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/fsl_component_serial_port_usb.c 2174 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/usb_cdc_adapter/usb_device_descriptor.c 2175) 2176 2177target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2178 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/. 2179 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/usb_cdc_adapter 2180) 2181 2182if(CONFIG_USE_COMPONENT_CONFIGURATION) 2183 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 2184 2185 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 2186 -DSERIAL_PORT_TYPE_USBCDC=1 2187 -DDEBUG_CONSOLE_TRANSFER_NON_BLOCKING 2188 -DUSB_DEVICE_CONFIG_CDC_ACM=1 2189 ) 2190 2191endif() 2192 2193else() 2194 2195message(SEND_ERROR "component_serial_manager_usb_cdc.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2196 2197endif() 2198 2199endif() 2200 2201 2202if (CONFIG_USE_component_serial_manager_virtual) 2203# Add set(CONFIG_USE_component_serial_manager_virtual true) in config.cmake to use this component 2204 2205message("component_serial_manager_virtual component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2206 2207if(CONFIG_USE_component_serial_manager AND CONFIG_USE_driver_common) 2208 2209target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2210 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/fsl_component_serial_port_virtual.c 2211) 2212 2213target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2214 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/. 2215) 2216 2217if(CONFIG_USE_COMPONENT_CONFIGURATION) 2218 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 2219 2220 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 2221 -DSERIAL_PORT_TYPE_VIRTUAL=1 2222 -DDEBUG_CONSOLE_TRANSFER_NON_BLOCKING 2223 ) 2224 2225endif() 2226 2227else() 2228 2229message(SEND_ERROR "component_serial_manager_virtual.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2230 2231endif() 2232 2233endif() 2234 2235 2236if (CONFIG_USE_component_serial_manager_swo) 2237# Add set(CONFIG_USE_component_serial_manager_swo true) in config.cmake to use this component 2238 2239message("component_serial_manager_swo component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2240 2241if((CONFIG_CORE STREQUAL cm33) AND CONFIG_USE_driver_common AND CONFIG_USE_component_serial_manager) 2242 2243target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2244 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/fsl_component_serial_port_swo.c 2245) 2246 2247target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2248 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/. 2249) 2250 2251if(CONFIG_USE_COMPONENT_CONFIGURATION) 2252 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 2253 2254 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 2255 -DSERIAL_PORT_TYPE_SWO=1 2256 ) 2257 2258endif() 2259 2260else() 2261 2262message(SEND_ERROR "component_serial_manager_swo.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2263 2264endif() 2265 2266endif() 2267 2268 2269if (CONFIG_USE_utility_shell) 2270# Add set(CONFIG_USE_utility_shell true) in config.cmake to use this component 2271 2272message("utility_shell component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2273 2274if(CONFIG_USE_utility_str AND CONFIG_USE_component_lists AND CONFIG_USE_driver_common) 2275 2276target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2277 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/shell/fsl_shell.c 2278) 2279 2280target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2281 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/shell/. 2282) 2283 2284if(CONFIG_USE_COMPONENT_CONFIGURATION) 2285 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 2286 2287 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 2288 -DDEBUG_CONSOLE_RX_ENABLE=0 2289 ) 2290 2291endif() 2292 2293else() 2294 2295message(SEND_ERROR "utility_shell.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2296 2297endif() 2298 2299endif() 2300 2301 2302if (CONFIG_USE_component_flexcomm_spi_adapter) 2303# Add set(CONFIG_USE_component_flexcomm_spi_adapter true) in config.cmake to use this component 2304 2305message("component_flexcomm_spi_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2306 2307if(CONFIG_USE_driver_common AND CONFIG_USE_driver_flexcomm_spi) 2308 2309target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2310 ${CMAKE_CURRENT_LIST_DIR}/../../components/spi/fsl_adapter_flexcomm_spi.c 2311) 2312 2313target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2314 ${CMAKE_CURRENT_LIST_DIR}/../../components/spi/. 2315) 2316 2317else() 2318 2319message(SEND_ERROR "component_flexcomm_spi_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2320 2321endif() 2322 2323endif() 2324 2325 2326if (CONFIG_USE_driver_ssd1963) 2327# Add set(CONFIG_USE_driver_ssd1963 true) in config.cmake to use this component 2328 2329message("driver_ssd1963 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2330 2331if(CONFIG_USE_driver_dbi) 2332 2333target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2334 ${CMAKE_CURRENT_LIST_DIR}/../../components/ssd1963/fsl_ssd1963.c 2335) 2336 2337target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2338 ${CMAKE_CURRENT_LIST_DIR}/../../components/ssd1963/. 2339) 2340 2341else() 2342 2343message(SEND_ERROR "driver_ssd1963.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2344 2345endif() 2346 2347endif() 2348 2349 2350if (CONFIG_USE_driver_tfa9896) 2351# Add set(CONFIG_USE_driver_tfa9896 true) in config.cmake to use this component 2352 2353message("driver_tfa9896 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2354 2355if(CONFIG_USE_driver_common AND CONFIG_USE_component_codec_i2c) 2356 2357target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2358 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/tfa9896/fsl_hal_registers.c 2359 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/tfa9896/fsl_tfa9896.c 2360) 2361 2362target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2363 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/tfa9896/. 2364) 2365 2366if(CONFIG_USE_COMPONENT_CONFIGURATION) 2367 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 2368 2369 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 2370 -DSDK_I2C_BASED_COMPONENT_USED=1 2371 -DBOARD_USE_CODEC=1 2372 -DCODEC_TFA9896_ENABLE 2373 ) 2374 2375endif() 2376 2377else() 2378 2379message(SEND_ERROR "driver_tfa9896.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2380 2381endif() 2382 2383endif() 2384 2385 2386if (CONFIG_USE_component_ctimer_adapter) 2387# Add set(CONFIG_USE_component_ctimer_adapter true) in config.cmake to use this component 2388 2389message("component_ctimer_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2390 2391if(CONFIG_USE_driver_common AND CONFIG_USE_driver_ctimer) 2392 2393target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2394 ${CMAKE_CURRENT_LIST_DIR}/../../components/timer/fsl_adapter_ctimer.c 2395) 2396 2397target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2398 ${CMAKE_CURRENT_LIST_DIR}/../../components/timer/. 2399) 2400 2401else() 2402 2403message(SEND_ERROR "component_ctimer_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2404 2405endif() 2406 2407endif() 2408 2409 2410if (CONFIG_USE_component_mrt_adapter) 2411# Add set(CONFIG_USE_component_mrt_adapter true) in config.cmake to use this component 2412 2413message("component_mrt_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2414 2415if(CONFIG_USE_driver_common AND CONFIG_USE_driver_mrt) 2416 2417target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2418 ${CMAKE_CURRENT_LIST_DIR}/../../components/timer/fsl_adapter_mrt.c 2419) 2420 2421target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2422 ${CMAKE_CURRENT_LIST_DIR}/../../components/timer/. 2423) 2424 2425else() 2426 2427message(SEND_ERROR "component_mrt_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2428 2429endif() 2430 2431endif() 2432 2433 2434if (CONFIG_USE_component_ostimer_adapter) 2435# Add set(CONFIG_USE_component_ostimer_adapter true) in config.cmake to use this component 2436 2437message("component_ostimer_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2438 2439if(CONFIG_USE_driver_common AND CONFIG_USE_driver_ostimer) 2440 2441target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2442 ${CMAKE_CURRENT_LIST_DIR}/../../components/timer/fsl_adapter_ostimer.c 2443) 2444 2445target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2446 ${CMAKE_CURRENT_LIST_DIR}/../../components/timer/. 2447) 2448 2449else() 2450 2451message(SEND_ERROR "component_ostimer_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2452 2453endif() 2454 2455endif() 2456 2457 2458if (CONFIG_USE_component_timer_manager) 2459# Add set(CONFIG_USE_component_timer_manager true) in config.cmake to use this component 2460 2461message("component_timer_manager component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2462 2463if(CONFIG_USE_driver_common AND CONFIG_USE_component_lists AND (CONFIG_USE_component_ctimer_adapter OR CONFIG_USE_component_mrt_adapter OR CONFIG_USE_component_ostimer_adapter)) 2464 2465target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2466 ${CMAKE_CURRENT_LIST_DIR}/../../components/timer_manager/fsl_component_timer_manager.c 2467) 2468 2469target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2470 ${CMAKE_CURRENT_LIST_DIR}/../../components/timer_manager/. 2471) 2472 2473else() 2474 2475message(SEND_ERROR "component_timer_manager.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2476 2477endif() 2478 2479endif() 2480 2481 2482if (CONFIG_USE_component_usart_adapter) 2483# Add set(CONFIG_USE_component_usart_adapter true) in config.cmake to use this component 2484 2485message("component_usart_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2486 2487if(CONFIG_USE_driver_common AND CONFIG_USE_driver_flexcomm_usart AND CONFIG_USE_driver_flexcomm) 2488 2489target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2490 ${CMAKE_CURRENT_LIST_DIR}/../../components/uart/fsl_adapter_usart.c 2491) 2492 2493target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2494 ${CMAKE_CURRENT_LIST_DIR}/../../components/uart/. 2495) 2496 2497else() 2498 2499message(SEND_ERROR "component_usart_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2500 2501endif() 2502 2503endif() 2504 2505 2506if (CONFIG_USE_component_usart_dma_adapter) 2507# Add set(CONFIG_USE_component_usart_dma_adapter true) in config.cmake to use this component 2508 2509message("component_usart_dma_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2510 2511if(CONFIG_USE_component_usart_adapter AND CONFIG_USE_component_timer_manager AND CONFIG_USE_driver_flexcomm_usart_dma) 2512 2513target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2514 ${CMAKE_CURRENT_LIST_DIR}/../../components/uart/fsl_adapter_usart.c 2515) 2516 2517target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2518 ${CMAKE_CURRENT_LIST_DIR}/../../components/uart/. 2519) 2520 2521if(CONFIG_USE_COMPONENT_CONFIGURATION) 2522 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 2523 2524 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 2525 -DHAL_UART_DMA_ENABLE=1 2526 ) 2527 2528endif() 2529 2530else() 2531 2532message(SEND_ERROR "component_usart_dma_adapter.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2533 2534endif() 2535 2536endif() 2537 2538 2539if (CONFIG_USE_driver_video-common) 2540# Add set(CONFIG_USE_driver_video-common true) in config.cmake to use this component 2541 2542message("driver_video-common component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2543 2544if(CONFIG_USE_driver_common) 2545 2546target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2547 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/fsl_video_common.c 2548) 2549 2550target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2551 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/. 2552) 2553 2554else() 2555 2556message(SEND_ERROR "driver_video-common.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2557 2558endif() 2559 2560endif() 2561 2562 2563if (CONFIG_USE_driver_wm8904) 2564# Add set(CONFIG_USE_driver_wm8904 true) in config.cmake to use this component 2565 2566message("driver_wm8904 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2567 2568if(CONFIG_USE_driver_common AND CONFIG_USE_component_codec_i2c) 2569 2570target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2571 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/wm8904/fsl_wm8904.c 2572) 2573 2574target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2575 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/wm8904/. 2576) 2577 2578if(CONFIG_USE_COMPONENT_CONFIGURATION) 2579 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 2580 2581 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 2582 -DSDK_I2C_BASED_COMPONENT_USED=1 2583 -DBOARD_USE_CODEC=1 2584 -DCODEC_WM8904_ENABLE 2585 ) 2586 2587endif() 2588 2589else() 2590 2591message(SEND_ERROR "driver_wm8904.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2592 2593endif() 2594 2595endif() 2596 2597 2598if (CONFIG_USE_driver_acmp) 2599# Add set(CONFIG_USE_driver_acmp true) in config.cmake to use this component 2600 2601message("driver_acmp component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2602 2603if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 2604 2605target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2606 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/acmp/fsl_acmp.c 2607) 2608 2609target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2610 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/acmp/. 2611) 2612 2613else() 2614 2615message(SEND_ERROR "driver_acmp.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2616 2617endif() 2618 2619endif() 2620 2621 2622if (CONFIG_USE_driver_flexio) 2623# Add set(CONFIG_USE_driver_flexio true) in config.cmake to use this component 2624 2625message("driver_flexio component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2626 2627if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 2628 2629target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2630 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/fsl_flexio.c 2631) 2632 2633target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2634 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/. 2635) 2636 2637else() 2638 2639message(SEND_ERROR "driver_flexio.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2640 2641endif() 2642 2643endif() 2644 2645 2646if (CONFIG_USE_driver_flexio_i2c_master) 2647# Add set(CONFIG_USE_driver_flexio_i2c_master true) in config.cmake to use this component 2648 2649message("driver_flexio_i2c_master component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2650 2651if(CONFIG_USE_driver_flexio) 2652 2653target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2654 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/i2c/fsl_flexio_i2c_master.c 2655) 2656 2657target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2658 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/i2c/. 2659) 2660 2661else() 2662 2663message(SEND_ERROR "driver_flexio_i2c_master.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2664 2665endif() 2666 2667endif() 2668 2669 2670if (CONFIG_USE_driver_flexio_i2s) 2671# Add set(CONFIG_USE_driver_flexio_i2s true) in config.cmake to use this component 2672 2673message("driver_flexio_i2s component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2674 2675if(CONFIG_USE_driver_flexio) 2676 2677target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2678 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/i2s/fsl_flexio_i2s.c 2679) 2680 2681target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2682 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/i2s/. 2683) 2684 2685else() 2686 2687message(SEND_ERROR "driver_flexio_i2s.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2688 2689endif() 2690 2691endif() 2692 2693 2694if (CONFIG_USE_driver_flexio_mculcd) 2695# Add set(CONFIG_USE_driver_flexio_mculcd true) in config.cmake to use this component 2696 2697message("driver_flexio_mculcd component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2698 2699if(CONFIG_USE_driver_flexio AND (CONFIG_DEVICE_ID STREQUAL MIMXRT595S)) 2700 2701target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2702 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/mculcd/fsl_flexio_mculcd.c 2703) 2704 2705target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2706 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/mculcd/. 2707) 2708 2709else() 2710 2711message(SEND_ERROR "driver_flexio_mculcd.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2712 2713endif() 2714 2715endif() 2716 2717 2718if (CONFIG_USE_driver_flexio_spi) 2719# Add set(CONFIG_USE_driver_flexio_spi true) in config.cmake to use this component 2720 2721message("driver_flexio_spi component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2722 2723if(CONFIG_USE_driver_flexio) 2724 2725target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2726 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/spi/fsl_flexio_spi.c 2727) 2728 2729target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2730 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/spi/. 2731) 2732 2733else() 2734 2735message(SEND_ERROR "driver_flexio_spi.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2736 2737endif() 2738 2739endif() 2740 2741 2742if (CONFIG_USE_driver_flexio_uart) 2743# Add set(CONFIG_USE_driver_flexio_uart true) in config.cmake to use this component 2744 2745message("driver_flexio_uart component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2746 2747if(CONFIG_USE_driver_flexio) 2748 2749target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2750 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/uart/fsl_flexio_uart.c 2751) 2752 2753target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2754 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/uart/. 2755) 2756 2757else() 2758 2759message(SEND_ERROR "driver_flexio_uart.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2760 2761endif() 2762 2763endif() 2764 2765 2766if (CONFIG_USE_driver_flexspi) 2767# Add set(CONFIG_USE_driver_flexspi true) in config.cmake to use this component 2768 2769message("driver_flexspi component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2770 2771if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 2772 2773target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2774 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexspi/fsl_flexspi.c 2775) 2776 2777target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2778 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexspi/. 2779) 2780 2781else() 2782 2783message(SEND_ERROR "driver_flexspi.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2784 2785endif() 2786 2787endif() 2788 2789 2790if (CONFIG_USE_driver_lpadc) 2791# Add set(CONFIG_USE_driver_lpadc true) in config.cmake to use this component 2792 2793message("driver_lpadc component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2794 2795if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 2796 2797target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2798 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpadc/fsl_lpadc.c 2799) 2800 2801target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2802 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpadc/. 2803) 2804 2805else() 2806 2807message(SEND_ERROR "driver_lpadc.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2808 2809endif() 2810 2811endif() 2812 2813 2814if (CONFIG_USE_driver_mipi_dsi) 2815# Add set(CONFIG_USE_driver_mipi_dsi true) in config.cmake to use this component 2816 2817message("driver_mipi_dsi component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2818 2819if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common AND CONFIG_USE_driver_soc_mipi_dsi) 2820 2821target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2822 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/mipi_dsi/fsl_mipi_dsi.c 2823) 2824 2825target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2826 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/mipi_dsi/. 2827) 2828 2829else() 2830 2831message(SEND_ERROR "driver_mipi_dsi.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2832 2833endif() 2834 2835endif() 2836 2837 2838if (CONFIG_USE_driver_mu) 2839# Add set(CONFIG_USE_driver_mu true) in config.cmake to use this component 2840 2841message("driver_mu component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2842 2843if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 2844 2845target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2846 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/mu/fsl_mu.c 2847) 2848 2849target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2850 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/mu/. 2851) 2852 2853else() 2854 2855message(SEND_ERROR "driver_mu.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2856 2857endif() 2858 2859endif() 2860 2861 2862if (CONFIG_USE_driver_otfad) 2863# Add set(CONFIG_USE_driver_otfad true) in config.cmake to use this component 2864 2865message("driver_otfad component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2866 2867if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 2868 2869target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2870 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/otfad/fsl_otfad.c 2871) 2872 2873target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2874 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/otfad/. 2875) 2876 2877else() 2878 2879message(SEND_ERROR "driver_otfad.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2880 2881endif() 2882 2883endif() 2884 2885 2886if (CONFIG_USE_driver_sema42) 2887# Add set(CONFIG_USE_driver_sema42 true) in config.cmake to use this component 2888 2889message("driver_sema42 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2890 2891if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 2892 2893target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2894 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/sema42/fsl_sema42.c 2895) 2896 2897target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2898 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/sema42/. 2899) 2900 2901else() 2902 2903message(SEND_ERROR "driver_sema42.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2904 2905endif() 2906 2907endif() 2908 2909 2910if (CONFIG_USE_driver_usdhc) 2911# Add set(CONFIG_USE_driver_usdhc true) in config.cmake to use this component 2912 2913message("driver_usdhc component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2914 2915if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 2916 2917target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2918 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/usdhc/fsl_usdhc.c 2919) 2920 2921target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2922 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/usdhc/. 2923) 2924 2925else() 2926 2927message(SEND_ERROR "driver_usdhc.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2928 2929endif() 2930 2931endif() 2932 2933 2934if (CONFIG_USE_driver_cache_cache64) 2935# Add set(CONFIG_USE_driver_cache_cache64 true) in config.cmake to use this component 2936 2937message("driver_cache_cache64 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2938 2939if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 2940 2941target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2942 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/cache/cache64/fsl_cache.c 2943) 2944 2945target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2946 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/cache/cache64/. 2947) 2948 2949else() 2950 2951message(SEND_ERROR "driver_cache_cache64.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2952 2953endif() 2954 2955endif() 2956 2957 2958if (CONFIG_USE_driver_casper) 2959# Add set(CONFIG_USE_driver_casper true) in config.cmake to use this component 2960 2961message("driver_casper component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2962 2963if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 2964 2965target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2966 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/casper/fsl_casper.c 2967) 2968 2969target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2970 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/casper/. 2971) 2972 2973else() 2974 2975message(SEND_ERROR "driver_casper.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2976 2977endif() 2978 2979endif() 2980 2981 2982if (CONFIG_USE_driver_lpc_crc) 2983# Add set(CONFIG_USE_driver_lpc_crc true) in config.cmake to use this component 2984 2985message("driver_lpc_crc component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2986 2987if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 2988 2989target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2990 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_crc/fsl_crc.c 2991) 2992 2993target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2994 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_crc/. 2995) 2996 2997else() 2998 2999message(SEND_ERROR "driver_lpc_crc.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3000 3001endif() 3002 3003endif() 3004 3005 3006if (CONFIG_USE_driver_ctimer) 3007# Add set(CONFIG_USE_driver_ctimer true) in config.cmake to use this component 3008 3009message("driver_ctimer component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3010 3011if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 3012 3013target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3014 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/ctimer/fsl_ctimer.c 3015) 3016 3017target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3018 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/ctimer/. 3019) 3020 3021else() 3022 3023message(SEND_ERROR "driver_ctimer.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3024 3025endif() 3026 3027endif() 3028 3029 3030if (CONFIG_USE_driver_dmic) 3031# Add set(CONFIG_USE_driver_dmic true) in config.cmake to use this component 3032 3033message("driver_dmic component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3034 3035if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 3036 3037target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3038 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/dmic/fsl_dmic.c 3039) 3040 3041target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3042 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/dmic/. 3043) 3044 3045else() 3046 3047message(SEND_ERROR "driver_dmic.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3048 3049endif() 3050 3051endif() 3052 3053 3054if (CONFIG_USE_driver_flexcomm) 3055# Add set(CONFIG_USE_driver_flexcomm true) in config.cmake to use this component 3056 3057message("driver_flexcomm component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3058 3059if(CONFIG_USE_driver_common AND (CONFIG_DEVICE_ID STREQUAL MIMXRT595S)) 3060 3061target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3062 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/fsl_flexcomm.c 3063) 3064 3065target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3066 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/. 3067) 3068 3069else() 3070 3071message(SEND_ERROR "driver_flexcomm.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3072 3073endif() 3074 3075endif() 3076 3077 3078if (CONFIG_USE_driver_fmeas) 3079# Add set(CONFIG_USE_driver_fmeas true) in config.cmake to use this component 3080 3081message("driver_fmeas component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3082 3083if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 3084 3085target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3086 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/fmeas/fsl_fmeas.c 3087) 3088 3089target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3090 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/fmeas/. 3091) 3092 3093else() 3094 3095message(SEND_ERROR "driver_fmeas.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3096 3097endif() 3098 3099endif() 3100 3101 3102if (CONFIG_USE_driver_hashcrypt) 3103# Add set(CONFIG_USE_driver_hashcrypt true) in config.cmake to use this component 3104 3105message("driver_hashcrypt component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3106 3107if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 3108 3109target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3110 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/hashcrypt/fsl_hashcrypt.c 3111) 3112 3113target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3114 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/hashcrypt/. 3115) 3116 3117else() 3118 3119message(SEND_ERROR "driver_hashcrypt.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3120 3121endif() 3122 3123endif() 3124 3125 3126if (CONFIG_USE_driver_flexcomm_i2c) 3127# Add set(CONFIG_USE_driver_flexcomm_i2c true) in config.cmake to use this component 3128 3129message("driver_flexcomm_i2c component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3130 3131if(CONFIG_USE_driver_flexcomm AND CONFIG_USE_driver_common AND (CONFIG_DEVICE_ID STREQUAL MIMXRT595S)) 3132 3133target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3134 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/i2c/fsl_i2c.c 3135) 3136 3137target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3138 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/i2c/. 3139) 3140 3141else() 3142 3143message(SEND_ERROR "driver_flexcomm_i2c.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3144 3145endif() 3146 3147endif() 3148 3149 3150if (CONFIG_USE_driver_flexcomm_i2c_freertos) 3151# Add set(CONFIG_USE_driver_flexcomm_i2c_freertos true) in config.cmake to use this component 3152 3153message("driver_flexcomm_i2c_freertos component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3154 3155if(CONFIG_USE_driver_flexcomm AND CONFIG_USE_driver_common AND CONFIG_USE_driver_flexcomm_i2c AND CONFIG_USE_middleware_freertos-kernel) 3156 3157target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3158 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/i2c/fsl_i2c_freertos.c 3159) 3160 3161target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3162 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/i2c/. 3163) 3164 3165else() 3166 3167message(SEND_ERROR "driver_flexcomm_i2c_freertos.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3168 3169endif() 3170 3171endif() 3172 3173 3174if (CONFIG_USE_driver_flexcomm_i2s) 3175# Add set(CONFIG_USE_driver_flexcomm_i2s true) in config.cmake to use this component 3176 3177message("driver_flexcomm_i2s component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3178 3179if(CONFIG_USE_driver_flexcomm AND CONFIG_USE_driver_common AND (CONFIG_DEVICE_ID STREQUAL MIMXRT595S)) 3180 3181target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3182 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/i2s/fsl_i2s.c 3183) 3184 3185target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3186 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/i2s/. 3187) 3188 3189else() 3190 3191message(SEND_ERROR "driver_flexcomm_i2s.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3192 3193endif() 3194 3195endif() 3196 3197 3198if (CONFIG_USE_driver_i3c) 3199# Add set(CONFIG_USE_driver_i3c true) in config.cmake to use this component 3200 3201message("driver_i3c component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3202 3203if(CONFIG_USE_driver_common AND (CONFIG_DEVICE_ID STREQUAL MIMXRT595S)) 3204 3205target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3206 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/i3c/fsl_i3c.c 3207) 3208 3209target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3210 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/i3c/. 3211) 3212 3213else() 3214 3215message(SEND_ERROR "driver_i3c.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3216 3217endif() 3218 3219endif() 3220 3221 3222if (CONFIG_USE_driver_inputmux) 3223# Add set(CONFIG_USE_driver_inputmux true) in config.cmake to use this component 3224 3225message("driver_inputmux component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3226 3227if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common AND CONFIG_USE_driver_inputmux_connections) 3228 3229target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3230 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/inputmux/fsl_inputmux.c 3231) 3232 3233target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3234 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/inputmux/. 3235) 3236 3237else() 3238 3239message(SEND_ERROR "driver_inputmux.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3240 3241endif() 3242 3243endif() 3244 3245 3246if (CONFIG_USE_driver_lcdif) 3247# Add set(CONFIG_USE_driver_lcdif true) in config.cmake to use this component 3248 3249message("driver_lcdif component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3250 3251if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 3252 3253target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3254 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lcdif/fsl_lcdif.c 3255) 3256 3257target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3258 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lcdif/. 3259) 3260 3261else() 3262 3263message(SEND_ERROR "driver_lcdif.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3264 3265endif() 3266 3267endif() 3268 3269 3270if (CONFIG_USE_driver_lpc_dma) 3271# Add set(CONFIG_USE_driver_lpc_dma true) in config.cmake to use this component 3272 3273message("driver_lpc_dma component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3274 3275if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 3276 3277target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3278 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_dma/fsl_dma.c 3279) 3280 3281target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3282 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_dma/. 3283) 3284 3285else() 3286 3287message(SEND_ERROR "driver_lpc_dma.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3288 3289endif() 3290 3291endif() 3292 3293 3294if (CONFIG_USE_driver_lpc_gpio) 3295# Add set(CONFIG_USE_driver_lpc_gpio true) in config.cmake to use this component 3296 3297message("driver_lpc_gpio component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3298 3299if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 3300 3301target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3302 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_gpio/fsl_gpio.c 3303) 3304 3305target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3306 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_gpio/. 3307) 3308 3309else() 3310 3311message(SEND_ERROR "driver_lpc_gpio.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3312 3313endif() 3314 3315endif() 3316 3317 3318if (CONFIG_USE_driver_lpc_iopctl) 3319# Add set(CONFIG_USE_driver_lpc_iopctl true) in config.cmake to use this component 3320 3321message("driver_lpc_iopctl component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3322 3323if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 3324 3325target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3326 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_iopctl/. 3327) 3328 3329else() 3330 3331message(SEND_ERROR "driver_lpc_iopctl.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3332 3333endif() 3334 3335endif() 3336 3337 3338if (CONFIG_USE_driver_mrt) 3339# Add set(CONFIG_USE_driver_mrt true) in config.cmake to use this component 3340 3341message("driver_mrt component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3342 3343if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 3344 3345target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3346 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/mrt/fsl_mrt.c 3347) 3348 3349target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3350 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/mrt/. 3351) 3352 3353else() 3354 3355message(SEND_ERROR "driver_mrt.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3356 3357endif() 3358 3359endif() 3360 3361 3362if (CONFIG_USE_driver_ostimer) 3363# Add set(CONFIG_USE_driver_ostimer true) in config.cmake to use this component 3364 3365message("driver_ostimer component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3366 3367if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 3368 3369target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3370 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/ostimer/fsl_ostimer.c 3371) 3372 3373target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3374 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/ostimer/. 3375) 3376 3377else() 3378 3379message(SEND_ERROR "driver_ostimer.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3380 3381endif() 3382 3383endif() 3384 3385 3386if (CONFIG_USE_driver_pint) 3387# Add set(CONFIG_USE_driver_pint true) in config.cmake to use this component 3388 3389message("driver_pint component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3390 3391if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 3392 3393target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3394 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/pint/fsl_pint.c 3395) 3396 3397target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3398 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/pint/. 3399) 3400 3401else() 3402 3403message(SEND_ERROR "driver_pint.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3404 3405endif() 3406 3407endif() 3408 3409 3410if (CONFIG_USE_driver_powerquad) 3411# Add set(CONFIG_USE_driver_powerquad true) in config.cmake to use this component 3412 3413message("driver_powerquad component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3414 3415if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 3416 3417target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3418 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/powerquad/fsl_powerquad_data.c 3419 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/powerquad/fsl_powerquad_basic.c 3420 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/powerquad/fsl_powerquad_math.c 3421 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/powerquad/fsl_powerquad_matrix.c 3422 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/powerquad/fsl_powerquad_filter.c 3423 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/powerquad/fsl_powerquad_transform.c 3424) 3425 3426target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3427 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/powerquad/. 3428) 3429 3430else() 3431 3432message(SEND_ERROR "driver_powerquad.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3433 3434endif() 3435 3436endif() 3437 3438 3439if (CONFIG_USE_driver_powerquad_cmsis) 3440# Add set(CONFIG_USE_driver_powerquad_cmsis true) in config.cmake to use this component 3441 3442message("driver_powerquad_cmsis component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3443 3444if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_powerquad AND CONFIG_USE_CMSIS_DSP_Include) 3445 3446target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3447 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/powerquad/fsl_powerquad_cmsis.c 3448) 3449 3450target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3451 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/powerquad/. 3452) 3453 3454else() 3455 3456message(SEND_ERROR "driver_powerquad_cmsis.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3457 3458endif() 3459 3460endif() 3461 3462 3463if (CONFIG_USE_driver_puf) 3464# Add set(CONFIG_USE_driver_puf true) in config.cmake to use this component 3465 3466message("driver_puf component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3467 3468if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 3469 3470target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3471 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/puf/fsl_puf.c 3472) 3473 3474target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3475 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/puf/. 3476) 3477 3478else() 3479 3480message(SEND_ERROR "driver_puf.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3481 3482endif() 3483 3484endif() 3485 3486 3487if (CONFIG_USE_driver_reset) 3488# Add set(CONFIG_USE_driver_reset true) in config.cmake to use this component 3489 3490message("driver_reset component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3491 3492if(CONFIG_USE_driver_common AND (CONFIG_DEVICE_ID STREQUAL MIMXRT595S)) 3493 3494target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3495 ${CMAKE_CURRENT_LIST_DIR}/drivers/fsl_reset.c 3496) 3497 3498target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3499 ${CMAKE_CURRENT_LIST_DIR}/drivers/. 3500) 3501 3502else() 3503 3504message(SEND_ERROR "driver_reset.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3505 3506endif() 3507 3508endif() 3509 3510 3511if (CONFIG_USE_driver_lpc_rtc) 3512# Add set(CONFIG_USE_driver_lpc_rtc true) in config.cmake to use this component 3513 3514message("driver_lpc_rtc component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3515 3516if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 3517 3518target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3519 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_rtc/fsl_rtc.c 3520) 3521 3522target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3523 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_rtc/. 3524) 3525 3526else() 3527 3528message(SEND_ERROR "driver_lpc_rtc.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3529 3530endif() 3531 3532endif() 3533 3534 3535if (CONFIG_USE_driver_sctimer) 3536# Add set(CONFIG_USE_driver_sctimer true) in config.cmake to use this component 3537 3538message("driver_sctimer component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3539 3540if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 3541 3542target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3543 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/sctimer/fsl_sctimer.c 3544) 3545 3546target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3547 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/sctimer/. 3548) 3549 3550else() 3551 3552message(SEND_ERROR "driver_sctimer.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3553 3554endif() 3555 3556endif() 3557 3558 3559if (CONFIG_USE_driver_lpc_smartdma) 3560# Add set(CONFIG_USE_driver_lpc_smartdma true) in config.cmake to use this component 3561 3562message("driver_lpc_smartdma component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3563 3564if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 3565 3566target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3567 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/smartdma/fsl_smartdma.c 3568) 3569 3570target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3571 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/smartdma/. 3572) 3573 3574else() 3575 3576message(SEND_ERROR "driver_lpc_smartdma.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3577 3578endif() 3579 3580endif() 3581 3582 3583if (CONFIG_USE_driver_flexcomm_spi) 3584# Add set(CONFIG_USE_driver_flexcomm_spi true) in config.cmake to use this component 3585 3586message("driver_flexcomm_spi component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3587 3588if(CONFIG_USE_driver_flexcomm AND CONFIG_USE_driver_common AND (CONFIG_DEVICE_ID STREQUAL MIMXRT595S)) 3589 3590target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3591 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/spi/fsl_spi.c 3592) 3593 3594target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3595 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/spi/. 3596) 3597 3598else() 3599 3600message(SEND_ERROR "driver_flexcomm_spi.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3601 3602endif() 3603 3604endif() 3605 3606 3607if (CONFIG_USE_driver_flexcomm_spi_freertos) 3608# Add set(CONFIG_USE_driver_flexcomm_spi_freertos true) in config.cmake to use this component 3609 3610message("driver_flexcomm_spi_freertos component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3611 3612if(CONFIG_USE_driver_flexcomm AND CONFIG_USE_driver_common AND CONFIG_USE_driver_flexcomm_spi AND CONFIG_USE_middleware_freertos-kernel) 3613 3614target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3615 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/spi/fsl_spi_freertos.c 3616) 3617 3618target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3619 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/spi/. 3620) 3621 3622else() 3623 3624message(SEND_ERROR "driver_flexcomm_spi_freertos.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3625 3626endif() 3627 3628endif() 3629 3630 3631if (CONFIG_USE_driver_trng) 3632# Add set(CONFIG_USE_driver_trng true) in config.cmake to use this component 3633 3634message("driver_trng component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3635 3636if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 3637 3638target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3639 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/trng/fsl_trng.c 3640) 3641 3642target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3643 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/trng/. 3644) 3645 3646else() 3647 3648message(SEND_ERROR "driver_trng.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3649 3650endif() 3651 3652endif() 3653 3654 3655if (CONFIG_USE_driver_flexcomm_usart) 3656# Add set(CONFIG_USE_driver_flexcomm_usart true) in config.cmake to use this component 3657 3658message("driver_flexcomm_usart component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3659 3660if(CONFIG_USE_driver_flexcomm AND (CONFIG_DEVICE_ID STREQUAL MIMXRT595S)) 3661 3662target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3663 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/usart/fsl_usart.c 3664) 3665 3666target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3667 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/usart/. 3668) 3669 3670else() 3671 3672message(SEND_ERROR "driver_flexcomm_usart.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3673 3674endif() 3675 3676endif() 3677 3678 3679if (CONFIG_USE_driver_flexcomm_usart_freertos) 3680# Add set(CONFIG_USE_driver_flexcomm_usart_freertos true) in config.cmake to use this component 3681 3682message("driver_flexcomm_usart_freertos component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3683 3684if(CONFIG_USE_driver_flexcomm AND CONFIG_USE_driver_flexcomm_usart AND CONFIG_USE_middleware_freertos-kernel) 3685 3686target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3687 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/usart/fsl_usart_freertos.c 3688) 3689 3690target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3691 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/usart/. 3692) 3693 3694else() 3695 3696message(SEND_ERROR "driver_flexcomm_usart_freertos.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3697 3698endif() 3699 3700endif() 3701 3702 3703if (CONFIG_USE_driver_wwdt) 3704# Add set(CONFIG_USE_driver_wwdt true) in config.cmake to use this component 3705 3706message("driver_wwdt component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3707 3708if((CONFIG_DEVICE_ID STREQUAL MIMXRT595S) AND CONFIG_USE_driver_common) 3709 3710target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3711 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/wwdt/fsl_wwdt.c 3712) 3713 3714target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3715 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/wwdt/. 3716) 3717 3718else() 3719 3720message(SEND_ERROR "driver_wwdt.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3721 3722endif() 3723 3724endif() 3725 3726 3727if (CONFIG_USE_driver_soc_mipi_dsi) 3728# Add set(CONFIG_USE_driver_soc_mipi_dsi true) in config.cmake to use this component 3729 3730message("driver_soc_mipi_dsi component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3731 3732if(CONFIG_USE_driver_common AND (CONFIG_DEVICE_ID STREQUAL MIMXRT595S)) 3733 3734target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3735 ${CMAKE_CURRENT_LIST_DIR}/drivers/. 3736) 3737 3738else() 3739 3740message(SEND_ERROR "driver_soc_mipi_dsi.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3741 3742endif() 3743 3744endif() 3745 3746 3747if (CONFIG_USE_component_power_manager_core) 3748# Add set(CONFIG_USE_component_power_manager_core true) in config.cmake to use this component 3749 3750message("component_power_manager_core component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3751 3752if(CONFIG_USE_driver_common AND CONFIG_USE_component_lists) 3753 3754target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3755 ${CMAKE_CURRENT_LIST_DIR}/../../components/power_manager/core/fsl_pm_core.c 3756) 3757 3758target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3759 ${CMAKE_CURRENT_LIST_DIR}/../../components/power_manager/core/. 3760) 3761 3762if(CONFIG_USE_COMPONENT_CONFIGURATION) 3763 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 3764 3765 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 3766 -DGENERIC_LIST_LIGHT=1 3767 ) 3768 3769endif() 3770 3771else() 3772 3773message(SEND_ERROR "component_power_manager_core.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3774 3775endif() 3776 3777endif() 3778 3779 3780if (CONFIG_USE_component_power_manager_MIMXRT595S) 3781# Add set(CONFIG_USE_component_power_manager_MIMXRT595S true) in config.cmake to use this component 3782 3783message("component_power_manager_MIMXRT595S component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3784 3785if(CONFIG_USE_component_power_manager_core AND (CONFIG_DEVICE_ID STREQUAL MIMXRT595S)) 3786 3787target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3788 ${CMAKE_CURRENT_LIST_DIR}/../../components/power_manager/devices/MIMXRT595S/fsl_pm_device.c 3789) 3790 3791target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3792 ${CMAKE_CURRENT_LIST_DIR}/../../components/power_manager/devices/MIMXRT595S/. 3793) 3794 3795else() 3796 3797message(SEND_ERROR "component_power_manager_MIMXRT595S.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3798 3799endif() 3800 3801endif() 3802 3803 3804if (CONFIG_USE_driver_fbdev) 3805# Add set(CONFIG_USE_driver_fbdev true) in config.cmake to use this component 3806 3807message("driver_fbdev component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3808 3809if(CONFIG_USE_driver_dc-fb-common AND CONFIG_USE_middleware_freertos-kernel) 3810 3811target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3812 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/fbdev/fsl_fbdev.c 3813) 3814 3815target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3816 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/fbdev/. 3817) 3818 3819else() 3820 3821message(SEND_ERROR "driver_fbdev.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3822 3823endif() 3824 3825endif() 3826 3827 3828if (CONFIG_USE_driver_display-rm68200) 3829# Add set(CONFIG_USE_driver_display-rm68200 true) in config.cmake to use this component 3830 3831message("driver_display-rm68200 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3832 3833if(CONFIG_USE_driver_display-common AND CONFIG_USE_driver_display-mipi-dsi-cmd) 3834 3835target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3836 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/rm68200/fsl_rm68200.c 3837) 3838 3839target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3840 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/rm68200/. 3841) 3842 3843else() 3844 3845message(SEND_ERROR "driver_display-rm68200.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3846 3847endif() 3848 3849endif() 3850 3851 3852if (CONFIG_USE_driver_display-rm68191) 3853# Add set(CONFIG_USE_driver_display-rm68191 true) in config.cmake to use this component 3854 3855message("driver_display-rm68191 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3856 3857if(CONFIG_USE_driver_display-common AND CONFIG_USE_driver_display-mipi-dsi-cmd) 3858 3859target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3860 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/rm68191/fsl_rm68191.c 3861) 3862 3863target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3864 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/rm68191/. 3865) 3866 3867else() 3868 3869message(SEND_ERROR "driver_display-rm68191.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3870 3871endif() 3872 3873endif() 3874 3875 3876if (CONFIG_USE_driver_display-rm67162) 3877# Add set(CONFIG_USE_driver_display-rm67162 true) in config.cmake to use this component 3878 3879message("driver_display-rm67162 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3880 3881if(CONFIG_USE_driver_display-common AND CONFIG_USE_driver_display-mipi-dsi-cmd) 3882 3883target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3884 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/rm67162/fsl_rm67162.c 3885) 3886 3887target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3888 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/rm67162/. 3889) 3890 3891else() 3892 3893message(SEND_ERROR "driver_display-rm67162.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3894 3895endif() 3896 3897endif() 3898 3899 3900if (CONFIG_USE_driver_display-hx8394) 3901# Add set(CONFIG_USE_driver_display-hx8394 true) in config.cmake to use this component 3902 3903message("driver_display-hx8394 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3904 3905if(CONFIG_USE_driver_display-common AND CONFIG_USE_driver_display-mipi-dsi-cmd) 3906 3907target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3908 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/hx8394/fsl_hx8394.c 3909) 3910 3911target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3912 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/hx8394/. 3913) 3914 3915else() 3916 3917message(SEND_ERROR "driver_display-hx8394.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3918 3919endif() 3920 3921endif() 3922 3923 3924if (CONFIG_USE_driver_dc-fb-ssd1963) 3925# Add set(CONFIG_USE_driver_dc-fb-ssd1963 true) in config.cmake to use this component 3926 3927message("driver_dc-fb-ssd1963 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3928 3929if(CONFIG_USE_driver_dc-fb-common AND CONFIG_USE_driver_ssd1963) 3930 3931target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3932 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/dc/ssd1963/fsl_dc_fb_ssd1963.c 3933) 3934 3935target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3936 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/dc/ssd1963/. 3937) 3938 3939else() 3940 3941message(SEND_ERROR "driver_dc-fb-ssd1963.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3942 3943endif() 3944 3945endif() 3946 3947 3948if (CONFIG_USE_driver_dc-fb-lcdif) 3949# Add set(CONFIG_USE_driver_dc-fb-lcdif true) in config.cmake to use this component 3950 3951message("driver_dc-fb-lcdif component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3952 3953if(CONFIG_USE_driver_dc-fb-common AND CONFIG_USE_driver_lcdif) 3954 3955target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3956 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/dc/lcdif/fsl_dc_fb_lcdif.c 3957) 3958 3959target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3960 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/dc/lcdif/. 3961) 3962 3963else() 3964 3965message(SEND_ERROR "driver_dc-fb-lcdif.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3966 3967endif() 3968 3969endif() 3970 3971 3972if (CONFIG_USE_driver_display-mipi-dsi-cmd) 3973# Add set(CONFIG_USE_driver_display-mipi-dsi-cmd true) in config.cmake to use this component 3974 3975message("driver_display-mipi-dsi-cmd component is included from ${CMAKE_CURRENT_LIST_FILE}.") 3976 3977if(CONFIG_USE_driver_common AND (CONFIG_USE_driver_mipi_dsi)) 3978 3979target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 3980 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/mipi_dsi_cmd/fsl_mipi_dsi_cmd.c 3981) 3982 3983target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 3984 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/mipi_dsi_cmd/. 3985) 3986 3987else() 3988 3989message(SEND_ERROR "driver_display-mipi-dsi-cmd.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 3990 3991endif() 3992 3993endif() 3994 3995 3996if (CONFIG_USE_driver_display-common) 3997# Add set(CONFIG_USE_driver_display-common true) in config.cmake to use this component 3998 3999message("driver_display-common component is included from ${CMAKE_CURRENT_LIST_FILE}.") 4000 4001if(CONFIG_USE_driver_video-common) 4002 4003target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 4004 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/. 4005) 4006 4007else() 4008 4009message(SEND_ERROR "driver_display-common.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 4010 4011endif() 4012 4013endif() 4014 4015 4016if (CONFIG_USE_driver_dc-fb-common) 4017# Add set(CONFIG_USE_driver_dc-fb-common true) in config.cmake to use this component 4018 4019message("driver_dc-fb-common component is included from ${CMAKE_CURRENT_LIST_FILE}.") 4020 4021if(CONFIG_USE_driver_video-common) 4022 4023target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 4024 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/dc/. 4025) 4026 4027else() 4028 4029message(SEND_ERROR "driver_dc-fb-common.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 4030 4031endif() 4032 4033endif() 4034 4035 4036if (CONFIG_USE_driver_dc-fb-dsi-cmd) 4037# Add set(CONFIG_USE_driver_dc-fb-dsi-cmd true) in config.cmake to use this component 4038 4039message("driver_dc-fb-dsi-cmd component is included from ${CMAKE_CURRENT_LIST_FILE}.") 4040 4041if(CONFIG_USE_driver_dc-fb-common AND CONFIG_USE_driver_display-common AND CONFIG_USE_driver_display-mipi-dsi-cmd) 4042 4043target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 4044 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/dc/dsi_cmd/fsl_dc_fb_dsi_cmd.c 4045) 4046 4047target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 4048 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/dc/dsi_cmd/. 4049) 4050 4051else() 4052 4053message(SEND_ERROR "driver_dc-fb-dsi-cmd.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 4054 4055endif() 4056 4057endif() 4058 4059 4060if (CONFIG_USE_driver_dbi) 4061# Add set(CONFIG_USE_driver_dbi true) in config.cmake to use this component 4062 4063message("driver_dbi component is included from ${CMAKE_CURRENT_LIST_FILE}.") 4064 4065if(CONFIG_USE_driver_common) 4066 4067target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 4068 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/dbi/. 4069) 4070 4071else() 4072 4073message(SEND_ERROR "driver_dbi.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 4074 4075endif() 4076 4077endif() 4078 4079 4080if (CONFIG_USE_driver_dbi_flexio_smartdma) 4081# Add set(CONFIG_USE_driver_dbi_flexio_smartdma true) in config.cmake to use this component 4082 4083message("driver_dbi_flexio_smartdma component is included from ${CMAKE_CURRENT_LIST_FILE}.") 4084 4085if(CONFIG_USE_driver_dbi AND CONFIG_USE_driver_flexio_mculcd AND CONFIG_USE_driver_flexio_mculcd_smartdma) 4086 4087target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 4088 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/dbi/flexio/fsl_dbi_flexio_smartdma.c 4089) 4090 4091target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 4092 ${CMAKE_CURRENT_LIST_DIR}/../../components/video/display/dbi/flexio/. 4093) 4094 4095else() 4096 4097message(SEND_ERROR "driver_dbi_flexio_smartdma.MIMXRT595S dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 4098 4099endif() 4100 4101endif() 4102 4103