Kconfig 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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_LS
  17. bool
  18. default y
  19. config SOC_LS1B
  20. bool
  21. select RT_USING_COMPONENTS_INIT
  22. select RT_USING_USER_MAIN
  23. default y
  24. config RT_MEM_SIZE
  25. int "Memory Size (MByte)"
  26. default 256
  27. config RT_OSC_CLK
  28. int "Oscillator Clock (Hz)"
  29. default 25000000
  30. if RT_USING_SERIAL
  31. config RT_USING_UART0
  32. bool "Using RT_USING_UART0"
  33. default n
  34. config RT_USING_UART1
  35. bool "Using RT_USING_UART1"
  36. default n
  37. config RT_USING_UART2
  38. bool "Using RT_USING_UART2"
  39. default n
  40. config RT_USING_UART3
  41. bool "Using RT_USING_UART3"
  42. default n
  43. config RT_USING_UART4
  44. bool "Using RT_USING_UART4"
  45. default n
  46. config RT_USING_UART5
  47. bool "Using RT_USING_UART5"
  48. default y
  49. config RT_UART_RX_BUFFER_SIZE
  50. int "The rx buffer size"
  51. default 64 if RT_USING_SERIAL
  52. default 64
  53. endif