打印

初用IAR帮忙看一下,为啥有这么多错误

[复制链接]
630|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
大碴子味|  楼主 | 2018-6-30 11:04 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Building configuration: GPIO - Debug
Updating build tree...
LED.C  
Error[Pe077]: this declaration has no storage class or type specifier E:项目Freescale K60srcdriversmcgmcg.h 81
Error[Pe065]: expected a ";" E:项目Freescale K60srcdriversmcgmcg.h 81
Error while running C/C++ Compiler
alloc.c  
Error[Pe077]: this declaration has no storage class or type specifier E:项目Freescale K60srcdriversmcgmcg.h 81
Error[Pe065]: expected a ";" E:项目Freescale K60srcdriversmcgmcg.h 81
Error while running C/C++ Compiler
arm_cm4.c  
Error[Pe077]: this declaration has no storage class or type specifier E:项目Freescale K60srcdriversmcgmcg.h 81
Error[Pe065]: expected a ";" E:项目Freescale K60srcdriversmcgmcg.h 81
Error while running C/C++ Compiler
assert.c  
Error[Pe077]: this declaration has no storage class or type specifier E:项目Freescale K60srcdriversmcgmcg.h 81
Error[Pe065]: expected a ";" E:项目Freescale K60srcdriversmcgmcg.h 81
Error while running C/C++ Compiler
delay.c  
Error[Pe077]: this declaration has no storage class or type specifier E:项目Freescale K60srcdriversmcgmcg.h 81
Error[Pe065]: expected a ";" E:项目Freescale K60srcdriversmcgmcg.h 81
Error[Pe020]: identifier "bus_clk_khz" is undefined E:项目Freescale K60srcdriversdelaydelay.c 48
Error while running C/C++ Compiler
gpio.c  
Error[Pe077]: this declaration has no storage class or type specifier E:项目Freescale K60srcdriversmcgmcg.h 81
Error[Pe065]: expected a ";" E:项目Freescale K60srcdriversmcgmcg.h 81
Error while running C/C++ Compiler
io.c  
Error[Pe077]: this declaration has no storage class or type specifier E:项目Freescale K60srcdriversmcgmcg.h 81
Error[Pe065]: expected a ";" E:项目Freescale K60srcdriversmcgmcg.h 81
Error[Pe167]: argument of type "UART_MemMapPtr" is incompatible with parameter of type "UARTn" E:项目Freescale K60srccommonio.c 15
Error[Pe167]: argument of type "UART_MemMapPtr" is incompatible with parameter of type "UARTn" E:项目Freescale K60srccommonio.c 21
Warning[Pe223]: function "uart_getchar_present" declared implicitly E:项目Freescale K60srccommonio.c 27
Error while running C/C++ Compiler
isr.c  
Error[Pe077]: this declaration has no storage class or type specifier E:项目Freescale K60srcdriversmcgmcg.h 81
Error[Pe065]: expected a ";" E:项目Freescale K60srcdriversmcgmcg.h 81
Error while running C/C++ Compiler
lptmr.c  
Error[Pe077]: this declaration has no storage class or type specifier E:项目Freescale K60srcdriversmcgmcg.h 81
Error[Pe065]: expected a ";" E:项目Freescale K60srcdriversmcgmcg.h 81
Error while running C/C++ Compiler
main.c  
Error[Pe077]: this declaration has no storage class or type specifier E:项目Freescale K60srcdriversmcgmcg.h 81
Error[Pe065]: expected a ";" E:项目Freescale K60srcdriversmcgmcg.h 81
Error while running C/C++ Compiler
mcg.c  
Error[Pe077]: this declaration has no storage class or type specifier E:项目Freescale K60srcdriversmcgmcg.h 81
Error[Pe065]: expected a ";" E:项目Freescale K60srcdriversmcgmcg.h 81
.
.
.省略
.
.
.
Error[Pe020]: identifier "MAX_FLASH_CLK" is undefined E:项目Freescale K60srcdriversmcgmcg.c 128
Warning[Pe223]: function "set_sys_dividers" declared implicitly E:项目Freescale K60srcdriversmcgmcg.c 178
Error[Pe077]: this declaration has no storage class or type specifier E:项目Freescale K60srcdriversmcgmcg.c 204
Error[Pe065]: expected a ";" E:项目Freescale K60srcdriversmcgmcg.c 204
Warning[Pe012]: parsing restarts here after previous syntax error E:项目Freescale K60srcdriversmcgmcg.c 231
Error[Pe169]: expected a declaration E:项目Freescale K60srcdriversmcgmcg.c 233
Error[Pe169]: expected a declaration E:项目Freescale K60srcdriversmcgmcg.c 234
Warning[Pe012]: parsing restarts here after previous syntax error E:项目Freescale K60srcdriversmcgmcg.c 237
Error while running C/C++ Compiler
printf.c  
Error[Pe077]: this declaration has no storage class or type specifier E:项目Freescale K60srcdriversmcgmcg.h 81
Error[Pe065]: expected a ";" E:项目Freescale K60srcdriversmcgmcg.h 81
Error while running C/C++ Compiler
queue.c  
Error[Pe077]: this declaration has no storage class or type specifier E:项目Freescale K60srcdriversmcgmcg.h 81
.
.
.
.
.
.
sysinit.c  
Error[Pe077]: this declaration has no storage class or type specifier E:项目Freescale K60srcdriversmcgmcg.h 81
Error[Pe065]: expected a ";" E:项目Freescale K60srcdriversmcgmcg.h 81
Error[Pe140]: too many arguments in function call E:项目Freescale K60srccpusysinit.c 38
Error[Pe167]: argument of type "UART_MemMapPtr" is incompatible with parameter of type "UARTn" E:项目Freescale K60srccpusysinit.c 114
Error[Pe140]: too many arguments in function call E:项目Freescale K60srccpusysinit.c 114
Error[Pe167]: argument of type "UART_MemMapPtr" is incompatible with parameter of type "UARTn" E:项目Freescale K60srccpusysinit.c 116
Error[Pe140]: too many arguments in function call E:项目Freescale K60srccpusysinit.c 116
Error while running C/C++ Compiler
uart.c  
Error[Pe077]: this declaration has no storage class or type specifier E:项目Freescale K60srcdriversmcgmcg.h 81
Error[Pe065]: expected a ";" E:项目Freescale K60srcdriversmcgmcg.h 81
Error[Pe020]: identifier "UART0_RX" is undefined E:项目Freescale K60srcdriversuartuart.c 42
Error[Pe020]: identifier "PTA1" is undefined E:项目Freescale K60srcdriversuartuart.c 42
Error[Pe020]: identifier "PTA15" is undefined E:项目Freescale K60srcdriversuartuart.c 44
Error[Pe020]: identifier "PTB16" is undefined E:项目Freescale K60srcdriversuartuart.c 46
.
.
.
.
.
.
.
.
.
.
.
Error[Pe020]: identifier "UART5_TX" is undefined E:项目Freescale K60srcdriversuartuart.c 140
Error[Pe020]: identifier "PTD9" is undefined E:项目Freescale K60srcdriversuartuart.c 140
Error[Pe020]: identifier "PTE8" is undefined E:项目Freescale K60srcdriversuartuart.c 142
Error[Pe020]: identifier "core_clk_khz" is undefined E:项目Freescale K60srcdriversuartuart.c 163
Error[Pe020]: identifier "bus_clk_khz" is undefined E:项目Freescale K60srcdriversuartuart.c 165
Error while running C/C++ Compiler
uif.c  
Error[Pe077]: this declaration has no storage class or type specifier E:项目Freescale K60srcdriversmcgmcg.h 81
Error[Pe065]: expected a ";" E:项目Freescale K60srcdriversmcgmcg.h 81
Error while running C/C++ Compiler
vectors.c  
Fatal Error[Pe1696]: cannot open source file "isr.h" E:项目Freescale K60srccpuvectors.c 8
            searched: "E:项目Freescale K60srccpu"
            searched: "E:项目Freescale K60uildGPIO....srccommon"
            searched: "E:项目Freescale K60uildGPIO....srccpu"
            searched: "E:项目Freescale K60uildGPIO....srccpuheaders"
            searched: "E:项目Freescale K60uildGPIO....srcplatforms"
            searched: "E:项目Freescale K60uildGPIO....srcdrivers"
            searched: "E:项目Freescale K60uildGPIO....srcdriversadc"
            searched: "E:项目Freescale K60uildGPIO....srcdriversAT24C02"
            searched: "E:项目Freescale K60uildGPIO....srcdriversexti"
            searched: "E:项目Freescale K60uildGPIO....srcdriversdelay"
            searched: "E:项目Freescale K60uildGPIO....srcdriversFTM"
            searched: "E:项目Freescale K60uildGPIO....srcdriversgpio"
            searched: "E:项目Freescale K60uildGPIO....srcdriversi2c"
            searched: "E:项目Freescale K60uildGPIO....srcdriversLED"
            searched: "E:项目Freescale K60uildGPIO....srcdriverslptmr"
            searched: "E:项目Freescale K60uildGPIO....srcdriversmcg"
            searched: "E:项目Freescale K60uildGPIO....srcdriversPIT"
            searched: "E:项目Freescale K60uildGPIO....srcdriverspmc"
            searched: "E:项目Freescale K60uildGPIO....srcdrivers
tc"
            searched: "E:项目Freescale K60uildGPIO....srcdriversuart"
            searched: "E:项目Freescale K60uildGPIO....srcdriverswdog"
            searched: "E:项目Freescale K60uildGPIO....srcprojectsfire_gpio_demo"
            searched: "E:项目Freescale K60uildGPIO....srcLIBCMSIS"
            searched: "E:项目Freescale K60uildGPIO....srcLIBFatFs"
            searched: "E:项目Freescale K60uildGPIO....uild"
            searched: "D:IARarminc"
            searched: "D:IARarmincc"
Error while running C/C++ Compiler
wdog.c  
Error[Pe077]: this declaration has no storage class or type specifier E:项目Freescale K60srcdriversmcgmcg.h 81
Error[Pe065]: expected a ";" E:项目Freescale K60srcdriversmcgmcg.h 81
Error while running C/C++ Compiler

Total number of errors: 99
Total number of warnings: 4

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

372

主题

372

帖子

0

粉丝