1#Description: Component button; user_visible: True
2include_guard(GLOBAL)
3message("component_button component is included.")
4
5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
6    ${CMAKE_CURRENT_LIST_DIR}/fsl_component_button.c
7)
8
9target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
10    ${CMAKE_CURRENT_LIST_DIR}/.
11)
12
13#OR Logic component
14if(${MCUX_DEVICE} STREQUAL "K32L2B31A")
15    include(component_gpio_adapter)
16endif()
17if(${MCUX_DEVICE} STREQUAL "MK64F12")
18    include(component_gpio_adapter)
19endif()
20if(${MCUX_DEVICE} STREQUAL "LPC54628")
21    include(component_lpc_gpio_adapter)
22endif()
23if(${MCUX_DEVICE} STREQUAL "MK22F51212")
24    include(component_gpio_adapter)
25endif()
26if(${MCUX_DEVICE} STREQUAL "MIMXRT1062")
27    include(component_igpio_adapter)
28endif()
29if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm7")
30    include(component_igpio_adapter)
31endif()
32if(${MCUX_DEVICE} STREQUAL "K32L2A41A")
33    include(component_gpio_adapter)
34endif()
35if(${MCUX_DEVICE} STREQUAL "MIMXRT685S_cm33")
36    include(component_lpc_gpio_adapter)
37endif()
38if(${MCUX_DEVICE} STREQUAL "MIMXRT595S_cm33")
39    include(component_lpc_gpio_adapter)
40endif()
41
42include(component_timer_manager)
43