|
問題主要在:
stm32f10x_type.h文件中定義了
typedef signed long s32;
而
stm32f10x.h
typedef int32_t s32;
結(jié)果編譯時產(chǎn)生了大量的這類錯誤
C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(23): error: #256: invalid redeclaration of type name "s32" (declared at line 312 of "C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x.h") |
|