Kconfig 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. mainmenu "RT-Thread Configuration"
  2. config $BSP_DIR
  3. string
  4. option env="BSP_ROOT"
  5. default "."
  6. config $RTT_DIR
  7. string
  8. option env="RTT_ROOT"
  9. default "../.."
  10. config $PKGS_DIR
  11. string
  12. option env="PKGS_ROOT"
  13. default "packages"
  14. source "$RTT_DIR/Kconfig"
  15. source "$PKGS_DIR/Kconfig"
  16. config RT_USING_USART0
  17. bool "Using USART0"
  18. select RT_USING_SERIAL
  19. default y
  20. config RT_USING_USART1
  21. bool "Using USART1"
  22. select RT_USING_SERIAL
  23. default n
  24. config RT_USING_USART2
  25. bool "Using USART2"
  26. select RT_USING_SERIAL
  27. default n
  28. config RT_USING_UART3
  29. bool "Using UART3"
  30. select RT_USING_SERIAL
  31. default n
  32. config RT_USING_UART4
  33. bool "Using UART4"
  34. select RT_USING_SERIAL
  35. default n
  36. config RT_USING_SPI0
  37. bool "Using SPI0"
  38. select RT_USING_SPI
  39. default y
  40. config RT_USING_SPI1
  41. bool "Using SPI1"
  42. select RT_USING_SPI
  43. default n
  44. config RT_USING_SPI2
  45. bool "Using SPI2"
  46. select RT_USING_SPI
  47. default n
  48. config RT_USING_I2C0
  49. bool "Using I2C0"
  50. select RT_USING_I2C
  51. default n
  52. config RT_USING_I2C1
  53. bool "Using I2C1"
  54. select RT_USING_I2C
  55. default n