[Bug] "com.crt.config" not robust across platfoms

cancel
Showing results for 
Search instead for 
Did you mean: 

[Bug] "com.crt.config" not robust across platfoms

483 Views
jd-soc
Contributor II

Hi,


I'm using MCUXpresso 10.3, importing the provided LPC1769 examples.


lpc_chip_175x_6x for instance has the following section at the bottom of its .cproject file :

<storageModule moduleId="com.crt.config">
        <projectStorage>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&#13;
&lt;TargetConfig&gt;&#13;
&lt;Properties property_0="" property_2="LPC175x_6x_512.cfx" property_3="NXP" property_4="LPC1769"

[....]

&lt;link href="nxp_lpcxxxx_peripheral.xme" show="embed" type="simple"/&gt;&#13;
&lt;/info&gt;&#13;
&lt;/infoList&gt;&#13;
&lt;/TargetConfig&gt;</projectStorage>
    </storageModule>

Depending on the OS, the IDE will automatically add or remove those &#13; independently from the chosen line ending and/or git attributes.

This is really annoying when trying to properly track changes on the projects configuration.

Tags (2)
9 Replies

204 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Julien,

Thank you for your report - we've logged this issue and will look into it for a future IDE release.

Regards,

MCUXpresso IDE Support

204 Views
paschaef
Contributor I

Hi, I am using MCUXpresso IDE v11.1.1 and encountering the same issue com.crt.config section in .cproject file.

Was this issue really fixed?

0 Kudos

204 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Thank you!

0 Kudos

204 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Julien Delbergue

Thank you for contacting us.

.cproject file contains project settings, such as building tools to be used, various compiler options, and so on.

Can you please upload your demo project to let us check the problem directly?

Besides, please also mention how we can reproduce your issue with your code.

Thanks.

Best Regards,

0 Kudos

204 Views
jd-soc
Contributor II

Hi ZhangJennie,

It should be quite easy to reproduce, independently from any specific project.

Here a detailed example:
1) On a Windows system
- Open MCUXpresso 10.3 (new/clean workspace)
- "Import project from file system" in the Quickstart panel
- Select "lpcopen_2_10_lpcxpresso_nxp_lpcxpresso_1769.zip" from the provided LPCOpen examples
- Select "lpc_chip_175x_6x" from the available projects
- Close MCUXpresso, and commit the imported "lpc_chip_175x_6x" project folder to a git repository

2) On a Linux system
- Clone the project repository, observe the clean git status
- Open MCUXpresso 10.3 (new/clean workspace)
- "Import project from file system" in the Quickstart panel
- Select the directory (unpacked) of the freshly cloned project
- Once the import is successful, close MCUXpresso
- git diff will show you the unwished modification of the .cproject file

The result is the same if going from Linux to Windows.


Thanks for your support.

0 Kudos

204 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

HI

I current don't have a linux computer to test it.

Is the problem ( automatically add or remove those &#13 ) the same if not using GIT?

Jennie Zhang

0 Kudos

204 Views
jd-soc
Contributor II

Hi,
Yes this has nothing to do with Git.

You could also use a virtual machine to run Linux on any computer.
Cheers,
Julien

0 Kudos

204 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Thanks. Can you please upload both versions(windows,linux) of the .cproject files?

0 Kudos

204 Views
jd-soc
Contributor II

Here attached the requested files.

0 Kudos