Browse Source

[DM/FEATURE] Support import SoC PIN config

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

+ 4 - 0
components/drivers/pin/Kconfig

@@ -1,3 +1,7 @@
 menuconfig RT_USING_PIN
     bool "Using Generic GPIO device drivers"
     default y
+
+if RT_USING_PIN
+    osource "$(SOC_DM_PIN_DIR)/Kconfig"
+endif