This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32 core_cm4.h error

Hello, i am new on programming STM32 devices. I am using STM32f407vg board. I tried to write my first code and i got error that i uploaded. There are my code and error in txt file. How can i fix it? Thanks.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Build started: Project: ins
*** Using Compiler 'V6.18', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin'
Build target 'Target 1'
C:/Users/csara/AppData/Local/Arm/Packs/Keil/STM32F4xx_DFP/1.0.8/Device/StdPeriph_Driver/src/misc.c(76): warning: In file included from...
C:/Users/csara/AppData/Local/Arm/Packs/Keil/STM32F4xx_DFP/1.0.8/Device/StdPeriph_Driver/inc\misc.h(38): warning: In file included from...
C:/Users/csara/AppData/Local/Arm/Packs/Keil/STM32F4xx_DFP/1.0.8/Device/Include\stm32f4xx.h(468): warning: In file included from...
C:/Users/csara/AppData/Local/Arm/Packs/ARM/CMSIS/4.4.0/CMSIS/Include\core_cm4.h(208): warning: In file included from...
C:/Users/csara/AppData/Local/Arm/Packs/ARM/CMSIS/4.4.0/CMSIS/Include/core_cmInstr.h(55): warning: In file included from...
C:/Users/csara/AppData/Local/Arm/Packs/ARM/CMSIS/4.4.0/CMSIS/Include\cmsis_armcc_V6.h(50): error: unknown type name 'inline'
__attribute__((always_inline)) __STATIC_INLINE void __enable_irq(void)
^
C:/Users/csara/AppData/Local/Arm/Packs/ARM/CMSIS/4.4.0/CMSIS/Include\core_cm4.h(88): note: expanded from macro '__STATIC_INLINE'
#define __STATIC_INLINE static inline
^
C:/Users/csara/AppData/Local/Arm/Packs/Keil/STM32F4xx_DFP/1.0.8/Device/StdPeriph_Driver/src/misc.c(76): warning: In file included from...
C:/Users/csara/AppData/Local/Arm/Packs/Keil/STM32F4xx_DFP/1.0.8/Device/StdPeriph_Driver/inc\misc.h(38): warning: In file included from...
C:/Users/csara/AppData/Local/Arm/Packs/Keil/STM32F4xx_DFP/1.0.8/Device/Include\stm32f4xx.h(468): warning: In file included from...
C:/Users/csara/AppData/Local/Arm/Packs/ARM/CMSIS/4.4.0/CMSIS/Include\core_cm4.h(208): warning: In file included from...
C:/Users/csara/AppData/Local/Arm/Packs/ARM/CMSIS/4.4.0/CMSIS/Include/core_cmInstr.h(55): warning: In file included from...
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

0