cmsis-pack-eclipse
cmsis-pack-eclipse copied to clipboard
Problems with Generator support in Eclipse CMSIS pack manager plugin
NXP has reported problems in the Eclipse CMSIS pack manager plugin used in the MCUXPresso IDE and also IAR. After importing the pack into the MCUXpresso IDE in CMSIS plugin perspective, there is possible to “enable” the generator component and there is the green arrow button that can be pressed:
The generator batch file launches, but it seems that parameters are passed in incorrect way. It seems that the parameters are “interleaved” with empty strings (every odd parameter is “”).
Also the files referenced in the GPDSC are not added into the project. Maybe there are some issue with the path as we are not sure, what should be the reference root for the files mentioned in the .gpdsc
There are several problems with the issue:
- Wrong processing of generator arguments: an empty argument always added regardless if "switch" attribute exists.
- Working directory is not prepended to the gpdsc file name.
- There is an NPE caused by 2. : parent directory is null and needs special processing
- gpdsc file is not fully processed : only components get added, not project files (because they outside of the project directory).
CmsisPackPlugIn2.9.0_patch.zip The issue is fixed and needs to be verified.
Fixed in 2.10.0