diff options
| author | misonyo <[email protected]> | 2019-01-28 13:54:20 +0800 |
|---|---|---|
| committer | misonyo <[email protected]> | 2019-01-28 13:54:20 +0800 |
| commit | 227b6eb30de0758b1ff115de88a32eeb44706557 (patch) | |
| tree | d58f70a4067220c2240d09ae3b5479e714e2eef9 | |
| parent | 812a5359222b17d344200ff3567dc43b0db18aac (diff) | |
[components/drivers & bsp/stm32]fix kconfig syntax error and add rx buffer size config
| -rw-r--r-- | bsp/stm32/stm32f103-dofly-lyc8/Kconfig | 6 | ||||
| -rw-r--r-- | bsp/stm32/stm32f103-hw100k-ibox/Kconfig | 6 | ||||
| -rw-r--r-- | bsp/stm32/stm32f746-st-disco/Kconfig | 6 | ||||
| -rw-r--r-- | bsp/stm32/stm32f767-st-nucleo/Kconfig | 6 | ||||
| -rw-r--r-- | bsp/stm32/stm32g071-st-nucleo/Kconfig | 6 | ||||
| -rw-r--r-- | bsp/stm32/stm32l432-st-nucleo/Kconfig | 6 | ||||
| -rwxr-xr-x | components/drivers/Kconfig | 8 |
7 files changed, 25 insertions, 19 deletions
diff --git a/bsp/stm32/stm32f103-dofly-lyc8/Kconfig b/bsp/stm32/stm32f103-dofly-lyc8/Kconfig index 2b30840a3e..7a400db91f 100644 --- a/bsp/stm32/stm32f103-dofly-lyc8/Kconfig +++ b/bsp/stm32/stm32f103-dofly-lyc8/Kconfig @@ -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" diff --git a/bsp/stm32/stm32f103-hw100k-ibox/Kconfig b/bsp/stm32/stm32f103-hw100k-ibox/Kconfig index 2b30840a3e..7a400db91f 100644 --- a/bsp/stm32/stm32f103-hw100k-ibox/Kconfig +++ b/bsp/stm32/stm32f103-hw100k-ibox/Kconfig @@ -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" diff --git a/bsp/stm32/stm32f746-st-disco/Kconfig b/bsp/stm32/stm32f746-st-disco/Kconfig index d174bcc585..8cbc7b71a8 100644 --- a/bsp/stm32/stm32f746-st-disco/Kconfig +++ b/bsp/stm32/stm32f746-st-disco/Kconfig @@ -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" diff --git a/bsp/stm32/stm32f767-st-nucleo/Kconfig b/bsp/stm32/stm32f767-st-nucleo/Kconfig index 768b68bb13..8fa7560ee8 100644 --- a/bsp/stm32/stm32f767-st-nucleo/Kconfig +++ b/bsp/stm32/stm32f767-st-nucleo/Kconfig @@ -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"
diff --git a/bsp/stm32/stm32g071-st-nucleo/Kconfig b/bsp/stm32/stm32g071-st-nucleo/Kconfig index 8c9d8002cf..79b160b856 100644 --- a/bsp/stm32/stm32g071-st-nucleo/Kconfig +++ b/bsp/stm32/stm32g071-st-nucleo/Kconfig @@ -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" diff --git a/bsp/stm32/stm32l432-st-nucleo/Kconfig b/bsp/stm32/stm32l432-st-nucleo/Kconfig index d174bcc585..8cbc7b71a8 100644 --- a/bsp/stm32/stm32l432-st-nucleo/Kconfig +++ b/bsp/stm32/stm32l432-st-nucleo/Kconfig @@ -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" diff --git a/components/drivers/Kconfig b/components/drivers/Kconfig index d8dc5e7458..6d45e44cfd 100755 --- a/components/drivers/Kconfig +++ b/components/drivers/Kconfig @@ -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 |
