学前班
最后登录1970-1-1
在线时间 小时
注册时间2024-4-28
|
请教各位大佬,今天刚刚拿到开发板,stm32f407zgt6的霸天虎V2的开发板,准备用Keil5烧录官方提供的视频教程里面第一节课的那个关于跑马灯的第一个例程,结果刚下载就显示编译错误,上网查了发现是ARM compiler version5的版本导致的,然后我按网上说法改到了ARM compiler version6 版本,然后准备编译,点了之后等我反应过来下方编译提示栏已经变成这个样子,想请教这是怎么回事?(最后是我手动中断的)
Build started: Project: BH-F407
*** Using Compiler 'V6.21', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin'
Build target '多彩流水灯'
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c(106): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_adc.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(416): error: unknown type name 'inline'
416 | __attribute__((always_inline)) __STATIC_INLINE void __NOP(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c(106): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_adc.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(427): error: unknown type name 'inline'
427 | __attribute__((always_inline)) __STATIC_INLINE void __WFI(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c(106): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_adc.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(438): error: unknown type name 'inline'
438 | __attribute__((always_inline)) __STATIC_INLINE void __WFE(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c(106): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_adc.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(448): error: unknown type name 'inline'
448 | __attribute__((always_inline)) __STATIC_INLINE void __SEV(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c(106): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_adc.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(460): error: unknown type name 'inline'
460 | __attribute__((always_inline)) __STATIC_INLINE void __ISB(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c(106): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_adc.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(471): error: unknown type name 'inline'
471 | __attribute__((always_inline)) __STATIC_INLINE void __DSB(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c(106): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_adc.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(482): error: unknown type name 'inline'
482 | __attribute__((always_inline)) __STATIC_INLINE void __DMB(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c(106): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_adc.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(495): error: unknown type name 'inline'
495 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __REV(uint32_t value)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c(106): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_adc.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(495): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
495 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __REV(uint32_t value)
| ^
../../Libraries/CMSIS/Include\core_cmInstr.h(495): error: expected ';' after top level declarator
495 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __REV(uint32_t value)
| ^
| ;
../../Libraries/CMSIS/Include\core_cmInstr.h(515): error: unknown type name 'inline'
515 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __REV16(uint32_t value)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c(106): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_adc.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(515): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
515 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __REV16(uint32_t value)
| ^
../../Libraries/CMSIS/Include\core_cmInstr.h(515): error: expected ';' after top level declarator
515 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __REV16(uint32_t value)
| ^
| ;
../../Libraries/CMSIS/Include\core_cmInstr.h(531): error: unknown type name 'inline'
531 | __attribute__((always_inline)) __STATIC_INLINE int32_t __REVSH(int32_t value)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c(106): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_adc.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(531): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
531 | __attribute__((always_inline)) __STATIC_INLINE int32_t __REVSH(int32_t value)
| ^
../../Libraries/CMSIS/Include\core_cmInstr.h(531): error: expected ';' after top level declarator
531 | __attribute__((always_inline)) __STATIC_INLINE int32_t __REVSH(int32_t value)
| ^
| ;
../../Libraries/CMSIS/Include\core_cmInstr.h(552): error: unknown type name 'inline'
552 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __ROR(uint32_t op1, uint32_t op2)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c(106): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_adc.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(552): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
552 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __ROR(uint32_t op1, uint32_t op2)
| ^
../../Libraries/CMSIS/Include\core_cmInstr.h(552): error: expected ';' after top level declarator
552 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __ROR(uint32_t op1, uint32_t op2)
| ^
| ;
../../Libraries/CMSIS/Include\core_cmInstr.h(576): error: unknown type name 'inline'
576 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __RBIT(uint32_t value)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c(106): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_adc.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(576): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
576 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __RBIT(uint32_t value)
| ^
../../Libraries/CMSIS/Include\core_cmInstr.h(576): error: expected ';' after top level declarator
576 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __RBIT(uint32_t value)
| ^
| ;
../../Libraries/CMSIS/Include\core_cmInstr.h(617): error: unknown type name 'inline'
617 | __attribute__((always_inline)) __STATIC_INLINE uint8_t __LDREXB(volatile uint8_t *addr)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c(106): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_adc.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(617): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
617 | __attribute__((always_inline)) __STATIC_INLINE uint8_t __LDREXB(volatile uint8_t *addr)
| ^
../../Libraries/CMSIS/Include\core_cmInstr.h(617): error: expected ';' after top level declarator
617 | __attribute__((always_inline)) __STATIC_INLINE uint8_t __LDREXB(volatile uint8_t *addr)
| ^
| ;
fatal error: too many errors emitted, stopping now [-ferror-limit=]
6 warnings and 20 errors generated.
compiling stm32f4xx_adc.c...
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c(84): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_can.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(416): error: unknown type name 'inline'
416 | __attribute__((always_inline)) __STATIC_INLINE void __NOP(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c(84): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_can.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(427): error: unknown type name 'inline'
427 | __attribute__((always_inline)) __STATIC_INLINE void __WFI(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c(84): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_can.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(438): error: unknown type name 'inline'
438 | __attribute__((always_inline)) __STATIC_INLINE void __WFE(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c(84): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_can.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(448): error: unknown type name 'inline'
448 | __attribute__((always_inline)) __STATIC_INLINE void __SEV(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c(84): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_can.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(460): error: unknown type name 'inline'
460 | __attribute__((always_inline)) __STATIC_INLINE void __ISB(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c(84): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_can.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(471): error: unknown type name 'inline'
471 | __attribute__((always_inline)) __STATIC_INLINE void __DSB(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c(84): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_can.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(482): error: unknown type name 'inline'
482 | __attribute__((always_inline)) __STATIC_INLINE void __DMB(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c(84): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_can.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(495): error: unknown type name 'inline'
495 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __REV(uint32_t value)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c(84): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_can.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(495): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
495 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __REV(uint32_t value)
| ^
../../Libraries/CMSIS/Include\core_cmInstr.h(495): error: expected ';' after top level declarator
495 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __REV(uint32_t value)
| ^
| ;
../../Libraries/CMSIS/Include\core_cmInstr.h(515): error: unknown type name 'inline'
515 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __REV16(uint32_t value)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c(84): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_can.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(515): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
515 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __REV16(uint32_t value)
| ^
../../Libraries/CMSIS/Include\core_cmInstr.h(515): error: expected ';' after top level declarator
515 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __REV16(uint32_t value)
| ^
| ;
../../Libraries/CMSIS/Include\core_cmInstr.h(531): error: unknown type name 'inline'
531 | __attribute__((always_inline)) __STATIC_INLINE int32_t __REVSH(int32_t value)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c(84): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_can.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(531): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
531 | __attribute__((always_inline)) __STATIC_INLINE int32_t __REVSH(int32_t value)
| ^
../../Libraries/CMSIS/Include\core_cmInstr.h(531): error: expected ';' after top level declarator
531 | __attribute__((always_inline)) __STATIC_INLINE int32_t __REVSH(int32_t value)
| ^
| ;
../../Libraries/CMSIS/Include\core_cmInstr.h(552): error: unknown type name 'inline'
552 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __ROR(uint32_t op1, uint32_t op2)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c(84): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_can.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(552): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
552 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __ROR(uint32_t op1, uint32_t op2)
| ^
../../Libraries/CMSIS/Include\core_cmInstr.h(552): error: expected ';' after top level declarator
552 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __ROR(uint32_t op1, uint32_t op2)
| ^
| ;
../../Libraries/CMSIS/Include\core_cmInstr.h(576): error: unknown type name 'inline'
576 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __RBIT(uint32_t value)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c(84): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_can.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(576): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
576 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __RBIT(uint32_t value)
| ^
../../Libraries/CMSIS/Include\core_cmInstr.h(576): error: expected ';' after top level declarator
576 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __RBIT(uint32_t value)
| ^
| ;
../../Libraries/CMSIS/Include\core_cmInstr.h(617): error: unknown type name 'inline'
617 | __attribute__((always_inline)) __STATIC_INLINE uint8_t __LDREXB(volatile uint8_t *addr)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c(84): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_can.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(617): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
617 | __attribute__((always_inline)) __STATIC_INLINE uint8_t __LDREXB(volatile uint8_t *addr)
| ^
../../Libraries/CMSIS/Include\core_cmInstr.h(617): error: expected ';' after top level declarator
617 | __attribute__((always_inline)) __STATIC_INLINE uint8_t __LDREXB(volatile uint8_t *addr)
| ^
| ;
fatal error: too many errors emitted, stopping now [-ferror-limit=]
6 warnings and 20 errors generated.
compiling stm32f4xx_can.c...
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c(48): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cryp.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(416): error: unknown type name 'inline'
416 | __attribute__((always_inline)) __STATIC_INLINE void __NOP(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c(48): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cryp.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(427): error: unknown type name 'inline'
427 | __attribute__((always_inline)) __STATIC_INLINE void __WFI(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c(48): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cryp.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(438): error: unknown type name 'inline'
438 | __attribute__((always_inline)) __STATIC_INLINE void __WFE(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c(48): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cryp.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(448): error: unknown type name 'inline'
448 | __attribute__((always_inline)) __STATIC_INLINE void __SEV(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c(48): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cryp.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(460): error: unknown type name 'inline'
460 | __attribute__((always_inline)) __STATIC_INLINE void __ISB(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c(48): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cryp.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(471): error: unknown type name 'inline'
471 | __attribute__((always_inline)) __STATIC_INLINE void __DSB(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c(48): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cryp.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(482): error: unknown type name 'inline'
482 | __attribute__((always_inline)) __STATIC_INLINE void __DMB(void)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c(48): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cryp.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(495): error: unknown type name 'inline'
495 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __REV(uint32_t value)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c(48): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cryp.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(495): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
495 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __REV(uint32_t value)
| ^
../../Libraries/CMSIS/Include\core_cmInstr.h(495): error: expected ';' after top level declarator
495 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __REV(uint32_t value)
| ^
| ;
../../Libraries/CMSIS/Include\core_cmInstr.h(515): error: unknown type name 'inline'
515 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __REV16(uint32_t value)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c(48): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cryp.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(515): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
515 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __REV16(uint32_t value)
| ^
../../Libraries/CMSIS/Include\core_cmInstr.h(515): error: expected ';' after top level declarator
515 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __REV16(uint32_t value)
| ^
| ;
../../Libraries/CMSIS/Include\core_cmInstr.h(531): error: unknown type name 'inline'
531 | __attribute__((always_inline)) __STATIC_INLINE int32_t __REVSH(int32_t value)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c(48): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cryp.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(531): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
531 | __attribute__((always_inline)) __STATIC_INLINE int32_t __REVSH(int32_t value)
| ^
../../Libraries/CMSIS/Include\core_cmInstr.h(531): error: expected ';' after top level declarator
531 | __attribute__((always_inline)) __STATIC_INLINE int32_t __REVSH(int32_t value)
| ^
| ;
../../Libraries/CMSIS/Include\core_cmInstr.h(552): error: unknown type name 'inline'
552 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __ROR(uint32_t op1, uint32_t op2)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c(48): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cryp.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(552): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
552 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __ROR(uint32_t op1, uint32_t op2)
| ^
../../Libraries/CMSIS/Include\core_cmInstr.h(552): error: expected ';' after top level declarator
552 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __ROR(uint32_t op1, uint32_t op2)
| ^
| ;
../../Libraries/CMSIS/Include\core_cmInstr.h(576): error: unknown type name 'inline'
576 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __RBIT(uint32_t value)
| ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
87 | #define __STATIC_INLINE static inline
| ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c(48): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cryp.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(817): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(576): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
576 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __RBIT(uint32_t value)
| ^
../../Libraries/CMSIS/Include\core_cmInstr.h(576): error: expected ';' after top level declarator
576 | __attribute__((always_inline)) __STATIC_INLINE uint32_t __RBIT(uint32_t value)
| ^
| ;
../../Libraries/CMSIS/Include\core_cmInstr.h(617): error: unknown type name 'inline'
compiling stm32f4xx_cryp_tdes.c...
compiling stm32f4xx_dma.c...
compiling stm32f4xx_cryp.c...
compiling stm32f4xx_exti.c...
compiling stm32f4xx_dcmi.c...
compiling stm32f4xx_dac.c...
compiling stm32f4xx_cec.c...
compiling stm32f4xx_crc.c...
compiling system_stm32f4xx.c...
compiling misc.c...
compiling stm32f4xx_dbgmcu.c...
compiling stm32f4xx_cryp_des.c...
compiling stm32f4xx_cryp_aes.c...
compiling stm32f4xx_flash.c...
compiling stm32f4xx_flash_ramfunc.c...
compiling stm32f4xx_fmpi2c.c...
Project build/rebuild aborted.
Build Time Elapsed: 00:00:03
|
|