提交 bbe6425f 编写于 作者: B bernard

[KConfig] Update Kconfig

1. Change the type of RT_DEBUG_THREAD to int;
2. Add Kconfig of VBUS.
上级 856a337b
...@@ -24,4 +24,6 @@ source "$RTT_DIR/components/net/KConfig" ...@@ -24,4 +24,6 @@ source "$RTT_DIR/components/net/KConfig"
source "$RTT_DIR/components/gui/Kconfig" source "$RTT_DIR/components/gui/Kconfig"
source "$RTT_DIR/components/vbus/Kconfig"
endmenu endmenu
menu "VBUS(Virtual Software BUS)"
config RT_USING_VBUS
bool "Enable VBUS"
default n
if RT_USING_VBUS
config RT_USING_VBUS_RFS
bool "Enable Remote File System on VBUS"
default n
help
When enable remote file system, the application can visit the remote file system
through VBUS with POSIX file I/O.
config RT_USING_VBUS_RSHELL
bool "Enable Remote Shell on VBUS"
default n
help
When enable remote shell, the finsh/msh of RT-Thread can be operated from another
Operating System.
endif
endmenu
...@@ -44,16 +44,11 @@ config RT_DEBUG_INIT ...@@ -44,16 +44,11 @@ config RT_DEBUG_INIT
print the procedure name of initialization print the procedure name of initialization
config RT_DEBUG_THREAD config RT_DEBUG_THREAD
bool "Enable thread switch information dump" int "Enable thread switch information dump"
default n default 0
help help
print the switch to/from thread name when each thread context switch print the switch to/from thread name when each thread context switch
config RT_USING_INTERRUPT_INFO
bool "Enable additional interrupt trace information"
default n
help
Add name and counter information for interrupt trace.
endif endif
config RT_USING_HOOK config RT_USING_HOOK
...@@ -150,6 +145,12 @@ menu "Kernel Device Object" ...@@ -150,6 +145,12 @@ menu "Kernel Device Object"
bool "Using device object" bool "Using device object"
default y default y
config RT_USING_INTERRUPT_INFO
bool "Enable additional interrupt trace information"
default n
help
Add name and counter information for interrupt trace.
config RT_USING_CONSOLE config RT_USING_CONSOLE
bool "Using console for rt_kprintf" bool "Using console for rt_kprintf"
default y default y
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册