Kconfig 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747
  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. config RT_USING_ENCODER
  344. bool "Using ENCODER device drivers"
  345. default n
  346. menuconfig RT_USING_WIFI
  347. bool "Using Wi-Fi framework"
  348. default n
  349. if RT_USING_WIFI
  350. config RT_WLAN_DEVICE_STA_NAME
  351. string "The device name for station"
  352. default "wlan0"
  353. config RT_WLAN_DEVICE_AP_NAME
  354. string "The device name for ap"
  355. default "wlan1"
  356. config RT_WLAN_SSID_MAX_LENGTH
  357. int "SSID maximum length"
  358. default 32
  359. config RT_WLAN_PASSWORD_MAX_LENGTH
  360. int "Password maximum length"
  361. default 32
  362. config RT_WLAN_DEV_EVENT_NUM
  363. int "Driver events maxcount"
  364. default 2
  365. config RT_WLAN_MANAGE_ENABLE
  366. bool "Connection management Enable"
  367. default y
  368. if RT_WLAN_MANAGE_ENABLE
  369. config RT_WLAN_SCAN_WAIT_MS
  370. int "Set scan timeout time(ms)"
  371. default 10000
  372. config RT_WLAN_CONNECT_WAIT_MS
  373. int "Set connect timeout time(ms)"
  374. default 10000
  375. config RT_WLAN_SCAN_SORT
  376. bool "Automatic sorting of scan results"
  377. default y
  378. config RT_WLAN_MSH_CMD_ENABLE
  379. bool "MSH command Enable"
  380. default y
  381. config RT_WLAN_AUTO_CONNECT_ENABLE
  382. bool "Auto connect Enable"
  383. select RT_WLAN_CFG_ENABLE
  384. select RT_WLAN_WORK_THREAD_ENABLE
  385. default y
  386. if RT_WLAN_AUTO_CONNECT_ENABLE
  387. config AUTO_CONNECTION_PERIOD_MS
  388. int "Auto connect period(ms)"
  389. default 2000
  390. endif
  391. endif
  392. config RT_WLAN_CFG_ENABLE
  393. bool "WiFi information automatically saved Enable"
  394. default y
  395. if RT_WLAN_CFG_ENABLE
  396. config RT_WLAN_CFG_INFO_MAX
  397. int "Maximum number of WiFi information automatically saved"
  398. default 3
  399. endif
  400. config RT_WLAN_PROT_ENABLE
  401. bool "Transport protocol manage Enable"
  402. default y
  403. if RT_WLAN_PROT_ENABLE
  404. config RT_WLAN_PROT_NAME_LEN
  405. int "Transport protocol name length"
  406. default 8
  407. config RT_WLAN_PROT_MAX
  408. int "Transport protocol maxcount"
  409. default 2
  410. config RT_WLAN_DEFAULT_PROT
  411. string "Default transport protocol"
  412. default "lwip"
  413. config RT_WLAN_PROT_LWIP_ENABLE
  414. bool "LWIP transport protocol Enable"
  415. select RT_USING_LWIP
  416. default y
  417. if RT_WLAN_PROT_LWIP_ENABLE
  418. config RT_WLAN_PROT_LWIP_NAME
  419. string "LWIP transport protocol name"
  420. default "lwip"
  421. config RT_WLAN_PROT_LWIP_PBUF_FORCE
  422. bool "Forced use of PBUF transmission"
  423. default n
  424. endif
  425. endif
  426. config RT_WLAN_WORK_THREAD_ENABLE
  427. bool "WLAN work queue thread Enable"
  428. default y
  429. if RT_WLAN_WORK_THREAD_ENABLE
  430. config RT_WLAN_WORKQUEUE_THREAD_NAME
  431. string "WLAN work queue thread name"
  432. default "wlan"
  433. config RT_WLAN_WORKQUEUE_THREAD_SIZE
  434. int "WLAN work queue thread size"
  435. default 2048
  436. config RT_WLAN_WORKQUEUE_THREAD_PRIO
  437. int "WLAN work queue thread priority"
  438. default 15
  439. endif
  440. menuconfig RT_WLAN_DEBUG
  441. bool "Enable WLAN Debugging Options"
  442. default n
  443. if RT_WLAN_DEBUG
  444. config RT_WLAN_CMD_DEBUG
  445. bool "Enable Debugging of wlan_cmd.c"
  446. default n
  447. config RT_WLAN_MGNT_DEBUG
  448. bool "Enable Debugging of wlan_mgnt.c"
  449. default n
  450. config RT_WLAN_DEV_DEBUG
  451. bool "Enable Debugging of wlan_dev.c"
  452. default n
  453. config RT_WLAN_PROT_DEBUG
  454. bool "Enable Debugging of wlan_prot.c"
  455. default n
  456. config RT_WLAN_CFG_DEBUG
  457. bool "Enable Debugging of wlan_cfg.c"
  458. default n
  459. config RT_WLAN_LWIP_DEBUG
  460. bool "Enable Debugging of wlan_lwip.c"
  461. default n
  462. endif
  463. endif
  464. menu "Using USB"
  465. config RT_USING_USB_HOST
  466. bool "Using USB host"
  467. default n
  468. if RT_USING_USB_HOST
  469. config RT_USBH_MSTORAGE
  470. bool "Enable Udisk Drivers"
  471. default n
  472. if RT_USBH_MSTORAGE
  473. config UDISK_MOUNTPOINT
  474. string "Udisk mount dir"
  475. default "/"
  476. endif
  477. endif
  478. config RT_USING_USB_DEVICE
  479. bool "Using USB device"
  480. default n
  481. if RT_USING_USB_DEVICE || RT_USING_USB_HOST
  482. config RT_USBD_THREAD_STACK_SZ
  483. int "usb thread stack size"
  484. default 4096
  485. endif
  486. if RT_USING_USB_DEVICE
  487. config USB_VENDOR_ID
  488. hex "USB Vendor ID"
  489. default 0x0FFE
  490. config USB_PRODUCT_ID
  491. hex "USB Product ID"
  492. default 0x0001
  493. config RT_USB_DEVICE_COMPOSITE
  494. bool "Enable composite device"
  495. default n
  496. choice
  497. prompt "Device type"
  498. default _RT_USB_DEVICE_NONE
  499. depends on !RT_USB_DEVICE_COMPOSITE
  500. config _RT_USB_DEVICE_NONE
  501. bool "Using custom class by register interface"
  502. select RT_USB_DEVICE_NONE
  503. config _RT_USB_DEVICE_CDC
  504. bool "Enable to use device as CDC device"
  505. select RT_USB_DEVICE_CDC
  506. config _RT_USB_DEVICE_MSTORAGE
  507. bool "Enable to use device as Mass Storage device"
  508. select RT_USB_DEVICE_MSTORAGE
  509. config _RT_USB_DEVICE_HID
  510. bool "Enable to use device as HID device"
  511. select RT_USB_DEVICE_HID
  512. config _RT_USB_DEVICE_RNDIS
  513. bool "Enable to use device as rndis device"
  514. select RT_USB_DEVICE_RNDIS
  515. depends on RT_USING_LWIP
  516. config _RT_USB_DEVICE_ECM
  517. bool "Enable to use device as ecm device"
  518. select RT_USB_DEVICE_ECM
  519. depends on RT_USING_LWIP
  520. config _RT_USB_DEVICE_WINUSB
  521. bool "Enable to use device as winusb device"
  522. select RT_USB_DEVICE_WINUSB
  523. endchoice
  524. if RT_USB_DEVICE_COMPOSITE
  525. config RT_USB_DEVICE_CDC
  526. bool "Enable to use device as CDC device"
  527. default n
  528. config RT_USB_DEVICE_NONE
  529. bool
  530. default y
  531. config RT_USB_DEVICE_MSTORAGE
  532. bool "Enable to use device as Mass Storage device"
  533. default n
  534. config RT_USB_DEVICE_HID
  535. bool "Enable to use device as HID device"
  536. default n
  537. config RT_USB_DEVICE_RNDIS
  538. bool "Enable to use device as rndis device"
  539. default n
  540. depends on RT_USING_LWIP
  541. config RT_USB_DEVICE_ECM
  542. bool "Enable to use device as ecm device"
  543. default n
  544. depends on RT_USING_LWIP
  545. config RT_USB_DEVICE_WINUSB
  546. bool "Enable to use device as winusb device"
  547. default n
  548. endif
  549. if RT_USB_DEVICE_CDC
  550. config RT_VCOM_TASK_STK_SIZE
  551. int "virtual com thread stack size"
  552. default 512
  553. config RT_VCOM_TX_USE_DMA
  554. bool "Enable to use dma for vcom tx"
  555. default n
  556. config RT_VCOM_SERNO
  557. string "serial number of virtual com"
  558. default "32021919830108"
  559. config RT_VCOM_SER_LEN
  560. int "serial number length of virtual com"
  561. default 14
  562. config RT_VCOM_TX_TIMEOUT
  563. int "tx timeout(ticks) of virtual com"
  564. default 1000
  565. endif
  566. if RT_USB_DEVICE_WINUSB
  567. config RT_WINUSB_GUID
  568. string "Guid for winusb"
  569. default "{6860DC3C-C05F-4807-8807-1CA861CC1D66}"
  570. endif
  571. if RT_USB_DEVICE_MSTORAGE
  572. config RT_USB_MSTORAGE_DISK_NAME
  573. string "msc class disk name"
  574. default "flash0"
  575. endif
  576. if RT_USB_DEVICE_RNDIS
  577. config RNDIS_DELAY_LINK_UP
  578. bool "Delay linkup media connection"
  579. select RT_USING_TIMER_SOFT
  580. default n
  581. endif
  582. if RT_USB_DEVICE_HID
  583. config RT_USB_DEVICE_HID_KEYBOARD
  584. bool "Use to HID device as Keyboard"
  585. default n
  586. if RT_USB_DEVICE_HID_KEYBOARD
  587. config RT_USB_DEVICE_HID_KEYBOARD_NUMBER
  588. int "Number of Keyboard(max 3)"
  589. default 1
  590. range 1 3
  591. endif
  592. config RT_USB_DEVICE_HID_MOUSE
  593. bool "Use to HID device as Mouse"
  594. default n
  595. config RT_USB_DEVICE_HID_GENERAL
  596. bool "Use to HID device as General HID device"
  597. default y
  598. if RT_USB_DEVICE_HID_GENERAL
  599. config RT_USB_DEVICE_HID_GENERAL_OUT_REPORT_LENGTH
  600. int "General HID device out report length"
  601. default 63
  602. range 0 63
  603. config RT_USB_DEVICE_HID_GENERAL_IN_REPORT_LENGTH
  604. int "General HID device in report length"
  605. default 63
  606. range 0 63
  607. endif
  608. config RT_USB_DEVICE_HID_MEDIA
  609. bool "Use to HID device as media keyboard"
  610. default y
  611. endif
  612. endif
  613. endmenu
  614. endmenu