都是stm32f103系列的芯片,只是flash的容量不一样,本来想着更换个具体型号就欧克了,没想到出现大量报错,具体报错如下
..\STM32F10x_FWLib\src\stm32f10x_usart.c: 1 warning, 1 error
compiling stm32f10x_flash.c...
..\USER\stm32f10x.h(300): error: #67: expected a "}"
ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */
..\USER\stm32f10x.h(474): warning: #12-D: parsing restarts here after previous syntax error
} IRQn_Type;
..\STM32F10x_FWLib\src\stm32f10x_flash.c: 1 warning, 1 error
compiling iap.c...
..\USER\stm32f10x.h(300): error: #67: expected a "}"
ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */
..\USER\stm32f10x.h(474): warning: