Kconfig 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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_GD32303E
  17. bool
  18. select RT_USING_COMPONENTS_INIT
  19. select RT_USING_USER_MAIN
  20. default y
  21. config RT_USING_USART0
  22. bool "Using USART0"
  23. select RT_USING_SERIAL
  24. default y
  25. config RT_USING_USART1
  26. bool "Using USART1"
  27. select RT_USING_SERIAL
  28. default n
  29. config RT_USING_USART2
  30. bool "Using USART2"
  31. select RT_USING_SERIAL
  32. default n
  33. config RT_USING_UART3
  34. bool "Using UART3"
  35. select RT_USING_SERIAL
  36. default n
  37. config RT_USING_UART4
  38. bool "Using UART4"
  39. select RT_USING_SERIAL
  40. default n
  41. config RT_USING_SPI0
  42. bool "Using SPI0"
  43. select RT_USING_SPI
  44. default y
  45. config RT_USING_SPI1
  46. bool "Using SPI1"
  47. select RT_USING_SPI
  48. default n
  49. config RT_USING_SPI2
  50. bool "Using SPI2"
  51. select RT_USING_SPI
  52. default n
  53. config RT_USING_SPI3
  54. bool "Using SPI2 BUS (software simulation)"
  55. select RT_USING_SPI
  56. select RT_USING_SPI_BITOPS
  57. default n
  58. config RT_USING_I2C0
  59. bool "Using I2C0"
  60. select RT_USING_I2C
  61. default n
  62. config RT_USING_I2C1
  63. bool "Using I2C1"
  64. select RT_USING_I2C
  65. default n