Replies: 1 comment 1 reply
|
Having the same issue. Any solutions to it? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I'm currently trying to get a new board working in zephyr, where I want to use the variant feature to have multiple soc of the same type.
As described in https://docs.zephyrproject.org/latest/hardware/porting/board_porting.html#write-your-board-yaml
My board.yml looks like this:
But this fails every time with, the following error when building with
west build -b mydemo/somesoc/m7/main:... File "/zephyr/scripts/list_boards.py", line 85, in <listcomp> [Variant.from_dict(v) for v in variants if c == v['cpucluster']] KeyError: 'cpucluster'It looks like it is trying to get a nonexistent key cpucluster from variants, which is a list of key value objects, none of which are "cpucluster". I do use cluster m7, but I don't see an option to add this to the yaml. Removing the "if c == v['cpucluster']]" check yields other errors, so this seems to be some deeper issue. When I remove
variantseverything works as expected, but then I only have one SOC for my boardNow my questions are:
Thanks in advance!
All reactions