diff --git a/bsp/stm3210/enc28j60.c b/bsp/stm3210/enc28j60.c index f4bd2cecc741a90f6a969b2335b71b0968285b2e..88bcb103e9f2ee2fda6752fc5655ee815a8edc93 100644 --- a/bsp/stm3210/enc28j60.c +++ b/bsp/stm3210/enc28j60.c @@ -215,6 +215,7 @@ static rt_bool_t enc28j60_check_link_status() } } +#ifdef RT_USING_FINSH /* * Debug routine to dump useful register contents */ @@ -241,7 +242,6 @@ static void enc28j60(void) (spi_read(ETXNDH) << 8) | spi_read(ETXNDL), spi_read(MACLCON1), spi_read(MACLCON2), spi_read(MAPHSUP)); } -#ifdef RT_USING_FINSH #include FINSH_FUNCTION_EXPORT(enc28j60, dump enc28j60 registers); #endif diff --git a/bsp/stm3210/project_107/msd.c b/bsp/stm3210/project_107/msd.c index da6575701cc4836481b7910c4f051c645d29c853..6c61ffb86975f635e9362a13395802274efee386 100644 --- a/bsp/stm3210/project_107/msd.c +++ b/bsp/stm3210/project_107/msd.c @@ -40,7 +40,7 @@ #define MSD_CS_HIGH() GPIO_SetBits(GPIOC, GPIO_Pin_7) /* MSD Card SPI */ #define MSD_SPI SPI3 -#define MSD_RCC_SPI RCC_APB2Periph_SPI3 +#define MSD_RCC_SPI RCC_APB1Periph_SPI3 /* Private function prototypes -----------------------------------------------*/ static void SPI_Config(void); diff --git a/bsp/stm3210/project_lwip/project.Uv2 b/bsp/stm3210/project_lwip/project.Uv2 index 088a3a185b8caa4f2c24ae4bdd4c3bb468dbd5f8..a571842648a41a0f2fc90037079ea5faa4b53a91 100644 --- a/bsp/stm3210/project_lwip/project.Uv2 +++ b/bsp/stm3210/project_lwip/project.Uv2 @@ -19,6 +19,7 @@ File 1,1,<.\usart.c> File 1,1,<.\enc28j60.c> File 1,5,<.\rtconfig.h> File 1,5,<.\board.h> +File 1,1,<.\dm9000a.c> File 2,1,<.\Libraries\STM32F10x_StdPeriph_Driver\src\misc.c> File 2,1,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_wwdg.c> File 2,1,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.c>