CC3100 SDK中的mqtt_client项目会出现链接器错误

时间:2017-04-06 11:12:06

标签: msp430 texas-instruments code-composer

我正在尝试在CC3100SDK_1.2.0中构建mqtt_client项目,以便稍后我可以将它集成到getting_started_with_wlan_station项目中以进行进一步的工作。

正如mqtt_client.pdf文档中所建议的,我从cc3100-sdk \ platform \ msp430f5529lp \ library_project_ccs构建了osi_lib.lib和mqtt.a。 在构建mqtt_client项目时,我收到多个链接器错误,如下所示

<Linking>
error #16019-D: file
   "C:/TI/CC3100SDK_1.2.0/cc3100-sdk/platform/msp430f5529lp/library_project_ccs
   /osi_lib/Debug/osi_lib.lib<osi_freertos.obj>" specifies small data memory
   model, which is not compatible with restricted large data memory model
   specified in a previous file or on the command line
error #16019-D: file
   "C:/TI/CC3100SDK_1.2.0/cc3100-sdk/platform/msp430f5529lp/library_project_ccs
   /osi_lib/Debug/osi_lib.lib<queue.obj>" specifies small data memory model,
   which is not compatible with restricted large data memory model specified in
   a previous file or on the command line
error #16019-D: file
   "C:/TI/CC3100SDK_1.2.0/cc3100-sdk/platform/msp430f5529lp/library_project_ccs
   /osi_lib/Debug/osi_lib.lib<tasks.obj>" specifies small data memory model,
   which is not compatible with restricted large data memory model specified in
   a previous file or on the command line
error #16019-D: file
   "C:/TI/CC3100SDK_1.2.0/cc3100-sdk/platform/msp430f5529lp/library_project_ccs
   /osi_lib/Debug/osi_lib.lib<port.obj>" specifies small data memory model,
   which is not compatible with restricted large data memory model specified in
   a previous file or on the command line
error #16019-D: file
   "C:/TI/CC3100SDK_1.2.0/cc3100-sdk/platform/msp430f5529lp/library_project_ccs
   /osi_lib/Debug/osi_lib.lib<portext.obj>" specifies small data memory model,
   which is not compatible with restricted large data memory model specified in
   a previous file or on the command line
error #16019-D: file
   "C:/TI/CC3100SDK_1.2.0/cc3100-sdk/platform/msp430f5529lp/library_project_ccs
   /osi_lib/Debug/osi_lib.lib<heap_3.obj>" specifies small data memory model,
   which is not compatible with restricted large data memory model specified in
   a previous file or on the command line
error #16019-D: file
   "C:/TI/CC3100SDK_1.2.0/cc3100-sdk/platform/msp430f5529lp/library_project_ccs
   /osi_lib/Debug/osi_lib.lib<list.obj>" specifies small data memory model,
   which is not compatible with restricted large data memory model specified in
   a previous file or on the command line
error #10010: errors encountered during linking; "mqtt_client.out" not built

我使用输出格式为eabi(ELF)的相同编译器TIv16.12.0.STS对所有这些进行了构建。 我尝试为项目中的两个库更改链接器的文件搜索路径,例如“{PROJECT_LOC} /../ osi_lib / Debug / osi_lib.lib”。但是它给出了一些其他错误。

我非常感谢以下问题的答案:

  1. 如果我遗漏了某些内容或者这是一个已知问题,请告诉我。
  2. 我使用的是Code Composer Studio版本的免费版本:6.2.0.00050。甚至可以运行mqtt_client项目,因为该文档提到了Code足迹:使用44.4 KB的Flash?
  3. 如果它不可能,那么我可以使用其他一些“更轻”和/或开源的mqtt客户端代码作曲家工作室吗?

0 个答案:

没有答案