Browse Source

[dm][pin] fixup the DM Kconfig import in DM mode only

Signed-off-by: GuEe-GUI <2991707448@qq.com>
GuEe-GUI 2 months ago
parent
commit
b5ea9220be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/drivers/pin/Kconfig

+ 1 - 1
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