1

我正在尝试在 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

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

我非常感谢您回答以下问题:

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

0 回答 0