4 posts / 0 new
Last post
qijunGuo
Offline
Last seen:2 months 3 weeks ago
加入:2020-06-20 07:13
SDK_6.0.14.1114编译报错

我使用SDK_6.0.14.1114.zip,并打上了补丁SDK_6.0.14.1114_hotfix_001.zip

打补丁的方法是,In the extracted SDK folder, replace the the following folders with the one provided in the hotfix release:
* binaries
* doc
* config/toolbox_resources
* sdk/platform/system_library

我在keil中编译projects\target_apps\ble_examples中的prox_reporter和ble_app_barebone工程都会报同样的错误,错误如下

linking...
.\out_DA14531\Objects\prox_reporter_531.axf: Error: L6218E: Undefined symbol llm_dflt_bdaddr (referred from patch.o).
.\out_DA14531\Objects\prox_reporter_531.axf: Error: L6218E: Undefined symbol llm_wlpriv_addr_set (referred from patch.o).
.\out_DA14531\Objects\prox_reporter_531.axf: Error: L6218E: Undefined symbol llm_wlpub_addr_set (referred from patch.o).
Not enough information to produce a SYMDEFs file.
Not enough information to produce a FEEDBACK file.
Not enough information to list image symbols.
Finished: 3 information, 0 warning and 3 error messages.
".\out_DA14531\Objects\prox_reporter_531.axf" - 3 Error(s), 0 Warning(s).

我在工程中没有搜索到llm_dflt_bdaddr、llm_wlpriv_addr_set、llm_wlpub_addr_set这几个符号。

请问如何解决这个问题?

Device:
qijunGuo
Offline
Last seen:2 months 3 weeks ago
加入:2020-06-20 07:13
我重新解压SDK_6.0.14.1114.zip,不打补丁

我重新解压SDK_6.0.14.1114.zip,不打补丁,prox_reporter和ble_app_barebone工程可以编译通过。应该是我打补丁的方法不对,请问正确方法是什么呢?我是Windows系统

CYibin
Offline
Last seen:3 months 2 weeks ago
Staff
加入:2017-12-14 02:48
你好,

你好,

除了替换目录,还需要使用 git 的 patch 工具将补丁打上,具体操作看附件文档

qijunGuo
Offline
Last seen:2 months 3 weeks ago
加入:2020-06-20 07:13
你好,按照您的方法,补丁打上了。

你好,按照您的方法,补丁打上了。