[trace] modify readme file, add section enable RT_USING_HOOK.
This commit is contained in:
parent
fe6b62eade
commit
b495cf6b31
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue