Kconfig 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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_GD32E230K
  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_I2C0
  50. bool "Using I2C0"
  51. select RT_USING_I2C
  52. default n
  53. config RT_USING_I2C1
  54. bool "Using I2C1"
  55. select RT_USING_I2C
  56. default n