假如之后,为什么报一些莫名其妙的错误啊,先是报没有#include "stm32f10x_lib.h"的错误,后来删除掉后面的"_lib",又有好多新的错误,比如..\SelfTestLib\stm32f10x_STLcrc32.h(49): error: #256: invalid redeclaration of type name "CRC_TypeDef" (declared at line 758 of "..\CMSIS\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h"),还有..\SelfTestLib\stm32f10x_STLcrc32.h(54): warning: #47-D: incompatible redefinition of macro "RCC_AHBPeriph_CRC" (declared at line 474 of "..\Libraries\inc\stm32f10x_rcc.h")
这是为什么啊? |