[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"
config $BSP_DIR
config BSP_DIR
string
option env="BSP_ROOT"
default "."
config $RTT_DIR
config RTT_DIR
string
option env="RTT_ROOT"
default "../../.."
config $PKGS_DIR
config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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