Kconfig 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. menu "Drivers Configuration"
  2. config BSP_USING_ADC
  3. bool "Enable ADC"
  4. select RT_USING_ADC
  5. default n
  6. config BSP_USING_HARDLOCK
  7. bool "Enable Hard-Lock"
  8. default y
  9. menuconfig BSP_USING_SDIO
  10. bool "Enable SDIO"
  11. select RT_USING_SDIO
  12. default y
  13. if BSP_USING_SDIO
  14. choice BSP_SDIO_DEV
  15. prompt "Select SDIO device"
  16. default BSP_USING_SDIO0
  17. help
  18. Select the SDIO device to be used.
  19. config BSP_USING_SDIO0
  20. bool "Enable SDIO0"
  21. if BSP_USING_SDIO0
  22. config BSP_SDIO0_EMMC
  23. bool "Enable eMMC"
  24. default n
  25. config BSP_SDIO0_1V8
  26. bool "Enable 1.8V"
  27. default n
  28. endif
  29. config BSP_USING_SDIO1
  30. bool "Enable SDIO1"
  31. endchoice
  32. config BSP_SD_MNT_DEVNAME
  33. string "The name of the SD-BlkDev to be mounted"
  34. default "sd0p1"
  35. endif
  36. menuconfig BSP_USING_TIMERS
  37. bool "Enable Hardware Timers"
  38. select RT_USING_HWTIMER
  39. default n
  40. if BSP_USING_TIMERS
  41. config BSP_USING_TIMER0
  42. bool "Enable Timer0"
  43. default n
  44. config BSP_USING_TIMER1
  45. bool "Enable Timer1"
  46. default n
  47. config BSP_USING_TIMER2
  48. bool "Enable Timer2"
  49. default n
  50. config BSP_USING_TIMER3
  51. bool "Enable Timer3"
  52. default n
  53. config BSP_USING_TIMER4
  54. bool "Enable Timer4"
  55. default n
  56. config BSP_USING_TIMER5
  57. bool "Enable Timer5"
  58. default n
  59. endif
  60. menuconfig BSP_USING_WDT
  61. bool "Enable Watchdog Timer"
  62. select RT_USING_WDT
  63. default n
  64. if BSP_USING_WDT
  65. config BSP_USING_WDT0
  66. bool "Enable WDT0"
  67. default n
  68. config BSP_USING_WDT1
  69. bool "Enable WDT1"
  70. default n
  71. endif
  72. config BSP_UTEST_DRIVERS
  73. bool "Enable drivers utest"
  74. select RT_USING_UTEST
  75. default n
  76. endmenu