Kconfig 2.0 KB

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