Kconfig 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. menu "Hardware Drivers Config"
  2. menu "Onboard Peripheral Drivers"
  3. config BSP_USING_USB_TO_USART
  4. bool "Enable USB TO USART (uart0)"
  5. select BSP_USING_UART
  6. select BSP_USING_UART0
  7. default y
  8. menuconfig BSP_USING_AUDIO
  9. bool "Enable Audio Device"
  10. select RT_USING_AUDIO
  11. default n
  12. if BSP_USING_AUDIO
  13. config BSP_USING_AUDIO_PLAY
  14. bool "Enable Audio Play"
  15. default y
  16. endif
  17. config BSP_USING_SDCARD
  18. bool "Enable SDCARD"
  19. select BSP_USING_SDIO
  20. default n
  21. if BSP_USING_SDCARD
  22. config SDIO_MAX_FREQ
  23. int "sdio max freq"
  24. range 0 24000000
  25. default 24000000
  26. endif
  27. endmenu
  28. menu "On-chip Peripheral Drivers"
  29. menuconfig BSP_USING_UART0
  30. bool "Enable UART0"
  31. select RT_USING_SERIAL
  32. default y
  33. config BSP_USING_SDIO
  34. bool "Enable SDIO"
  35. select RT_USING_SDIO
  36. select RT_USING_DFS
  37. select RT_USING_DFS_ELMFAT
  38. default n
  39. menuconfig BSP_USING_I2C1
  40. bool "Enable I2C1 BUS (software simulation)"
  41. default n
  42. select RT_USING_I2C
  43. select RT_USING_I2C_BITOPS
  44. select RT_USING_PIN
  45. if BSP_USING_I2C1
  46. comment "Notice: PE3 --> 16; PE2 --> 15"
  47. config BSP_I2C1_SCL_PIN
  48. int "I2C1 scl pin number"
  49. range 1 27
  50. default 16
  51. config BSP_I2C1_SDA_PIN
  52. int "I2C1 sda pin number"
  53. range 1 27
  54. default 15
  55. endif
  56. config BSP_USING_WDT
  57. bool "Enable Watchdog Timer"
  58. select RT_USING_WDT
  59. default n
  60. menuconfig BSP_USING_TIM
  61. bool "Enable timer"
  62. default n
  63. select RT_USING_HWTIMER
  64. if BSP_USING_TIM
  65. config BSP_USING_TIM1
  66. bool "Enable TIM1"
  67. default n
  68. config BSP_USING_TIM2
  69. bool "Enable TIM2"
  70. default n
  71. config BSP_USING_TIM3
  72. bool "Enable TIM3"
  73. default n
  74. config BSP_USING_TIM4
  75. bool "Enable TIM4"
  76. default n
  77. config BSP_USING_TIM5
  78. bool "Enable TIM5"
  79. default n
  80. endif
  81. endmenu
  82. menu "Board extended module Drivers"
  83. endmenu
  84. endmenu