Kconfig 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. menu "General Drivers Configuration"
  2. menuconfig BSP_USING_UART
  3. bool "Using UART"
  4. select RT_USING_SERIAL
  5. default y
  6. if BSP_USING_UART
  7. config RT_USING_UART0
  8. bool "Enable UART 0"
  9. default y
  10. config UART_IRQ_BASE
  11. int
  12. default 44
  13. config RT_USING_UART1
  14. bool "Enable UART 1"
  15. default n
  16. config RT_USING_UART2
  17. bool "Enable UART 2"
  18. default n
  19. config RT_USING_UART3
  20. bool "Enable UART 3"
  21. default n
  22. config RT_USING_UART4
  23. bool "Enable UART 4"
  24. default n
  25. endif
  26. config BSP_USING_ADC
  27. bool "Using ADC"
  28. select RT_USING_ADC
  29. default n
  30. config BSP_USING_SPI
  31. bool "Using SPI"
  32. select RT_USING_SPI
  33. default n
  34. menuconfig BSP_USING_PWM
  35. bool "Using PWM"
  36. select RT_USING_PWM
  37. default n
  38. if BSP_USING_PWM
  39. config BSP_USING_PWM0
  40. bool "Enable PWM 0"
  41. default n
  42. config BSP_USING_PWM1
  43. bool "Enable PWM 1"
  44. default n
  45. config BSP_USING_PWM2
  46. bool "Enable PWM 2"
  47. default n
  48. config BSP_USING_PWM3
  49. bool "Enable PWM 3"
  50. default n
  51. endif
  52. config BSP_USING_SDH
  53. select RT_USING_SDIO
  54. select RT_USING_DFS
  55. select RT_USING_DFS_ELMFAT
  56. select RT_USING_DFS_ROMFS
  57. bool "Enable Secure Digital Host Controller"
  58. default n
  59. endmenu