doc: shields: Document shield variant board overriding

It is now possible to override a shield variant configuration
for a specific board. Get it documented.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2019-10-07 20:27:45 +02:00 committed by Anas Nashif
commit ce37c594ed

View file

@ -118,3 +118,18 @@ In this case, a shield-particular revision name can be used:
:zephyr-app: your_app
:shield: shield_v2
:goals: build
You can also provide a board-specific configuration to a specific shield
revision:
.. code-block:: none
boards/shields/<shield>
├── <shield_v1>.overlay
├── <shield_v1>.conf
├── <shield_v2>.overlay
├── <shield_v2>.conf
└── <boards>
└── <shield_v2>
├── board.overlay
└── board.conf