-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scripts: list_hardware: Find all SoCs before checking runner configs
When validating the flash runner configurations in `soc.yml`, the only SoCs that were considered had to be defined under this structure: family: - series: - socs: - name: ... However, the `family` and `series` keys are optional, so the `soc.yml` files can also be arranged like this: family: - socs: - name: ... series: - socs: - name: ... socs: - name: ... The solution is to move the validation code further down, so that it can reuse the SoC data that was already correctly parsed while initializing a `Systems` instance. Signed-off-by: Grzegorz Swiderski <[email protected]>
- Loading branch information
Showing
1 changed file
with
30 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters