Kconfig 937 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. mainmenu "RT-Thread Configuration"
  2. BSP_DIR := .
  3. RTT_DIR := ../../..
  4. PKGS_DIR := packages
  5. source "$(RTT_DIR)/Kconfig"
  6. osource "$PKGS_DIR/Kconfig"
  7. config SOC_LS1B
  8. bool
  9. select RT_USING_COMPONENTS_INIT
  10. select RT_USING_USER_MAIN
  11. default y
  12. config RT_MEM_SIZE
  13. int "Memory Size (MByte)"
  14. default 256
  15. config RT_OSC_CLK
  16. int "Oscillator Clock (Hz)"
  17. default 25000000
  18. if RT_USING_SERIAL
  19. config RT_USING_UART0
  20. bool "Using RT_USING_UART0"
  21. default n
  22. config RT_USING_UART1
  23. bool "Using RT_USING_UART1"
  24. default n
  25. config RT_USING_UART2
  26. bool "Using RT_USING_UART2"
  27. default n
  28. config RT_USING_UART3
  29. bool "Using RT_USING_UART3"
  30. default n
  31. config RT_USING_UART4
  32. bool "Using RT_USING_UART4"
  33. default n
  34. config RT_USING_UART5
  35. bool "Using RT_USING_UART5"
  36. default y
  37. config RT_UART_RX_BUFFER_SIZE
  38. int "The rx buffer size"
  39. default 64 if RT_USING_SERIAL
  40. default 64
  41. endif