From a22d9c106276bb1819e583012d7ea41b6529b318 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Wed, 16 May 2018 08:14:05 +0800 Subject: [PATCH] add new LED key systick sample code --- src/bare_test/2.Key/stm32v5_key.uvproj | 82 ++++++++++++++++++++-------------------- 1 files changed, 41 insertions(+), 41 deletions(-) diff --git a/src/bare_test/stm32_led/stm32_led.uvproj b/src/bare_test/2.Key/stm32v5_key.uvproj similarity index 88% copy from src/bare_test/stm32_led/stm32_led.uvproj copy to src/bare_test/2.Key/stm32v5_key.uvproj index e029fe2..08c4ecc 100644 --- a/src/bare_test/stm32_led/stm32_led.uvproj +++ b/src/bare_test/2.Key/stm32v5_key.uvproj @@ -7,7 +7,7 @@ <Targets> <Target> - <TargetName>stm32_led</TargetName> + <TargetName>stm32v5_key</TargetName> <ToolsetNumber>0x4</ToolsetNumber> <ToolsetName>ARM-ADS</ToolsetName> <TargetOption> @@ -44,10 +44,10 @@ <InvalidFlash>1</InvalidFlash> </TargetStatus> <OutputDirectory>.\output\</OutputDirectory> - <OutputName>stm32_led</OutputName> + <OutputName>stm32v5_key</OutputName> <CreateExecutable>1</CreateExecutable> <CreateLib>0</CreateLib> - <CreateHexFile>1</CreateHexFile> + <CreateHexFile>0</CreateHexFile> <DebugInformation>1</DebugInformation> <BrowseInformation>1</BrowseInformation> <ListingPath>.\</ListingPath> @@ -346,9 +346,9 @@ <uThumb>0</uThumb> <VariousControls> <MiscControls></MiscControls> - <Define>USE_STDPERIPH_DRIVER STM32F10X_HD</Define> + <Define>STM32F10X_HD,USE_STDPERIPH_DRIVER</Define> <Undefine></Undefine> - <IncludePath>.\cmsis;.\fwlib\inc;.\user</IncludePath> + <IncludePath>.\cmsis;.\stdlib\inc;.\user</IncludePath> </VariousControls> </Cads> <Aads> @@ -386,16 +386,6 @@ </TargetOption> <Groups> <Group> - <GroupName>asm</GroupName> - <Files> - <File> - <FileName>startup_stm32f10x_hd.s</FileName> - <FileType>2</FileType> - <FilePath>.\asm\startup_stm32f10x_hd.s</FilePath> - </File> - </Files> - </Group> - <Group> <GroupName>cmsis</GroupName> <Files> <File> @@ -408,125 +398,130 @@ <FileType>1</FileType> <FilePath>.\cmsis\system_stm32f10x.c</FilePath> </File> + <File> + <FileName>startup_stm32f10x_hd.s</FileName> + <FileType>2</FileType> + <FilePath>.\cmsis\startup_stm32f10x_hd.s</FilePath> + </File> </Files> </Group> <Group> - <GroupName>fwlib</GroupName> + <GroupName>stdlib</GroupName> <Files> <File> <FileName>misc.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\misc.c</FilePath> + <FilePath>.\stdlib\src\misc.c</FilePath> </File> <File> <FileName>stm32f10x_adc.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_adc.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_adc.c</FilePath> </File> <File> <FileName>stm32f10x_bkp.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_bkp.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_bkp.c</FilePath> </File> <File> <FileName>stm32f10x_can.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_can.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_can.c</FilePath> </File> <File> <FileName>stm32f10x_cec.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_cec.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_cec.c</FilePath> </File> <File> <FileName>stm32f10x_crc.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_crc.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_crc.c</FilePath> </File> <File> <FileName>stm32f10x_dac.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_dac.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_dac.c</FilePath> </File> <File> <FileName>stm32f10x_dbgmcu.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_dbgmcu.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_dbgmcu.c</FilePath> </File> <File> <FileName>stm32f10x_dma.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_dma.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_dma.c</FilePath> </File> <File> <FileName>stm32f10x_exti.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_exti.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_exti.c</FilePath> </File> <File> <FileName>stm32f10x_flash.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_flash.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_flash.c</FilePath> </File> <File> <FileName>stm32f10x_fsmc.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_fsmc.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_fsmc.c</FilePath> </File> <File> <FileName>stm32f10x_gpio.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_gpio.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_gpio.c</FilePath> </File> <File> <FileName>stm32f10x_i2c.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_i2c.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_i2c.c</FilePath> </File> <File> <FileName>stm32f10x_iwdg.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_iwdg.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_iwdg.c</FilePath> </File> <File> <FileName>stm32f10x_pwr.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_pwr.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_pwr.c</FilePath> </File> <File> <FileName>stm32f10x_rcc.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_rcc.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_rcc.c</FilePath> </File> <File> <FileName>stm32f10x_rtc.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_rtc.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_rtc.c</FilePath> </File> <File> <FileName>stm32f10x_sdio.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_sdio.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_sdio.c</FilePath> </File> <File> <FileName>stm32f10x_spi.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_spi.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_spi.c</FilePath> </File> <File> <FileName>stm32f10x_tim.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_tim.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_tim.c</FilePath> </File> <File> <FileName>stm32f10x_usart.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_usart.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_usart.c</FilePath> </File> <File> <FileName>stm32f10x_wwdg.c</FileName> <FileType>1</FileType> - <FilePath>.\fwlib\SRC\stm32f10x_wwdg.c</FilePath> + <FilePath>.\stdlib\src\stm32f10x_wwdg.c</FilePath> </File> </Files> </Group> @@ -539,9 +534,14 @@ <FilePath>.\user\main.c</FilePath> </File> <File> - <FileName>stm32f10x_it.c</FileName> + <FileName>stm32v5_led.c</FileName> <FileType>1</FileType> - <FilePath>.\user\stm32f10x_it.c</FilePath> + <FilePath>.\user\stm32v5_led.c</FilePath> + </File> + <File> + <FileName>stm32v5_key.c</FileName> + <FileType>1</FileType> + <FilePath>.\user\stm32v5_key.c</FilePath> </File> </Files> </Group> -- Gitblit v1.9.1