Add the definition of RT_VBUS_USING_FLOW_CONTROL to vbus_api.h
This commit is contained in:
parent
84e8c65683
commit
03cd2c005d
|
@ -179,7 +179,6 @@ CONFIG_RT_USING_POSIX=y
|
||||||
CONFIG_RT_USING_VBUS=y
|
CONFIG_RT_USING_VBUS=y
|
||||||
# CONFIG_RT_USING_VBUS_RFS is not set
|
# CONFIG_RT_USING_VBUS_RFS is not set
|
||||||
# CONFIG_RT_USING_VBUS_RSHELL is not set
|
# CONFIG_RT_USING_VBUS_RSHELL is not set
|
||||||
CONFIG_RT_VBUS_USING_FLOW_CONTROL=y
|
|
||||||
CONFIG_RT_VBUS_USING_TESTS=y
|
CONFIG_RT_VBUS_USING_TESTS=y
|
||||||
CONFIG__RT_VBUS_RING_BASE=0x6f800000
|
CONFIG__RT_VBUS_RING_BASE=0x6f800000
|
||||||
CONFIG__RT_VBUS_RING_SZ=2097152
|
CONFIG__RT_VBUS_RING_SZ=2097152
|
||||||
|
|
|
@ -162,7 +162,6 @@
|
||||||
#define RT_USING_VBUS
|
#define RT_USING_VBUS
|
||||||
/* RT_USING_VBUS_RFS is not set */
|
/* RT_USING_VBUS_RFS is not set */
|
||||||
/* RT_USING_VBUS_RSHELL is not set */
|
/* RT_USING_VBUS_RSHELL is not set */
|
||||||
#define RT_VBUS_USING_FLOW_CONTROL
|
|
||||||
#define RT_VBUS_USING_TESTS
|
#define RT_VBUS_USING_TESTS
|
||||||
#define _RT_VBUS_RING_BASE 0x6f800000
|
#define _RT_VBUS_RING_BASE 0x6f800000
|
||||||
#define _RT_VBUS_RING_SZ 2097152
|
#define _RT_VBUS_RING_SZ 2097152
|
||||||
|
|
|
@ -19,12 +19,6 @@ if RT_USING_VBUS
|
||||||
When enable remote shell, the finsh/msh of RT-Thread can be operated from another
|
When enable remote shell, the finsh/msh of RT-Thread can be operated from another
|
||||||
Operating System.
|
Operating System.
|
||||||
|
|
||||||
config RT_VBUS_USING_FLOW_CONTROL
|
|
||||||
bool "Enable flow control on VBUS "
|
|
||||||
default n
|
|
||||||
help
|
|
||||||
Enable manage the rate of data transmission
|
|
||||||
|
|
||||||
config RT_VBUS_USING_TESTS
|
config RT_VBUS_USING_TESTS
|
||||||
bool "Enable tests on VBUS "
|
bool "Enable tests on VBUS "
|
||||||
default n
|
default n
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#ifndef __VBUS_API_H__
|
#ifndef __VBUS_API_H__
|
||||||
#define __VBUS_API_H__
|
#define __VBUS_API_H__
|
||||||
|
|
||||||
|
#define RT_VBUS_USING_FLOW_CONTROL
|
||||||
|
|
||||||
#define RT_VBUS_CHANNEL_NR 32
|
#define RT_VBUS_CHANNEL_NR 32
|
||||||
|
|
||||||
#define RT_VBUS_BLK_HEAD_SZ 4
|
#define RT_VBUS_BLK_HEAD_SZ 4
|
||||||
|
|
Loading…
Reference in New Issue