2021-07-28 00:47:12 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2021 Linaro, Limited
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
2022-11-02 00:30:45 +08:00
|
|
|
if(CONFIG_HAS_MCUX OR CONFIG_HAS_IMX_HAL OR CONFIG_HAS_S32_HAL)
|
|
|
|
add_subdirectory(${ZEPHYR_CURRENT_MODULE_DIR} hal_nxp)
|
|
|
|
add_subdirectory_ifdef(CONFIG_USB_DEVICE_DRIVER usb)
|
2022-08-19 08:14:27 +08:00
|
|
|
|
2023-07-19 08:20:43 +08:00
|
|
|
zephyr_sources_ifdef(CONFIG_PWM_MCUX_CTIMER ${ZEPHYR_CURRENT_MODULE_DIR}/mcux/mcux-sdk/drivers/ctimer/fsl_ctimer.c)
|
|
|
|
zephyr_include_directories_ifdef(CONFIG_PWM_MCUX_CTIMER
|
|
|
|
${ZEPHYR_CURRENT_MODULE_DIR}/mcux/mcux-sdk/drivers/ctimer/)
|
2022-11-02 00:30:45 +08:00
|
|
|
zephyr_include_directories(.)
|
|
|
|
endif()
|