diff options
| author | shaojinchun <[email protected]> | 2018-08-27 15:37:08 +0800 |
|---|---|---|
| committer | shaojinchun <[email protected]> | 2018-08-27 15:37:08 +0800 |
| commit | 000887795f935b6088c9172c03e51420d4589a15 (patch) | |
| tree | 95c97e7181ad89625223eb87d27674ff1a81e9c5 /components/vbus | |
| parent | 9fdd46fa8be1c453455cb68e2563d426607e841f (diff) | |
Move configs of VBUS to Kconfig, delete related head files in the bsp directory
Diffstat (limited to 'components/vbus')
| -rw-r--r-- | components/vbus/Kconfig | 50 | ||||
| -rw-r--r-- | components/vbus/share_hdr/vbus_api.h | 2 | ||||
| -rw-r--r-- | components/vbus/vbus.h | 1 |
3 files changed, 50 insertions, 3 deletions
diff --git a/components/vbus/Kconfig b/components/vbus/Kconfig index af58f78624..d1b38ec90f 100644 --- a/components/vbus/Kconfig +++ b/components/vbus/Kconfig @@ -18,6 +18,56 @@ if RT_USING_VBUS help When enable remote shell, the finsh/msh of RT-Thread can be operated from another 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 + bool "Enable tests on VBUS " + default n + + config _RT_VBUS_RING_BASE + hex "VBUS address" + help + VBUS ring buffer physical address. + + config _RT_VBUS_RING_SZ + int "VBUS ring size" + help + VBUS size of the ring buffer. + + config RT_VMM_RB_BLK_NR + int "RT_VMM_RB_BLK_NR" + help + Number of ring buffer. + + config RT_VBUS_GUEST_VIRQ + int "RT_VBUS_GUEST_VIRQ" + help + RT_VBUS_GUEST_VIRQ + help + The interrupt number used to notify the client on a particular system. + + config RT_VBUS_HOST_VIRQ + int "RT_VBUS_HOST_VIRQ" + help + The interrupt be triggered on a particular system when the client notify the host. + + config RT_VBUS_SHELL_DEV_NAME + string "RT_VBUS_SHELL_DEV_NAME" + default "vbser0" + help + The name of the UBUS shell device. + + config RT_VBUS_RFS_DEV_NAME + string "RT_VBUS_RFS_DEV_NAME" + default "rfs" + help + The name of the UBUS rfs device. + endif endmenu diff --git a/components/vbus/share_hdr/vbus_api.h b/components/vbus/share_hdr/vbus_api.h index fb15fa24b0..71fd4165c3 100644 --- a/components/vbus/share_hdr/vbus_api.h +++ b/components/vbus/share_hdr/vbus_api.h @@ -1,8 +1,6 @@ #ifndef __VBUS_API_H__ #define __VBUS_API_H__ -#include "vbus_conf.h" - #define RT_VBUS_CHANNEL_NR 32 #define RT_VBUS_BLK_HEAD_SZ 4 diff --git a/components/vbus/vbus.h b/components/vbus/vbus.h index 2187773a47..a5fd33130b 100644 --- a/components/vbus/vbus.h +++ b/components/vbus/vbus.h @@ -30,7 +30,6 @@ * 2015-01-06 Grissiom version 2.0.3; API change, no functional changes */ -#include "vbus_local_conf.h" #include <vbus_api.h> int rt_vbus_init(void *outr, void *inr); |
