雷竞技电竞平台对话半导体客户支持-编译器 https://support.dialog-semiconductor.com/resource-keywords/compiler 有效的免费编译器 https://support.dialog-semiconductor.com/valid-free-compilers < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >我想知道IDE的为了我能够使用一种基于DA14581的易编译板代码。是很有帮助的,如果编译器有一个完整版是免费的< / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords /编译器”typeof = " skos:概念”属性= " rdfs: label skos: prefLabel”数据类型编译器= " " > < / > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >设备:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / forum-post-device / da14580”type=" skos:Concept" property="rdfs:label skos:prefLabel" datatype="">DA14580 2016年3月17日星期四13:00:15 +0000 alkna13 3104年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/valid-free-compilers#comments 编译带有DISS配置文件结果的模板项目为错误。 https://support.dialog-semiconductor.com/compiling-template-project-diss-profile-result-errors < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >你好,< br / >我在用户手册:软件开发指南(UM-B-003)和我尝试了Chapter 6: adding of existing application code for profiles 。在那一章中,应用程序代码初始化和控制设备信息服务服务器(DISS)角色配置文件将被添加到应用程序中。我使用的是“模板”项目,并按照步骤6.1到6.5进行更改。但是第6.6步:应用程序验证(它要求我构建应用程序)实际上失败了。编译过程中的错误如下:


…< 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.

Device: 
2015年7月10日星期五02:06:31 +0000 vikramtheone 1795年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/compiling-template-project-diss-profile-result-errors#comments
错误#5关于外围设置。Win7µVision V5.15 SDK_3.0.8 https://support.dialog-semiconductor.com/error-5-periphsetupc-win7-%C2%B5vision-v515-sdk308 < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -工具”“=“sioc:容器sioc:论坛”属性= " rdfs: labelskos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量——工具< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >你好所有< / p > < p >我有一个的“无源”:错误:# 5:无法打开为外围设置报告的源代码输入文件。
我检查了所有的路径和文件位置,他们似乎是正确的。
我还检查了文件权限,并设置整个文件层次结构读/写访问。
我尝试删除并重新添加。c文件到项目。我看了一下为peri_setup .c发出的编译器命令,它非常大,在一个Win7命令行上超过5kB。这有问题吗?有一个特性叫做“via files”,它通过从文件中读取编译器参数来允许更短的命令行。
如何设置MDK5使用-via?项目属性在C/ c++选项卡中有一个Includes编辑器,它似乎控制编译器命令的生成。< / p > < p >特别……

我使用的µ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

Keywords: 
Device: 
2015年6月10日星期三03:39:37 +0000 欧文 1665年https://support.dialog-semiconductor.com https://support.dialog-seminile.com/Error-5-periphsetupc-win7-%c2%B5Vision-v515-SDK308.Comments.