Hi there,
Yes! Place your pm_static.yml
and overlay.conf
inside a boards/your_board_name/
folder within your project. Zephyr will use them only when building that board.
Or use the -- -DPM_STATIC_YML_FILE=...
method to explicitly include it per build. see nordic video.
If youβre using multiple boards in a single project, you can create a folder like:
your_project/
βββ boards/
β βββ your_board_name/
β β βββ pm_static.yml
β β βββ overlay.conf
β β βββ board.cmake (optional)
βββ src/
β βββ main.c
βββ CMakeLists.txt
βββ prj.conf
this was how I learned to set it up from the mustache man at nordic
HTH
GL PJ