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

Support dry-running generators #1028

Merged
merged 1 commit into from
Jul 18, 2023
Merged

Commits on Jul 12, 2023

  1. Support dry-running generators

    Running generators in dry-run mode, expect the GPDSC content to be
    output to stdout. This allows consuming tools to parse the GPDSC and for
    example resolve dependencies without any files being updated on disk.
    
    The csolution tool doesn't currently use the dry-run output from the
    generator. Since log messages from csolution and the generator also are
    written to stdout, the generator need to enclose the GPDSC content
    within special begin and end marks, so a tool running
    `csolution --dry-run run` has to ignore everything outside those marks.
    
    Begin and end marks are currently not fixed, but would preferably be
    chosen to be consistent to avoid surprises.
    
    Suggested begin mark: -----BEGIN GPDSC-----
    Suggested end mark:   -----END GPDSC-----
    
    Contributes to Open-CMSIS-Pack#206. Support for `additionalInputs` is left for later.
    
    Contributed by STMicroelectronics
    
    Signed-off-by: Erik MÅLLBERG <[email protected]>
    ErikMallbergSTM committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    7f79895 View commit details
    Browse the repository at this point in the history