[KConfig] Update Kconfig

1. Change the type of RT_DEBUG_THREAD to int;
2. Add Kconfig of VBUS.
This commit is contained in:
bernard 2017-11-03 21:08:00 +08:00
parent 856a337b6d
commit bbe6425f94
3 changed files with 33 additions and 7 deletions

View File

@ -24,4 +24,6 @@ source "$RTT_DIR/components/net/KConfig"
source "$RTT_DIR/components/gui/Kconfig"
source "$RTT_DIR/components/vbus/Kconfig"
endmenu

23
components/vbus/Kconfig Normal file
View File

@ -0,0 +1,23 @@
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

View File

@ -44,16 +44,11 @@ config RT_DEBUG_INIT
print the procedure name of initialization
config RT_DEBUG_THREAD
bool "Enable thread switch information dump"
default n
int "Enable thread switch information dump"
default 0
help
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
config RT_USING_HOOK
@ -150,6 +145,12 @@ menu "Kernel Device Object"
bool "Using device object"
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
bool "Using console for rt_kprintf"
default y