Kconfig 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. menuconfig BSP_USING_PWM
  31. bool "Using PWM"
  32. select RT_USING_PWM
  33. default n
  34. if BSP_USING_PWM
  35. config BSP_USING_PWM0
  36. bool "Enable PWM 0"
  37. default n
  38. config BSP_USING_PWM1
  39. bool "Enable PWM 1"
  40. default n
  41. config BSP_USING_PWM2
  42. bool "Enable PWM 2"
  43. default n
  44. config BSP_USING_PWM3
  45. bool "Enable PWM 3"
  46. default n
  47. endif
  48. endmenu