[components/drivers & bsp/stm32]fix kconfig syntax error and add rx buffer size config

This commit is contained in:
misonyo 2019-01-28 13:54:20 +08:00
parent 812a535922
commit 227b6eb30d
7 changed files with 25 additions and 19 deletions

View File

@ -1,16 +1,16 @@
mainmenu "RT-Thread Configuration" mainmenu "RT-Thread Configuration"
config $BSP_DIR config BSP_DIR
string string
option env="BSP_ROOT" option env="BSP_ROOT"
default "." default "."
config $RTT_DIR config RTT_DIR
string string
option env="RTT_ROOT" option env="RTT_ROOT"
default "../../.." default "../../.."
config $PKGS_DIR config PKGS_DIR
string string
option env="PKGS_ROOT" option env="PKGS_ROOT"
default "packages" default "packages"

View File

@ -1,16 +1,16 @@
mainmenu "RT-Thread Configuration" mainmenu "RT-Thread Configuration"
config $BSP_DIR config BSP_DIR
string string
option env="BSP_ROOT" option env="BSP_ROOT"
default "." default "."
config $RTT_DIR config RTT_DIR
string string
option env="RTT_ROOT" option env="RTT_ROOT"
default "../../.." default "../../.."
config $PKGS_DIR config PKGS_DIR
string string
option env="PKGS_ROOT" option env="PKGS_ROOT"
default "packages" default "packages"

View File

@ -1,16 +1,16 @@
mainmenu "RT-Thread Configuration" mainmenu "RT-Thread Configuration"
config $BSP_DIR config BSP_DIR
string string
option env="BSP_ROOT" option env="BSP_ROOT"
default "." default "."
config $RTT_DIR config RTT_DIR
string string
option env="RTT_ROOT" option env="RTT_ROOT"
default "../../.." default "../../.."
config $PKGS_DIR config PKGS_DIR
string string
option env="PKGS_ROOT" option env="PKGS_ROOT"
default "packages" default "packages"

View File

@ -1,16 +1,16 @@
mainmenu "RT-Thread Configuration" mainmenu "RT-Thread Configuration"
config $BSP_DIR config BSP_DIR
string string
option env="BSP_ROOT" option env="BSP_ROOT"
default "." default "."
config $RTT_DIR config RTT_DIR
string string
option env="RTT_ROOT" option env="RTT_ROOT"
default "../../.." default "../../.."
config $PKGS_DIR config PKGS_DIR
string string
option env="PKGS_ROOT" option env="PKGS_ROOT"
default "packages" default "packages"

View File

@ -1,16 +1,16 @@
mainmenu "RT-Thread Configuration" mainmenu "RT-Thread Configuration"
config $BSP_DIR config BSP_DIR
string string
option env="BSP_ROOT" option env="BSP_ROOT"
default "." default "."
config $RTT_DIR config RTT_DIR
string string
option env="RTT_ROOT" option env="RTT_ROOT"
default "../../.." default "../../.."
config $PKGS_DIR config PKGS_DIR
string string
option env="PKGS_ROOT" option env="PKGS_ROOT"
default "packages" default "packages"

View File

@ -1,16 +1,16 @@
mainmenu "RT-Thread Configuration" mainmenu "RT-Thread Configuration"
config $BSP_DIR config BSP_DIR
string string
option env="BSP_ROOT" option env="BSP_ROOT"
default "." default "."
config $RTT_DIR config RTT_DIR
string string
option env="RTT_ROOT" option env="RTT_ROOT"
default "../../.." default "../../.."
config $PKGS_DIR config PKGS_DIR
string string
option env="PKGS_ROOT" option env="PKGS_ROOT"
default "packages" default "packages"

View File

@ -20,7 +20,12 @@ if RT_USING_SERIAL
config RT_SERIAL_USING_DMA config RT_SERIAL_USING_DMA
bool "Enable serial DMA mode" bool "Enable serial DMA mode"
default y default y
endif
config RT_SERIAL_RB_BUFSZ
int "Set RX buffer size"
default 64
endif
config RT_USING_CAN config RT_USING_CAN
bool "Using CAN device drivers" bool "Using CAN device drivers"
@ -120,6 +125,7 @@ config RT_USING_PM
config RT_USING_RTC config RT_USING_RTC
bool "Using RTC device drivers" bool "Using RTC device drivers"
select RT_USING_LIBC
default n default n
if RT_USING_RTC if RT_USING_RTC