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