Build Error for Multiperipheral Example

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
3 posts / 0 new
Last post
jwpearce
Offline
Last seen:6 months 1 week ago
加入:2016-10-13 18:51
Build Error for Multiperipheral Example

I have downloaded the example

//www.wsdof.com/sites/default/files/da14531-_da1458...

and have successfully run the Python link scipt. When I load the project and build it I receive indicating that app_db... is not defined. There are several conditional complilation ifdef's that I don't know enought about yet to see where the problem lies.

Where is the problem?

compiling user_multi_peripheral.c...
. . \ src \ user_multi_peripheral.c (341): warning: #223-D: function "app_db_init_next" declared implicitly
end_db_create = app_db_init_next();
..\src\user_multi_peripheral.c: 1 warning, 0 errors
compiling user_custs1_impl.c...
linking...
.\out_DA14531\Objects\multi_con_periph_531.axf: Error: L6200E: Symbol app_db_init_start multiply defined (by user_multi_peripheral.o and app.o).
.\out_DA14531\Objects\multi_con_periph_531.axf: Error: L6200E: Symbol app_db_init_start multiply defined (by da14531_symbols.txt and app.o).
.\out_DA14531\Objects\multi_con_periph_531.axf: Error: L6200E: Symbol prf_init_srv_perm multiply defined (by da14531_symbols.txt and app.o).
.\out_DA14531\Objects\multi_con_periph_531.axf: Error: L6200E: Symbol active_conhdl_to_conidx multiply defined (by da14531_symbols.txt and app.o).
.\out_DA14531\Objects\multi_con_periph_531.axf: Error: L6200E: Symbol active_conidx_to_conhdl multiply defined (by da14531_symbols.txt and app.o).
.\out_DA14531\Objects\multi_con_periph_531.axf: Error: L6200E: Symbol app_easy_gap_advertise_stop multiply defined (by da14531_symbols.txt and app.o).
.\out_DA14531\Objects\multi_con_periph_531.axf: Error: L6200E: Symbol app_easy_gap_set_data_packet_length multiply defined (by da14531_symbols.txt and app.o).
。\ out_da14531 \ objects \ multi_con_periph_531.axf:错误:l6200e:symbol_easy_gap_update_add_data乘以定义(由da14531_symbols.txt和app.o)。
.\out_DA14531\Objects\multi_con_periph_531.axf: Error: L6200E: Symbol app_gattc_svc_changed_cmd_send multiply defined (by da14531_symbols.txt and app.o).
。\ out_da14531 \ objects \ multi_con_periph_531.axf:错误:l6200e:symbol app_set_prf_srv_perm乘法定义(由da14531_symbols.txt和app.o)。
.\out_DA14531\Objects\multi_con_periph_531.axf: Error: L6200E: Symbol app_timer_set multiply defined (by da14531_symbols.txt and app.o).
.\out_DA14531\Objects\multi_con_periph_531.axf: Error: L6200E: Symbol app_db_init multiply defined (by da14531_symbols.txt and app.o).
.\out_DA14531\Objects\multi_con_periph_531.axf: Error: L6200E: Symbol app_easy_gap_disconnect multiply defined (by da14531_symbols.txt and app.o).
.\out_DA14531\Objects\multi_con_periph_531.axf: Error: L6200E: Symbol app_easy_gap_confirm multiply defined (by da14531_symbols.txt and app.o).
.\out_DA14531\Objects\multi_con_periph_531.axf: Error: L6200E: Symbol get_user_prf_srv_perm multiply defined (by da14531_symbols.txt and app.o).
.\out_DA14531\Objects\multi_con_periph_531.axf: Error: L6200E: Symbol app_default_handler multiply defined (by da14531_symbols.txt and app_task.o).
.\out_DA14531\Objects\multi_con_periph_531.axf: Error: L6200E: Symbol app_entry_point_handler multiply defined (by da14531_symbols.txt and app_entry_point.o).
.\out_DA14531\Objects\multi_con_periph_531.axf: Error: L6200E: Symbol app_std_process_event multiply defined (by da14531_symbols.txt and app_entry_point.o).
Not enough information to produce a SYMDEFs file.
Not enough information to produce a FEEDBACK file.
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 4 information, 0 warning and 18 error messages.
".\out_DA14531\Objects\multi_con_periph_531.axf" - 18 Error(s), 1 Warning(s).

PM_Dialog
Offline
Last seen:19 hours 29 min ago
Staff
加入:2018-02-08 11:03
Hi Jim,

Hi Jim,

Please checkout the DA14531- DA14585-586_Multiperipheral_Example\doc\Readme.html file and go to “SDK Changes” section.

You should do couple of SDK modification to be able to run the specific example. Could you please double check if you have done the correct changes?

Thanks, PM_Dialog

jwpearce
Offline
Last seen:6 months 1 week ago
加入:2016-10-13 18:51
Thank you, I completely

Thank you, I completely missed that.