我已经下载了示例
//www.xmece.com/sites/default/files/da14531-_da1458..。
并已成功运行Python链接脚本。当我加载项目并构建它时,我收到指示app_db…没有定义。有几个条件编译ifdef我还不太了解,不知道问题出在哪里。
问题在哪里?
编译user_multi_peripheral.c……
..\src\user_multi_peripheral.c(341):警告:#223-D:函数"app_db_init_next"隐式声明
end_db_create = app_db_init_next ();
.\src\user_multi_peripheral.c: 1 warning, 0 errors .\src\user_multi_peripheral.c
编译user_custs1_impl.c……
连接……
。\ out_DA14531 \ \ multi_con_periph_531对象。axf: Error: L6200E: Symbol app_db_init_start define (user_multi_peripheral. axf: Error: L6200E: Symbol app_db_init_starto和app.o)。
。\ out_DA14531 \ \ multi_con_periph_531对象。axf: Error: L6200E: Symbol app_db_init_start define (by da14531_symbols.txt and app.o). axf: Error: L6200E: Symbol app_db_init_start
。\ out_DA14531 \ \ multi_con_periph_531对象。axf: Error: L6200E: Symbol prf_init_srv_perm multiply defined (by da14531_symbols.txt and app.o). axf: Error: L6200E: Symbol prf_init_srv_perm multiply defined (by da14531_symbols.txt and app.o)。
。\ out_DA14531 \ \ multi_con_periph_531对象。axf:错误:L6200E: Symbol active_conhdl_to_conidx multiply defined (by da14531_symbols.txt and app.o)。
。\ out_DA14531 \ \ multi_con_periph_531对象。axf:错误:L6200E: Symbol active_conidx_to_conhdl multiply defined (by da14531_symbols.txt and app.o)。
。\ out_DA14531 \ \ multi_con_periph_531对象。axf:错误:L6200E: Symbol app_easy_gap_advertise_stop define (by da14531_symbols.txt and app.o)。
。\ out_DA14531 \ \ multi_con_periph_531对象。axf: Error: L6200E: Symbol app_easy_gap_set_data_packet_length multiply defined (by da14531_symbols.txt and app.o). axf: Error: L6200E: Symbol app_easy_gap_set_data_packet_length multiply defined (by da14531_symbols.txt and app.o)。
。\ out_DA14531 \ \ multi_con_periph_531对象。axf:错误:L6200E: Symbol app_easy_gap_update_adv_data multiply defined (by da14531_symbols.txt and app.o)。
。\ out_DA14531 \ \ multi_con_periph_531对象。axf:错误:L6200E: Symbol app_gattc_svc_changed_cmd_send multiply defined (by da14531_symbols.txt and app.o)。
。\ out_DA14531 \ \ multi_con_periph_531对象。axf:错误:L6200E: Symbol app_set_prf_srv_perm multiply defined (by da14531_symbols.txt and app.o). axf:错误:L6200E: Symbol app_set_prf_srv_perm multiply defined (by da14531_symbols.txt and app.o)
。\ out_DA14531 \ \ multi_con_periph_531对象。axf:错误:L6200E: Symbol app_timer_set multiply defined (by da14531_symbols.txt and app.o). axf:错误:L6200E: Symbol app_timer_set multiply defined (by da14531_symbols.txt and app.o)。
。\ out_DA14531 \ \ multi_con_periph_531对象。axf:错误:L6200E: Symbol app_db_init multiply defined (by da14531_symbols.txt and app.o)。
。\ out_DA14531 \ \ multi_con_periph_531对象。axf:错误:L6200E: Symbol app_easy_gap_disconnect multiply defined (by da14531_symbols.txt and app.o)。
。\ out_DA14531 \ \ multi_con_periph_531对象。axf:错误:L6200E: Symbol app_easy_gap_confirm define (by da14531_symbols.txt and app.o)。
。\ out_DA14531 \ \ multi_con_periph_531对象。axf:错误:L6200E: Symbol get_user_prf_srv_perm multiply defined (by da14531_symbols.txt and app.o). axf:错误:L6200E: Symbol get_user_prf_srv_perm multiply defined (by da14531_symbols.txt and app.o)。
。\ out_DA14531 \ \ multi_con_periph_531对象。axf: Error: L6200E: Symbol app_default_handler multiply defined (by da14531_symbols.txt and app_task.o). axf: Error: L6200E: Symbol app_default_handler multiply defined (by da14531_symbols.txt and app_task.o)。
。\ out_DA14531 \ \ multi_con_periph_531对象。axf:错误:L6200E: Symbol app_entry_point_handler乘法定义(由da14531_symbols.txt和app_entry_point.o)。
。\ out_DA14531 \ \ multi_con_periph_531对象。axf:错误:L6200E: Symbol app_std_process_event乘法定义(由da14531_symbols.txt和app_entry_point.o)。
没有足够的信息来生成一个SYMDEFs文件。
没有足够的信息来生成一个反馈文件。
没有足够的信息列出图像符号。
没有足够的信息来列出图像映射中的加载地址。
完成:4条信息,0条警告和18条错误信息。
”。\ out_DA14531 \ \ multi_con_periph_531对象。axf" - 18个错误,1个警告。
嗨,吉姆,
请检查DA14531- DA14585-586_Multiperipheral_Example\doc\Readme.html文件,然后转到“SDK Changes”一节。
为了能够运行特定的示例,您应该对SDK进行一些修改。你能再检查一下更改是否正确吗?
谢谢,PM_Dialog
谢谢,我完全错过了。