#if !defined (USE_STM3210B_EVAL) && !defined (USE_STM3210E_EVAL)
//#define USE_STM3210B_EVAL
#define USE_STM3210E_EVAL
#endif
/* Define the STM32F10x hardware depending on the used evaluation board */
#ifdef USE_STM3210B_EVAL
#define GPIO_LED GPIOC
#define RCC_APB2Periph_GPIO_LED RCC_APB2Periph_GPIOC
#elif defined USE_STM3210E_EVAL
#define GPIO_LED GPIOF
#define RCC_APB2Periph_GPIO_LED RCC_APB2Periph_GPIOF
#endif
GPIO_LED GPIOF
最新推荐文章于 2024-03-03 21:29:29 发布