Lines Matching +full:- +full:- +full:recover

1 .. _flashing-soc-board-config:
7 :ref:`west flash<west-flashing>`) which allows for customising how commands are used when
9 configuring when commands are ran for groups of board targets. As an example: a multi-core SoC
10 might want to only allow the ``--erase`` argument to be used once for all of the cores in the SoC
28 ``--reset`` followed by a list which specifies the settings for each of these commands (these
31 runners, otherwise must contain each runner that it applies to using the runner-specific name.
41 An example flashing configuration for a ``soc.yml`` is shown below in which the ``--recover``
46 .. code-block:: yaml
50 '--recover':
51 - run: first
53 - nrfjprog
55 - qualifiers:
56 - nrf5340/cpunet
57 - nrf5340/cpuapp
58 - nrf5340/cpuapp/ns
59 '--reset':
60 - run: last
62 - nrfjprog
63 - jlink
65 - qualifiers:
66 - nrf5340/cpunet
67 - qualifiers:
68 - nrf5340/cpuapp
69 - nrf5340/cpuapp/ns
70 # Made up non-real world example to show how to specify different options for different
72 - run: first
74 - some_other_runner
76 - qualifiers:
77 - nrf5340/cpunet
78 - qualifiers:
79 - nrf5340/cpuapp
80 - nrf5340/cpuapp/ns
85 Commands that are supported by flash runners can be used as normal when flashing non-sysbuild
89 For example, building the :zephyr:code-sample:`smp-svr` sample for the nrf5340dk which will
92 .. code-block:: console
94 …cmake -GNinja -Sshare/sysbuild/ -Bbuild -DBOARD=nrf5340dk/nrf5340/cpuapp -DAPP_DIR=samples/subsys/…
95 cmake --build build
101 .. code-block:: console
103 west flash --recover