- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear supporter
I want to translate the following KBA. Please confirm to my work.
Build failure with legacy BTSDK project in ModusToolbox™ 2.4 - KBA234113
Regards,
Nino
- Labels:
-
ModustoolBox
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Nino-san
Confirm to work on this KBA.
Just for note, you might not able to edit content for few days in this week because of Community migration.
Thanks,
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Jenna
The following shows the translated version in Japanese for targeted KBA.
Please conform and double check.
Regards,
Nino
----------------------------------------------------------------------------------------------
ModusToolbox™ 2.4で過去のBTSDKプロジェクトを使用したビルドの失敗 – KBA234113
Version: **
質問:
ModusToolbox™ 2.4で過去のBTSDKプロジェクト(バージョン2.7以前)をビルドすると何故失敗しますか?
回答:
古いプロジェクトに影響のあるソフトウェアの最新バージョンでのビルドシステムに変更がありました。以下のようなエラーが表示される場合があります:
COMPONENT_fw_upgrade_lib/ota_fw_upgrade_common.c: In function 'wiced_ota_fw_upgrade_init':
<command-line>: error: 'DLConfigSSLocation' undeclared (first use in this function)
COMPONENT_fw_upgrade_lib/ota_fw_upgrade_common.c:204:26: note: in expansion of macro 'SS_LOCATION'
204 | nv_loc_len.ss_loc = SS_LOCATION;
| ^~~~~~~~~~~
<command-line>: note: each undeclared identifier is reported only once for each function it appears in
対策:
1.現在のBSPの場所を確認します:
a. modus-shellターミナルを開き、アプリケーションフォルダに移動します。
b. 以下を実行します:
make get_app_info | grep 'SHAREDLIBS='
c. アプリケーションフォルダから相対パスを使用して以下の出力を探します。例えば:
./../../../wiced_btsdk/dev-kit/bsp/TARGET_<bsp_name>
それがアクティブBSPの場所になります。
- 手順1cで見られたフォルダに移動します。
- BSK Makefileを修正します。このファイルは、BSPフォルダ内にあり、BSP名にちなんだ名前になっています。例えば:
<bsp_name>.mk
- ファイル内のコメントラインを検索します:
# split up btp file into "x=y" text
- コメントラインのすぐ上に以下のラインを置きます。
CY_EMPTY=
CY_SPACE=$(CY_EMPTY) $(CY_EMPTY)
- ファイルを保存し、プロジェクトを再度ビルドします。
古いプロジェクトは、ModusToolbox™ 2.4環境で正常にビルドされるはずです。
Labels Other
Tags: build failure legacy BTSDK modustoolbox™ Add tags