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:
After Refresh (added entries highlighted):
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
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
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!
Thanks. I have reproduced this issue.
I will report it.