Kconfig 2.1 KB

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