Files present in Debug configuration missing from Release configuration?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Files present in Debug configuration missing from Release configuration?

1,281 Views
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 Kudos
Reply
3 Replies

1,216 Views
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 Kudos
Reply

1,247 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @jsambrook 

Please tell us which IDE and chip, thanks.

 

BR

Alice

0 Kudos
Reply

1,237 Views
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 Kudos
Reply