Files present in Debug configuration missing from Release configuration?

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

Files present in Debug configuration missing from Release configuration?

1,282件の閲覧回数
jsambrook
Contributor I

Hello -

For the first time I tried to build the Release configuration of our project. While the Debug configuration builds fine, some source files seem to be missing from the Release configuration.

I have looked in the IDE User Guide but don't see any information specific to doing this. I do see how to switch between different configurations.

Any pointers or advice?

Best,

John Sambrook
Common Sense Systems, Inc.

0 件の賞賛
返信
3 返答(返信)

1,217件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @jsambrook 

In Release builds, Optimizations are enabled for best performance or code density. About specific project configuration, you need check on Properties:

Alice_Yang_0-1691141711493.png

In release mode, it should be optimized some files or data, so there is error when build, you can check.

You can also refer Erich blog for this topic:

https://mcuoneclipse.com/2012/06/01/debug-vs-release/ 

 

BR

Alice

0 件の賞賛
返信

1,248件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @jsambrook 

Please tell us which IDE and chip, thanks.

 

BR

Alice

0 件の賞賛
返信

1,238件の閲覧回数
jsambrook
Contributor I

Hello Alice -

Thank you for your help.

The processor is an LPC55S69. The IDE is MCUXpresso, version v11.6.1_8255 running on a Windows development system.

Best Regards,

John

0 件の賞賛
返信