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

[csolution convert] Unsupported registered toolchain causes error in unrelated contexts #1919

Open
brondani opened this issue Dec 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@brondani
Copy link
Collaborator

Having a toolchain registered without a compatible cmake file causes an error when running csolution convert even when such toolchain is not required:

$ export UNKNOWN_TOOLCHAIN_0_0_0=C:/tmp
$ csolution convert Hello.csolution.yml -S
error csolution: no toolchain cmake files found for 'UNKNOWN' in 'C:/cmsis-toolbox/latest/etc' directory

Expected behavior
The error is expected to be reported when calling csolution list toolchains but not when calling csolution convert if the unsupported toolchain is not required.

Environment (please complete the following information):

  • csolution
  • Version 2.7.0
  • OS: [e.g. windows]
@brondani brondani added the bug Something isn't working label Dec 19, 2024
@brondani brondani self-assigned this Dec 19, 2024
@brondani brondani moved this to Todo in CMSIS-Toolbox 2.8.0 Dec 19, 2024
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
Status: Todo
Development

No branches or pull requests

1 participant