Community Translation - Enabling Hardware Floating Point Compilation for Arm Cortex-M4 in PSoC Creator - KBA222890

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Kenshow
Level 8
Level 8
Distributor - Marubun (Japan)
50 solutions authored 25 solutions authored 10 solutions authored

Hi,

I would like to translate KBA222890 into Japanese.

Thanks,

Kenshow


Original KBA:

Enabling Hardware Floating Point Compilation for Arm Cortex-M4 in PSoC Creator - KBA222890

Translated by Kenshow

==============================

タイトル: PSoC Creator™でArm Cortex-M4のハードウェア浮動小数点コンパイルを有効にする方法 - KBA222890

バージョン:**

質問:

PSoC Creator™4.2でArm®Cortex®-M4プロセッサのハードウェア浮動小数点(hardfp)コンパイルを有効にするにはどうすればよろしいでしょうか?

回答:

PSoC Creator 4.2では以下のコマンドラインオプションを追加します。

-mfload-abi=hard

PSoC Creatorのリンカオプションとしてフラグを立てます。代わりに、次のことができます。

  1. プロジェクトをMakefileにエクスポートします。
  2. MakefileのCFLAGS を変更して、ハード浮動小数点演算を使用します。
  3. ライブラリのパスを変更して、ハード浮動小数点ライブラリを指すようにします。

浮動小数点ライブラリは、PSoC Creator 4.2以降でリリースされております。これらのライブラリの名前の終わりが、_cm4f.a(暗号化およびBLE用)或いは_M4f.a(CapSense®用)となっております。ライブラリをインストールディレクトリからビルド環境にコピーしてライブラリの名前を変更するか、サイプレスインストールディレクトリ内から 'f'という名前を使用するようにMakefileを更新できます。

PSoC Creator 4.2のデフォルトのインストールには、以下のパスに関連するライブラリが含まれています:

暗号:
C:\Program Files (x86)\Cypress\PDL\3.0.1\drivers\peripheral\crypto\libs
BLE:
C:\Program Files (x86)\Cypress\PDL\3.0.1\middleware\ble\lib
CapSense:
C:\Program Files (x86)\Cypress\PSoC Creator\4.2\PSoCCreator\psoc\content\CyComponentLibrary\CyComponentLibrary.cylib\CapSense_v2_0

==============================

7-May-2020

Kenshow

0 Likes
1 Reply
JennaJo
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello, Kenshow-san

We receive your translation, it will be published to KBA to Community.

After upload, You will receive the points as the word of KBA.

Due to the current delay of internal review, Please bear with me for the delayed the response.

It could be delayed, but it will be processed soon.

Thanks for your contribution to CDC!

Will keep you update the status.

Thanks,

Jenna Jo

Jenna Jo
0 Likes