你好,
我试图得到一个示例项目运行(ble_peripheral)在SmartSnippets Studio v1.6.3.918,从SDK 1.0.10.1072。
我一直得到这个错误:
建设目标:ble_peripheral.elf
调用:交叉ARM C链接器
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
: * * * (ble_peripheral。精灵]错误1
我能做些什么来弥补呢?
当我运行调试构建,我得到以下错误:
建设目标:ble_peripheral.elf
调用:交叉ARM C链接器
。/ sdk / cpm / sys_power_mgr。o:在函数' apply_wfi'中:
/Users/ ghschwb . 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 /祝福/ src /栈/ plf black_orca / src / arch /主/祝福/ arch_main。o:在函数' ble_stack_init'中:
/Users/ ghschwb . 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 /保佑/ src /栈/ ip /保佑/会/ src / rwble / rwble。在函数' event_isr'中:
/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 /保佑/ src /栈/ ip /保佑/会/ src / rwble / rwble。在函数' eventapfa_isr'中:
/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):
./sdk/ble/src/stack/plf/black_orca/src/arch/main/ble/jump_table.o:(.rodata.rom_func_addr_table_var+0xc4)
/sdk/ble/src/stack/plf/black_orca/src/arch/main/ble/jump_table.o:(.rodata.rom_func_addr_table_var+0xc8)
./sdk/ble/src/stack/plf/black_orca/src/arch/main/ble/jump_table.o:(.rodata.rom_func_addr_table_var+0xd0)
./sdk/ble/src/stack/plf/black_orca/src/arch/main/ble/jump_table.o:(.rodata.rom_func_addr_table_var+0xe0):未定义的引用
./sdk/ble/src/stack/plf/black_orca/src/arch/main/ble/jump_table.o:(.rodata.rom_func_addr_table_var+0xe8):
./sdk/ble/src/stack/plf/black_orca/src/arch/main/ble/jump_table.o:(.rodata.rom_func_addr_table_var+0x10c):
Collect2.exe: error: ld returned 1 exit status
: * * * (ble_peripheral。精灵]错误1
该项目仅从SDK中导入,项目资源管理器中的所有路径似乎都没问题。
谢谢你的帮助!
嗨ghscwab,
为了有一个正确的设置,请遵循以下指南:
谢谢你的帮助!
我现在能让一切运转起来了。