From d692001fd576c68942a1eb7cad18974d07c8dc7a Mon Sep 17 00:00:00 2001 From: bernard Date: Tue, 31 Jan 2017 11:54:12 +0800 Subject: [tools] Add KConfig files. --- components/drivers/KConfig | 90 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 components/drivers/KConfig (limited to 'components/drivers') diff --git a/components/drivers/KConfig b/components/drivers/KConfig new file mode 100644 index 0000000000..b72d7d7162 --- /dev/null +++ b/components/drivers/KConfig @@ -0,0 +1,90 @@ +menu "Device Drivers" + +config RT_USING_SERIAL + bool "Using serial device drivers" + default y + +config RT_USING_CAN + bool "Using CAN device drivers" + default n + +config RT_USING_HWTIMER + bool "Using hardware timer device drivers" + default n + +config RT_USING_I2C + bool "Using I2C device drivers" + default n + +config RT_USING_PIN + bool "Using generic GPIO device drivers" + default y + +config RT_USING_MTD_NOR + bool "Using MTD Nor Flash device drivers" + default n + +config RT_USING_MTD_NAND + bool "Using MTD Nand Flash device drivers" + default n + +config RT_USING_RTC + bool "Using RTC device drivers" + default n + +config RT_USING_SDIO + bool "Using SD/MMC device drivers" + default n + +config RT_USING_SPI + bool "Using SPI Bus/Device device drivers" + default n + + if RT_USING_SPI + config RT_USING_W25QXX + bool "Using W25QXX SPI NorFlash" + default n + + config RT_USING_GD + bool "Using GD SPI NorFlash" + default n + + config RT_USING_ENC28J60 + bool "Using ENC28J60 SPI Ethernet network interface" + select RT_USING_LWIP + default n + + config RT_USING_SPI_WIFI + bool "Using RW009/007 SPI Wi-Fi wireless interface" + select RT_USING_LWIP + default n + endif + +config RT_USING_WDT + bool "Using Watch Dog device drivers" + default n + +config RT_USING_USB_HOST + bool "Using USB host" + default n + + if RT_USING_USB_HOST + config RT_USBH_ADK + bool "Enable connected with Android by ADK USB" + default n + endif + +config RT_USING_USB_DEVICE + bool "Using USB device" + default n + + if RT_USING_USB_DEVICE + config RT_USB_DEVICE_CDC + bool "Enable to use device as CDC device" + default n + + config RT_USB_DEVICE_MSTORAGE + bool "Enable to use device as Mass Storage device" + default n + endif +endmenu -- cgit v1.3.1