Kconfig 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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_SELF_BOOT
  17. bool "Enable RT-Thread run without bootloader"
  18. default n
  19. if RT_USING_SERIAL
  20. config RT_USING_UART2
  21. bool "Using RT_USING_UART2"
  22. default y
  23. config RT_USING_UART1
  24. bool "Using RT_USING_UART1"
  25. default y
  26. config RT_USING_UART3
  27. bool "Using RT_USING_UART3"
  28. default n
  29. config RT_UART_RX_BUFFER_SIZE
  30. int "The rx buffer size"
  31. default 64 if RT_USING_SERIAL
  32. default 64
  33. endif
  34. config RT_USING_GMAC_INT_MODE
  35. bool "Using RT_USING_GMAC_INT_MODE"
  36. default y
  37. config RT_USING_FPU
  38. bool "Using RT_USING_FPU"
  39. default y
  40. config RT_USING_SPI0
  41. bool "Enable SPI0"
  42. select RT_USING_SPI
  43. default y
  44. config RT_USING_SPI1
  45. bool "Enable SPI1"
  46. select RT_USING_SPI
  47. default y
  48. if RT_USING_I2C
  49. config RT_USING_I2C1
  50. bool "Enable I2C1"
  51. default y
  52. config RT_USING_I2C2
  53. bool "Enable I2C2"
  54. default y
  55. endif
  56. config USING_BXCAN0
  57. bool "Enable CAN0"
  58. select RT_USING_CAN
  59. default y
  60. config USING_BXCAN1
  61. bool "Enable CAN1"
  62. select RT_USING_CAN
  63. default y
  64. if RT_USING_CAN
  65. config RT_CAN_USING_HDR
  66. bool "Using RT_CAN_USING_HDR"
  67. select RT_USING_CAN
  68. default y
  69. endif
  70. choice
  71. prompt "Touch format"
  72. default NO_TOUCH
  73. config NO_TOUCH
  74. bool "with no touch"
  75. if RT_USING_RTGUI
  76. config XPT2046_USING_TOUCH
  77. bool "with XPT2046 touch"
  78. endif
  79. config TINA_USING_TOUCH
  80. bool "with TINA touch"
  81. endchoice
  82. if RT_USING_RTC
  83. config RT_RTC_NAME
  84. string "RT_RTC_NAME"
  85. default "RTC"
  86. endif