Browse Source

[trace] modify readme file, add section enable RT_USING_HOOK.

ArdaFu 9 years ago
parent
commit
b495cf6b31
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/trace/readme.md

+ 1 - 1
components/trace/readme.md

@@ -3,7 +3,7 @@
 ### 1. Copy description file
 ### 1. Copy description file
 Copy the '.\SystemView_Src_Vxxx\Description\SYSVIEW_RTThread.txt' to folder '%SystemView_Install_Folder%\Description\'.
 Copy the '.\SystemView_Src_Vxxx\Description\SYSVIEW_RTThread.txt' to folder '%SystemView_Install_Folder%\Description\'.
 ### 2. Enable trace componment
 ### 2. Enable trace componment
-Add `RT_USING_TRACE` define in your bsp's rtconfig.h
+Enable `RT_USING_HOOK` and add `RT_USING_TRACE` define in your bsp's rtconfig.h
 ```c
 ```c
 // <bool name="RT_USING_TRACE" description="Enable trace" default="true" />
 // <bool name="RT_USING_TRACE" description="Enable trace" default="true" />
 #define RT_USING_TRACE
 #define RT_USING_TRACE