Skip to content

Commit ff849a5

Browse files
yangbolu1991mmahadevan108
authored andcommitted
mcux-sdk: drivers: mu1: add Kconfig and cmake files
Added Kconfig and cmake files for driver mu1. Signed-off-by: Yangbo Lu <[email protected]>
1 parent 338aec9 commit ff849a5

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

mcux/mcux-sdk/drivers/mu1/Kconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright 2024 NXP
2+
#
3+
# SPDX-License-Identifier: BSD-3-Clause
4+
5+
config MCUX_HAS_driver_mu1
6+
bool
7+
8+
config MCUX_USE_driver_mu1
9+
depends on MCUX_HAS_driver_mu1
10+
bool "MU1 Driver"
11+
select MCUX_USE_driver_common
12+
help
13+
MU Driver
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#Description: MU Driver; user_visible: True
2+
include_guard(GLOBAL)
3+
message("driver_mu1 component is included.")
4+
5+
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
6+
${CMAKE_CURRENT_LIST_DIR}/fsl_mu.c
7+
)
8+
9+
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
10+
${CMAKE_CURRENT_LIST_DIR}/.
11+
)
12+
13+
include(driver_common)

0 commit comments

Comments
 (0)