kconfig 1.5 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 "F:/rt-thread/rt-thread"
  10. # you can change the RTT_ROOT default "../.." to your rtthread_root,
  11. # example : default "F:/git_repositories/rt-thread"
  12. config $PKGS_DIR
  13. string
  14. option env="PKGS_ROOT"
  15. default "packages"
  16. source "$RTT_DIR/KConfig"
  17. source "$PKGS_DIR/KConfig"
  18. config RT_USING_UART
  19. bool "Using RT_USING_UART"
  20. default y
  21. if RT_USING_UART
  22. config RT_USING_UART2
  23. bool "Using RT_USING_UART2"
  24. default y
  25. config RT_UART_RX_BUFFER_SIZE
  26. int "The rx buffer size"
  27. default 64 if RT_USING_UART
  28. default 64
  29. endif
  30. config RT_USING_GMAC_INT_MODE
  31. bool "Using RT_USING_GMAC_INT_MODE"
  32. default y
  33. config RT_USING_FPU
  34. bool "Using RT_USING_FPU"
  35. default y
  36. config RT_USING_SPI0
  37. bool "Using RT_USING_SPI0"
  38. select RT_USING_SPI
  39. default y
  40. config RT_USING_SPI1
  41. bool "Using RT_USING_SPI1"
  42. select RT_USING_SPI
  43. default y
  44. config RT_USING_I2C1
  45. bool "Using RT_USING_I2C1"
  46. select RT_USING_I2C
  47. default y
  48. config RT_USING_I2C2
  49. bool "Using RT_USING_I2C2"
  50. select RT_USING_I2C
  51. default y
  52. config RT_CAN_USING_HDR
  53. bool "Using RT_CAN_USING_HDR"
  54. select RT_USING_CAN
  55. default y
  56. config USING_BXCAN0
  57. bool "Using USING_BXCAN0"
  58. select RT_USING_CAN
  59. default y
  60. config USING_BXCAN1
  61. bool "Using USING_BXCAN1"
  62. select RT_USING_CAN
  63. default y