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

出力形式がeabi(ELF)の同じコンパイラTIv16.12.0.STSを使用して、それらすべてのビルドを行いました。プロジェクト内の 2 つのライブラリのリンカーのファイル検索パスを「{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