…< br / >…
编译app.c…
编译app_sec.c…
编译app_sec_task.c…
编译app_task.c…
.\..\..\..\..\src\modules\app\api\app_task_handlers.h(67): error: #20: identifier "DISS_CREATE_DB_CFM" is undefined
{DISS_CREATE_DB_CFM, (ke_msg_func_t)diss_create_db_cfm_handler},
.\..\..\..\..\src\modules\app\api\app_task_handlers.h(67): error: #20: identifier "diss_create_db_cfm_handler" is undefined
{DISS_CREATE_DB_CFM, (ke_msg_func_t)diss_create_db_cfm_handler},
.\..\..\..\..\src\modules\app\api\app_task_handlers.h(67): error: #44: expression must have pointer type
{DISS_CREATE_DB_CFM, (ke_msg_func_t)diss_create_db_cfm_handler},
.\..\..\..\..\src\modules\app\api\app_task_handlers.h(68): error: #20: identifier "DISS_DISABLE_IND" is undefined
{DISS_DISABLE_IND, (ke_msg_func_t)diss_disable_ind_handler},
.\..\..\..\..\src\modules\app\api\app_task_handlers.h(68): error: #20: identifier "diss_disable_ind_handler" is undefined
{DISS_DISABLE_IND, (ke_msg_func_t)diss_disable_ind_handler},
.\..\..\..\..\src\modules\app\api\app_task_handlers.h(68): error: #44: expression must have pointer type
{DISS_DISABLE_IND, (ke_msg_func_t)diss_disable_ind_handler},
..\..\..\..\src\modules\app\src\app_task.c(375): error: #28: expression must have a constant value
const struct ke_state_handler app_default_handler =
E_STATE_HANDLER(app_default_state);
..\..\..\..\src\modules\app\src\app_task.c: 0 warnings, 7 errors
compiling app_template_proj.c...
compiling app_console.c...
compiling app_dis.c...
compiling app_dis_task.c...
".\out\template.axf" - 7 Error(s), 2 Warning(s).
Target not created.
Build Time Elapsed: 00:00:23
I've made several independent attempts, starting from the scratch, just to rule out any missing of steps in between, but on all those occasions the build step has failed with same errors.
Any help to fix these errors will be much appreciated.
我使用的µVision V5.15与DA14580_581_SDK_3.0.8.0和试图编译我的第一个项目。
跟随“UM-B-003_DA14580_581软件开发指南v1.6.pdf”到4.4节的结尾。
运行Win7x64。
*** Using Compiler 'V5.05 update 2 (build 169)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'template'
compiling arch_main.c...
..\..\..\src\plf\refip\src\arch\main\ble\arch_main.c(39): error: #5: cannot open source input file "periph_setup.h": No such file or directory
#include "periph_setup.h"
..\..\..\src\plf\refip\src\arch\main\ble\arch_main.c: 0 warnings, 1 error
compiling periph_setup.c...
"no source": Error: #5: cannot open source input file "..\..\..\src\modules\app\src\app_project\my_application\system\periph_setup.c": No such file or directory
..\..\..\src\modules\app\src\app_project\my_application\system\periph_setup.c: 0 warnings, 1 error
[...]
IDE-Version:
µVision V5.15
Copyright (C) 2015 ARM Ltd and ARM Germany GmbH. All rights reserved.
Tool Version Numbers:
Toolchain: MDK-Lite Version: 5.15.0
Toolchain Path: C:\Keil_v5\ARM\ARMCC\Bin
C Compiler: Armcc.exe V5.05 update 2 (build 169)
Assembler: Armasm.exe V5.05 update 2 (build 169)
Linker/Locator: ArmLink.exe V5.05 update 2 (build 169)
Library Manager: ArmAr.exe V5.05 update 2 (build 169)
Hex Converter: FromElf.exe V5.05 update 2 (build 169)
CPU DLL: SARMCM3.DLL V5.15.0
Dialog DLL: DARMCM1.DLL V1.12.0.0
Target DLL: Segger\JL2CM3.dll V2.99.15.0
Dialog DLL: TARMCM1.DLL V1.9.0.0
Regards,
Owen