You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/nrf/app_dev/device_guides/nrf70/fw_patches_ext_flash.rst
+9-23Lines changed: 9 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,11 @@ In this case the upload of the firmware patch from the external memory to the nR
80
80
1. The firmware patch is loaded from the external memory onto internal RAM.
81
81
#. The firmware patch is uploaded to the nRF70 device.
82
82
83
-
This feature can be enabled using DTS or the :ref:`app_build_snippets` feature, or by using :ref:`partition_manager`.
83
+
You can enable this feature using the :ref:`app_build_snippets` feature.
84
+
85
+
.. note::
86
+
87
+
Storing the nRF70 firmware patches in external RAM memory requires the partition manager to be enabled.
84
88
85
89
Configuration
86
90
-------------
@@ -91,24 +95,7 @@ The following configuration options are available:
91
95
* :kconfig:option:`CONFIG_NRF_WIFI_FW_FLASH_CHUNK_SIZE` - Defines the size of the chunks used to read the firmware patches from the external non-XIP memory.
92
96
The default value is 8192 bytes.
93
97
94
-
The external memory partition name must be defined in the devicetree or in the partition manager configuration file.
95
-
96
-
* ``nrf70_fw_partition`` - Defines the name of the external memory partition that stores the firmware patches.
97
-
This must be defined in the devicetree, for example:
98
-
99
-
.. code-block:: dts
100
-
101
-
&flash0 {
102
-
partitions {
103
-
compatible = "fixed-partitions";
104
-
#address-cells = <1>;
105
-
#size-cells = <1>;
106
-
nrf70_fw_partition: partition@0 {
107
-
label = "nrf70_fw_partition";
108
-
reg = <0x00000000 DT_SIZE_K(128)>;
109
-
};
110
-
};
111
-
};
98
+
You must define the external memory partition name in the Partition Manager configuration file as follows:
112
99
113
100
* ``nrf70_wifi_fw`` - Defines the name of the external memory partition that stores the firmware patches.
114
101
This must be defined in the partition manager configuration file, for example:
@@ -126,8 +113,7 @@ Building
126
113
127
114
See :ref:`nrf7002dk_nrf5340` for general instructions on building.
128
115
129
-
Additionally, you can build the sample either with the ``nrf70-fw-patch-ext-flash`` snippet or with Partition Manager (``SB_CONFIG_PARTITION_MANAGER``).
130
-
When using the ``nrf70-fw-patch-ext-flash`` snippet, set ``SB_CONFIG_WIFI_PATCHES_EXT_FLASH_STORE``, and disable ``SB_CONFIG_PARTITION_MANAGER``.
116
+
Additionally, you can build the sample using the ``nrf70-fw-patch-ext-flash`` snippet and set the ``SB_CONFIG_WIFI_PATCHES_EXT_FLASH_STORE=y`` Kconfig option.
131
117
132
118
For example, to build the :ref:`wifi_shell_sample` sample for the nRF5340 DK with the ``nrf70-fw-patch-ext-flash`` snippet enabled, run the following commands.
0 commit comments