Skip to content

Commit 5e93683

Browse files
Declan Snydernashif
authored andcommitted
scripts: flash: Add west config for flash skip rebuild
Add a west config option to skip rebuilds by default or not when doing west flash. Also add corresponding symmetrical CLI options. Signed-off-by: Declan Snyder <[email protected]>
1 parent be21359 commit 5e93683

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

doc/develop/west/build-flash-debug.rst

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,22 @@ only the image from this domain::
551551

552552
.. _west-debugging:
553553

554+
Configuration Options
555+
=====================
556+
557+
You can :ref:`configure <west-config-cmd>` ``west flash`` using these options.
558+
559+
.. NOTE: docs authors: keep this table sorted alphabetically
560+
561+
.. list-table::
562+
:widths: 10 30
563+
:header-rows: 1
564+
565+
* - Option
566+
- Description
567+
* - ``flash.rebuild``
568+
- Boolean, default ``true``. If ``false``, do not rebuild on west flash.
569+
554570
Debugging: ``west debug``, ``west debugserver``
555571
***********************************************
556572

@@ -683,6 +699,25 @@ to debug::
683699

684700
.. _west-runner:
685701

702+
Configuration Options
703+
=====================
704+
705+
You can :ref:`configure <west-config-cmd>` ``west debug`` and
706+
:ref:`configure <west-config-cmd>` ``west debugserver`` using these options.
707+
708+
.. NOTE: docs authors: keep this table sorted alphabetically
709+
710+
.. list-table::
711+
:widths: 10 30
712+
:header-rows: 1
713+
714+
* - Option
715+
- Description
716+
* - ``debug.rebuild``
717+
- Boolean, default ``true``. If ``false``, do not rebuild on west debug.
718+
* - ``debugserver.rebuild``
719+
- Boolean, default ``true``. If ``false``, do not rebuild on west debugserver.
720+
686721
Flash and debug runners
687722
***********************
688723

0 commit comments

Comments
 (0)