Kconfig 1.8 KB

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