Kconfig 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. mainmenu "RT-Thread Configuration"
  2. BSP_DIR := .
  3. RTT_DIR := ../../..
  4. PKGS_DIR := packages
  5. source "$(RTT_DIR)/Kconfig"
  6. source "$(RTT_DIR)/libcpu/mips/common/Kconfig"
  7. osource "$PKGS_DIR/Kconfig"
  8. config SOC_LS1C300
  9. bool
  10. select RT_USING_COMPONENTS_INIT
  11. select RT_USING_USER_MAIN
  12. default y
  13. choice
  14. prompt "Board Type"
  15. config RT_LS1C_OPENLOONGSON
  16. bool "OpenLoongson Board"
  17. config RT_LS1C_BAICAIBOARD
  18. bool "Baicai Board"
  19. endchoice
  20. config RT_USING_SELF_BOOT
  21. bool "Enable RT-Thread run without bootloader"
  22. default n
  23. if RT_USING_SELF_BOOT
  24. config RT_SELF_BOOT_DEBUG
  25. bool "Debug self boot code"
  26. default n
  27. endif
  28. if RT_USING_SERIAL
  29. config RT_USING_UART2
  30. bool "Using RT_USING_UART2"
  31. default y
  32. config RT_USING_UART1
  33. bool "Using RT_USING_UART1"
  34. default y
  35. config RT_USING_UART3
  36. bool "Using RT_USING_UART3"
  37. default n
  38. config RT_UART_RX_BUFFER_SIZE
  39. int "The rx buffer size"
  40. default 64 if RT_USING_SERIAL
  41. default 64
  42. endif
  43. config RT_USING_GMAC_INT_MODE
  44. bool "Using RT_USING_GMAC_INT_MODE"
  45. default y
  46. config RT_USING_SPI0
  47. bool "Enable SPI0"
  48. select RT_USING_SPI
  49. default y
  50. config RT_USING_SPI1
  51. bool "Enable SPI1"
  52. select RT_USING_SPI
  53. default y
  54. if RT_USING_I2C
  55. config RT_USING_I2C1
  56. bool "Enable I2C1"
  57. default y
  58. config RT_USING_I2C2
  59. bool "Enable I2C2"
  60. default y
  61. endif
  62. config USING_BXCAN0
  63. bool "Enable CAN0"
  64. select RT_USING_CAN
  65. default y
  66. config USING_BXCAN1
  67. bool "Enable CAN1"
  68. select RT_USING_CAN
  69. default y
  70. if RT_USING_CAN
  71. config RT_CAN_USING_HDR
  72. bool "Using RT_CAN_USING_HDR"
  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