Skip to content

Commit 2cb7a3a

Browse files
krish2718nordicjm
authored andcommitted
doc: nrf70: ext_flash: Update instructions
Now that the snippets support sysbuild, no extra SB configs are needed in the command line. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent a096952 commit 2cb7a3a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doc/nrf/app_dev/device_guides/nrf70/fw_patches_ext_flash.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,14 @@ With west
120120

121121
.. code-block:: console
122122
123-
west build -p -b nrf5340dk/nrf5340/cpuapp samples/wifi/shell -- -Dnrf_wifi_shell_SHIELD=nrf7002ek -Dnrf_wifi_shell_SNIPPET="nrf70-fw-patch-ext-flash" -DSB_CONFIG_WIFI_PATCHES_EXT_FLASH_STORE=y
123+
west build -p -b nrf5340dk/nrf5340/cpuapp samples/wifi/shell -- -Dnrf_wifi_shell_SHIELD=nrf7002ek -Dnrf_wifi_shell_SNIPPET="nrf70-fw-patch-ext-flash"
124124
125125
With CMake
126126
^^^^^^^^^^
127127

128128
.. code-block:: console
129129
130-
cmake -GNinja -Bbuild -DBOARD=nrf5340dk/nrf5340/cpuapp -Dnrf_wifi_shell_SHIELD=nrf7002ek -Dnrf_wifi_shell_SNIPPET="nrf70-fw-patch-ext-flash" -DSB_CONFIG_WIFI_PATCHES_EXT_FLASH_STORE=y samples/wifi/shell
130+
cmake -GNinja -Bbuild -DBOARD=nrf5340dk/nrf5340/cpuapp -Dnrf_wifi_shell_SHIELD=nrf7002ek -Dnrf_wifi_shell_SNIPPET="nrf70-fw-patch-ext-flash"
131131
ninja -C build
132132
133133
For example, to build the :ref:`wifi_shell_sample` sample for the nRF5340 DK with partition manager enabled, run the following commands:
@@ -137,14 +137,15 @@ With west
137137

138138
.. code-block:: console
139139
140-
west build -p -b nrf5340dk/nrf5340/cpuapp samples/wifi/shell -- -Dnrf_wifi_shell_SHIELD=nrf7002ek -DSB_CONFIG_WIFI_PATCHES_EXT_FLASH_STORE=y
140+
west build -p -b nrf5340dk/nrf5340/cpuapp samples/wifi/shell -- -Dnrf_wifi_shell_SHIELD=nrf7002ek --snippet=nrf70-fw-patch-ext-flash
141141
142142
With CMake
143143
^^^^^^^^^^
144144

145145
.. code-block:: console
146146
147-
cmake -GNinja -Bbuild -DBOARD=nrf5340dk/nrf5340/cpuapp -Dnrf_wifi_shell_SHIELD=nrf7002ek -DSB_CONFIG_WIFI_PATCHES_EXT_FLASH_STORE=y samples/wifi/shell
147+
cmake -GNinja -Bbuild -DBOARD=nrf5340dk/nrf5340/cpuapp -Dnrf_wifi_shell_SHIELD=nrf7002ek --snippet=nrf70-fw-patch-ext-flash
148+
samples/wifi/shell
148149
ninja -C build
149150
150151
Programming

0 commit comments

Comments
 (0)