From be895cc9b2d13765810b84862a606ffa68ed4839 Mon Sep 17 00:00:00 2001 From: BernardXiong Date: Wed, 20 May 2015 16:57:44 +0800 Subject: [PATCH] [BSP] update Keil MDK project file. --- bsp/stm32f10x/project.Uv2 | 1 + bsp/stm32f10x/project.uvproj | 688 +++++++++++++++++++++-------------- 2 files changed, 406 insertions(+), 283 deletions(-) diff --git a/bsp/stm32f10x/project.Uv2 b/bsp/stm32f10x/project.Uv2 index 24b5acc90b..495de568b1 100644 --- a/bsp/stm32f10x/project.Uv2 +++ b/bsp/stm32f10x/project.Uv2 @@ -37,6 +37,7 @@ File 1,1, File 1,2, File 2,1, +File 2,1, File 2,1, File 3,1, File 3,1, diff --git a/bsp/stm32f10x/project.uvproj b/bsp/stm32f10x/project.uvproj index 95923b3e99..e59de7eead 100644 --- a/bsp/stm32f10x/project.uvproj +++ b/bsp/stm32f10x/project.uvproj @@ -1,10 +1,7 @@ - 1.1 -
### uVision Project, (C) Keil Software
- rtthread-stm32 @@ -15,25 +12,25 @@ STM32F103ZE STMicroelectronics IRAM(0x20000000-0x2000FFFF) IROM(0x8000000-0x807FFFF) CLOCK(8000000) CPUTYPE("Cortex-M3") - + "STARTUP\ST\STM32F10x.s" ("STM32 Startup Code") UL2CM3(-O14 -S0 -C0 -N00("ARM Cortex-M3") -D00(1BA00477) -L00(4) -FO7 -FD20000000 -FC800 -FN1 -FF0STM32F10x_512 -FS08000000 -FL080000) 4216 stm32f10x_lib.h - - - - - - - - - + + + + + + + + + SFD\ST\STM32F10xx\STM32F10xxE.sfr 0 - - - + + + ST\STM32F10x\ ST\STM32F10x\ @@ -57,8 +54,8 @@ 0 0 - - + + 0 0 0 @@ -67,8 +64,8 @@ 0 0 - - + + 0 0 @@ -76,12 +73,12 @@ 1 0 fromelf --bin !L --output rtthread.bin - + 0 0 0 - + 0 @@ -95,16 +92,16 @@ 0 0 3 - - + + SARMCM3.DLL - + DARMSTM.DLL -pSTM32F103ZE SARMCM3.DLL - + TARMSTM.DLL -pSTM32F103ZE @@ -141,18 +138,18 @@ 0 0 - - - - - + + + + + - - - - - + + + + + BIN\UL2CM3.DLL @@ -168,7 +165,7 @@ 0 BIN\UL2CM3.DLL "" () - + @@ -200,7 +197,7 @@ 0 0 "Cortex-M3" - + 0 0 0 @@ -331,7 +328,7 @@ 0x0 - + 1 @@ -348,10 +345,10 @@ 0 0 - + STM32F10X_HD, USE_STDPERIPH_DRIVER - - .;..\..\components\CMSIS\Include;..\..\components\drivers\include;..\..\components\finsh;..\..\components\init;..\..\include;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m3;Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x;Libraries\STM32F10x_StdPeriph_Driver\inc;applications;drivers + + Libraries/STM32F10x_StdPeriph_Driver/inc;Libraries/CMSIS/CM3/DeviceSupport/ST/STM32F10x;../../components/CMSIS/Include;applications;.;drivers;../../include;../../libcpu/arm/cortex-m3;../../libcpu/arm/common;../../components/drivers/include;../../components/drivers/include;../../components/finsh @@ -364,10 +361,10 @@ 0 0 - - - - + + + + @@ -379,28 +376,215 @@ 0 0x08000000 0x20000000 - - - - --keep __fsym_* --keep __vsym_* --keep __rt_init* - - + + + + --keep *.o(.rti_fn.*) --keep *.o(FSymTab) --keep *.o(VSymTab) + + + + STM32_StdPeriph + + + system_stm32f10x.c + 1 + Libraries/CMSIS/CM3/DeviceSupport/ST/STM32F10x/system_stm32f10x.c + + + + + stm32f10x_crc.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_crc.c + + + + + stm32f10x_rcc.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_rcc.c + + + + + stm32f10x_wwdg.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_wwdg.c + + + + + stm32f10x_pwr.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_pwr.c + + + + + stm32f10x_exti.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_exti.c + + + + + stm32f10x_bkp.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_bkp.c + + + + + stm32f10x_i2c.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_i2c.c + + + + + stm32f10x_adc.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_adc.c + + + + + stm32f10x_dac.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_dac.c + + + + + stm32f10x_rtc.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_rtc.c + + + + + stm32f10x_fsmc.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_fsmc.c + + + + + stm32f10x_tim.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_tim.c + + + + + stm32f10x_iwdg.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_iwdg.c + + + + + stm32f10x_spi.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_spi.c + + + + + stm32f10x_flash.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c + + + + + stm32f10x_sdio.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_sdio.c + + + + + stm32f10x_gpio.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c + + + + + stm32f10x_usart.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_usart.c + + + + + stm32f10x_dbgmcu.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_dbgmcu.c + + + + + stm32f10x_dma.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_dma.c + + + + + stm32f10x_can.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_can.c + + + + + stm32f10x_cec.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_cec.c + + + + + misc.c + 1 + Libraries/STM32F10x_StdPeriph_Driver/src/misc.c + + + + + startup_stm32f10x_hd.s + 2 + Libraries/CMSIS/CM3/DeviceSupport/ST/STM32F10x/startup/arm/startup_stm32f10x_hd.s + + + Applications application.c 1 - applications\application.c + applications/application.c + + + + canapp.c + 1 + applications/canapp.c + + + startup.c 1 - applications\startup.c + applications/startup.c @@ -410,152 +594,28 @@ board.c 1 - drivers\board.c + drivers/board.c + + stm32f10x_it.c 1 - drivers\stm32f10x_it.c + drivers/stm32f10x_it.c + + led.c 1 - drivers\led.c + drivers/led.c + + usart.c 1 - drivers\usart.c - - - - - STM32_StdPeriph - - - system_stm32f10x.c - 1 - Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\system_stm32f10x.c - - - stm32f10x_crc.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_crc.c - - - stm32f10x_rcc.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rcc.c - - - stm32f10x_wwdg.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_wwdg.c - - - stm32f10x_pwr.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_pwr.c - - - stm32f10x_exti.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_exti.c - - - stm32f10x_bkp.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_bkp.c - - - stm32f10x_i2c.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_i2c.c - - - stm32f10x_adc.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.c - - - stm32f10x_dac.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dac.c - - - stm32f10x_rtc.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rtc.c - - - stm32f10x_fsmc.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_fsmc.c - - - stm32f10x_tim.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_tim.c - - - stm32f10x_iwdg.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_iwdg.c - - - stm32f10x_spi.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_spi.c - - - stm32f10x_flash.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_flash.c - - - stm32f10x_sdio.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_sdio.c - - - stm32f10x_gpio.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_gpio.c - - - stm32f10x_usart.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_usart.c - - - stm32f10x_dbgmcu.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dbgmcu.c - - - stm32f10x_dma.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dma.c - - - stm32f10x_can.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_can.c - - - stm32f10x_cec.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_cec.c - - - misc.c - 1 - Libraries\STM32F10x_StdPeriph_Driver\src\misc.c - - - startup_stm32f10x_hd.s - 2 - Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd.s + drivers/usart.c @@ -565,62 +625,91 @@ clock.c 1 - ..\..\src\clock.c + ../../src/clock.c + + + + components.c + 1 + ../../src/components.c + + + device.c 1 - ..\..\src\device.c + ../../src/device.c + + idle.c 1 - ..\..\src\idle.c + ../../src/idle.c + + ipc.c 1 - ..\..\src\ipc.c + ../../src/ipc.c + + irq.c 1 - ..\..\src\irq.c + ../../src/irq.c + + kservice.c 1 - ..\..\src\kservice.c + ../../src/kservice.c + + mem.c 1 - ..\..\src\mem.c + ../../src/mem.c + + mempool.c 1 - ..\..\src\mempool.c + ../../src/mempool.c + + object.c 1 - ..\..\src\object.c + ../../src/object.c + + scheduler.c 1 - ..\..\src\scheduler.c + ../../src/scheduler.c + + thread.c 1 - ..\..\src\thread.c + ../../src/thread.c + + timer.c 1 - ..\..\src\timer.c + ../../src/timer.c @@ -630,27 +719,35 @@ cpuport.c 1 - ..\..\libcpu\arm\cortex-m3\cpuport.c + ../../libcpu/arm/cortex-m3/cpuport.c + + context_rvds.S 2 - ..\..\libcpu\arm\cortex-m3\context_rvds.S + ../../libcpu/arm/cortex-m3/context_rvds.S + + backtrace.c 1 - ..\..\libcpu\arm\common\backtrace.c + ../../libcpu/arm/common/backtrace.c + + div0.c 1 - ..\..\libcpu\arm\common\div0.c + ../../libcpu/arm/common/div0.c + + showmem.c 1 - ..\..\libcpu\arm\common\showmem.c + ../../libcpu/arm/common/showmem.c @@ -660,122 +757,147 @@ serial.c 1 - ..\..\components\drivers\serial\serial.c + ../../components/drivers/serial/serial.c + + completion.c 1 - ..\..\components\drivers\src\completion.c + ../../components/drivers/src/completion.c + + dataqueue.c 1 - ..\..\components\drivers\src\dataqueue.c + ../../components/drivers/src/dataqueue.c + + pipe.c 1 - ..\..\components\drivers\src\pipe.c + ../../components/drivers/src/pipe.c + + + + portal.c + 1 + ../../components/drivers/src/portal.c + + + ringbuffer.c 1 - ..\..\components\drivers\src\ringbuffer.c + ../../components/drivers/src/ringbuffer.c + + + + + workqueue.c + 1 + ../../components/drivers/src/workqueue.c finsh - - cmd.c - 1 - ..\..\components\finsh\cmd.c - - - finsh_compiler.c - 1 - ..\..\components\finsh\finsh_compiler.c - - - finsh_error.c - 1 - ..\..\components\finsh\finsh_error.c - - - finsh_heap.c - 1 - ..\..\components\finsh\finsh_heap.c - - - finsh_init.c - 1 - ..\..\components\finsh\finsh_init.c - - - finsh_node.c - 1 - ..\..\components\finsh\finsh_node.c - - - finsh_ops.c - 1 - ..\..\components\finsh\finsh_ops.c - - - finsh_parser.c - 1 - ..\..\components\finsh\finsh_parser.c - - - finsh_token.c - 1 - ..\..\components\finsh\finsh_token.c - - - finsh_var.c - 1 - ..\..\components\finsh\finsh_var.c - - - finsh_vm.c - 1 - ..\..\components\finsh\finsh_vm.c - - - msh.c - 1 - ..\..\components\finsh\msh.c - - - msh_cmd.c - 1 - ..\..\components\finsh\msh_cmd.c - shell.c 1 - ..\..\components\finsh\shell.c + ../../components/finsh/shell.c + + symbol.c 1 - ..\..\components\finsh\symbol.c + ../../components/finsh/symbol.c - - - Components - components.c + cmd.c 1 - ..\..\components\init\components.c + ../../components/finsh/cmd.c + + + + + finsh_compiler.c + 1 + ../../components/finsh/finsh_compiler.c + + + + + finsh_error.c + 1 + ../../components/finsh/finsh_error.c + + + + + finsh_heap.c + 1 + ../../components/finsh/finsh_heap.c + + + + + finsh_init.c + 1 + ../../components/finsh/finsh_init.c + + + + + finsh_node.c + 1 + ../../components/finsh/finsh_node.c + + + + + finsh_ops.c + 1 + ../../components/finsh/finsh_ops.c + + + + + finsh_parser.c + 1 + ../../components/finsh/finsh_parser.c + + + + + finsh_var.c + 1 + ../../components/finsh/finsh_var.c + + + + + finsh_vm.c + 1 + ../../components/finsh/finsh_vm.c + + + + + finsh_token.c + 1 + ../../components/finsh/finsh_token.c -