Skip to content

Problems with Generator support in Eclipse CMSIS pack manager plugin #110

Closed

Description

@edriouk

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

Activity

  1. edriouk commented on Oct 27, 2023

    @edriouk
    ContributorAuthor

    There are several problems with the issue:

    1. Wrong processing of generator arguments: an empty argument always added regardless if "switch" attribute exists.
    2. Working directory is not prepended to the gpdsc file name.
    3. There is an NPE caused by 2. : parent directory is null and needs special processing
    4. gpdsc file is not fully processed : only components get added, not project files
      (because they outside of the project directory).
  2. edriouk commented on Oct 27, 2023

    @edriouk
    ContributorAuthor

    CmsisPackPlugIn2.9.0_patch.zip
    The issue is fixed and needs to be verified.

  3. pinned this issue on Oct 27, 2023
  4. self-assigned this
    on Oct 27, 2023
  5. edriouk commented on May 21, 2024

    @edriouk
    ContributorAuthor

    Fixed in 2.10.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions