Kconfig 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743
  1. menu "Device Drivers"
  2. config RT_USING_DEVICE_IPC
  3. bool "Using device drivers IPC"
  4. default y
  5. if RT_USING_DEVICE_IPC
  6. config RT_PIPE_BUFSZ
  7. int "Set pipe buffer size"
  8. default 512
  9. config RT_USING_SYSTEM_WORKQUEUE
  10. bool "Using system default workqueue"
  11. default n
  12. if RT_USING_SYSTEM_WORKQUEUE
  13. config RT_SYSTEM_WORKQUEUE_STACKSIZE
  14. int "The stack size for system workqueue thread"
  15. default 2048
  16. config RT_SYSTEM_WORKQUEUE_PRIORITY
  17. int "The priority level of system workqueue thread"
  18. default 23
  19. endif
  20. endif
  21. config RT_USING_SERIAL
  22. bool "Using serial device drivers"
  23. select RT_USING_DEVICE_IPC
  24. select RT_USING_DEVICE
  25. default y
  26. if RT_USING_SERIAL
  27. config RT_SERIAL_USING_DMA
  28. bool "Enable serial DMA mode"
  29. default y
  30. config RT_SERIAL_RB_BUFSZ
  31. int "Set RX buffer size"
  32. default 64
  33. endif
  34. config RT_USING_CAN
  35. bool "Using CAN device drivers"
  36. default n
  37. if RT_USING_CAN
  38. config RT_CAN_USING_HDR
  39. bool "Enable CAN hardware filter"
  40. default n
  41. endif
  42. config RT_USING_HWTIMER
  43. bool "Using hardware timer device drivers"
  44. default n
  45. config RT_USING_CPUTIME
  46. bool "Enable CPU time for high resolution clock counter"
  47. default n
  48. help
  49. When enable this option, the BSP should provide a rt_clock_cputime_ops
  50. for CPU time by:
  51. const static struct rt_clock_cputime_ops _ops = {...};
  52. clock_cpu_setops(&_ops);
  53. Then user can use high resolution clock counter with:
  54. ts1 = clock_cpu_gettime();
  55. ts2 = clock_cpu_gettime();
  56. /* and get the ms of delta tick with API: */
  57. ms_tick = clock_cpu_millisecond(t2 - t1);
  58. us_tick = clock_cpu_microsecond(t2 - t1);
  59. if RT_USING_CPUTIME
  60. config RT_USING_CPUTIME_CORTEXM
  61. bool "Use DWT for CPU time"
  62. default y
  63. depends on ARCH_ARM_CORTEX_M3 || ARCH_ARM_CORTEX_M4 || ARCH_ARM_CORTEX_M7
  64. help
  65. Some Cortex-M3/4/7 MCU has Data Watchpoint and Trace Register, use
  66. the cycle counter in DWT for CPU time.
  67. endif
  68. config RT_USING_I2C
  69. bool "Using I2C device drivers"
  70. default n
  71. if RT_USING_I2C
  72. config RT_USING_I2C_BITOPS
  73. bool "Use GPIO to simulate I2C"
  74. default y
  75. endif
  76. config RT_USING_PIN
  77. bool "Using generic GPIO device drivers"
  78. default y
  79. config RT_USING_ADC
  80. bool "Using ADC device drivers"
  81. default n
  82. config RT_USING_PWM
  83. bool "Using PWM device drivers"
  84. default n
  85. config RT_USING_MTD_NOR
  86. bool "Using MTD Nor Flash device drivers"
  87. default n
  88. config RT_USING_MTD_NAND
  89. bool "Using MTD Nand Flash device drivers"
  90. default n
  91. if RT_USING_MTD_NAND
  92. config RT_MTD_NAND_DEBUG
  93. bool "Enable MTD Nand operations debug information"
  94. default n
  95. endif
  96. config RT_USING_PM
  97. bool "Using Power Management device drivers"
  98. default n
  99. config RT_USING_RTC
  100. bool "Using RTC device drivers"
  101. select RT_USING_LIBC
  102. default n
  103. if RT_USING_RTC
  104. config RT_USING_ALARM
  105. bool "Using RTC alarm"
  106. default n
  107. config RT_USING_SOFT_RTC
  108. bool "Using software simulation RTC device"
  109. default n
  110. config RTC_SYNC_USING_NTP
  111. bool "Using NTP auto sync RTC time"
  112. depends on PKG_NETUTILS_NTP
  113. default y
  114. if RTC_SYNC_USING_NTP
  115. config RTC_NTP_FIRST_SYNC_DELAY
  116. int "NTP first sync delay time(second) for network connect"
  117. default 30
  118. config RTC_NTP_SYNC_PERIOD
  119. int "NTP auto sync period(second)"
  120. default 3600
  121. endif
  122. endif
  123. config RT_USING_SDIO
  124. bool "Using SD/MMC device drivers"
  125. default n
  126. if RT_USING_SDIO
  127. config RT_SDIO_STACK_SIZE
  128. int "The stack size for sdio irq thread"
  129. default 512
  130. config RT_SDIO_THREAD_PRIORITY
  131. int "The priority level value of sdio irq thread"
  132. default 15
  133. config RT_MMCSD_STACK_SIZE
  134. int "The stack size for mmcsd thread"
  135. default 1024
  136. config RT_MMCSD_THREAD_PREORITY
  137. int "The priority level value of mmcsd thread"
  138. default 22
  139. config RT_MMCSD_MAX_PARTITION
  140. int "mmcsd max partition"
  141. default 16
  142. config RT_SDIO_DEBUG
  143. bool "Enable SDIO debug log output"
  144. default n
  145. endif
  146. config RT_USING_SPI
  147. bool "Using SPI Bus/Device device drivers"
  148. default n
  149. if RT_USING_SPI
  150. config RT_USING_QSPI
  151. bool "Enable QSPI mode"
  152. default n
  153. config RT_USING_SPI_MSD
  154. bool "Using SD/TF card driver with spi"
  155. select RT_USING_DFS
  156. default n
  157. config RT_USING_SFUD
  158. bool "Using Serial Flash Universal Driver"
  159. default n
  160. help
  161. An using JEDEC's SFDP standard serial (SPI) flash universal driver library
  162. if RT_USING_SFUD
  163. config RT_SFUD_USING_SFDP
  164. bool "Using auto probe flash JEDEC SFDP parameter"
  165. default y
  166. config RT_SFUD_USING_FLASH_INFO_TABLE
  167. bool "Using defined supported flash chip information table"
  168. default y
  169. config RT_SFUD_USING_QSPI
  170. bool "Using QSPI mode support"
  171. select RT_USING_QSPI
  172. default n
  173. config RT_DEBUG_SFUD
  174. bool "Show more SFUD debug information"
  175. default n
  176. endif
  177. config RT_USING_ENC28J60
  178. bool "Using ENC28J60 SPI Ethernet network interface"
  179. select RT_USING_LWIP
  180. default n
  181. config RT_USING_SPI_WIFI
  182. bool "Using RW009/007 SPI Wi-Fi wireless interface"
  183. select RT_USING_LWIP
  184. default n
  185. endif
  186. config RT_USING_WDT
  187. bool "Using Watch Dog device drivers"
  188. default n
  189. config RT_USING_AUDIO
  190. bool "Using Audio device drivers"
  191. default n
  192. if RT_USING_AUDIO
  193. config RT_AUDIO_REPLAY_MP_BLOCK_SIZE
  194. int "Replay memmory pool block size"
  195. default 4096
  196. config RT_AUDIO_REPLAY_MP_BLOCK_COUNT
  197. int "Replay memmory pool block count"
  198. default 2
  199. config RT_AUDIO_RECORD_PIPE_SIZE
  200. int "Record pipe size"
  201. default 2048
  202. endif
  203. config RT_USING_SENSOR
  204. bool "Using Sensor device drivers"
  205. select RT_USING_PIN
  206. default n
  207. if RT_USING_SENSOR
  208. config RT_USING_SENSOR_CMD
  209. bool "Using Sensor cmd"
  210. default y
  211. endif
  212. config RT_USING_TOUCH
  213. bool "Using Touch device drivers"
  214. default n
  215. menuconfig RT_USING_HWCRYPTO
  216. bool "Using Hardware Crypto drivers"
  217. default n
  218. if RT_USING_HWCRYPTO
  219. config RT_HWCRYPTO_DEFAULT_NAME
  220. string "Hardware crypto device name"
  221. default "hwcryto"
  222. config RT_HWCRYPTO_IV_MAX_SIZE
  223. int "IV max size"
  224. default "16"
  225. config RT_HWCRYPTO_KEYBIT_MAX_SIZE
  226. int "Key max bit length"
  227. default 256
  228. config RT_HWCRYPTO_USING_GCM
  229. bool "Using Hardware GCM"
  230. default n
  231. config RT_HWCRYPTO_USING_AES
  232. bool "Using Hardware AES"
  233. default n
  234. if RT_HWCRYPTO_USING_AES
  235. config RT_HWCRYPTO_USING_AES_ECB
  236. bool "Using Hardware AES ECB mode"
  237. default y
  238. config RT_HWCRYPTO_USING_AES_CBC
  239. bool "Using Hardware AES CBC mode"
  240. default n
  241. config RT_HWCRYPTO_USING_AES_CFB
  242. bool "Using Hardware AES CFB mode"
  243. default n
  244. config RT_HWCRYPTO_USING_AES_CTR
  245. bool "Using Hardware AES CTR mode"
  246. default n
  247. config RT_HWCRYPTO_USING_AES_OFB
  248. bool "Using Hardware AES OFB mode"
  249. default n
  250. endif
  251. config RT_HWCRYPTO_USING_DES
  252. bool "Using Hardware DES"
  253. default n
  254. if RT_HWCRYPTO_USING_DES
  255. config RT_HWCRYPTO_USING_DES_ECB
  256. bool "Using Hardware DES ECB mode"
  257. default y
  258. config RT_HWCRYPTO_USING_DES_CBC
  259. bool "Using Hardware DES CBC mode"
  260. default n
  261. endif
  262. config RT_HWCRYPTO_USING_3DES
  263. bool "Using Hardware 3DES"
  264. default n
  265. if RT_HWCRYPTO_USING_3DES
  266. config RT_HWCRYPTO_USING_3DES_ECB
  267. bool "Using Hardware 3DES ECB mode"
  268. default y
  269. config RT_HWCRYPTO_USING_3DES_CBC
  270. bool "Using Hardware 3DES CBC mode"
  271. default n
  272. endif
  273. config RT_HWCRYPTO_USING_RC4
  274. bool "Using Hardware RC4"
  275. default n
  276. config RT_HWCRYPTO_USING_MD5
  277. bool "Using Hardware MD5"
  278. default n
  279. config RT_HWCRYPTO_USING_SHA1
  280. bool "Using Hardware SHA1"
  281. default n
  282. config RT_HWCRYPTO_USING_SHA2
  283. bool "Using Hardware SHA2"
  284. default n
  285. if RT_HWCRYPTO_USING_SHA2
  286. config RT_HWCRYPTO_USING_SHA2_224
  287. bool "Using Hardware SHA2_224 mode"
  288. default n
  289. config RT_HWCRYPTO_USING_SHA2_256
  290. bool "Using Hardware SHA2_256 mode"
  291. default y
  292. config RT_HWCRYPTO_USING_SHA2_384
  293. bool "Using Hardware SHA2_384 mode"
  294. default n
  295. config RT_HWCRYPTO_USING_SHA2_512
  296. bool "Using Hardware SHA2_512 mode"
  297. default n
  298. endif
  299. config RT_HWCRYPTO_USING_RNG
  300. bool "Using Hardware RNG"
  301. default n
  302. config RT_HWCRYPTO_USING_CRC
  303. bool "Using Hardware CRC"
  304. default n
  305. if RT_HWCRYPTO_USING_CRC
  306. config RT_HWCRYPTO_USING_CRC_07
  307. bool "Using Hardware CRC-8 0x07 polynomial"
  308. default n
  309. config RT_HWCRYPTO_USING_CRC_8005
  310. bool "Using Hardware CRC-16 0x8005 polynomial"
  311. default n
  312. config RT_HWCRYPTO_USING_CRC_1021
  313. bool "Using Hardware CRC-16 0x1021 polynomial"
  314. default n
  315. config RT_HWCRYPTO_USING_CRC_3D65
  316. bool "Using Hardware CRC-16 0x3D65 polynomial"
  317. default n
  318. config RT_HWCRYPTO_USING_CRC_04C11DB7
  319. bool "Using Hardware CRC-32 0x04C11DB7 polynomial"
  320. default n
  321. endif
  322. config RT_HWCRYPTO_USING_BIGNUM
  323. bool "Using Hardware bignum"
  324. default n
  325. if RT_HWCRYPTO_USING_BIGNUM
  326. config RT_HWCRYPTO_USING_BIGNUM_EXPTMOD
  327. bool "Using Hardware bignum expt_mod operation"
  328. default y
  329. config RT_HWCRYPTO_USING_BIGNUM_MULMOD
  330. bool "Using Hardware bignum mul_mod operation"
  331. default y
  332. config RT_HWCRYPTO_USING_BIGNUM_MUL
  333. bool "Using Hardware bignum mul operation"
  334. default n
  335. config RT_HWCRYPTO_USING_BIGNUM_ADD
  336. bool "Using Hardware bignum add operation"
  337. default n
  338. config RT_HWCRYPTO_USING_BIGNUM_SUB
  339. bool "Using Hardware bignum sub operation"
  340. default n
  341. endif
  342. endif
  343. menuconfig RT_USING_WIFI
  344. bool "Using Wi-Fi framework"
  345. default n
  346. if RT_USING_WIFI
  347. config RT_WLAN_DEVICE_STA_NAME
  348. string "The device name for station"
  349. default "wlan0"
  350. config RT_WLAN_DEVICE_AP_NAME
  351. string "The device name for ap"
  352. default "wlan1"
  353. config RT_WLAN_SSID_MAX_LENGTH
  354. int "SSID maximum length"
  355. default 32
  356. config RT_WLAN_PASSWORD_MAX_LENGTH
  357. int "Password maximum length"
  358. default 32
  359. config RT_WLAN_DEV_EVENT_NUM
  360. int "Driver events maxcount"
  361. default 2
  362. config RT_WLAN_MANAGE_ENABLE
  363. bool "Connection management Enable"
  364. default y
  365. if RT_WLAN_MANAGE_ENABLE
  366. config RT_WLAN_SCAN_WAIT_MS
  367. int "Set scan timeout time(ms)"
  368. default 10000
  369. config RT_WLAN_CONNECT_WAIT_MS
  370. int "Set connect timeout time(ms)"
  371. default 10000
  372. config RT_WLAN_SCAN_SORT
  373. bool "Automatic sorting of scan results"
  374. default y
  375. config RT_WLAN_MSH_CMD_ENABLE
  376. bool "MSH command Enable"
  377. default y
  378. config RT_WLAN_AUTO_CONNECT_ENABLE
  379. bool "Auto connect Enable"
  380. select RT_WLAN_CFG_ENABLE
  381. select RT_WLAN_WORK_THREAD_ENABLE
  382. default y
  383. if RT_WLAN_AUTO_CONNECT_ENABLE
  384. config AUTO_CONNECTION_PERIOD_MS
  385. int "Auto connect period(ms)"
  386. default 2000
  387. endif
  388. endif
  389. config RT_WLAN_CFG_ENABLE
  390. bool "WiFi information automatically saved Enable"
  391. default y
  392. if RT_WLAN_CFG_ENABLE
  393. config RT_WLAN_CFG_INFO_MAX
  394. int "Maximum number of WiFi information automatically saved"
  395. default 3
  396. endif
  397. config RT_WLAN_PROT_ENABLE
  398. bool "Transport protocol manage Enable"
  399. default y
  400. if RT_WLAN_PROT_ENABLE
  401. config RT_WLAN_PROT_NAME_LEN
  402. int "Transport protocol name length"
  403. default 8
  404. config RT_WLAN_PROT_MAX
  405. int "Transport protocol maxcount"
  406. default 2
  407. config RT_WLAN_DEFAULT_PROT
  408. string "Default transport protocol"
  409. default "lwip"
  410. config RT_WLAN_PROT_LWIP_ENABLE
  411. bool "LWIP transport protocol Enable"
  412. select RT_USING_LWIP
  413. default y
  414. if RT_WLAN_PROT_LWIP_ENABLE
  415. config RT_WLAN_PROT_LWIP_NAME
  416. string "LWIP transport protocol name"
  417. default "lwip"
  418. config RT_WLAN_PROT_LWIP_PBUF_FORCE
  419. bool "Forced use of PBUF transmission"
  420. default n
  421. endif
  422. endif
  423. config RT_WLAN_WORK_THREAD_ENABLE
  424. bool "WLAN work queue thread Enable"
  425. default y
  426. if RT_WLAN_WORK_THREAD_ENABLE
  427. config RT_WLAN_WORKQUEUE_THREAD_NAME
  428. string "WLAN work queue thread name"
  429. default "wlan"
  430. config RT_WLAN_WORKQUEUE_THREAD_SIZE
  431. int "WLAN work queue thread size"
  432. default 2048
  433. config RT_WLAN_WORKQUEUE_THREAD_PRIO
  434. int "WLAN work queue thread priority"
  435. default 15
  436. endif
  437. menuconfig RT_WLAN_DEBUG
  438. bool "Enable WLAN Debugging Options"
  439. default n
  440. if RT_WLAN_DEBUG
  441. config RT_WLAN_CMD_DEBUG
  442. bool "Enable Debugging of wlan_cmd.c"
  443. default n
  444. config RT_WLAN_MGNT_DEBUG
  445. bool "Enable Debugging of wlan_mgnt.c"
  446. default n
  447. config RT_WLAN_DEV_DEBUG
  448. bool "Enable Debugging of wlan_dev.c"
  449. default n
  450. config RT_WLAN_PROT_DEBUG
  451. bool "Enable Debugging of wlan_prot.c"
  452. default n
  453. config RT_WLAN_CFG_DEBUG
  454. bool "Enable Debugging of wlan_cfg.c"
  455. default n
  456. config RT_WLAN_LWIP_DEBUG
  457. bool "Enable Debugging of wlan_lwip.c"
  458. default n
  459. endif
  460. endif
  461. menu "Using USB"
  462. config RT_USING_USB_HOST
  463. bool "Using USB host"
  464. default n
  465. if RT_USING_USB_HOST
  466. config RT_USBH_MSTORAGE
  467. bool "Enable Udisk Drivers"
  468. default n
  469. if RT_USBH_MSTORAGE
  470. config UDISK_MOUNTPOINT
  471. string "Udisk mount dir"
  472. default "/"
  473. endif
  474. endif
  475. config RT_USING_USB_DEVICE
  476. bool "Using USB device"
  477. default n
  478. if RT_USING_USB_DEVICE || RT_USING_USB_HOST
  479. config RT_USBD_THREAD_STACK_SZ
  480. int "usb thread stack size"
  481. default 4096
  482. endif
  483. if RT_USING_USB_DEVICE
  484. config USB_VENDOR_ID
  485. hex "USB Vendor ID"
  486. default 0x0FFE
  487. config USB_PRODUCT_ID
  488. hex "USB Product ID"
  489. default 0x0001
  490. config RT_USB_DEVICE_COMPOSITE
  491. bool "Enable composite device"
  492. default n
  493. choice
  494. prompt "Device type"
  495. default _RT_USB_DEVICE_NONE
  496. depends on !RT_USB_DEVICE_COMPOSITE
  497. config _RT_USB_DEVICE_NONE
  498. bool "Using custom class by register interface"
  499. select RT_USB_DEVICE_NONE
  500. config _RT_USB_DEVICE_CDC
  501. bool "Enable to use device as CDC device"
  502. select RT_USB_DEVICE_CDC
  503. config _RT_USB_DEVICE_MSTORAGE
  504. bool "Enable to use device as Mass Storage device"
  505. select RT_USB_DEVICE_MSTORAGE
  506. config _RT_USB_DEVICE_HID
  507. bool "Enable to use device as HID device"
  508. select RT_USB_DEVICE_HID
  509. config _RT_USB_DEVICE_RNDIS
  510. bool "Enable to use device as rndis device"
  511. select RT_USB_DEVICE_RNDIS
  512. depends on RT_USING_LWIP
  513. config _RT_USB_DEVICE_ECM
  514. bool "Enable to use device as ecm device"
  515. select RT_USB_DEVICE_ECM
  516. depends on RT_USING_LWIP
  517. config _RT_USB_DEVICE_WINUSB
  518. bool "Enable to use device as winusb device"
  519. select RT_USB_DEVICE_WINUSB
  520. endchoice
  521. if RT_USB_DEVICE_COMPOSITE
  522. config RT_USB_DEVICE_CDC
  523. bool "Enable to use device as CDC device"
  524. default n
  525. config RT_USB_DEVICE_NONE
  526. bool
  527. default y
  528. config RT_USB_DEVICE_MSTORAGE
  529. bool "Enable to use device as Mass Storage device"
  530. default n
  531. config RT_USB_DEVICE_HID
  532. bool "Enable to use device as HID device"
  533. default n
  534. config RT_USB_DEVICE_RNDIS
  535. bool "Enable to use device as rndis device"
  536. default n
  537. depends on RT_USING_LWIP
  538. config RT_USB_DEVICE_ECM
  539. bool "Enable to use device as ecm device"
  540. default n
  541. depends on RT_USING_LWIP
  542. config RT_USB_DEVICE_WINUSB
  543. bool "Enable to use device as winusb device"
  544. default n
  545. endif
  546. if RT_USB_DEVICE_CDC
  547. config RT_VCOM_TASK_STK_SIZE
  548. int "virtual com thread stack size"
  549. default 512
  550. config RT_VCOM_TX_USE_DMA
  551. bool "Enable to use dma for vcom tx"
  552. default n
  553. config RT_VCOM_SERNO
  554. string "serial number of virtual com"
  555. default "32021919830108"
  556. config RT_VCOM_SER_LEN
  557. int "serial number length of virtual com"
  558. default 14
  559. config RT_VCOM_TX_TIMEOUT
  560. int "tx timeout(ticks) of virtual com"
  561. default 1000
  562. endif
  563. if RT_USB_DEVICE_WINUSB
  564. config RT_WINUSB_GUID
  565. string "Guid for winusb"
  566. default "{6860DC3C-C05F-4807-8807-1CA861CC1D66}"
  567. endif
  568. if RT_USB_DEVICE_MSTORAGE
  569. config RT_USB_MSTORAGE_DISK_NAME
  570. string "msc class disk name"
  571. default "flash0"
  572. endif
  573. if RT_USB_DEVICE_RNDIS
  574. config RNDIS_DELAY_LINK_UP
  575. bool "Delay linkup media connection"
  576. select RT_USING_TIMER_SOFT
  577. default n
  578. endif
  579. if RT_USB_DEVICE_HID
  580. config RT_USB_DEVICE_HID_KEYBOARD
  581. bool "Use to HID device as Keyboard"
  582. default n
  583. if RT_USB_DEVICE_HID_KEYBOARD
  584. config RT_USB_DEVICE_HID_KEYBOARD_NUMBER
  585. int "Number of Keyboard(max 3)"
  586. default 1
  587. range 1 3
  588. endif
  589. config RT_USB_DEVICE_HID_MOUSE
  590. bool "Use to HID device as Mouse"
  591. default n
  592. config RT_USB_DEVICE_HID_GENERAL
  593. bool "Use to HID device as General HID device"
  594. default y
  595. if RT_USB_DEVICE_HID_GENERAL
  596. config RT_USB_DEVICE_HID_GENERAL_OUT_REPORT_LENGTH
  597. int "General HID device out report length"
  598. default 63
  599. range 0 63
  600. config RT_USB_DEVICE_HID_GENERAL_IN_REPORT_LENGTH
  601. int "General HID device in report length"
  602. default 63
  603. range 0 63
  604. endif
  605. config RT_USB_DEVICE_HID_MEDIA
  606. bool "Use to HID device as media keyboard"
  607. default y
  608. endif
  609. endif
  610. endmenu
  611. endmenu