Skip to content

Commit 46fea6d

Browse files
henrikbrixandersenkartben
authored andcommitted
doc: develop: west: alias: add example for auto-excluding platforms
Add an example west alias for automatically excluding certain platforms when running Twister via west. This is especially useful for excluding the 32-bit native_sim target when running on hosts systems without a 32-bit host C library (i.e. Linux/AArch64). Signed-off-by: Henrik Brix Andersen <[email protected]>
1 parent d533b11 commit 46fea6d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/develop/west/alias.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,11 @@ Override ``west update`` to check a local cache:
5959
.. code-block:: shell
6060
6161
west config alias.update "update --path-cache $HOME/.cache/zephyrproject"
62+
63+
Automatically exclude the 32-bit native simulator target when running :ref:`Twister
64+
<twister_script>` via west. This is especially useful when running on hosts systems without a 32-bit
65+
host C library (i.e. Linux/AArch64):
66+
67+
.. code-block:: shell
68+
69+
west config alias.twister "twister --exclude-platform native_sim/native"

0 commit comments

Comments
 (0)