Optimize compiler for code size

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Optimize compiler for code size

ソリューションへジャンプ
957件の閲覧回数
juliancox
Contributor V

I amusing CW 10.7 with a S08SH4 processor. Is there an option to configure the compiler to minimise code size? Also, what is the approximate difference in code size between the Debug and Release configurations?

タグ(1)
0 件の賞賛
返信
1 解決策
791件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Julian Cox ,

- Yes, you can reduce code size through Properties-> C/C++ Build ->Setting -> .... as below:

pastedImage_1.png

You can find the detail description in "MCU_HCS08_compiler"-> 7.2.3.1.58 -O(-Os, -Ot): Main Optimization Target .

- What about the debug and release of your project ? they can configure by ourself , you can also check the defferent setting in Properties, or you can send your project to me .

Hope it helps,


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
792件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Julian Cox ,

- Yes, you can reduce code size through Properties-> C/C++ Build ->Setting -> .... as below:

pastedImage_1.png

You can find the detail description in "MCU_HCS08_compiler"-> 7.2.3.1.58 -O(-Os, -Ot): Main Optimization Target .

- What about the debug and release of your project ? they can configure by ourself , you can also check the defferent setting in Properties, or you can send your project to me .

Hope it helps,


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信