aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/devices/LPC54S018M/driver_power.cmake
blob: f6e07839df22f99b6568ab31644707cc892319d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
if(NOT DRIVER_POWER_INCLUDED)

    set(DRIVER_POWER_INCLUDED true CACHE BOOL "driver_power component is included.")

    target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
        ${CMAKE_CURRENT_LIST_DIR}/drivers/fsl_power.c
    )

    target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE
        ${CMAKE_CURRENT_LIST_DIR}/drivers
    )


    include(driver_common)

endif()