Skip to content

Commit

Permalink
west.yml: Clone our libraries and their zephyr glue
Browse files Browse the repository at this point in the history
This manifest allows us to use our repos for the open-amp and libmetal
libraries.  As our libraries do not have the zephyr dir, they are not
seem as zephyr modules.

To make this work easily with zephyr we also add a zephyr glue layer.
This layer _is_ seen as a zephyr module and integrates both libraries.

Several approaches were tried for this and this was the chosen method for
the following reasons:

Pros:
* All needed files are provided by just doing the west update
* We don't need to set any ENV vars each time like EXTRA_ZEPHYR_MODULES
* It works with our samples and zephyr stock samples
* The version of open-amp and libmetal are directly controlled in
  the manifest
* It is low maintenance as the module boiler plate is unlikely to change
  much.

Cons:
* One extra repo

Signed-off-by: Bill Mills <bill.mills@linaro.org>
Co-authored-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
  • Loading branch information
wmamills and arnopo committed Oct 24, 2023
1 parent fcb4bdd commit f5427c9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,17 @@ manifest:
remote: zephyr
revision: v3.5.0
import: true

# as we use the same names as in the zephyr manifest,
# our definitions eclipse their's
- name: libmetal
revision: main

- name: open-amp
revision: main

# however, our version does not have the zephyr module glue
# so bring in our custom version that integrates both libraries
# as a single zephyr module
- name: openamp-zephyr-modules
revision: main

0 comments on commit f5427c9

Please sign in to comment.