diff options
| author | bernard <[email protected]> | 2017-01-31 11:54:12 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2017-01-31 11:54:12 +0800 |
| commit | d692001fd576c68942a1eb7cad18974d07c8dc7a (patch) | |
| tree | 199c9826e5be5dc7ecea21f4ff894eced2b145b4 /components/drivers | |
| parent | cb61d1ffbc9d1d27328c52de49ded58388750ba4 (diff) | |
[tools] Add KConfig files.
Diffstat (limited to 'components/drivers')
| -rw-r--r-- | components/drivers/KConfig | 90 |
1 files changed, 90 insertions, 0 deletions
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 |
