Hi,
I am trying to get an example project to run (ble_peripheral) in SmartSnippets Studio v1.6.3.918, from SDK 1.0.10.1072.
I keep getting this error:
Building target: ble_peripheral.elf
Invoking: Cross ARM C Linker
c:/diasemi/smartsnippetsstudio/gcc/4_9-2015q1/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: cannot find -lble_stack_da14681_01
collect2.exe: error: ld returned 1 exit status
make: *** [ble_peripheral.elf] Error 1
What can I do to fix this?
When I run the debug build, I get the following errors:
Building target: ble_peripheral.elf
Invoking: Cross ARM C Linker
./sdk/cpm/sys_power_mgr.o: In function `apply_wfi':
C:/Users/GHSchwab.GFT/Documents/Bluetooth/DA1468x_DA15xxx_SDK_1.0.10.1072/DA1468x_DA15xxx_SDK_1.0.10.1072/sdk/bsp/system/sys_man/sys_power_mgr.c:1731: undefined reference to `patch_rom_functions'
./sdk/ble/src/stack/plf/black_orca/src/arch/main/ble/arch_main.o: In function `ble_stack_init':
C:/Users/GHSchwab.GFT/Documents/Bluetooth/DA1468x_DA15xxx_SDK_1.0.10.1072/DA1468x_DA15xxx_SDK_1.0.10.1072/sdk/interfaces/ble/src/stack/plf/black_orca/src/arch/main/ble/arch_main.c:632: undefined reference to `patch_rom_functions'
./sdk/ble/src/stack/ip/ble/ll/src/rwble/rwble.o: In function `event_isr':
C:/Users/GHSchwab.GFT/Documents/Bluetooth/DA1468x_DA15xxx_SDK_1.0.10.1072/DA1468x_DA15xxx_SDK_1.0.10.1072/sdk/interfaces/ble/src/stack/ip/ble/ll/src/rwble/rwble.c:427: undefined reference to `lld_evt_end_isr_sdk'
./sdk/ble/src/stack/ip/ble/ll/src/rwble/rwble.o: In function `eventapfa_isr':
C:/Users/GHSchwab.GFT/Documents/Bluetooth/DA1468x_DA15xxx_SDK_1.0.10.1072/DA1468x_DA15xxx_SDK_1.0.10.1072/sdk/interfaces/ble/src/stack/ip/ble/ll/src/rwble/rwble.c:447: undefined reference to `lld_evt_end_isr_sdk'
./sdk/ble/src/stack/plf/black_orca/src/arch/main/ble/jump_table.o:(.rodata.rom_func_addr_table_var+0x9c): undefined reference to `lld_test_mode_rx_sdk'
./sdk/ble/src/stack/plf/black_orca/src/arch/main/ble/jump_table.o:(.rodata.rom_func_addr_table_var+0xc4): undefined reference to `dbg_init_sdk'
./sdk/ble/src/stack/plf/black_orca/src/arch/main/ble/jump_table.o:(.rodata.rom_func_addr_table_var+0xc8): undefined reference to `dbg_platform_reset_complete_sdk'
./sdk/ble/src/stack/plf/black_orca/src/arch/main/ble/jump_table.o:(.rodata.rom_func_addr_table_var+0xd0): undefined reference to `l2cc_pdu_pack_sdk'
./sdk/ble/src/stack/plf/black_orca/src/arch/main/ble/jump_table.o:(.rodata.rom_func_addr_table_var+0xe0): undefined reference to `l2cc_pdu_recv_ind_handler_sdk'
./sdk/ble/src/stack/plf/black_orca/src/arch/main/ble/jump_table.o:(.rodata.rom_func_addr_table_var+0xe8): undefined reference to `atts_l2cc_pdu_recv_handler_sdk'
./sdk/ble/src/stack/plf/black_orca/src/arch/main/ble/jump_table.o:(.rodata.rom_func_addr_table_var+0x10c): undefined reference to `llc_le_length_conn_init_sdk'
collect2.exe: error: ld returned 1 exit status
make: *** [ble_peripheral.elf] Error 1
The project was only imported from the SDK, and all paths in the Project explorer seem ok.
Thanks for your help!


Hi ghscwab,
请遵循以下指导方针以甲型肝炎e a proper setup:
Thank you for your help!
I was able to get everything running now.