-
Notifications
You must be signed in to change notification settings - Fork 82
Closed
Labels
buildsystemRelated to generating the device-modules from ATDF files.Related to generating the device-modules from ATDF files.
Description
@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
Labels
buildsystemRelated to generating the device-modules from ATDF files.Related to generating the device-modules from ATDF files.