You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It worked, but is this the recommended way/is there a better one? Is there documentation on how to build out-of-tree boards or shields, or on the BOARD_ROOT variable? Related: I found this completed issue on documenting the ZMK_CONFIG variable.
Before I got it working I tried adding to my config/west.yml:
manifest:
...projects:
- name: revxlpremote: petejohansonrepo-path: revxlp-config/config/boards/shields/revxlprevision: HEAD
In this case at least the out-of-tree repository is laid out just like the zmk repository (and my zmk-config repository, also), so the next thing I tried is cloning it over top of the zmk directory, by adding to my config/west.yml:
Building with boards/shields found in Zephyr modules is now officially supported via #1989. The setup script now creates a Zephyr module with a boards folder by default (see the template repo), but existing repos like https://github.com/petejohanson/revxlp-config will need to be updated to have /zephyr/module.yml and /config/boards folder moved to /boards.
Is there documentation on how to build out-of-tree boards or shields?
I have three involved repositories, I think:
To build them, I added to my config/west.yml:
Then to my build.yaml I added:
It worked, but is this the recommended way/is there a better one? Is there documentation on how to build out-of-tree boards or shields, or on the
BOARD_ROOT
variable? Related: I found this completed issue on documenting theZMK_CONFIG
variable.Before I got it working I tried adding to my
config/west.yml
:That failed: fatal: repository 'https://github.com/petejohanson/revxlp-config/config/boards/shields/revxlp/' not found. West can't clone a repository's subdirectory?
In this case at least the out-of-tree repository is laid out just like the zmk repository (and my zmk-config repository, also), so the next thing I tried is cloning it over top of the zmk directory, by adding to my
config/west.yml
:That also failed: Hint: project revxlp-config path "zmk" is taken by project zmk. I didn't try cloning it over top of the root, zmk-config directory --- I doubt that's possible?
That's when I found the
BOARD_ROOT
andcmake-args
variables --- is this the recommended way to build out-of-tree boards or shields?The text was updated successfully, but these errors were encountered: