From 9e281ac636c84b0ea191bbe5959b27335ad9e2f3 Mon Sep 17 00:00:00 2001
From: a1012112796 <1012112796@qq.com>
Date: Tue, 21 May 2024 11:29:25 +0800
Subject: [PATCH] =?UTF-8?q?=E5=90=AF=E7=94=A8=20MEMTRACE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: a1012112796 <1012112796@qq.com>
---
.config | 2 +-
project.uvoptx | 20 ++++++++++----------
project.uvprojx | 18 +++++++++---------
rtconfig.h | 1 +
4 files changed, 21 insertions(+), 20 deletions(-)
diff --git a/.config b/.config
index c7d656e..07d4803 100644
--- a/.config
+++ b/.config
@@ -66,7 +66,7 @@ CONFIG_RT_USING_SMALL_MEM_AS_HEAP=y
# CONFIG_RT_USING_SLAB_AS_HEAP is not set
# CONFIG_RT_USING_USERHEAP is not set
# CONFIG_RT_USING_NOHEAP is not set
-# CONFIG_RT_USING_MEMTRACE is not set
+CONFIG_RT_USING_MEMTRACE=y
# CONFIG_RT_USING_HEAP_ISR is not set
CONFIG_RT_USING_HEAP=y
diff --git a/project.uvoptx b/project.uvoptx
index 7788362..569950b 100644
--- a/project.uvoptx
+++ b/project.uvoptx
@@ -303,8 +303,8 @@
0
0
0
- rt-thread\components\libc\cplusplus\cxx_Semaphore.cpp
- cxx_Semaphore.cpp
+ rt-thread\components\libc\cplusplus\cxx_Thread.cpp
+ cxx_Thread.cpp
0
0
@@ -351,8 +351,8 @@
0
0
0
- rt-thread\components\libc\cplusplus\cxx_Thread.cpp
- cxx_Thread.cpp
+ rt-thread\components\libc\cplusplus\cxx_Semaphore.cpp
+ cxx_Semaphore.cpp
0
0
@@ -604,7 +604,7 @@
Drivers
- 1
+ 0
0
0
0
@@ -767,8 +767,8 @@
0
0
0
- rt-thread\components\fal\src\fal_flash.c
- fal_flash.c
+ rt-thread\components\fal\src\fal_partition.c
+ fal_partition.c
0
0
@@ -779,8 +779,8 @@
0
0
0
- rt-thread\components\fal\src\fal_partition.c
- fal_partition.c
+ rt-thread\components\fal\src\fal_flash.c
+ fal_flash.c
0
0
@@ -888,7 +888,7 @@
Kernel
- 0
+ 1
0
0
0
diff --git a/project.uvprojx b/project.uvprojx
index a71763d..e9416db 100644
--- a/project.uvprojx
+++ b/project.uvprojx
@@ -429,9 +429,9 @@
CPlusPlus
- cxx_Semaphore.cpp
+ cxx_Thread.cpp
8
- rt-thread\components\libc\cplusplus\cxx_Semaphore.cpp
+ rt-thread\components\libc\cplusplus\cxx_Thread.cpp
cxx_crt.cpp
@@ -449,9 +449,9 @@
rt-thread\components\libc\cplusplus\cxx_crt_init.c
- cxx_Thread.cpp
+ cxx_Semaphore.cpp
8
- rt-thread\components\libc\cplusplus\cxx_Thread.cpp
+ rt-thread\components\libc\cplusplus\cxx_Semaphore.cpp
@@ -628,16 +628,16 @@
Fal
-
- fal_flash.c
- 1
- rt-thread\components\fal\src\fal_flash.c
-
fal_partition.c
1
rt-thread\components\fal\src\fal_partition.c
+
+ fal_flash.c
+ 1
+ rt-thread\components\fal\src\fal_flash.c
+
fal_rtt.c
1
diff --git a/rtconfig.h b/rtconfig.h
index 14e5fb7..1efed12 100644
--- a/rtconfig.h
+++ b/rtconfig.h
@@ -38,6 +38,7 @@
#define RT_USING_MEMPOOL
#define RT_USING_SMALL_MEM
#define RT_USING_SMALL_MEM_AS_HEAP
+#define RT_USING_MEMTRACE
#define RT_USING_HEAP
/* Kernel Device Object */