Skip to content

Commit 39d390d

Browse files
committed
Update the SPI Kconfig for DM
Signed-off-by: GuEe-GUI <[email protected]>
1 parent b14468a commit 39d390d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

components/drivers/spi/Kconfig

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
config RT_USING_SPI
1+
menuconfig RT_USING_SPI
22
bool "Using SPI Bus/Device device drivers"
33
default n
44

@@ -235,3 +235,7 @@ config RT_USING_SPI
235235
select RT_USING_LWIP
236236
default n
237237
endif
238+
239+
if RT_USING_DM && RT_USING_SPI
240+
osource "$(SOC_DM_SPI_DIR)/Kconfig"
241+
endif

0 commit comments

Comments
 (0)