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

[packchk] unknown generator not detected ? #1822

Open
jeromecoutant opened this issue Oct 22, 2024 · 2 comments
Open

[packchk] unknown generator not detected ? #1822

jeromecoutant opened this issue Oct 22, 2024 · 2 comments
Labels
discussion Indicates an issue being in discussion enhancement New feature or request

Comments

@jeromecoutant
Copy link
Contributor

Hi

In my pdsc, I have components with
<component generator="STM32Gen" Cclass="Device" Cgroup="xxx" Csub="xxx" Cversion="0.4.0" condition="xxx">

But there is no <generator** id="STM32Gen">

Maybe packchk tool could raise an error for that ?

Regards,

@jeromecoutant jeromecoutant added the bug Something isn't working label Oct 22, 2024
@ReinhardKeil
Copy link
Collaborator

ReinhardKeil commented Oct 24, 2024

The Global Generator concept that is implemented does not require a <generator> element.

Please review this section:
https://github.com/Open-CMSIS-Pack/cmsis-toolbox/blob/main/docs/build-operation.md#generator-start-via-component

Therefore we cannot issue an error with packchk.

@ReinhardKeil ReinhardKeil added wontfix This will not be worked on discussion Indicates an issue being in discussion labels Oct 24, 2024
@jkrech
Copy link
Member

jkrech commented Oct 29, 2024

packchk could read the global.generator.yml file in the ..\etc\ directory to find out about the registered generator IDs.

@ReinhardKeil ReinhardKeil added enhancement New feature or request and removed bug Something isn't working wontfix This will not be worked on labels Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Indicates an issue being in discussion enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants