野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 632|回复: 1

为什么连示例程序都几百个报错啊

[复制链接]
发表于 2024-5-8 21:45:13 | 显示全部楼层 |阅读模式

Rebuild started: Project: BH-F429
*** Using Compiler 'V6.21', folder: 'C:\Keil5\ARM\ARMCLANG\Bin'
Rebuild target '蜂鸣器实验'
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_des.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(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(388): error: unknown type name 'inline'
  388 | __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_des.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(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(399): error: unknown type name 'inline'
  399 | __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_des.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(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(410): error: unknown type name 'inline'
  410 | __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_des.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(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(420): error: unknown type name 'inline'
  420 | __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_des.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(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(432): error: unknown type name 'inline'
  432 | __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_des.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(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(443): error: unknown type name 'inline'
  443 | __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_des.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(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(454): error: unknown type name 'inline'
  454 | __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_des.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(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(467): error: unknown type name 'inline'
  467 | __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_des.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(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(467): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
  467 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __REV(uint32_t value)
      |                  ^
../../Libraries/CMSIS/Include\core_cmInstr.h(467): error: expected ';' after top level declarator
  467 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __REV(uint32_t value)
      |                                                            ^
      |                                                            ;
../../Libraries/CMSIS/Include\core_cmInstr.h(487): error: unknown type name 'inline'
  487 | __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_des.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(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(487): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
  487 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __REV16(uint32_t value)
      |                  ^
../../Libraries/CMSIS/Include\core_cmInstr.h(487): error: expected ';' after top level declarator
  487 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __REV16(uint32_t value)
      |                                                            ^
      |                                                            ;
../../Libraries/CMSIS/Include\core_cmInstr.h(503): error: unknown type name 'inline'
  503 | __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_des.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(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(503): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
  503 | __attribute__( ( always_inline ) ) __STATIC_INLINE int32_t __REVSH(int32_t value)
      |                  ^
../../Libraries/CMSIS/Include\core_cmInstr.h(503): error: expected ';' after top level declarator
  503 | __attribute__( ( always_inline ) ) __STATIC_INLINE int32_t __REVSH(int32_t value)
      |                                                           ^
      |                                                           ;
../../Libraries/CMSIS/Include\core_cmInstr.h(524): error: unknown type name 'inline'
  524 | __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_des.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(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(524): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
  524 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __ROR(uint32_t op1, uint32_t op2)
      |                  ^
../../Libraries/CMSIS/Include\core_cmInstr.h(524): error: expected ';' after top level declarator
  524 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __ROR(uint32_t op1, uint32_t op2)
      |                                                            ^
      |                                                            ;
../../Libraries/CMSIS/Include\core_cmInstr.h(550): error: unknown type name 'inline'
  550 | __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_des.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(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(550): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
  550 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __RBIT(uint32_t value)
      |                  ^
../../Libraries/CMSIS/Include\core_cmInstr.h(550): error: expected ';' after top level declarator
  550 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __RBIT(uint32_t value)
      |                                                            ^
      |                                                            ;
../../Libraries/CMSIS/Include\core_cmInstr.h(566): error: unknown type name 'inline'
  566 | __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_cryp_des.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(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(566): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
  566 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint8_t __LDREXB(volatile uint8_t *addr)
      |                  ^
../../Libraries/CMSIS/Include\core_cmInstr.h(566): error: expected ';' after top level declarator
  566 | __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_cryp_des.c...
assembling startup_stm32f429_439xx.s...
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cec.c(93): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cec.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(388): error: unknown type name 'inline'
  388 | __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_cec.c(93): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cec.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(399): error: unknown type name 'inline'
  399 | __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_cec.c(93): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cec.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(410): error: unknown type name 'inline'
  410 | __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_cec.c(93): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cec.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(420): error: unknown type name 'inline'
  420 | __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_cec.c(93): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cec.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(432): error: unknown type name 'inline'
  432 | __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_cec.c(93): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cec.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(443): error: unknown type name 'inline'
  443 | __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_cec.c(93): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cec.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(454): error: unknown type name 'inline'
  454 | __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_cec.c(93): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cec.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(467): error: unknown type name 'inline'
  467 | __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_cec.c(93): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cec.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(467): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
  467 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __REV(uint32_t value)
      |                  ^
../../Libraries/CMSIS/Include\core_cmInstr.h(467): error: expected ';' after top level declarator
  467 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __REV(uint32_t value)
      |                                                            ^
      |                                                            ;
../../Libraries/CMSIS/Include\core_cmInstr.h(487): error: unknown type name 'inline'
  487 | __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_cec.c(93): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cec.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(487): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
  487 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __REV16(uint32_t value)
      |                  ^
../../Libraries/CMSIS/Include\core_cmInstr.h(487): error: expected ';' after top level declarator
  487 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __REV16(uint32_t value)
      |                                                            ^
      |                                                            ;
../../Libraries/CMSIS/Include\core_cmInstr.h(503): error: unknown type name 'inline'
  503 | __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_cec.c(93): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cec.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(503): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
  503 | __attribute__( ( always_inline ) ) __STATIC_INLINE int32_t __REVSH(int32_t value)
      |                  ^
../../Libraries/CMSIS/Include\core_cmInstr.h(503): error: expected ';' after top level declarator
  503 | __attribute__( ( always_inline ) ) __STATIC_INLINE int32_t __REVSH(int32_t value)
      |                                                           ^
      |                                                           ;
../../Libraries/CMSIS/Include\core_cmInstr.h(524): error: unknown type name 'inline'
  524 | __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_cec.c(93): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cec.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(524): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
  524 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __ROR(uint32_t op1, uint32_t op2)
      |                  ^
../../Libraries/CMSIS/Include\core_cmInstr.h(524): error: expected ';' after top level declarator
  524 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __ROR(uint32_t op1, uint32_t op2)
      |                                                            ^
      |                                                            ;
../../Libraries/CMSIS/Include\core_cmInstr.h(550): error: unknown type name 'inline'
  550 | __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_cec.c(93): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cec.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(550): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
  550 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __RBIT(uint32_t value)
      |                  ^
../../Libraries/CMSIS/Include\core_cmInstr.h(550): error: expected ';' after top level declarator
  550 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __RBIT(uint32_t value)
      |                                                            ^
      |                                                            ;
../../Libraries/CMSIS/Include\core_cmInstr.h(566): error: unknown type name 'inline'
  566 | __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_cec.c(93): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_cec.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(566): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
  566 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint8_t __LDREXB(volatile uint8_t *addr)
      |                  ^
../../Libraries/CMSIS/Include\core_cmInstr.h(566): error: expected ';' after top level declarator
  566 | __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_cec.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(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(388): error: unknown type name 'inline'
  388 | __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(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(399): error: unknown type name 'inline'
  399 | __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(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(410): error: unknown type name 'inline'
  410 | __attribute__( ( always_inline ) ) __STATIC_INLINE void __WFE(void)
      |                                    ^
../../Libraries/CMSIS/Include\core_cm4.h(87): note: expanded from macro '__STATIC_INLINE'
   87 |   #define __
      |                                   ^
../../Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_syscfg.c(50): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_syscfg.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(443): error: unknown type name 'inline'
  443 | __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_syscfg.c(50): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_syscfg.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(454): error: unknown type name 'inline'
  454 | __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_syscfg.c(50): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_syscfg.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(467): error: unknown type name 'inline'
  467 | __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_syscfg.c(50): warning: In file included from...
../../Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_syscfg.h(38): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(467): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
  467 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __REV(uint32_t value)
      |                  ^
../../Libraries/CMSIS/Include\core_cmInstr.h(467): error: expected ';' after top level declarator
  467 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __REV(uint32_t value)
      |                                                            ^
      |                                                            ;
../../Libraries/CMSIS/Include\core_cmInstr.h(487): error: unknown type name 'inline'
  487 | __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_syscfg.c(50): warning: In file included from...
../../Libraries/STM32F4xx_S
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(399): error: unknown type name 'inline'
  399 | __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
      |                                   ^
../../User/beep/bsp_beep.c(18): warning: In file included from...
../../User\./beep/bsp_beep.h(5): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(410): error: unknown type name 'inline'
  410 | __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
      |                                   ^
../../User/beep/bsp_beep.c(18): warning: In file included from...
../../User\./beep/bsp_beep.h(5): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(420): error: unknown type name 'inline'
  420 | __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
      |                                   ^
../../User/beep/bsp_beep.c(18): warning: In file included from...
../../User\./beep/bsp_beep.h(5): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(432): error: unknown type name 'inline'
  432 | __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
      |                                   ^
../../User/beep/bsp_beep.c(18): warning: In file included from...
../../User\./beep/bsp_beep.h(5): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(443): error: unknown type name 'inline'
  443 | __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
      |                                   ^
../../User/beep/bsp_beep.c(18): warning: In file included from...
../../User\./beep/bsp_beep.h(5): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(454): error: unknown type name 'inline'
  454 | __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
      |                                   ^
../../User/beep/bsp_beep.c(18): warning: In file included from...
../../User\./beep/bsp_beep.h(5): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(467): error: unknown type name 'inline'
  467 | __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
      |                                   ^
../../User/beep/bsp_beep.c(18): warning: In file included from...
../../User\./beep/bsp_beep.h(5): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(467): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
  467 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __REV(uint32_t value)
      |                  ^
../../Libraries/CMSIS/Include\core_cmInstr.h(467): error: expected ';' after top level declarator
  467 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __REV(uint32_t value)
      |                                                            ^
      |                                                            ;
../../Libraries/CMSIS/Include\core_cmInstr.h(487): error: unknown type name 'inline'
  487 | __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
      |                                   ^
../../User/beep/bsp_beep.c(18): warning: In file included from...
../../User\./beep/bsp_beep.h(5): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(487): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
  487 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __REV16(uint32_t value)
      |                  ^
../../Libraries/CMSIS/Include\core_cmInstr.h(487): error: expected ';' after top level declarator
  487 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __REV16(uint32_t value)
      |                                                            ^
      |                                                            ;
../../Libraries/CMSIS/Include\core_cmInstr.h(503): error: unknown type name 'inline'
  503 | __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
      |                                   ^
../../User/beep/bsp_beep.c(18): warning: In file included from...
../../User\./beep/bsp_beep.h(5): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(503): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
  503 | __attribute__( ( always_inline ) ) __STATIC_INLINE int32_t __REVSH(int32_t value)
      |                  ^
../../Libraries/CMSIS/Include\core_cmInstr.h(503): error: expected ';' after top level declarator
  503 | __attribute__( ( always_inline ) ) __STATIC_INLINE int32_t __REVSH(int32_t value)
      |                                                           ^
      |                                                           ;
../../Libraries/CMSIS/Include\core_cmInstr.h(524): error: unknown type name 'inline'
  524 | __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
      |                                   ^
../../User/beep/bsp_beep.c(18): warning: In file included from...
../../User\./beep/bsp_beep.h(5): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(524): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
  524 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __ROR(uint32_t op1, uint32_t op2)
      |                  ^
../../Libraries/CMSIS/Include\core_cmInstr.h(524): error: expected ';' after top level declarator
  524 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __ROR(uint32_t op1, uint32_t op2)
      |                                                            ^
      |                                                            ;
../../Libraries/CMSIS/Include\core_cmInstr.h(550): error: unknown type name 'inline'
  550 | __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
      |                                   ^
../../User/beep/bsp_beep.c(18): warning: In file included from...
../../User\./beep/bsp_beep.h(5): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(550): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
  550 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __RBIT(uint32_t value)
      |                  ^
../../Libraries/CMSIS/Include\core_cmInstr.h(550): error: expected ';' after top level declarator
  550 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __RBIT(uint32_t value)
      |                                                            ^
      |                                                            ;
../../Libraries/CMSIS/Include\core_cmInstr.h(566): error: unknown type name 'inline'
  566 | __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
      |                                   ^
../../User/beep/bsp_beep.c(18): warning: In file included from...
../../User\./beep/bsp_beep.h(5): warning: In file included from...
../../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(547): warning: In file included from...
../../Libraries/CMSIS/Include\core_cm4.h(188): warning: In file included from...
../../Libraries/CMSIS/Include\core_cmInstr.h(566): warning: 'always_inline' attribute only applies to functions and statements [-Wignored-attributes]
  566 | __attribute__( ( always_inline ) ) __STATIC_INLINE uint8_t __LDREXB(volatile uint8_t *addr)
      |                  ^
../../Libraries/CMSIS/Include\core_cmInstr.h(566): error: expected ';' after top level declarator
  566 | __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 bsp_beep.c...
"..\..\Output\蜂鸣器实验.axf" - 817 Error(s), 258 Warning(s).
Target not created.
Build Time Elapsed:  00:00:20

野火论坛202405082142124532..png
野火论坛202405082141058674..png
野火论坛202405082140081674..png
野火论坛202405082134538138..png
回复

使用道具 举报

发表于 2024-5-11 07:51:46 | 显示全部楼层
会不会是编译器选错了,我看你选的是编译器version 6有没有试过别的版本编译器?选更早版本的试试?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2024-11-1 07:14 , Processed in 0.143483 second(s), 33 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表