1include_guard(GLOBAL) 2 3 4if (CONFIG_USE_middleware_baremetal) 5# Add set(CONFIG_USE_middleware_baremetal true) in config.cmake to use this component 6 7message("middleware_baremetal component is included from ${CMAKE_CURRENT_LIST_FILE}.") 8 9if(CONFIG_USE_COMPONENT_CONFIGURATION) 10 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 11 12 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 13 -DSDK_OS_BAREMETAL 14 ) 15 16endif() 17 18 19endif() 20 21 22if (CONFIG_USE_utilities_misc_utilities) 23# Add set(CONFIG_USE_utilities_misc_utilities true) in config.cmake to use this component 24 25message("utilities_misc_utilities component is included from ${CMAKE_CURRENT_LIST_FILE}.") 26 27if(CONFIG_TOOLCHAIN STREQUAL armgcc) 28 target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 29 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/misc_utilities/fsl_sbrk.c 30 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/misc_utilities/fsl_syscall_stub.c 31 ) 32endif() 33 34if(CONFIG_CORE STREQUAL cm33 AND (CONFIG_TOOLCHAIN STREQUAL armgcc OR CONFIG_TOOLCHAIN STREQUAL mcux)) 35 target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 36 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/misc_utilities/fsl_memcpy.S 37 ) 38endif() 39 40 41endif() 42 43 44if (CONFIG_USE_driver_nand_flash-common) 45# Add set(CONFIG_USE_driver_nand_flash-common true) in config.cmake to use this component 46 47message("driver_nand_flash-common component is included from ${CMAKE_CURRENT_LIST_FILE}.") 48 49target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 50 ${CMAKE_CURRENT_LIST_DIR}/../../components/flash/nand/. 51) 52 53 54endif() 55 56 57if (CONFIG_USE_driver_nor_flash-common) 58# Add set(CONFIG_USE_driver_nor_flash-common true) in config.cmake to use this component 59 60message("driver_nor_flash-common component is included from ${CMAKE_CURRENT_LIST_FILE}.") 61 62target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 63 ${CMAKE_CURRENT_LIST_DIR}/../../components/flash/nor/. 64) 65 66 67endif() 68 69 70if (CONFIG_USE_driver_mx25r_flash) 71# Add set(CONFIG_USE_driver_mx25r_flash true) in config.cmake to use this component 72 73message("driver_mx25r_flash component is included from ${CMAKE_CURRENT_LIST_FILE}.") 74 75target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 76 ${CMAKE_CURRENT_LIST_DIR}/../../components/mx25r_flash/mx25r_flash.c 77) 78 79target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 80 ${CMAKE_CURRENT_LIST_DIR}/../../components/mx25r_flash/. 81) 82 83 84endif() 85 86 87if (CONFIG_USE_driver_pf1550) 88# Add set(CONFIG_USE_driver_pf1550 true) in config.cmake to use this component 89 90message("driver_pf1550 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 91 92target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 93 ${CMAKE_CURRENT_LIST_DIR}/../../components/pf1550/fsl_pf1550.c 94 ${CMAKE_CURRENT_LIST_DIR}/../../components/pf1550/fsl_pf1550_charger.c 95) 96 97target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 98 ${CMAKE_CURRENT_LIST_DIR}/../../components/pf1550/. 99) 100 101 102endif() 103 104 105if (CONFIG_USE_driver_pf3000) 106# Add set(CONFIG_USE_driver_pf3000 true) in config.cmake to use this component 107 108message("driver_pf3000 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 109 110target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 111 ${CMAKE_CURRENT_LIST_DIR}/../../components/pf3000/fsl_pf3000.c 112) 113 114target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 115 ${CMAKE_CURRENT_LIST_DIR}/../../components/pf3000/. 116) 117 118 119endif() 120 121 122if (CONFIG_USE_driver_rtt_template) 123# Add set(CONFIG_USE_driver_rtt_template true) in config.cmake to use this component 124 125message("driver_rtt_template component is included from ${CMAKE_CURRENT_LIST_FILE}.") 126 127add_config_file(${CMAKE_CURRENT_LIST_DIR}/../../components/rtt/template/SEGGER_RTT_Conf.h ${CMAKE_CURRENT_LIST_DIR}/../../components/rtt/template driver_rtt_template.LPC55S06) 128 129 130endif() 131 132 133if (CONFIG_USE_DEVICES_Project_Template_LPC55S06) 134# Add set(CONFIG_USE_DEVICES_Project_Template_LPC55S06 true) in config.cmake to use this component 135 136message("DEVICES_Project_Template_LPC55S06 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 137 138if(CONFIG_USE_component_usart_adapter AND (CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_device_LPC55S06_startup AND CONFIG_USE_driver_clock AND CONFIG_USE_driver_common AND CONFIG_USE_driver_flexcomm_i2c AND CONFIG_USE_driver_flexcomm_spi AND CONFIG_USE_driver_flexcomm_usart AND CONFIG_USE_driver_lpc_gpio AND CONFIG_USE_driver_lpc_iocon 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))) 139 140add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/board.h "" DEVICES_Project_Template_LPC55S06.LPC55S06) 141add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/board.c "" DEVICES_Project_Template_LPC55S06.LPC55S06) 142add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/clock_config.h "" DEVICES_Project_Template_LPC55S06.LPC55S06) 143add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/clock_config.c "" DEVICES_Project_Template_LPC55S06.LPC55S06) 144add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/pin_mux.h "" DEVICES_Project_Template_LPC55S06.LPC55S06) 145add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/pin_mux.c "" DEVICES_Project_Template_LPC55S06.LPC55S06) 146add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/peripherals.h "" DEVICES_Project_Template_LPC55S06.LPC55S06) 147add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/peripherals.c "" DEVICES_Project_Template_LPC55S06.LPC55S06) 148 149target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 150 ${CMAKE_CURRENT_LIST_DIR}/project_template/. 151) 152 153else() 154 155message(SEND_ERROR "DEVICES_Project_Template_LPC55S06.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 156 157endif() 158 159endif() 160 161 162if (CONFIG_USE_device_LPC55S06_startup) 163# Add set(CONFIG_USE_device_LPC55S06_startup true) in config.cmake to use this component 164 165message("device_LPC55S06_startup component is included from ${CMAKE_CURRENT_LIST_FILE}.") 166 167if(CONFIG_USE_device_LPC55S06_system) 168 169if(CONFIG_TOOLCHAIN STREQUAL armgcc) 170 target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 171 ${CMAKE_CURRENT_LIST_DIR}/./gcc/startup_LPC55S06.S 172 ) 173endif() 174 175if(CONFIG_TOOLCHAIN STREQUAL mcux) 176 target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 177 ${CMAKE_CURRENT_LIST_DIR}/./mcuxpresso/startup_lpc55s06.c 178 ${CMAKE_CURRENT_LIST_DIR}/./mcuxpresso/startup_lpc55s06.cpp 179 ) 180endif() 181 182else() 183 184message(SEND_ERROR "device_LPC55S06_startup.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 185 186endif() 187 188endif() 189 190 191if (CONFIG_USE_device_LPC55S06_CMSIS) 192# Add set(CONFIG_USE_device_LPC55S06_CMSIS true) in config.cmake to use this component 193 194message("device_LPC55S06_CMSIS component is included from ${CMAKE_CURRENT_LIST_FILE}.") 195 196if(CONFIG_USE_CMSIS_Include_core_cm AND (CONFIG_DEVICE_ID STREQUAL LPC55S06)) 197 198target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 199 ${CMAKE_CURRENT_LIST_DIR}/./. 200) 201 202else() 203 204message(SEND_ERROR "device_LPC55S06_CMSIS.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 205 206endif() 207 208endif() 209 210 211if (CONFIG_USE_driver_clock) 212# Add set(CONFIG_USE_driver_clock true) in config.cmake to use this component 213 214message("driver_clock component is included from ${CMAKE_CURRENT_LIST_FILE}.") 215 216if(CONFIG_USE_driver_power AND CONFIG_USE_driver_common) 217 218target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 219 ${CMAKE_CURRENT_LIST_DIR}/drivers/fsl_clock.c 220) 221 222target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 223 ${CMAKE_CURRENT_LIST_DIR}/drivers/. 224) 225 226else() 227 228message(SEND_ERROR "driver_clock.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 229 230endif() 231 232endif() 233 234 235if (CONFIG_USE_RTE_Device) 236# Add set(CONFIG_USE_RTE_Device true) in config.cmake to use this component 237 238message("RTE_Device component is included from ${CMAKE_CURRENT_LIST_FILE}.") 239 240if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_lpc_dma) 241 242add_config_file(${CMAKE_CURRENT_LIST_DIR}/template/RTE_Device.h "" RTE_Device.LPC55S06) 243 244target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 245 ${CMAKE_CURRENT_LIST_DIR}/template/. 246) 247 248else() 249 250message(SEND_ERROR "RTE_Device.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 251 252endif() 253 254endif() 255 256 257if (CONFIG_USE_component_serial_manager_uart) 258# Add set(CONFIG_USE_component_serial_manager_uart true) in config.cmake to use this component 259 260message("component_serial_manager_uart component is included from ${CMAKE_CURRENT_LIST_FILE}.") 261 262if(CONFIG_USE_component_usart_adapter AND CONFIG_USE_component_serial_manager AND (CONFIG_USE_driver_flexcomm_usart)) 263 264target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 265 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/fsl_component_serial_port_uart.c 266) 267 268target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 269 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/. 270) 271 272if(CONFIG_USE_COMPONENT_CONFIGURATION) 273 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 274 275 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 276 -DSERIAL_PORT_TYPE_UART=1 277 ) 278 279endif() 280 281else() 282 283message(SEND_ERROR "component_serial_manager_uart.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 284 285endif() 286 287endif() 288 289 290if (CONFIG_USE_utility_debug_console_lite) 291# Add set(CONFIG_USE_utility_debug_console_lite true) in config.cmake to use this component 292 293message("utility_debug_console_lite component is included from ${CMAKE_CURRENT_LIST_FILE}.") 294 295if(CONFIG_USE_component_usart_adapter AND (CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 296 297target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 298 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/str/fsl_str.c 299 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/debug_console_lite/fsl_debug_console.c 300) 301 302target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 303 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/str 304 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/debug_console_lite 305) 306 307else() 308 309message(SEND_ERROR "utility_debug_console_lite.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 310 311endif() 312 313endif() 314 315 316if (CONFIG_USE_driver_prince) 317# Add set(CONFIG_USE_driver_prince true) in config.cmake to use this component 318 319message("driver_prince component is included from ${CMAKE_CURRENT_LIST_FILE}.") 320 321if(CONFIG_USE_driver_iap1 AND CONFIG_USE_driver_puf AND (CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 322 323target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 324 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/prince/fsl_prince.c 325) 326 327target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 328 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/prince/. 329) 330 331if(CONFIG_USE_COMPONENT_CONFIGURATION) 332 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 333 334 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 335 -DFFR_INCLUDE="fsl_iap_ffr.h" 336 ) 337 338endif() 339 340else() 341 342message(SEND_ERROR "driver_prince.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 343 344endif() 345 346endif() 347 348 349if (CONFIG_USE_driver_flexcomm_i2c_dma) 350# Add set(CONFIG_USE_driver_flexcomm_i2c_dma true) in config.cmake to use this component 351 352message("driver_flexcomm_i2c_dma component is included from ${CMAKE_CURRENT_LIST_FILE}.") 353 354if(CONFIG_USE_driver_lpc_dma AND CONFIG_USE_driver_flexcomm AND CONFIG_USE_driver_common AND CONFIG_USE_driver_flexcomm_i2c) 355 356target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 357 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/i2c/fsl_i2c_dma.c 358) 359 360target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 361 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/i2c/. 362) 363 364else() 365 366message(SEND_ERROR "driver_flexcomm_i2c_dma.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 367 368endif() 369 370endif() 371 372 373if (CONFIG_USE_driver_flexcomm_i2s_dma) 374# Add set(CONFIG_USE_driver_flexcomm_i2s_dma true) in config.cmake to use this component 375 376message("driver_flexcomm_i2s_dma component is included from ${CMAKE_CURRENT_LIST_FILE}.") 377 378if(CONFIG_USE_driver_lpc_dma AND CONFIG_USE_driver_flexcomm_i2s) 379 380target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 381 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/i2s/fsl_i2s_dma.c 382) 383 384target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 385 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/i2s/. 386) 387 388else() 389 390message(SEND_ERROR "driver_flexcomm_i2s_dma.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 391 392endif() 393 394endif() 395 396 397if (CONFIG_USE_driver_flexcomm_spi_dma) 398# Add set(CONFIG_USE_driver_flexcomm_spi_dma true) in config.cmake to use this component 399 400message("driver_flexcomm_spi_dma component is included from ${CMAKE_CURRENT_LIST_FILE}.") 401 402if(CONFIG_USE_driver_lpc_dma AND CONFIG_USE_driver_flexcomm AND CONFIG_USE_driver_flexcomm_spi) 403 404target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 405 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/spi/fsl_spi_dma.c 406) 407 408target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 409 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/spi/. 410) 411 412else() 413 414message(SEND_ERROR "driver_flexcomm_spi_dma.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 415 416endif() 417 418endif() 419 420 421if (CONFIG_USE_driver_flexcomm_usart_dma) 422# Add set(CONFIG_USE_driver_flexcomm_usart_dma true) in config.cmake to use this component 423 424message("driver_flexcomm_usart_dma component is included from ${CMAKE_CURRENT_LIST_FILE}.") 425 426if(CONFIG_USE_driver_lpc_dma AND CONFIG_USE_driver_flexcomm AND CONFIG_USE_driver_flexcomm_usart) 427 428target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 429 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/usart/fsl_usart_dma.c 430) 431 432target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 433 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/usart/. 434) 435 436else() 437 438message(SEND_ERROR "driver_flexcomm_usart_dma.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 439 440endif() 441 442endif() 443 444 445if (CONFIG_USE_utility_notifier) 446# Add set(CONFIG_USE_utility_notifier true) in config.cmake to use this component 447 448message("utility_notifier component is included from ${CMAKE_CURRENT_LIST_FILE}.") 449 450if(CONFIG_USE_driver_common) 451 452target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 453 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/notifier/fsl_notifier.c 454) 455 456target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 457 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/notifier/. 458) 459 460else() 461 462message(SEND_ERROR "utility_notifier.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 463 464endif() 465 466endif() 467 468 469if (CONFIG_USE_driver_inputmux_connections) 470# Add set(CONFIG_USE_driver_inputmux_connections true) in config.cmake to use this component 471 472message("driver_inputmux_connections component is included from ${CMAKE_CURRENT_LIST_FILE}.") 473 474if(CONFIG_USE_driver_common AND (CONFIG_DEVICE_ID STREQUAL LPC55S06)) 475 476target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 477 ${CMAKE_CURRENT_LIST_DIR}/drivers/. 478) 479 480else() 481 482message(SEND_ERROR "driver_inputmux_connections.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 483 484endif() 485 486endif() 487 488 489if (CONFIG_USE_driver_power) 490# Add set(CONFIG_USE_driver_power true) in config.cmake to use this component 491 492message("driver_power component is included from ${CMAKE_CURRENT_LIST_FILE}.") 493 494if(CONFIG_USE_driver_common AND (CONFIG_DEVICE_ID STREQUAL LPC55S06)) 495 496target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 497 ${CMAKE_CURRENT_LIST_DIR}/drivers/fsl_power.c 498) 499 500target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 501 ${CMAKE_CURRENT_LIST_DIR}/drivers/. 502) 503 504else() 505 506message(SEND_ERROR "driver_power.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 507 508endif() 509 510endif() 511 512 513if (CONFIG_USE_driver_common) 514# Add set(CONFIG_USE_driver_common true) in config.cmake to use this component 515 516message("driver_common component is included from ${CMAKE_CURRENT_LIST_FILE}.") 517 518if(CONFIG_USE_driver_reset AND CONFIG_USE_driver_clock AND CONFIG_USE_device_LPC55S06_CMSIS) 519 520target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 521 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/common/fsl_common.c 522) 523 524if(CONFIG_CORE STREQUAL cm33) 525 target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 526 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/common/fsl_common_arm.c 527 ) 528endif() 529 530target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 531 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/common/. 532) 533 534else() 535 536message(SEND_ERROR "driver_common.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 537 538endif() 539 540endif() 541 542 543if (CONFIG_USE_device_LPC55S06_system) 544# Add set(CONFIG_USE_device_LPC55S06_system true) in config.cmake to use this component 545 546message("device_LPC55S06_system component is included from ${CMAKE_CURRENT_LIST_FILE}.") 547 548if(CONFIG_USE_device_LPC55S06_CMSIS) 549 550target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 551 ${CMAKE_CURRENT_LIST_DIR}/./system_LPC55S06.c 552) 553 554target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 555 ${CMAKE_CURRENT_LIST_DIR}/./. 556) 557 558else() 559 560message(SEND_ERROR "device_LPC55S06_system.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 561 562endif() 563 564endif() 565 566 567if (CONFIG_USE_utility_assert) 568# Add set(CONFIG_USE_utility_assert true) in config.cmake to use this component 569 570message("utility_assert component is included from ${CMAKE_CURRENT_LIST_FILE}.") 571 572if(CONFIG_USE_utility_debug_console) 573 574target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 575 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/assert/fsl_assert.c 576) 577 578else() 579 580message(SEND_ERROR "utility_assert.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 581 582endif() 583 584endif() 585 586 587if (CONFIG_USE_utility_assert_lite) 588# Add set(CONFIG_USE_utility_assert_lite true) in config.cmake to use this component 589 590message("utility_assert_lite component is included from ${CMAKE_CURRENT_LIST_FILE}.") 591 592if(CONFIG_USE_utility_debug_console_lite) 593 594target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 595 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/assert/fsl_assert.c 596) 597 598else() 599 600message(SEND_ERROR "utility_assert_lite.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 601 602endif() 603 604endif() 605 606 607if (CONFIG_USE_utility_str) 608# Add set(CONFIG_USE_utility_str true) in config.cmake to use this component 609 610message("utility_str component is included from ${CMAKE_CURRENT_LIST_FILE}.") 611 612if(CONFIG_USE_driver_common) 613 614target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 615 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/str/fsl_str.c 616) 617 618target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 619 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/str 620) 621 622else() 623 624message(SEND_ERROR "utility_str.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 625 626endif() 627 628endif() 629 630 631if (CONFIG_USE_utility_debug_console) 632# Add set(CONFIG_USE_utility_debug_console true) in config.cmake to use this component 633 634message("utility_debug_console component is included from ${CMAKE_CURRENT_LIST_FILE}.") 635 636if(CONFIG_USE_component_serial_manager AND CONFIG_USE_driver_common) 637 638target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 639 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/str/fsl_str.c 640 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/debug_console/fsl_debug_console.c 641) 642 643target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 644 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/str 645 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/debug_console 646) 647 648else() 649 650message(SEND_ERROR "utility_debug_console.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 651 652endif() 653 654endif() 655 656 657if (CONFIG_USE_driver_cmsis_flexcomm_i2c) 658# Add set(CONFIG_USE_driver_cmsis_flexcomm_i2c true) in config.cmake to use this component 659 660message("driver_cmsis_flexcomm_i2c component is included from ${CMAKE_CURRENT_LIST_FILE}.") 661 662if(CONFIG_USE_driver_flexcomm_i2c_dma AND CONFIG_USE_CMSIS_Driver_Include_I2C AND CONFIG_USE_RTE_Device) 663 664target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 665 ${CMAKE_CURRENT_LIST_DIR}/../../cmsis_drivers/flexcomm/fsl_i2c_cmsis.c 666) 667 668target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 669 ${CMAKE_CURRENT_LIST_DIR}/../../cmsis_drivers/flexcomm/. 670) 671 672else() 673 674message(SEND_ERROR "driver_cmsis_flexcomm_i2c.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 675 676endif() 677 678endif() 679 680 681if (CONFIG_USE_driver_cmsis_flexcomm_spi) 682# Add set(CONFIG_USE_driver_cmsis_flexcomm_spi true) in config.cmake to use this component 683 684message("driver_cmsis_flexcomm_spi component is included from ${CMAKE_CURRENT_LIST_FILE}.") 685 686if(CONFIG_USE_driver_flexcomm_spi_dma AND CONFIG_USE_CMSIS_Driver_Include_SPI AND CONFIG_USE_RTE_Device) 687 688target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 689 ${CMAKE_CURRENT_LIST_DIR}/../../cmsis_drivers/flexcomm/fsl_spi_cmsis.c 690) 691 692target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 693 ${CMAKE_CURRENT_LIST_DIR}/../../cmsis_drivers/flexcomm/. 694) 695 696else() 697 698message(SEND_ERROR "driver_cmsis_flexcomm_spi.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 699 700endif() 701 702endif() 703 704 705if (CONFIG_USE_driver_cmsis_flexcomm_usart) 706# Add set(CONFIG_USE_driver_cmsis_flexcomm_usart true) in config.cmake to use this component 707 708message("driver_cmsis_flexcomm_usart component is included from ${CMAKE_CURRENT_LIST_FILE}.") 709 710if(CONFIG_USE_driver_flexcomm_usart_dma AND CONFIG_USE_CMSIS_Driver_Include_USART AND CONFIG_USE_RTE_Device) 711 712target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 713 ${CMAKE_CURRENT_LIST_DIR}/../../cmsis_drivers/flexcomm/fsl_usart_cmsis.c 714) 715 716target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 717 ${CMAKE_CURRENT_LIST_DIR}/../../cmsis_drivers/flexcomm/. 718) 719 720else() 721 722message(SEND_ERROR "driver_cmsis_flexcomm_usart.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 723 724endif() 725 726endif() 727 728 729if (CONFIG_USE_component_audio_flexcomm_i2s_dma_adapter) 730# Add set(CONFIG_USE_component_audio_flexcomm_i2s_dma_adapter true) in config.cmake to use this component 731 732message("component_audio_flexcomm_i2s_dma_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 733 734if(CONFIG_USE_driver_common AND CONFIG_USE_driver_flexcomm_i2s_dma) 735 736target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 737 ${CMAKE_CURRENT_LIST_DIR}/../../components/audio/fsl_adapter_flexcomm_i2s.c 738) 739 740target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 741 ${CMAKE_CURRENT_LIST_DIR}/../../components/audio/. 742) 743 744else() 745 746message(SEND_ERROR "component_audio_flexcomm_i2s_dma_adapter.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 747 748endif() 749 750endif() 751 752 753if (CONFIG_USE_component_button) 754# Add set(CONFIG_USE_component_button true) in config.cmake to use this component 755 756message("component_button component is included from ${CMAKE_CURRENT_LIST_FILE}.") 757 758if(CONFIG_USE_driver_common AND CONFIG_USE_component_timer_manager AND (CONFIG_USE_component_lpc_gpio_adapter)) 759 760target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 761 ${CMAKE_CURRENT_LIST_DIR}/../../components/button/fsl_component_button.c 762) 763 764target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 765 ${CMAKE_CURRENT_LIST_DIR}/../../components/button/. 766) 767 768else() 769 770message(SEND_ERROR "component_button.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 771 772endif() 773 774endif() 775 776 777if (CONFIG_USE_driver_codec) 778# Add set(CONFIG_USE_driver_codec true) in config.cmake to use this component 779 780message("driver_codec component is included from ${CMAKE_CURRENT_LIST_FILE}.") 781 782if(CONFIG_USE_driver_common AND (CONFIG_USE_component_wm8904_adapter OR CONFIG_USE_component_wm8960_adapter OR CONFIG_USE_component_sgtl_adapter OR CONFIG_USE_component_da7212_adapter OR CONFIG_USE_component_cs42888_adapter OR CONFIG_USE_component_codec_adapters)) 783 784target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 785 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/fsl_codec_common.c 786) 787 788target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 789 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/. 790) 791 792if(CONFIG_USE_COMPONENT_CONFIGURATION) 793 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 794 795 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 796 -DSDK_I2C_BASED_COMPONENT_USED=1 797 ) 798 799endif() 800 801else() 802 803message(SEND_ERROR "driver_codec.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 804 805endif() 806 807endif() 808 809 810if (CONFIG_USE_component_codec_adapters) 811# Add set(CONFIG_USE_component_codec_adapters true) in config.cmake to use this component 812 813message("component_codec_adapters component is included from ${CMAKE_CURRENT_LIST_FILE}.") 814 815if((CONFIG_USE_driver_codec AND CONFIG_USE_component_wm8904_adapter) OR (CONFIG_USE_driver_codec AND CONFIG_USE_component_wm8960_adapter) OR (CONFIG_USE_driver_codec AND CONFIG_USE_component_sgtl_adapter) OR (CONFIG_USE_driver_codec AND CONFIG_USE_component_da7212_adapter) OR (CONFIG_USE_driver_codec AND CONFIG_USE_component_cs42888_adapter)) 816 817target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 818 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port/fsl_codec_adapter.c 819) 820 821target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 822 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port 823) 824 825if(CONFIG_USE_COMPONENT_CONFIGURATION) 826 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 827 828 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 829 -DCODEC_MULTI_ADAPTERS=1 830 ) 831 832endif() 833 834else() 835 836message(SEND_ERROR "component_codec_adapters.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 837 838endif() 839 840endif() 841 842 843if (CONFIG_USE_component_wm8904_adapter) 844# Add set(CONFIG_USE_component_wm8904_adapter true) in config.cmake to use this component 845 846message("component_wm8904_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 847 848if(CONFIG_USE_driver_wm8904 AND CONFIG_USE_driver_codec) 849 850target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 851 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port/wm8904/fsl_codec_wm8904_adapter.c 852) 853 854target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 855 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port/wm8904 856 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port 857) 858 859else() 860 861message(SEND_ERROR "component_wm8904_adapter.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 862 863endif() 864 865endif() 866 867 868if (CONFIG_USE_component_wm8960_adapter) 869# Add set(CONFIG_USE_component_wm8960_adapter true) in config.cmake to use this component 870 871message("component_wm8960_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 872 873if(CONFIG_USE_driver_wm8960 AND CONFIG_USE_driver_codec) 874 875target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 876 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port/wm8960/fsl_codec_wm8960_adapter.c 877) 878 879target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 880 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port/wm8960 881 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port 882) 883 884else() 885 886message(SEND_ERROR "component_wm8960_adapter.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 887 888endif() 889 890endif() 891 892 893if (CONFIG_USE_component_cs42888_adapter) 894# Add set(CONFIG_USE_component_cs42888_adapter true) in config.cmake to use this component 895 896message("component_cs42888_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 897 898if(CONFIG_USE_driver_cs42888 AND CONFIG_USE_driver_codec) 899 900target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 901 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port/cs42888/fsl_codec_cs42888_adapter.c 902) 903 904target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 905 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port/cs42888 906 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port 907) 908 909else() 910 911message(SEND_ERROR "component_cs42888_adapter.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 912 913endif() 914 915endif() 916 917 918if (CONFIG_USE_component_sgtl_adapter) 919# Add set(CONFIG_USE_component_sgtl_adapter true) in config.cmake to use this component 920 921message("component_sgtl_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 922 923if(CONFIG_USE_driver_sgtl5000 AND CONFIG_USE_driver_codec) 924 925target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 926 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port/sgtl5000/fsl_codec_sgtl_adapter.c 927) 928 929target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 930 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port/sgtl5000 931 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port 932) 933 934else() 935 936message(SEND_ERROR "component_sgtl_adapter.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 937 938endif() 939 940endif() 941 942 943if (CONFIG_USE_component_da7212_adapter) 944# Add set(CONFIG_USE_component_da7212_adapter true) in config.cmake to use this component 945 946message("component_da7212_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 947 948if(CONFIG_USE_driver_dialog7212 AND CONFIG_USE_driver_codec) 949 950target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 951 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port/da7212/fsl_codec_da7212_adapter.c 952) 953 954target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 955 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port/da7212 956 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/port 957) 958 959else() 960 961message(SEND_ERROR "component_da7212_adapter.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 962 963endif() 964 965endif() 966 967 968if (CONFIG_USE_component_codec_i2c) 969# Add set(CONFIG_USE_component_codec_i2c true) in config.cmake to use this component 970 971message("component_codec_i2c component is included from ${CMAKE_CURRENT_LIST_FILE}.") 972 973if(CONFIG_USE_driver_common AND (CONFIG_USE_component_flexcomm_i2c_adapter)) 974 975target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 976 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/i2c/fsl_codec_i2c.c 977) 978 979target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 980 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/i2c/. 981) 982 983if(CONFIG_USE_COMPONENT_CONFIGURATION) 984 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 985 986 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 987 -DSDK_I2C_BASED_COMPONENT_USED=1 988 ) 989 990endif() 991 992else() 993 994message(SEND_ERROR "component_codec_i2c.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 995 996endif() 997 998endif() 999 1000 1001if (CONFIG_USE_component_lpc_crc_adapter) 1002# Add set(CONFIG_USE_component_lpc_crc_adapter true) in config.cmake to use this component 1003 1004message("component_lpc_crc_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1005 1006if(CONFIG_USE_driver_common AND CONFIG_USE_driver_lpc_crc) 1007 1008target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1009 ${CMAKE_CURRENT_LIST_DIR}/../../components/crc/fsl_adapter_lpc_crc.c 1010) 1011 1012target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1013 ${CMAKE_CURRENT_LIST_DIR}/../../components/crc/. 1014) 1015 1016else() 1017 1018message(SEND_ERROR "component_lpc_crc_adapter.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1019 1020endif() 1021 1022endif() 1023 1024 1025if (CONFIG_USE_component_software_crc_adapter) 1026# Add set(CONFIG_USE_component_software_crc_adapter true) in config.cmake to use this component 1027 1028message("component_software_crc_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1029 1030if(CONFIG_USE_driver_common) 1031 1032target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1033 ${CMAKE_CURRENT_LIST_DIR}/../../components/crc/fsl_adapter_software_crc.c 1034) 1035 1036target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1037 ${CMAKE_CURRENT_LIST_DIR}/../../components/crc/. 1038) 1039 1040else() 1041 1042message(SEND_ERROR "component_software_crc_adapter.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1043 1044endif() 1045 1046endif() 1047 1048 1049if (CONFIG_USE_driver_cs42888) 1050# Add set(CONFIG_USE_driver_cs42888 true) in config.cmake to use this component 1051 1052message("driver_cs42888 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1053 1054if(CONFIG_USE_driver_common AND CONFIG_USE_component_codec_i2c) 1055 1056target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1057 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/cs42888/fsl_cs42888.c 1058) 1059 1060target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1061 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/cs42888/. 1062) 1063 1064if(CONFIG_USE_COMPONENT_CONFIGURATION) 1065 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 1066 1067 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 1068 -DSDK_I2C_BASED_COMPONENT_USED=1 1069 -DCODEC_CS42888_ENABLE 1070 ) 1071 1072endif() 1073 1074else() 1075 1076message(SEND_ERROR "driver_cs42888.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1077 1078endif() 1079 1080endif() 1081 1082 1083if (CONFIG_USE_driver_dialog7212) 1084# Add set(CONFIG_USE_driver_dialog7212 true) in config.cmake to use this component 1085 1086message("driver_dialog7212 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1087 1088if(CONFIG_USE_driver_common AND CONFIG_USE_component_codec_i2c) 1089 1090target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1091 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/da7212/fsl_dialog7212.c 1092) 1093 1094target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1095 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/da7212/. 1096) 1097 1098if(CONFIG_USE_COMPONENT_CONFIGURATION) 1099 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 1100 1101 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 1102 -DSDK_I2C_BASED_COMPONENT_USED=1 1103 -DBOARD_USE_CODEC=1 1104 -DCODEC_DA7212_ENABLE 1105 ) 1106 1107endif() 1108 1109else() 1110 1111message(SEND_ERROR "driver_dialog7212.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1112 1113endif() 1114 1115endif() 1116 1117 1118if (CONFIG_USE_driver_ft5406) 1119# Add set(CONFIG_USE_driver_ft5406 true) in config.cmake to use this component 1120 1121message("driver_ft5406 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1122 1123if(CONFIG_USE_driver_common) 1124 1125target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1126 ${CMAKE_CURRENT_LIST_DIR}/../../components/ft5406/fsl_ft5406.c 1127) 1128 1129target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1130 ${CMAKE_CURRENT_LIST_DIR}/../../components/ft5406/. 1131) 1132 1133else() 1134 1135message(SEND_ERROR "driver_ft5406.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1136 1137endif() 1138 1139endif() 1140 1141 1142if (CONFIG_USE_driver_ft6x06) 1143# Add set(CONFIG_USE_driver_ft6x06 true) in config.cmake to use this component 1144 1145message("driver_ft6x06 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1146 1147if(CONFIG_USE_CMSIS_Driver_Include_I2C) 1148 1149target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1150 ${CMAKE_CURRENT_LIST_DIR}/../../components/ft6x06/fsl_ft6x06.c 1151) 1152 1153target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1154 ${CMAKE_CURRENT_LIST_DIR}/../../components/ft6x06/. 1155) 1156 1157else() 1158 1159message(SEND_ERROR "driver_ft6x06.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1160 1161endif() 1162 1163endif() 1164 1165 1166if (CONFIG_USE_driver_fxos8700cq) 1167# Add set(CONFIG_USE_driver_fxos8700cq true) in config.cmake to use this component 1168 1169message("driver_fxos8700cq component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1170 1171if(CONFIG_USE_driver_common) 1172 1173target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1174 ${CMAKE_CURRENT_LIST_DIR}/../../components/fxos8700cq/fsl_fxos.c 1175) 1176 1177target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1178 ${CMAKE_CURRENT_LIST_DIR}/../../components/fxos8700cq/. 1179) 1180 1181else() 1182 1183message(SEND_ERROR "driver_fxos8700cq.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1184 1185endif() 1186 1187endif() 1188 1189 1190if (CONFIG_USE_component_lpc_gpio_adapter) 1191# Add set(CONFIG_USE_component_lpc_gpio_adapter true) in config.cmake to use this component 1192 1193message("component_lpc_gpio_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1194 1195if(CONFIG_USE_driver_lpc_gpio AND CONFIG_USE_driver_inputmux AND CONFIG_USE_driver_pint) 1196 1197target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1198 ${CMAKE_CURRENT_LIST_DIR}/../../components/gpio/fsl_adapter_lpc_gpio.c 1199) 1200 1201target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1202 ${CMAKE_CURRENT_LIST_DIR}/../../components/gpio/. 1203) 1204 1205else() 1206 1207message(SEND_ERROR "component_lpc_gpio_adapter.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1208 1209endif() 1210 1211endif() 1212 1213 1214if (CONFIG_USE_component_gint_adapter) 1215# Add set(CONFIG_USE_component_gint_adapter true) in config.cmake to use this component 1216 1217message("component_gint_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1218 1219if(CONFIG_USE_driver_gint) 1220 1221target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1222 ${CMAKE_CURRENT_LIST_DIR}/../../components/gpio/fsl_adapter_gint.c 1223) 1224 1225target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1226 ${CMAKE_CURRENT_LIST_DIR}/../../components/gpio/. 1227) 1228 1229else() 1230 1231message(SEND_ERROR "component_gint_adapter.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1232 1233endif() 1234 1235endif() 1236 1237 1238if (CONFIG_USE_component_flexcomm_i2c_adapter) 1239# Add set(CONFIG_USE_component_flexcomm_i2c_adapter true) in config.cmake to use this component 1240 1241message("component_flexcomm_i2c_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1242 1243if(CONFIG_USE_driver_common AND CONFIG_USE_driver_flexcomm_i2c) 1244 1245target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1246 ${CMAKE_CURRENT_LIST_DIR}/../../components/i2c/fsl_adapter_flexcomm_i2c.c 1247) 1248 1249target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1250 ${CMAKE_CURRENT_LIST_DIR}/../../components/i2c/. 1251) 1252 1253else() 1254 1255message(SEND_ERROR "component_flexcomm_i2c_adapter.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1256 1257endif() 1258 1259endif() 1260 1261 1262if (CONFIG_USE_driver_ili9341) 1263# Add set(CONFIG_USE_driver_ili9341 true) in config.cmake to use this component 1264 1265message("driver_ili9341 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1266 1267if(CONFIG_USE_driver_common) 1268 1269target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1270 ${CMAKE_CURRENT_LIST_DIR}/../../components/ili9341/fsl_ili9341.c 1271) 1272 1273target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1274 ${CMAKE_CURRENT_LIST_DIR}/../../components/ili9341/. 1275) 1276 1277else() 1278 1279message(SEND_ERROR "driver_ili9341.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1280 1281endif() 1282 1283endif() 1284 1285 1286if (CONFIG_USE_component_led) 1287# Add set(CONFIG_USE_component_led true) in config.cmake to use this component 1288 1289message("component_led component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1290 1291if(CONFIG_USE_driver_common AND CONFIG_USE_component_timer_manager AND (CONFIG_USE_component_lpc_gpio_adapter)) 1292 1293target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1294 ${CMAKE_CURRENT_LIST_DIR}/../../components/led/fsl_component_led.c 1295) 1296 1297target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1298 ${CMAKE_CURRENT_LIST_DIR}/../../components/led/. 1299) 1300 1301else() 1302 1303message(SEND_ERROR "component_led.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1304 1305endif() 1306 1307endif() 1308 1309 1310if (CONFIG_USE_component_lists) 1311# Add set(CONFIG_USE_component_lists true) in config.cmake to use this component 1312 1313message("component_lists component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1314 1315if(CONFIG_USE_driver_common) 1316 1317target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1318 ${CMAKE_CURRENT_LIST_DIR}/../../components/lists/fsl_component_generic_list.c 1319) 1320 1321target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1322 ${CMAKE_CURRENT_LIST_DIR}/../../components/lists/. 1323) 1324 1325else() 1326 1327message(SEND_ERROR "component_lists.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1328 1329endif() 1330 1331endif() 1332 1333 1334if (CONFIG_USE_component_mem_manager) 1335# Add set(CONFIG_USE_component_mem_manager true) in config.cmake to use this component 1336 1337message("component_mem_manager component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1338 1339if(CONFIG_USE_driver_common AND CONFIG_USE_component_lists) 1340 1341target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1342 ${CMAKE_CURRENT_LIST_DIR}/../../components/mem_manager/fsl_component_mem_manager.c 1343) 1344 1345target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1346 ${CMAKE_CURRENT_LIST_DIR}/../../components/mem_manager/. 1347) 1348 1349else() 1350 1351message(SEND_ERROR "component_mem_manager.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1352 1353endif() 1354 1355endif() 1356 1357 1358if (CONFIG_USE_component_mem_manager_light) 1359# Add set(CONFIG_USE_component_mem_manager_light true) in config.cmake to use this component 1360 1361message("component_mem_manager_light component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1362 1363if(CONFIG_USE_driver_common AND CONFIG_USE_component_lists) 1364 1365target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1366 ${CMAKE_CURRENT_LIST_DIR}/../../components/mem_manager/fsl_component_mem_manager_light.c 1367) 1368 1369target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1370 ${CMAKE_CURRENT_LIST_DIR}/../../components/mem_manager/. 1371) 1372 1373else() 1374 1375message(SEND_ERROR "component_mem_manager_light.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1376 1377endif() 1378 1379endif() 1380 1381 1382if (CONFIG_USE_driver_mma8451q) 1383# Add set(CONFIG_USE_driver_mma8451q true) in config.cmake to use this component 1384 1385message("driver_mma8451q component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1386 1387if(CONFIG_USE_driver_common) 1388 1389target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1390 ${CMAKE_CURRENT_LIST_DIR}/../../components/mma8451q/fsl_mma.c 1391) 1392 1393target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1394 ${CMAKE_CURRENT_LIST_DIR}/../../components/mma8451q/. 1395) 1396 1397else() 1398 1399message(SEND_ERROR "driver_mma8451q.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1400 1401endif() 1402 1403endif() 1404 1405 1406if (CONFIG_USE_driver_mma8652fc) 1407# Add set(CONFIG_USE_driver_mma8652fc true) in config.cmake to use this component 1408 1409message("driver_mma8652fc component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1410 1411if(CONFIG_USE_driver_common) 1412 1413target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1414 ${CMAKE_CURRENT_LIST_DIR}/../../components/mma8652fc/fsl_mma.c 1415) 1416 1417target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1418 ${CMAKE_CURRENT_LIST_DIR}/../../components/mma8652fc/. 1419) 1420 1421else() 1422 1423message(SEND_ERROR "driver_mma8652fc.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1424 1425endif() 1426 1427endif() 1428 1429 1430if (CONFIG_USE_component_panic) 1431# Add set(CONFIG_USE_component_panic true) in config.cmake to use this component 1432 1433message("component_panic component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1434 1435if(CONFIG_USE_driver_common) 1436 1437target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1438 ${CMAKE_CURRENT_LIST_DIR}/../../components/panic/fsl_component_panic.c 1439) 1440 1441target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1442 ${CMAKE_CURRENT_LIST_DIR}/../../components/panic/. 1443) 1444 1445else() 1446 1447message(SEND_ERROR "component_panic.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1448 1449endif() 1450 1451endif() 1452 1453 1454if (CONFIG_USE_component_pwm_ctimer_adapter) 1455# Add set(CONFIG_USE_component_pwm_ctimer_adapter true) in config.cmake to use this component 1456 1457message("component_pwm_ctimer_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1458 1459if(CONFIG_USE_driver_common AND CONFIG_USE_driver_ctimer) 1460 1461target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1462 ${CMAKE_CURRENT_LIST_DIR}/../../components/pwm/fsl_adapter_pwm_ctimer.c 1463) 1464 1465target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1466 ${CMAKE_CURRENT_LIST_DIR}/../../components/pwm/. 1467) 1468 1469else() 1470 1471message(SEND_ERROR "component_pwm_ctimer_adapter.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1472 1473endif() 1474 1475endif() 1476 1477 1478if (CONFIG_USE_component_reset_adapter) 1479# Add set(CONFIG_USE_component_reset_adapter true) in config.cmake to use this component 1480 1481message("component_reset_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1482 1483if(CONFIG_USE_driver_common) 1484 1485target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1486 ${CMAKE_CURRENT_LIST_DIR}/../../components/reset/fsl_adapter_reset.c 1487) 1488 1489target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1490 ${CMAKE_CURRENT_LIST_DIR}/../../components/reset/. 1491) 1492 1493else() 1494 1495message(SEND_ERROR "component_reset_adapter.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1496 1497endif() 1498 1499endif() 1500 1501 1502if (CONFIG_USE_component_software_rng_adapter) 1503# Add set(CONFIG_USE_component_software_rng_adapter true) in config.cmake to use this component 1504 1505message("component_software_rng_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1506 1507if(CONFIG_USE_driver_common) 1508 1509target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1510 ${CMAKE_CURRENT_LIST_DIR}/../../components/rng/fsl_adapter_software_rng.c 1511) 1512 1513target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1514 ${CMAKE_CURRENT_LIST_DIR}/../../components/rng/. 1515) 1516 1517else() 1518 1519message(SEND_ERROR "component_software_rng_adapter.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1520 1521endif() 1522 1523endif() 1524 1525 1526if (CONFIG_USE_component_lpcrtc) 1527# Add set(CONFIG_USE_component_lpcrtc true) in config.cmake to use this component 1528 1529message("component_lpcrtc component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1530 1531if(CONFIG_USE_driver_common AND CONFIG_USE_driver_lpc_rtc AND (CONFIG_DEVICE_ID STREQUAL LPC55S06)) 1532 1533target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1534 ${CMAKE_CURRENT_LIST_DIR}/../../components/rtc/fsl_adapter_lpcrtc.c 1535) 1536 1537target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1538 ${CMAKE_CURRENT_LIST_DIR}/../../components/rtc/. 1539) 1540 1541if(CONFIG_USE_COMPONENT_CONFIGURATION) 1542 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 1543 1544 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 1545 -DRTC_LEGACY_FUNCTION_PROTOTYPE=1 1546 ) 1547 1548endif() 1549 1550else() 1551 1552message(SEND_ERROR "component_lpcrtc.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1553 1554endif() 1555 1556endif() 1557 1558 1559if (CONFIG_USE_component_serial_manager) 1560# Add set(CONFIG_USE_component_serial_manager true) in config.cmake to use this component 1561 1562message("component_serial_manager component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1563 1564if(CONFIG_USE_driver_common AND CONFIG_USE_component_lists AND (CONFIG_USE_component_serial_manager_uart OR CONFIG_USE_component_serial_manager_virtual OR CONFIG_USE_component_serial_manager_swo OR CONFIG_USE_component_serial_manager_spi)) 1565 1566target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1567 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/fsl_component_serial_manager.c 1568) 1569 1570target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1571 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/. 1572) 1573 1574else() 1575 1576message(SEND_ERROR "component_serial_manager.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1577 1578endif() 1579 1580endif() 1581 1582 1583if (CONFIG_USE_component_serial_manager_spi) 1584# Add set(CONFIG_USE_component_serial_manager_spi true) in config.cmake to use this component 1585 1586message("component_serial_manager_spi component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1587 1588if(CONFIG_USE_component_serial_manager AND ((CONFIG_USE_driver_flexcomm_spi AND CONFIG_USE_component_flexcomm_spi_adapter))) 1589 1590target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1591 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/fsl_component_serial_port_spi.c 1592) 1593 1594target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1595 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/. 1596) 1597 1598if(CONFIG_USE_COMPONENT_CONFIGURATION) 1599 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 1600 1601 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 1602 -DSERIAL_PORT_TYPE_SPI=1 1603 -DSERIAL_PORT_TYPE_SPI_MASTER=1 1604 -DSERIAL_PORT_TYPE_SPI_SLAVE=1 1605 -DSERIAL_MANAGER_NON_BLOCKING_MODE=1 1606 ) 1607 1608endif() 1609 1610else() 1611 1612message(SEND_ERROR "component_serial_manager_spi.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1613 1614endif() 1615 1616endif() 1617 1618 1619if (CONFIG_USE_component_serial_manager_virtual) 1620# Add set(CONFIG_USE_component_serial_manager_virtual true) in config.cmake to use this component 1621 1622message("component_serial_manager_virtual component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1623 1624if(CONFIG_USE_component_serial_manager AND CONFIG_USE_driver_common) 1625 1626target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1627 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/fsl_component_serial_port_virtual.c 1628) 1629 1630target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1631 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/. 1632) 1633 1634if(CONFIG_USE_COMPONENT_CONFIGURATION) 1635 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 1636 1637 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 1638 -DSERIAL_PORT_TYPE_VIRTUAL=1 1639 -DDEBUG_CONSOLE_TRANSFER_NON_BLOCKING 1640 ) 1641 1642endif() 1643 1644else() 1645 1646message(SEND_ERROR "component_serial_manager_virtual.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1647 1648endif() 1649 1650endif() 1651 1652 1653if (CONFIG_USE_component_serial_manager_swo) 1654# Add set(CONFIG_USE_component_serial_manager_swo true) in config.cmake to use this component 1655 1656message("component_serial_manager_swo component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1657 1658if((CONFIG_CORE STREQUAL cm33) AND CONFIG_USE_driver_common AND CONFIG_USE_component_serial_manager) 1659 1660target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1661 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/fsl_component_serial_port_swo.c 1662) 1663 1664target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1665 ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/. 1666) 1667 1668if(CONFIG_USE_COMPONENT_CONFIGURATION) 1669 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 1670 1671 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 1672 -DSERIAL_PORT_TYPE_SWO=1 1673 ) 1674 1675endif() 1676 1677else() 1678 1679message(SEND_ERROR "component_serial_manager_swo.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1680 1681endif() 1682 1683endif() 1684 1685 1686if (CONFIG_USE_driver_sgtl5000) 1687# Add set(CONFIG_USE_driver_sgtl5000 true) in config.cmake to use this component 1688 1689message("driver_sgtl5000 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1690 1691if(CONFIG_USE_driver_common AND CONFIG_USE_component_codec_i2c) 1692 1693target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1694 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/sgtl5000/fsl_sgtl5000.c 1695) 1696 1697target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1698 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/sgtl5000/. 1699) 1700 1701if(CONFIG_USE_COMPONENT_CONFIGURATION) 1702 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 1703 1704 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 1705 -DSDK_I2C_BASED_COMPONENT_USED=1 1706 -DBOARD_USE_CODEC=1 1707 -DCODEC_SGTL5000_ENABLE 1708 ) 1709 1710endif() 1711 1712else() 1713 1714message(SEND_ERROR "driver_sgtl5000.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1715 1716endif() 1717 1718endif() 1719 1720 1721if (CONFIG_USE_utility_shell) 1722# Add set(CONFIG_USE_utility_shell true) in config.cmake to use this component 1723 1724message("utility_shell component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1725 1726if(CONFIG_USE_utility_str AND CONFIG_USE_component_lists AND CONFIG_USE_driver_common) 1727 1728target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1729 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/shell/fsl_shell.c 1730) 1731 1732target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1733 ${CMAKE_CURRENT_LIST_DIR}/../../utilities/shell/. 1734) 1735 1736if(CONFIG_USE_COMPONENT_CONFIGURATION) 1737 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 1738 1739 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 1740 -DDEBUG_CONSOLE_RX_ENABLE=0 1741 ) 1742 1743endif() 1744 1745else() 1746 1747message(SEND_ERROR "utility_shell.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1748 1749endif() 1750 1751endif() 1752 1753 1754if (CONFIG_USE_component_flexcomm_spi_adapter) 1755# Add set(CONFIG_USE_component_flexcomm_spi_adapter true) in config.cmake to use this component 1756 1757message("component_flexcomm_spi_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1758 1759if(CONFIG_USE_driver_common AND CONFIG_USE_driver_flexcomm_spi) 1760 1761target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1762 ${CMAKE_CURRENT_LIST_DIR}/../../components/spi/fsl_adapter_flexcomm_spi.c 1763) 1764 1765target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1766 ${CMAKE_CURRENT_LIST_DIR}/../../components/spi/. 1767) 1768 1769else() 1770 1771message(SEND_ERROR "component_flexcomm_spi_adapter.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1772 1773endif() 1774 1775endif() 1776 1777 1778if (CONFIG_USE_component_ctimer_adapter) 1779# Add set(CONFIG_USE_component_ctimer_adapter true) in config.cmake to use this component 1780 1781message("component_ctimer_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1782 1783if(CONFIG_USE_driver_common AND CONFIG_USE_driver_ctimer) 1784 1785target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1786 ${CMAKE_CURRENT_LIST_DIR}/../../components/timer/fsl_adapter_ctimer.c 1787) 1788 1789target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1790 ${CMAKE_CURRENT_LIST_DIR}/../../components/timer/. 1791) 1792 1793else() 1794 1795message(SEND_ERROR "component_ctimer_adapter.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1796 1797endif() 1798 1799endif() 1800 1801 1802if (CONFIG_USE_component_mrt_adapter) 1803# Add set(CONFIG_USE_component_mrt_adapter true) in config.cmake to use this component 1804 1805message("component_mrt_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1806 1807if(CONFIG_USE_driver_common AND CONFIG_USE_driver_mrt) 1808 1809target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1810 ${CMAKE_CURRENT_LIST_DIR}/../../components/timer/fsl_adapter_mrt.c 1811) 1812 1813target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1814 ${CMAKE_CURRENT_LIST_DIR}/../../components/timer/. 1815) 1816 1817else() 1818 1819message(SEND_ERROR "component_mrt_adapter.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1820 1821endif() 1822 1823endif() 1824 1825 1826if (CONFIG_USE_component_ostimer_adapter) 1827# Add set(CONFIG_USE_component_ostimer_adapter true) in config.cmake to use this component 1828 1829message("component_ostimer_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1830 1831if(CONFIG_USE_driver_common AND CONFIG_USE_driver_ostimer) 1832 1833target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1834 ${CMAKE_CURRENT_LIST_DIR}/../../components/timer/fsl_adapter_ostimer.c 1835) 1836 1837target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1838 ${CMAKE_CURRENT_LIST_DIR}/../../components/timer/. 1839) 1840 1841else() 1842 1843message(SEND_ERROR "component_ostimer_adapter.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1844 1845endif() 1846 1847endif() 1848 1849 1850if (CONFIG_USE_component_timer_manager) 1851# Add set(CONFIG_USE_component_timer_manager true) in config.cmake to use this component 1852 1853message("component_timer_manager component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1854 1855if(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)) 1856 1857target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1858 ${CMAKE_CURRENT_LIST_DIR}/../../components/timer_manager/fsl_component_timer_manager.c 1859) 1860 1861target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1862 ${CMAKE_CURRENT_LIST_DIR}/../../components/timer_manager/. 1863) 1864 1865else() 1866 1867message(SEND_ERROR "component_timer_manager.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1868 1869endif() 1870 1871endif() 1872 1873 1874if (CONFIG_USE_component_usart_adapter) 1875# Add set(CONFIG_USE_component_usart_adapter true) in config.cmake to use this component 1876 1877message("component_usart_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1878 1879if(CONFIG_USE_driver_common AND CONFIG_USE_driver_flexcomm_usart AND CONFIG_USE_driver_flexcomm) 1880 1881target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1882 ${CMAKE_CURRENT_LIST_DIR}/../../components/uart/fsl_adapter_usart.c 1883) 1884 1885target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1886 ${CMAKE_CURRENT_LIST_DIR}/../../components/uart/. 1887) 1888 1889else() 1890 1891message(SEND_ERROR "component_usart_adapter.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1892 1893endif() 1894 1895endif() 1896 1897 1898if (CONFIG_USE_component_usart_dma_adapter) 1899# Add set(CONFIG_USE_component_usart_dma_adapter true) in config.cmake to use this component 1900 1901message("component_usart_dma_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1902 1903if(CONFIG_USE_component_usart_adapter AND CONFIG_USE_component_timer_manager AND CONFIG_USE_driver_flexcomm_usart_dma) 1904 1905target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1906 ${CMAKE_CURRENT_LIST_DIR}/../../components/uart/fsl_adapter_usart.c 1907) 1908 1909target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1910 ${CMAKE_CURRENT_LIST_DIR}/../../components/uart/. 1911) 1912 1913if(CONFIG_USE_COMPONENT_CONFIGURATION) 1914 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 1915 1916 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 1917 -DHAL_UART_DMA_ENABLE=1 1918 ) 1919 1920endif() 1921 1922else() 1923 1924message(SEND_ERROR "component_usart_dma_adapter.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1925 1926endif() 1927 1928endif() 1929 1930 1931if (CONFIG_USE_driver_wm8904) 1932# Add set(CONFIG_USE_driver_wm8904 true) in config.cmake to use this component 1933 1934message("driver_wm8904 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1935 1936if(CONFIG_USE_driver_common AND CONFIG_USE_component_codec_i2c) 1937 1938target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1939 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/wm8904/fsl_wm8904.c 1940) 1941 1942target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1943 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/wm8904/. 1944) 1945 1946if(CONFIG_USE_COMPONENT_CONFIGURATION) 1947 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 1948 1949 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 1950 -DSDK_I2C_BASED_COMPONENT_USED=1 1951 -DBOARD_USE_CODEC=1 1952 -DCODEC_WM8904_ENABLE 1953 ) 1954 1955endif() 1956 1957else() 1958 1959message(SEND_ERROR "driver_wm8904.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1960 1961endif() 1962 1963endif() 1964 1965 1966if (CONFIG_USE_driver_wm8960) 1967# Add set(CONFIG_USE_driver_wm8960 true) in config.cmake to use this component 1968 1969message("driver_wm8960 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 1970 1971if(CONFIG_USE_driver_common AND CONFIG_USE_component_codec_i2c) 1972 1973target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 1974 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/wm8960/fsl_wm8960.c 1975) 1976 1977target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 1978 ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/wm8960/. 1979) 1980 1981if(CONFIG_USE_COMPONENT_CONFIGURATION) 1982 message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}") 1983 1984 target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC 1985 -DSDK_I2C_BASED_COMPONENT_USED=1 1986 -DBOARD_USE_CODEC=1 1987 -DCODEC_WM8960_ENABLE 1988 ) 1989 1990endif() 1991 1992else() 1993 1994message(SEND_ERROR "driver_wm8960.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 1995 1996endif() 1997 1998endif() 1999 2000 2001if (CONFIG_USE_driver_lpadc) 2002# Add set(CONFIG_USE_driver_lpadc true) in config.cmake to use this component 2003 2004message("driver_lpadc component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2005 2006if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2007 2008target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2009 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpadc/fsl_lpadc.c 2010) 2011 2012target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2013 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpadc/. 2014) 2015 2016else() 2017 2018message(SEND_ERROR "driver_lpadc.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2019 2020endif() 2021 2022endif() 2023 2024 2025if (CONFIG_USE_driver_anactrl) 2026# Add set(CONFIG_USE_driver_anactrl true) in config.cmake to use this component 2027 2028message("driver_anactrl component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2029 2030if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2031 2032target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2033 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/anactrl/fsl_anactrl.c 2034) 2035 2036target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2037 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/anactrl/. 2038) 2039 2040else() 2041 2042message(SEND_ERROR "driver_anactrl.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2043 2044endif() 2045 2046endif() 2047 2048 2049if (CONFIG_USE_driver_casper) 2050# Add set(CONFIG_USE_driver_casper true) in config.cmake to use this component 2051 2052message("driver_casper component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2053 2054if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2055 2056target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2057 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/casper/fsl_casper.c 2058) 2059 2060target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2061 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/casper/. 2062) 2063 2064else() 2065 2066message(SEND_ERROR "driver_casper.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2067 2068endif() 2069 2070endif() 2071 2072 2073if (CONFIG_USE_driver_cdog) 2074# Add set(CONFIG_USE_driver_cdog true) in config.cmake to use this component 2075 2076message("driver_cdog component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2077 2078if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2079 2080target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2081 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/cdog/fsl_cdog.c 2082) 2083 2084target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2085 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/cdog/. 2086) 2087 2088else() 2089 2090message(SEND_ERROR "driver_cdog.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2091 2092endif() 2093 2094endif() 2095 2096 2097if (CONFIG_USE_driver_cmp_1) 2098# Add set(CONFIG_USE_driver_cmp_1 true) in config.cmake to use this component 2099 2100message("driver_cmp_1 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2101 2102if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2103 2104target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2105 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/cmp_1/fsl_cmp.c 2106) 2107 2108target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2109 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/cmp_1/. 2110) 2111 2112else() 2113 2114message(SEND_ERROR "driver_cmp_1.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2115 2116endif() 2117 2118endif() 2119 2120 2121if (CONFIG_USE_driver_lpc_crc) 2122# Add set(CONFIG_USE_driver_lpc_crc true) in config.cmake to use this component 2123 2124message("driver_lpc_crc component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2125 2126if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2127 2128target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2129 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_crc/fsl_crc.c 2130) 2131 2132target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2133 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_crc/. 2134) 2135 2136else() 2137 2138message(SEND_ERROR "driver_lpc_crc.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2139 2140endif() 2141 2142endif() 2143 2144 2145if (CONFIG_USE_driver_ctimer) 2146# Add set(CONFIG_USE_driver_ctimer true) in config.cmake to use this component 2147 2148message("driver_ctimer component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2149 2150if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2151 2152target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2153 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/ctimer/fsl_ctimer.c 2154) 2155 2156target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2157 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/ctimer/. 2158) 2159 2160else() 2161 2162message(SEND_ERROR "driver_ctimer.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2163 2164endif() 2165 2166endif() 2167 2168 2169if (CONFIG_USE_driver_iap1) 2170# Add set(CONFIG_USE_driver_iap1 true) in config.cmake to use this component 2171 2172message("driver_iap1 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2173 2174if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2175 2176target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2177 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/iap1/fsl_iap.c 2178) 2179 2180target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2181 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/iap1/. 2182) 2183 2184else() 2185 2186message(SEND_ERROR "driver_iap1.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2187 2188endif() 2189 2190endif() 2191 2192 2193if (CONFIG_USE_driver_flexcomm) 2194# Add set(CONFIG_USE_driver_flexcomm true) in config.cmake to use this component 2195 2196message("driver_flexcomm component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2197 2198if(CONFIG_USE_driver_common AND (CONFIG_DEVICE_ID STREQUAL LPC55S06)) 2199 2200target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2201 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/fsl_flexcomm.c 2202) 2203 2204target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2205 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/. 2206) 2207 2208else() 2209 2210message(SEND_ERROR "driver_flexcomm.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2211 2212endif() 2213 2214endif() 2215 2216 2217if (CONFIG_USE_driver_gint) 2218# Add set(CONFIG_USE_driver_gint true) in config.cmake to use this component 2219 2220message("driver_gint component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2221 2222if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2223 2224target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2225 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/gint/fsl_gint.c 2226) 2227 2228target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2229 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/gint/. 2230) 2231 2232else() 2233 2234message(SEND_ERROR "driver_gint.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2235 2236endif() 2237 2238endif() 2239 2240 2241if (CONFIG_USE_driver_hashcrypt) 2242# Add set(CONFIG_USE_driver_hashcrypt true) in config.cmake to use this component 2243 2244message("driver_hashcrypt component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2245 2246if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2247 2248target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2249 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/hashcrypt/fsl_hashcrypt.c 2250) 2251 2252target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2253 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/hashcrypt/. 2254) 2255 2256else() 2257 2258message(SEND_ERROR "driver_hashcrypt.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2259 2260endif() 2261 2262endif() 2263 2264 2265if (CONFIG_USE_driver_flexcomm_i2c) 2266# Add set(CONFIG_USE_driver_flexcomm_i2c true) in config.cmake to use this component 2267 2268message("driver_flexcomm_i2c component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2269 2270if(CONFIG_USE_driver_flexcomm AND CONFIG_USE_driver_common AND (CONFIG_DEVICE_ID STREQUAL LPC55S06)) 2271 2272target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2273 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/i2c/fsl_i2c.c 2274) 2275 2276target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2277 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/i2c/. 2278) 2279 2280else() 2281 2282message(SEND_ERROR "driver_flexcomm_i2c.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2283 2284endif() 2285 2286endif() 2287 2288 2289if (CONFIG_USE_driver_flexcomm_i2c_freertos) 2290# Add set(CONFIG_USE_driver_flexcomm_i2c_freertos true) in config.cmake to use this component 2291 2292message("driver_flexcomm_i2c_freertos component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2293 2294if(CONFIG_USE_driver_flexcomm AND CONFIG_USE_driver_common AND CONFIG_USE_driver_flexcomm_i2c AND CONFIG_USE_middleware_freertos-kernel) 2295 2296target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2297 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/i2c/fsl_i2c_freertos.c 2298) 2299 2300target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2301 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/i2c/. 2302) 2303 2304else() 2305 2306message(SEND_ERROR "driver_flexcomm_i2c_freertos.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2307 2308endif() 2309 2310endif() 2311 2312 2313if (CONFIG_USE_driver_flexcomm_i2s) 2314# Add set(CONFIG_USE_driver_flexcomm_i2s true) in config.cmake to use this component 2315 2316message("driver_flexcomm_i2s component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2317 2318if(CONFIG_USE_driver_flexcomm AND CONFIG_USE_driver_common AND (CONFIG_DEVICE_ID STREQUAL LPC55S06)) 2319 2320target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2321 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/i2s/fsl_i2s.c 2322) 2323 2324target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2325 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/i2s/. 2326) 2327 2328else() 2329 2330message(SEND_ERROR "driver_flexcomm_i2s.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2331 2332endif() 2333 2334endif() 2335 2336 2337if (CONFIG_USE_driver_inputmux) 2338# Add set(CONFIG_USE_driver_inputmux true) in config.cmake to use this component 2339 2340message("driver_inputmux component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2341 2342if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common AND CONFIG_USE_driver_inputmux_connections) 2343 2344target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2345 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/inputmux/fsl_inputmux.c 2346) 2347 2348target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2349 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/inputmux/. 2350) 2351 2352else() 2353 2354message(SEND_ERROR "driver_inputmux.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2355 2356endif() 2357 2358endif() 2359 2360 2361if (CONFIG_USE_driver_lpc_dma) 2362# Add set(CONFIG_USE_driver_lpc_dma true) in config.cmake to use this component 2363 2364message("driver_lpc_dma component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2365 2366if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2367 2368target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2369 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_dma/fsl_dma.c 2370) 2371 2372target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2373 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_dma/. 2374) 2375 2376else() 2377 2378message(SEND_ERROR "driver_lpc_dma.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2379 2380endif() 2381 2382endif() 2383 2384 2385if (CONFIG_USE_driver_lpc_gpio) 2386# Add set(CONFIG_USE_driver_lpc_gpio true) in config.cmake to use this component 2387 2388message("driver_lpc_gpio component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2389 2390if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2391 2392target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2393 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_gpio/fsl_gpio.c 2394) 2395 2396target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2397 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_gpio/. 2398) 2399 2400else() 2401 2402message(SEND_ERROR "driver_lpc_gpio.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2403 2404endif() 2405 2406endif() 2407 2408 2409if (CONFIG_USE_driver_lpc_iocon) 2410# Add set(CONFIG_USE_driver_lpc_iocon true) in config.cmake to use this component 2411 2412message("driver_lpc_iocon component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2413 2414if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2415 2416target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2417 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_iocon/. 2418) 2419 2420else() 2421 2422message(SEND_ERROR "driver_lpc_iocon.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2423 2424endif() 2425 2426endif() 2427 2428 2429if (CONFIG_USE_driver_mcan) 2430# Add set(CONFIG_USE_driver_mcan true) in config.cmake to use this component 2431 2432message("driver_mcan component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2433 2434if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2435 2436target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2437 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/mcan/fsl_mcan.c 2438) 2439 2440target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2441 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/mcan/. 2442) 2443 2444else() 2445 2446message(SEND_ERROR "driver_mcan.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2447 2448endif() 2449 2450endif() 2451 2452 2453if (CONFIG_USE_driver_mrt) 2454# Add set(CONFIG_USE_driver_mrt true) in config.cmake to use this component 2455 2456message("driver_mrt component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2457 2458if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2459 2460target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2461 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/mrt/fsl_mrt.c 2462) 2463 2464target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2465 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/mrt/. 2466) 2467 2468else() 2469 2470message(SEND_ERROR "driver_mrt.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2471 2472endif() 2473 2474endif() 2475 2476 2477if (CONFIG_USE_driver_ostimer) 2478# Add set(CONFIG_USE_driver_ostimer true) in config.cmake to use this component 2479 2480message("driver_ostimer component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2481 2482if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2483 2484target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2485 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/ostimer/fsl_ostimer.c 2486) 2487 2488target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2489 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/ostimer/. 2490) 2491 2492else() 2493 2494message(SEND_ERROR "driver_ostimer.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2495 2496endif() 2497 2498endif() 2499 2500 2501if (CONFIG_USE_driver_pint) 2502# Add set(CONFIG_USE_driver_pint true) in config.cmake to use this component 2503 2504message("driver_pint component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2505 2506if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2507 2508target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2509 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/pint/fsl_pint.c 2510) 2511 2512target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2513 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/pint/. 2514) 2515 2516else() 2517 2518message(SEND_ERROR "driver_pint.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2519 2520endif() 2521 2522endif() 2523 2524 2525if (CONFIG_USE_driver_plu) 2526# Add set(CONFIG_USE_driver_plu true) in config.cmake to use this component 2527 2528message("driver_plu component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2529 2530if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2531 2532target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2533 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/plu/fsl_plu.c 2534) 2535 2536target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2537 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/plu/. 2538) 2539 2540else() 2541 2542message(SEND_ERROR "driver_plu.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2543 2544endif() 2545 2546endif() 2547 2548 2549if (CONFIG_USE_driver_puf) 2550# Add set(CONFIG_USE_driver_puf true) in config.cmake to use this component 2551 2552message("driver_puf component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2553 2554if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2555 2556target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2557 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/puf/fsl_puf.c 2558) 2559 2560target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2561 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/puf/. 2562) 2563 2564else() 2565 2566message(SEND_ERROR "driver_puf.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2567 2568endif() 2569 2570endif() 2571 2572 2573if (CONFIG_USE_driver_reset) 2574# Add set(CONFIG_USE_driver_reset true) in config.cmake to use this component 2575 2576message("driver_reset component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2577 2578if(CONFIG_USE_driver_common AND (CONFIG_DEVICE_ID STREQUAL LPC55S06)) 2579 2580target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2581 ${CMAKE_CURRENT_LIST_DIR}/drivers/fsl_reset.c 2582) 2583 2584target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2585 ${CMAKE_CURRENT_LIST_DIR}/drivers/. 2586) 2587 2588else() 2589 2590message(SEND_ERROR "driver_reset.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2591 2592endif() 2593 2594endif() 2595 2596 2597if (CONFIG_USE_driver_rng_1) 2598# Add set(CONFIG_USE_driver_rng_1 true) in config.cmake to use this component 2599 2600message("driver_rng_1 component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2601 2602if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2603 2604target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2605 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/rng_1/fsl_rng.c 2606) 2607 2608target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2609 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/rng_1/. 2610) 2611 2612else() 2613 2614message(SEND_ERROR "driver_rng_1.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2615 2616endif() 2617 2618endif() 2619 2620 2621if (CONFIG_USE_driver_lpc_rtc) 2622# Add set(CONFIG_USE_driver_lpc_rtc true) in config.cmake to use this component 2623 2624message("driver_lpc_rtc component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2625 2626if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2627 2628target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2629 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_rtc/fsl_rtc.c 2630) 2631 2632target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2633 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_rtc/. 2634) 2635 2636else() 2637 2638message(SEND_ERROR "driver_lpc_rtc.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2639 2640endif() 2641 2642endif() 2643 2644 2645if (CONFIG_USE_driver_sctimer) 2646# Add set(CONFIG_USE_driver_sctimer true) in config.cmake to use this component 2647 2648message("driver_sctimer component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2649 2650if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2651 2652target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2653 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/sctimer/fsl_sctimer.c 2654) 2655 2656target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2657 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/sctimer/. 2658) 2659 2660else() 2661 2662message(SEND_ERROR "driver_sctimer.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2663 2664endif() 2665 2666endif() 2667 2668 2669if (CONFIG_USE_driver_flexcomm_spi) 2670# Add set(CONFIG_USE_driver_flexcomm_spi true) in config.cmake to use this component 2671 2672message("driver_flexcomm_spi component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2673 2674if(CONFIG_USE_driver_flexcomm AND CONFIG_USE_driver_common AND (CONFIG_DEVICE_ID STREQUAL LPC55S06)) 2675 2676target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2677 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/spi/fsl_spi.c 2678) 2679 2680target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2681 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/spi/. 2682) 2683 2684else() 2685 2686message(SEND_ERROR "driver_flexcomm_spi.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2687 2688endif() 2689 2690endif() 2691 2692 2693if (CONFIG_USE_driver_flexcomm_spi_freertos) 2694# Add set(CONFIG_USE_driver_flexcomm_spi_freertos true) in config.cmake to use this component 2695 2696message("driver_flexcomm_spi_freertos component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2697 2698if(CONFIG_USE_driver_flexcomm AND CONFIG_USE_driver_common AND CONFIG_USE_driver_flexcomm_spi AND CONFIG_USE_middleware_freertos-kernel) 2699 2700target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2701 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/spi/fsl_spi_freertos.c 2702) 2703 2704target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2705 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/spi/. 2706) 2707 2708else() 2709 2710message(SEND_ERROR "driver_flexcomm_spi_freertos.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2711 2712endif() 2713 2714endif() 2715 2716 2717if (CONFIG_USE_driver_sysctl) 2718# Add set(CONFIG_USE_driver_sysctl true) in config.cmake to use this component 2719 2720message("driver_sysctl component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2721 2722if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2723 2724target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2725 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/sysctl/fsl_sysctl.c 2726) 2727 2728target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2729 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/sysctl/. 2730) 2731 2732else() 2733 2734message(SEND_ERROR "driver_sysctl.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2735 2736endif() 2737 2738endif() 2739 2740 2741if (CONFIG_USE_driver_flexcomm_usart) 2742# Add set(CONFIG_USE_driver_flexcomm_usart true) in config.cmake to use this component 2743 2744message("driver_flexcomm_usart component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2745 2746if(CONFIG_USE_driver_flexcomm AND (CONFIG_DEVICE_ID STREQUAL LPC55S06)) 2747 2748target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2749 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/usart/fsl_usart.c 2750) 2751 2752target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2753 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/usart/. 2754) 2755 2756else() 2757 2758message(SEND_ERROR "driver_flexcomm_usart.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2759 2760endif() 2761 2762endif() 2763 2764 2765if (CONFIG_USE_driver_flexcomm_usart_freertos) 2766# Add set(CONFIG_USE_driver_flexcomm_usart_freertos true) in config.cmake to use this component 2767 2768message("driver_flexcomm_usart_freertos component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2769 2770if(CONFIG_USE_driver_flexcomm AND CONFIG_USE_driver_flexcomm_usart AND CONFIG_USE_middleware_freertos-kernel) 2771 2772target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2773 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/usart/fsl_usart_freertos.c 2774) 2775 2776target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2777 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm/usart/. 2778) 2779 2780else() 2781 2782message(SEND_ERROR "driver_flexcomm_usart_freertos.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2783 2784endif() 2785 2786endif() 2787 2788 2789if (CONFIG_USE_driver_utick) 2790# Add set(CONFIG_USE_driver_utick true) in config.cmake to use this component 2791 2792message("driver_utick component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2793 2794if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2795 2796target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2797 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/utick/fsl_utick.c 2798) 2799 2800target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2801 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/utick/. 2802) 2803 2804else() 2805 2806message(SEND_ERROR "driver_utick.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2807 2808endif() 2809 2810endif() 2811 2812 2813if (CONFIG_USE_driver_wwdt) 2814# Add set(CONFIG_USE_driver_wwdt true) in config.cmake to use this component 2815 2816message("driver_wwdt component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2817 2818if((CONFIG_DEVICE_ID STREQUAL LPC55S06) AND CONFIG_USE_driver_common) 2819 2820target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2821 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/wwdt/fsl_wwdt.c 2822) 2823 2824target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2825 ${CMAKE_CURRENT_LIST_DIR}/../../drivers/wwdt/. 2826) 2827 2828else() 2829 2830message(SEND_ERROR "driver_wwdt.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2831 2832endif() 2833 2834endif() 2835 2836 2837if (CONFIG_USE_driver_rtt) 2838# Add set(CONFIG_USE_driver_rtt true) in config.cmake to use this component 2839 2840message("driver_rtt component is included from ${CMAKE_CURRENT_LIST_FILE}.") 2841 2842if(CONFIG_USE_driver_rtt_template) 2843 2844target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2845 ${CMAKE_CURRENT_LIST_DIR}/../../components/rtt/RTT/SEGGER_RTT.c 2846 ${CMAKE_CURRENT_LIST_DIR}/../../components/rtt/RTT/SEGGER_RTT_printf.c 2847) 2848 2849if((CONFIG_TOOLCHAIN STREQUAL armgcc OR CONFIG_TOOLCHAIN STREQUAL mcux)) 2850 target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 2851 ${CMAKE_CURRENT_LIST_DIR}/../../components/rtt/Syscalls/SEGGER_RTT_Syscalls_GCC.c 2852 ) 2853endif() 2854 2855target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 2856 ${CMAKE_CURRENT_LIST_DIR}/../../components/rtt/RTT 2857) 2858 2859else() 2860 2861message(SEND_ERROR "driver_rtt.LPC55S06 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.") 2862 2863endif() 2864 2865endif() 2866 2867