summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2025-12-09 17:06:48 +0800
committerR b b666 <[email protected]>2025-12-10 16:53:09 +0800
commitb5ea9220becc2b9fe164b99f9886a1e55aa82545 (patch)
tree0d317a1cbcb21510418e6d83f3b8f997d8c2bb11
parent6c0753cb8f40c24aac0538f3e77a05896532f30f (diff)
[dm][pin] fixup the DM Kconfig import in DM mode only
Signed-off-by: GuEe-GUI <[email protected]>
-rwxr-xr-xcomponents/drivers/pin/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/pin/Kconfig b/components/drivers/pin/Kconfig
index 2520897834..5647ab7e05 100755
--- a/components/drivers/pin/Kconfig
+++ b/components/drivers/pin/Kconfig
@@ -2,6 +2,6 @@ menuconfig RT_USING_PIN
bool "Using Generic GPIO device drivers"
default y
-if RT_USING_PIN
+if RT_USING_DM && RT_USING_PIN
osource "$(SOC_DM_PIN_DIR)/Kconfig"
endif