kconfig 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. if RT_USING_SERIAL
  17. config RT_USING_UART2
  18. bool "Using RT_USING_UART2"
  19. default y
  20. config RT_UART_RX_BUFFER_SIZE
  21. int "The rx buffer size"
  22. default 64 if RT_USING_SERIAL
  23. default 64
  24. endif
  25. config RT_USING_GMAC_INT_MODE
  26. bool "Using RT_USING_GMAC_INT_MODE"
  27. default y
  28. config RT_USING_FPU
  29. bool "Using RT_USING_FPU"
  30. default y
  31. config RT_USING_SPI0
  32. bool "Enable SPI0"
  33. select RT_USING_SPI
  34. default y
  35. config RT_USING_SPI1
  36. bool "Enable SPI1"
  37. select RT_USING_SPI
  38. default y
  39. if RT_USING_I2C
  40. config RT_USING_I2C1
  41. bool "Enable I2C1"
  42. default y
  43. config RT_USING_I2C2
  44. bool "Enable I2C2"
  45. default y
  46. endif
  47. config USING_BXCAN0
  48. bool "Enable CAN0"
  49. select RT_USING_CAN
  50. default y
  51. config USING_BXCAN1
  52. bool "Enable CAN1"
  53. select RT_USING_CAN
  54. default y
  55. if RT_USING_CAN
  56. config RT_CAN_USING_HDR
  57. bool "Using RT_CAN_USING_HDR"
  58. select RT_USING_CAN
  59. default y
  60. endif