stm32 std_lib update to 3.4.0

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1146 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
wuyangyong 2010-11-29 17:37:03 +00:00
parent e05e68ae90
commit dc4e29670c
4 changed files with 1038 additions and 3 deletions

View File

@ -31,7 +31,8 @@ STM32F10x_StdPeriph_Driver/src/misc.c
""")
path = [RTT_ROOT + '/bsp/stm3210/Libraries/STM32F10x_StdPeriph_Driver/inc',
RTT_ROOT + '/bsp/stm3210/Libraries/CMSIS/CM3/CoreSupport']
RTT_ROOT + '/bsp/stm3210/Libraries/CMSIS/CM3/CoreSupport',
RTT_ROOT + '/bsp/stm3210/Libraries/CMSIS/CM3/DeviceSupport/ST/STM32F10x']
CPPDEFINES = ['USE_STDPERIPH_DRIVER', rtconfig.STM32_TYPE]
group = DefineGroup('STM32_StdPeriph', src, depend = [''], CPPPATH = path)

View File

@ -2,7 +2,7 @@ import rtconfig
Import('RTT_ROOT')
from building import *
src_bsp = ['application.c', 'startup.c', 'board.c', 'stm32f10x_it.c']
src_bsp = ['application.c', 'startup.c', 'board.c', 'stm32f10x_it.c', 'system_stm32f10x.c']
src_drv = ['rtc.c', 'usart.c', 'led.c']
if GetDepend('RT_USING_DFS'):

View File

@ -22,6 +22,7 @@
#include "sdcard.h"
#include "stm32f10x_dma.h"
#include "stm32f10x_sdio.h"
#include "stdbool.h"
#include <rtthread.h>
/** @addtogroup STM32F10x_StdPeriph_Examples
@ -193,7 +194,7 @@ SD_Error SD_PowerON(void)
{
SD_Error errorstatus = SD_OK;
uint32_t response = 0, count = 0, i = 0;
bool validvoltage = FALSE;
bool validvoltage = false;
uint32_t SDType = SD_STD_CAPACITY;
/* Power ON Sequence -------------------------------------------------------*/

File diff suppressed because it is too large Load Diff