mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-28 03:47:11 +08:00
[KConfig] Update Kconfig
1. Change the type of RT_DEBUG_THREAD to int; 2. Add Kconfig of VBUS.
This commit is contained in:
parent
856a337b6d
commit
bbe6425f94
@ -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
|
||||||
|
23
components/vbus/Kconfig
Normal file
23
components/vbus/Kconfig
Normal 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
|
15
src/KConfig
15
src/KConfig
@ -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"
|
|||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user