summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbernard <[email protected]>2017-11-03 21:08:00 +0800
committerbernard <[email protected]>2017-11-03 21:08:00 +0800
commitbbe6425f9404820d04c4aef783701a1f8521cb15 (patch)
tree1ce5a5fd6b72b636dd2140021f300fb58a81d70e /src
parent856a337b6d3b8eddb36d740435472400e25f5a07 (diff)
[KConfig] Update Kconfig
1. Change the type of RT_DEBUG_THREAD to int; 2. Add Kconfig of VBUS.
Diffstat (limited to 'src')
-rw-r--r--src/KConfig15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/KConfig b/src/KConfig
index 7e18cfeb69..a57711eb2b 100644
--- a/src/KConfig
+++ b/src/KConfig
@@ -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