Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMSIS Package Manager is opened when loading Git submodules #37

Open
Spaark84 opened this issue Feb 21, 2023 · 1 comment
Open

CMSIS Package Manager is opened when loading Git submodules #37

Spaark84 opened this issue Feb 21, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Spaark84
Copy link

Spaark84 commented Feb 21, 2023

I'm working on a project with several Git submodules, some of which contain an IAR project (.ewp file). When the submodules are loaded after opening VS Code, the IAR Build extension opens the CMSIS package manager for these projects and closes it again shortly after. This can happen multiple times in a row. It seems to happen on other occasions as well, but the reason is not clear to me. One can prevent this behavior by adding the .ewp files to the files.exclude setting of VS code. I have this problem with IAR 9.32.1, IAR Build extension 1.20.3 and VS Code 1.75.1.

The IAR Build extensions should not open the CMSIS Package Manager automatically. It also would be nice if the IAR Build extensions would excluded the projects listed in .gitignore, so one can use patterns like the follwing, which currently are not possible in both the files.exclude and the iar-build.projectsToExclude settings

# Exclude all projects except the application
/**/*.ewp
!/**/application.ewp

@jlonnberg
Copy link
Collaborator

The problem you're describing is a known problem when using CMSIS Enabled projects. The VS-Code plugins rely on our commanline utility iarbuild to generate the compile commands used for the project which unfortunatly triggers the Pack Manager to open for a short period of time.

We'll investigate if we can suppress the behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants