update sub-project files of stm3210.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@224 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong 2009-12-24 12:54:23 +00:00
parent ae58dd84b4
commit ffd0eecb28
3 changed files with 3 additions and 2 deletions

View File

@ -215,6 +215,7 @@ static rt_bool_t enc28j60_check_link_status()
} }
} }
#ifdef RT_USING_FINSH
/* /*
* Debug routine to dump useful register contents * Debug routine to dump useful register contents
*/ */
@ -241,7 +242,6 @@ static void enc28j60(void)
(spi_read(ETXNDH) << 8) | spi_read(ETXNDL), (spi_read(ETXNDH) << 8) | spi_read(ETXNDL),
spi_read(MACLCON1), spi_read(MACLCON2), spi_read(MAPHSUP)); spi_read(MACLCON1), spi_read(MACLCON2), spi_read(MAPHSUP));
} }
#ifdef RT_USING_FINSH
#include <finsh.h> #include <finsh.h>
FINSH_FUNCTION_EXPORT(enc28j60, dump enc28j60 registers); FINSH_FUNCTION_EXPORT(enc28j60, dump enc28j60 registers);
#endif #endif

View File

@ -40,7 +40,7 @@
#define MSD_CS_HIGH() GPIO_SetBits(GPIOC, GPIO_Pin_7) #define MSD_CS_HIGH() GPIO_SetBits(GPIOC, GPIO_Pin_7)
/* MSD Card SPI */ /* MSD Card SPI */
#define MSD_SPI SPI3 #define MSD_SPI SPI3
#define MSD_RCC_SPI RCC_APB2Periph_SPI3 #define MSD_RCC_SPI RCC_APB1Periph_SPI3
/* Private function prototypes -----------------------------------------------*/ /* Private function prototypes -----------------------------------------------*/
static void SPI_Config(void); static void SPI_Config(void);

View File

@ -19,6 +19,7 @@ File 1,1,<.\usart.c><usart.c>
File 1,1,<.\enc28j60.c><enc28j60.c> File 1,1,<.\enc28j60.c><enc28j60.c>
File 1,5,<.\rtconfig.h><rtconfig.h> File 1,5,<.\rtconfig.h><rtconfig.h>
File 1,5,<.\board.h><board.h> File 1,5,<.\board.h><board.h>
File 1,1,<.\dm9000a.c><dm9000a.c>
File 2,1,<.\Libraries\STM32F10x_StdPeriph_Driver\src\misc.c><misc.c> File 2,1,<.\Libraries\STM32F10x_StdPeriph_Driver\src\misc.c><misc.c>
File 2,1,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_wwdg.c><stm32f10x_wwdg.c> File 2,1,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_wwdg.c><stm32f10x_wwdg.c>
File 2,1,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.c><stm32f10x_adc.c> File 2,1,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.c><stm32f10x_adc.c>