arm-none-eabi-gcc.exe -c -gdwarf-2 -fomit-frame-pointer -Wall -fverbose-asm -MD -MP -fsigned-char -O0 -mcpu=cortex-m3 -mthumb -I../cmsis/core -I../cmsis/device -DSTM32F103x6 "../main.c" -o "main.o"
arm-none-eabi-gcc.exe -c -gdwarf-2 -fomit-frame-pointer -Wall -fverbose-asm -MD -MP -fsigned-char -O0 -mcpu=cortex-m3 -mthumb -I../cmsis/core -I../cmsis/device -DSTM32F103x6 "../cmsis/device/system_stm32f1xx.c" -o "SYSTEM1.o"1.o] Error 1
In file included from ../cmsis/core/core_cm3.h:95:0,
from ../cmsis/device/stm32f103x6.h:146,
from ../cmsis/device/stm32f1xx.h:147,
from ../cmsis/device/system_stm32f1xx.c:77:
../cmsis/core/core_cmInstr.h:416:48: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
../cmsis/core/core_cmInstr.h:427:48: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
../cmsis/core/core_cmInstr.h:438:48: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
../cmsis/core/core_cmInstr.h:448:48: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
../cmsis/core/core_cmInstr.h:460:48: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
../cmsis/core/core_cmInstr.h:471:48: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
../cmsis/core/core_cmInstr.h:482:48: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
../cmsis/core/core_cmInstr.h:495:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmInstr.h:495:57: error: expected '=', ',', ';', 'asm' or 'attribute' before '__REV'
../cmsis/core/core_cmInstr.h:515:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmInstr.h:515:57: error: expected '=', ',', ';', 'asm' or 'attribute' before '__REV16'
../cmsis/core/core_cmInstr.h:531:1: error: unknown type name '__STATIC_INLINE'
make: *** [SYSTEM
../cmsis/core/core_cmInstr.h:531:56: error: expected '=', ',', ';', 'asm' or 'attribute' before '__REVSH'
../cmsis/core/core_cmInstr.h:552:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmInstr.h:552:57: error: expected '=', ',', ';', 'asm' or 'attribute' before '__ROR'
../cmsis/core/core_cmInstr.h:576:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmInstr.h:576:57: error: expected '=', ',', ';', 'asm' or 'attribute' before '__RBIT'
../cmsis/core/core_cmInstr.h:617:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmInstr.h:617:56: error: expected '=', ',', ';', 'asm' or 'attribute' before '__LDREXB'
../cmsis/core/core_cmInstr.h:640:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmInstr.h:640:57: error: expected '=', ',', ';', 'asm' or 'attribute' before '__LDREXH'
../cmsis/core/core_cmInstr.h:663:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmInstr.h:663:57: error: expected '=', ',', ';', 'asm' or 'attribute' before '__LDREXW'
../cmsis/core/core_cmInstr.h:681:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmInstr.h:681:57: error: expected '=', ',', ';', 'asm' or 'attribute' before '__STREXB'
../cmsis/core/core_cmInstr.h:699:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmInstr.h:699:57: error: expected '=', ',', ';', 'asm' or 'attribute' before '__STREXH'
../cmsis/core/core_cmInstr.h:717:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmInstr.h:717:57: error: expected '=', ',', ';', 'asm' or 'attribute' before '__STREXW'
../cmsis/core/core_cmInstr.h:731:48: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
../cmsis/core/core_cmInstr.h:777:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmInstr.h:777:57: error: expected '=', ',', ';', 'asm' or 'attribute' before '__RRX'
../cmsis/core/core_cmInstr.h:793:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmInstr.h:793:56: error: expected '=', ',', ';', 'asm' or 'attribute' before '__LDRBT'
../cmsis/core/core_cmInstr.h:816:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmInstr.h:816:57: error: expected '=', ',', ';', 'asm' or 'attribute' before '__LDRHT'
../cmsis/core/core_cmInstr.h:839:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmInstr.h:839:57: error: expected '=', ',', ';', 'asm' or 'attribute' before '__LDRT'
../cmsis/core/core_cmInstr.h:855:48: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
../cmsis/core/core_cmInstr.h:868:48: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
../cmsis/core/core_cmInstr.h:881:48: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
In file included from ../cmsis/core/core_cm3.h:96:0,
from ../cmsis/device/stm32f103x6.h:146,
from ../cmsis/device/stm32f1xx.h:147,
from ../cmsis/device/system_stm32f1xx.c:77:
../cmsis/core/core_cmFunc.h:331:52: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
../cmsis/core/core_cmFunc.h:342:52: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
../cmsis/core/core_cmFunc.h:354:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmFunc.h:354:61: error: expected '=', ',', ';', 'asm' or 'attribute' before '__get_CONTROL'
../cmsis/core/core_cmFunc.h:369:52: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
../cmsis/core/core_cmFunc.h:381:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmFunc.h:381:61: error: expected '=', ',', ';', 'asm' or 'attribute' before '__get_IPSR'
../cmsis/core/core_cmFunc.h:396:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmFunc.h:396:61: error: expected '=', ',', ';', 'asm' or 'attribute' before '__get_APSR'
../cmsis/core/core_cmFunc.h:411:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmFunc.h:411:61: error: expected '=', ',', ';', 'asm' or 'attribute' before '__get_xPSR'
../cmsis/core/core_cmFunc.h:426:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmFunc.h:426:61: error: expected '=', ',', ';', 'asm' or 'attribute' before '__get_PSP'
../cmsis/core/core_cmFunc.h:441:52: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
../cmsis/core/core_cmFunc.h:453:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmFunc.h:453:61: error: expected '=', ',', ';', 'asm' or 'attribute' before '__get_MSP'
../cmsis/core/core_cmFunc.h:468:52: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
../cmsis/core/core_cmFunc.h:480:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmFunc.h:480:61: error: expected '=', ',', ';', 'asm' or 'attribute' before '__get_PRIMASK'
../cmsis/core/core_cmFunc.h:495:52: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
../cmsis/core/core_cmFunc.h:508:52: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
../cmsis/core/core_cmFunc.h:519:52: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
../cmsis/core/core_cmFunc.h:531:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmFunc.h:531:61: error: expected '=', ',', ';', 'asm' or 'attribute' before '__get_BASEPRI'
../cmsis/core/core_cmFunc.h:546:52: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
../cmsis/core/core_cmFunc.h:559:52: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
../cmsis/core/core_cmFunc.h:571:1: error: unknown type name '__STATIC_INLINE'
../cmsis/core/core_cmFunc.h:571:61: error: expected '=', ',', ';', 'asm' or 'attribute' before '__get_FAULTMASK'
../cmsis/core/core_cmFunc.h:586:52: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
In file included from ../cmsis/device/stm32f103x6.h:146:0,
from ../cmsis/device/stm32f1xx.h:147,
from ../cmsis/device/system_stm32f1xx.c:77:
../cmsis/core/core_cm3.h: In function 'NVIC_SystemReset':
../cmsis/core/core_cm3.h:1107:3: warning: implicit declaration of function '__DSB' [-Wimplicit-function-declaration]
Error code 2