KConfig 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. menu "Device Drivers"
  2. config RT_USING_DEVICE_IPC
  3. bool "Using device drivers IPC"
  4. default y
  5. config RT_USING_SERIAL
  6. bool "Using serial device drivers"
  7. default y
  8. config RT_USING_CAN
  9. bool "Using CAN device drivers"
  10. default n
  11. config RT_USING_HWTIMER
  12. bool "Using hardware timer device drivers"
  13. default n
  14. config RT_USING_I2C
  15. bool "Using I2C device drivers"
  16. default n
  17. if RT_USING_I2C
  18. config RT_USING_I2C_BITOPS
  19. bool "Use GPIO to simulate I2C"
  20. default y
  21. endif
  22. config RT_USING_PIN
  23. bool "Using generic GPIO device drivers"
  24. default y
  25. config RT_USING_MTD_NOR
  26. bool "Using MTD Nor Flash device drivers"
  27. default n
  28. config RT_USING_MTD_NAND
  29. bool "Using MTD Nand Flash device drivers"
  30. default n
  31. if RT_USING_MTD_NAND
  32. config RT_MTD_NAND_DEBUG
  33. bool "Enable MTD Nand operations debug information"
  34. default n
  35. endif
  36. config RT_USING_RTC
  37. bool "Using RTC device drivers"
  38. default n
  39. config RT_USING_SDIO
  40. bool "Using SD/MMC device drivers"
  41. default n
  42. config RT_USING_SPI
  43. bool "Using SPI Bus/Device device drivers"
  44. default n
  45. if RT_USING_SPI
  46. config RT_USING_SFUD
  47. bool "Using Serial Flash Universal Driver"
  48. default n
  49. if RT_USING_SFUD
  50. config RT_SFUD_USING_SFDP
  51. bool "Using auto probe flash JEDEC SFDP parameter"
  52. default y
  53. config RT_SFUD_USING_FLASH_INFO_TABLE
  54. bool "Using defined supported flash chip information table"
  55. default y
  56. config RT_SFUD_DEBUG
  57. bool "Show more SFUD debug information"
  58. default n
  59. endif
  60. config RT_USING_W25QXX
  61. bool "Using W25QXX SPI NorFlash"
  62. default n
  63. config RT_USING_GD
  64. bool "Using GD SPI NorFlash"
  65. default n
  66. config RT_USING_ENC28J60
  67. bool "Using ENC28J60 SPI Ethernet network interface"
  68. select RT_USING_LWIP
  69. default n
  70. config RT_USING_SPI_WIFI
  71. bool "Using RW009/007 SPI Wi-Fi wireless interface"
  72. select RT_USING_LWIP
  73. default n
  74. endif
  75. config RT_USING_WDT
  76. bool "Using Watch Dog device drivers"
  77. default n
  78. config RT_USING_WIFI
  79. bool "Using Wi-Fi network"
  80. default n
  81. menu "Using USB"
  82. config RT_USING_USB_HOST
  83. bool "Using USB host"
  84. default n
  85. if RT_USING_USB_HOST
  86. config RT_USBH_ADK
  87. bool "Enable connected with Android by ADK USB"
  88. default n
  89. endif
  90. config RT_USING_USB_DEVICE
  91. bool "Using USB device"
  92. default n
  93. if RT_USING_USB_DEVICE
  94. config RT_USB_DEVICE_COMPOSITE
  95. bool "Enable composite device"
  96. default n
  97. choice
  98. prompt "Device type"
  99. default _RT_USB_DEVICE_CDC
  100. depends on !RT_USB_DEVICE_COMPOSITE
  101. config _RT_USB_DEVICE_CDC
  102. bool "Enable to use device as CDC device"
  103. select RT_USB_DEVICE_CDC
  104. config _RT_USB_DEVICE_MSTORAGE
  105. bool "Enable to use device as Mass Storage device"
  106. select RT_USB_DEVICE_MSTORAGE
  107. config _RT_USB_DEVICE_HID
  108. bool "Enable to use device as HID device"
  109. select RT_USB_DEVICE_HID
  110. endchoice
  111. if RT_USB_DEVICE_COMPOSITE
  112. config RT_USB_DEVICE_CDC
  113. bool "Enable to use device as CDC device"
  114. default y
  115. config RT_USB_DEVICE_MSTORAGE
  116. bool "Enable to use device as Mass Storage device"
  117. default n
  118. config RT_USB_DEVICE_HID
  119. bool "Enable to use device as HID device"
  120. default n
  121. endif
  122. if RT_USB_DEVICE_HID
  123. config RT_USB_DEVICE_HID_KEYBOARD
  124. bool "Use to HID device as Keyboard"
  125. default n
  126. if RT_USB_DEVICE_HID_KEYBOARD
  127. config RT_USB_DEVICE_HID_KEYBOARD_NUMBER
  128. int "Number of Keyboard(max 3)"
  129. default 1
  130. range 1 3
  131. endif
  132. config RT_USB_DEVICE_HID_MOUSE
  133. bool "Use to HID device as Mouse"
  134. default n
  135. config RT_USB_DEVICE_HID_GENERAL
  136. bool "Use to HID device as General HID device"
  137. default y
  138. if RT_USB_DEVICE_HID_GENERAL
  139. config RT_USB_DEVICE_HID_GENERAL_OUT_REPORT_LENGTH
  140. int "General HID device out report length"
  141. default 63
  142. range 0 63
  143. config RT_USB_DEVICE_HID_GENERAL_IN_REPORT_LENGTH
  144. int "General HID device in report length"
  145. default 63
  146. range 0 63
  147. endif
  148. config RT_USB_DEVICE_HID_MEDIA
  149. bool "Use to HID device as media keyboard"
  150. default y
  151. endif
  152. endif
  153. endmenu
  154. endmenu