kconfig 1.4 KB

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