How to add compiler option for MCUXpresso

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to add compiler option for MCUXpresso

1,083 次查看
kensu
Contributor V

Hi 

 

I want to know how to add -ftrapv to compiler option for MCUXpresso.

https://www.keil.com/support/man/docs/armclang_ref/armclang_ref_sam1465488663864.htm

Please teach me.

 

Regards

Ken

 

0 项奖励
回复
1 回复

1,070 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi

 

-ftrapv is an option for GCC code generation conventions.

I would suggest you add it in 'MCU C Compiler'

danielchen_0-1630567503190.png

 

Regards

Daniel

 

0 项奖励
回复