按照readme文件操作,编译的时候提示
awtk\demos\demo_basic.c(98): error: At end of source: #112: expected "while"
awtk\demos\demo_basic.c(98): error: At end of source: #125: expected a "("
awtk\demos\demo_basic.c(98): error: At end of source: #29: expected an expression
awtk\demos\demo_basic.c(98): error: At end of source: #18: expected a ")"
awtk\demos\demo_basic.c(98): error: At end of source: #65: expected a ";"
.\awtk\src\awtk_main.inc(70): warning: #177-D: variable "is_reboot" was declared but never referenced
bool_t is_reboot = FALSE;
awtk\demos\demo_basic.c(98): error: At end of source: #67: expected a "}"
按照readme文件操作,编译的时候提示 awtk\demos\demo_basic.c(98): error: At end of source: #112: expected "while" awtk\demos\demo_basic.c(98): error: At end of source: #125: expected a "(" awtk\demos\demo_basic.c(98): error: At end of source: #29: expected an expression awtk\demos\demo_basic.c(98): error: At end of source: #18: expected a ")" awtk\demos\demo_basic.c(98): error: At end of source: #65: expected a ";" .\awtk\src\awtk_main.inc(70): warning: #177-D: variable "is_reboot" was declared but never referenced bool_t is_reboot = FALSE; awtk\demos\demo_basic.c(98): error: At end of source: #67: expected a "}"
双击错误后,keil索引到这个位置(demo_basic.c ) ret_t application_exit() { log_debug("application_exit\n"); return RET_OK; }
include "awtk_main.inc"