BUG: "Refresh SDK Components" Duplicates Project Include Paths List

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

BUG: "Refresh SDK Components" Duplicates Project Include Paths List

386 Views
SynchroEng
Contributor II

Hi all,

I just confirmed what I can only assume is a bug.

My steps to reproduce:
- Import SDK example project
- Refresh SDK Components

Refreshing the SDK Components step will duplicate all SDK related include paths.
For example, the "${workspace_loc:/${ProjName}/board}" path or other custom entries will not be re-created.
Before Refresh:

Include_Path_Before_RefreshSDK.PNG

After Refresh (added entries highlighted):

Include_Path_After_RefreshSDK.PNG

Extra notes on the behaviour:
- There will be no more than two copies of the same include path. After two copies exist, refreshing SDK components will not generate new paths in the list.
- Deleting all of the paths and refreshing SDK components, the paths will only be in the list once.

This is a follow up to a compile error I encountered as a result of this issue. Original problem with solution is here.

I hope this gets resolved in future updates


Any questions and comments are welcome.

 


Adam

3 Replies

364 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

HI SynchroEng 

Please let me know your MCUXPresso IDE Version and SDK version. 

Please specify how did you do "Refresh SDK Components"? 

It would be better if you can provide a video to show how to reproduce the prolem.

Thanks

Jun Zhang

0 Kudos

361 Views
SynchroEng
Contributor II

Hi Jun,

Please see the link to the original discussion that started my investigation into the problem.

https://community.nxp.com/t5/MCUXpresso-SDK/Refresh-SDK-Components-breaks-SDK-Example-quot-undefined...

The example project is not critical, this behavior happens to any project I have tried. Most projects don't produce any issues, probably the reason why this goes unnoticed. Projects with LWIP are prone to break due to the issue detailed above.

Using the LPCXpresso54628 development board, I import the SDK example project: "lpcxpresso54628_lwip_mqtt_freertos".
Installed the latest MCUXpresso11.6.1 IDE and 2.12.0 SDK for LPCXpresso54628. 

I right click project -> SDK Management -> Refresh SDK Components -> OK.

Hope this helps!

352 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Thanks. I have reproduced this issue.

I will report it.

 

 

0 Kudos