[kernel][Konfig]modify Kconfig file
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
This commit is contained in:
parent
4b4ab15602
commit
ffe4493982
26
src/Kconfig
26
src/Kconfig
@ -284,21 +284,19 @@ menu "Memory Management"
|
|||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
if RT_USING_SMALL_MEM
|
config RT_USING_MEMTRACE
|
||||||
config RT_USING_MEMTRACE
|
bool "Enable memory trace"
|
||||||
bool "Enable memory trace"
|
default n
|
||||||
default n
|
help
|
||||||
help
|
When enable RT_USING_MEMTRACE with shell, developer can call cmd:
|
||||||
When enable RT_USING_MEMTRACE with shell, developer can call cmd:
|
1. memtrace
|
||||||
1. memtrace
|
to dump memory block information.
|
||||||
to dump memory block information.
|
2. memcheck
|
||||||
2. memcheck
|
to check memory block to avoid memory overwritten.
|
||||||
to check memory block to avoid memory overwritten.
|
|
||||||
|
|
||||||
And developer also can call memcheck() in each of scheduling
|
And developer also can call memcheck() in each of scheduling
|
||||||
to check memory block to find which thread has wrongly modified
|
to check memory block to find which thread has wrongly modified
|
||||||
memory.
|
memory.
|
||||||
endif
|
|
||||||
|
|
||||||
config RT_USING_HEAP
|
config RT_USING_HEAP
|
||||||
bool
|
bool
|
||||||
|
Loading…
x
Reference in New Issue
Block a user