Skip to content

Build script should only parse ATDF for selected MCUs #187

Closed
@Rahix

Description

@Rahix

@LuigiPiucco, so I just noticed one more thing that slipped through review ;)

In find(), you already parse all ATDFs (and also all patches). This happens before filtering for selected MCUs which means that a lot of unnecessary parsing work is done for MCUs that won't actually get code-generated.

I noticed this through suspiciously long build-times for single-MCU builds and also while playing with the error messages (injecting an error into the ATDF of an MCU that is not selected still leads to to a build error).

Do you want to take care of this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildsystemRelated to generating the device-modules from ATDF files.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions