diff --git a/bsp/stm32f107/project.uvproj b/bsp/stm32f107/project.uvproj
index 2f84f1db06..4459183e71 100644
--- a/bsp/stm32f107/project.uvproj
+++ b/bsp/stm32f107/project.uvproj
@@ -40,14 +40,14 @@
0
1
- .\obj\
+ .\build\
rtthread-stm32
1
0
0
1
0
- .\
+ .\build\
1
0
0
@@ -68,9 +68,9 @@
0
- 0
+ 1
0
-
+ fromelf --bin !L --output rtthread.bin
0
0
diff --git a/bsp/stm32f107/template.uvproj b/bsp/stm32f107/template.uvproj
index 30527feeb7..c43b9e50c2 100644
--- a/bsp/stm32f107/template.uvproj
+++ b/bsp/stm32f107/template.uvproj
@@ -43,14 +43,14 @@
0
1
- .\obj\
+ .\build\
rtthread-stm32
1
0
0
1
0
- .\
+ .\build\
1
0
0
@@ -71,9 +71,9 @@
0
- 0
+ 1
0
-
+ fromelf --bin !L --output rtthread.bin
0
0
diff --git a/bsp/stm32f10x/project.Uv2 b/bsp/stm32f10x/project.Uv2
index 19c1fcd32c..6f9f30a436 100644
--- a/bsp/stm32f10x/project.Uv2
+++ b/bsp/stm32f10x/project.Uv2
@@ -110,7 +110,7 @@ Options 1,0,0 // Target 'RT-Thread STM32'
HexSel=1
MG32K=0
TGMORE=0
- RunUsr 0 0 <>
+ RunUsr 0 1
RunUsr 1 0 <>
BrunUsr 0 0 <>
BrunUsr 1 0 <>
diff --git a/bsp/stm32f10x/template.Uv2 b/bsp/stm32f10x/template.Uv2
index c72c12b7e5..49db491657 100644
--- a/bsp/stm32f10x/template.Uv2
+++ b/bsp/stm32f10x/template.Uv2
@@ -42,7 +42,7 @@ Options 1,0,0 // Target 'RT-Thread STM32'
HexSel=1
MG32K=0
TGMORE=0
- RunUsr 0 0 <>
+ RunUsr 0 1
RunUsr 1 0 <>
BrunUsr 0 0 <>
BrunUsr 1 0 <>
diff --git a/bsp/stm32f10x/template.uvproj b/bsp/stm32f10x/template.uvproj
index 9ac75907f8..d92b75b400 100644
--- a/bsp/stm32f10x/template.uvproj
+++ b/bsp/stm32f10x/template.uvproj
@@ -71,9 +71,9 @@
0
- 0
+ 1
0
-
+ fromelf --bin !L --output rtthread.bin
0
0
diff --git a/bsp/stm32f20x/project.uvproj b/bsp/stm32f20x/project.uvproj
index bbdc001193..96322bfc57 100644
--- a/bsp/stm32f20x/project.uvproj
+++ b/bsp/stm32f20x/project.uvproj
@@ -40,14 +40,14 @@
0
1
- .\obj\
+ .\build\
rtthread-stm32
1
0
0
1
0
- .\obj\
+ .\build\
1
0
0
@@ -68,9 +68,9 @@
0
- 0
+ 1
0
-
+ fromelf --bin !L --output rtthread.bin
0
0
@@ -343,7 +343,7 @@
USE_STDPERIPH_DRIVER
- .;..\..\components\finsh;..\..\include;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m3;Libraries\CMSIS\CM3\CoreSupport;Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F2xx;Libraries\STM32F2xx_StdPeriph_Driver\inc;applications;drivers
+ .;..\..\components\CMSIS\Include;..\..\components\finsh;..\..\include;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m3;Drivers;Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F2xx;Libraries\STM32F2xx_StdPeriph_Driver\inc;applications
@@ -458,13 +458,6 @@
STM32_StdPeriph
-
-
- core_cm3.c
- 1
- Libraries\CMSIS\CM3\CoreSupport\core_cm3.c
-
-
system_stm32f2xx.c
@@ -748,13 +741,6 @@
..\..\src\mem.c
-
-
- memheap.c
- 1
- ..\..\src\memheap.c
-
-
mempool.c
diff --git a/bsp/stm32f20x/template.uvproj b/bsp/stm32f20x/template.uvproj
index ce16bc94f2..79c48c556f 100644
--- a/bsp/stm32f20x/template.uvproj
+++ b/bsp/stm32f20x/template.uvproj
@@ -43,14 +43,14 @@
0
1
- .\obj\
+ .\build\
rtthread-stm32
1
0
0
1
0
- .\obj\
+ .\build\
1
0
0
@@ -71,9 +71,9 @@
0
- 0
+ 1
0
-
+ fromelf --bin !L --output rtthread.bin
0
0
diff --git a/bsp/stm32f40x/project.uvproj b/bsp/stm32f40x/project.uvproj
index 40ea3f8631..a2734d98af 100644
--- a/bsp/stm32f40x/project.uvproj
+++ b/bsp/stm32f40x/project.uvproj
@@ -68,9 +68,9 @@
0
- 0
+ 1
0
-
+ fromelf --bin !L --output rtthread.bin
0
0
@@ -713,13 +713,6 @@
..\..\src\mem.c
-
-
- memheap.c
- 1
- ..\..\src\memheap.c
-
-
mempool.c
diff --git a/bsp/stm32f40x/template.uvproj b/bsp/stm32f40x/template.uvproj
index 9d416799e8..1cee2eecb2 100644
--- a/bsp/stm32f40x/template.uvproj
+++ b/bsp/stm32f40x/template.uvproj
@@ -71,9 +71,9 @@
0
- 0
+ 1
0
-
+ fromelf --bin !L --output rtthread.bin
0
0