MCUXpresso bug: settings migrate across configurations.

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

MCUXpresso bug: settings migrate across configurations.

1,835 Views
curtis_hendrix
Contributor I

My project has 2 configurations in MCUXpresso: debug and release.  I would like the debug configuration to build with settings that make debugging easier.  The release configuration should have optimizations turned on.

The active configuration for the project is set to Debug.  The Optimization setting for the Debug configuration is set to "None -O0", like it should.  Everything is good here.

pastedImage_2.png

So I switched to the release configuration by changing the "Configuration" drop down from "Debug" to "Release", and changed the optimization level to "Optimize most (-O3)". 

pastedImage_3.png

I then clicked "Apply and Close".  I reopened the project properties, and suddenly the Debug configuration is set with -O3 for the Optimization Level.

pastedImage_5.png

This is with MCUXpresso 10.2.1

0 Kudos
Reply
4 Replies

1,705 Views
lpcxpresso_supp
NXP Employee
NXP Employee

This is not behaviour we have ever seen. The only thing I can think of, given that you say that another user does not see the same issue with the same projects, is to try switching you IDE to use a new workspace (from the File menu), then importing your projects across - either from version control, or by using "Quickstart Panel -> Import project(s) from file system ..."

Regards,

MCUXpresso IDE Support

0 Kudos
Reply

1,705 Views
curtis_hendrix
Contributor I

I created a new workspace and tried both importing an existing project and creating a new project.  Both have...strange behavior when changing the settings.  For example, I tried changing the Language standard on the Release configuration from GNU C11 to Compiler Default, but the setting changed back to GNU C11 when I clicked "Apply".  I changed it back to Compiler Default, clicked "Apply", and the setting stuck that time.  However, it also changed the Debug configuration Language standard to Compiler Default as well. 

0 Kudos
Reply

1,705 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Curtis,

I have done some tests and was not able to reproduce the behavior you mention. Could you give me more information about your project? Which device are you using? Is that behavior present in any project or just that specific project? Could it be that the [All Configurations] option was accidentally selected?


Thanks in advance!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 Kudos
Reply

1,705 Views
curtis_hendrix
Contributor I

The project is configured for the MKV31F256XXX12.  This behavior is present in all of my projects that use the MKV31F series micro controllers.  I created a new project for the LPC8N04, and the settings behave correctly in that project.  The [All Configurations] option was not selected, as shown in the screenshots.

My coworker does not have this problem with the same projects.  We are both using the same version of MCUXpresso.

0 Kudos
Reply