From eefb272cfdd782d57f106039eb1e10d08c387de6 Mon Sep 17 00:00:00 2001 From: aozima Date: Wed, 20 Feb 2013 10:29:21 +0800 Subject: [PATCH] update stm32f10x template. --- bsp/stm32f107/project.uvproj | 8 ++++---- bsp/stm32f107/template.uvproj | 8 ++++---- bsp/stm32f10x/project.Uv2 | 2 +- bsp/stm32f10x/template.Uv2 | 2 +- bsp/stm32f10x/template.uvproj | 4 ++-- bsp/stm32f20x/project.uvproj | 24 +++++------------------- bsp/stm32f20x/template.uvproj | 8 ++++---- bsp/stm32f40x/project.uvproj | 11 ++--------- bsp/stm32f40x/template.uvproj | 4 ++-- 9 files changed, 25 insertions(+), 46 deletions(-) diff --git a/bsp/stm32f107/project.uvproj b/bsp/stm32f107/project.uvproj index 2f84f1db0..4459183e7 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 30527feeb..c43b9e50c 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 19c1fcd32..6f9f30a43 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 c72c12b7e..49db49165 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 9ac75907f..d92b75b40 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 bbdc00119..96322bfc5 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 ce16bc94f..79c48c556 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 40ea3f863..a2734d98a 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 9d416799e..1cee2eecb 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