Kconfig 1.1 KB

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