Skip to content

Commit 15876bc

Browse files
kkasperczyk-noArekBalysNordic
authored andcommitted
[nrf toup][nrfconnect] Fixed paths to used in the guides
Guides contain path examples referring to the older build system version and they have to be updated. Signed-off-by: Kamil Kasperczyk <kamil.kasperczyk@nordicsemi.no>
1 parent 3047bf1 commit 15876bc

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

config/nrfconnect/chip-module/generate_factory_data_sysbuild.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ function(nrfconnect_generate_factory_data)
222222

223223
sysbuild_get(CONFIG_CHIP_FACTORY_DATA_MERGE_WITH_FIRMWARE IMAGE ${image} VAR CONFIG_CHIP_FACTORY_DATA_MERGE_WITH_FIRMWARE KCONFIG)
224224

225-
if(CONFIG_CHIP_FACTORY_DATA_MERGE_WITH_FIRMWARE)
225+
if(SB_CONFIG_MATTER_FACTORY_DATA_MERGE_WITH_FIRMWARE)
226226
if(SB_CONFIG_PARTITION_MANAGER)
227227
# Set custom target for merging factory_data hex file
228228
set_property(GLOBAL PROPERTY factory_data_PM_HEX_FILE ${OUTPUT_FILE_PATH}/factory_data.hex)

docs/guides/nrfconnect_examples_software_update.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ To test the DFU over Matter, you need to complete the following steps:
4949
5050
4. Run OTA Provider application with _matter.ota_ replaced with the path to the
5151
Matter OTA image which you wish to provide to the Matter device. Note that
52-
the Matter OTA image is, by default, generated at _zephyr/matter.ota_ in the
52+
the Matter OTA image is, by default, generated in the
5353
example's build directory:
5454
5555
```
@@ -180,10 +180,10 @@ Complete the following steps to perform DFU using mcumgr:
180180
that the Bluetooth LE advertising has started. See the user interface
181181
section in the example documentation to check the LED number.
182182
4. Upload the application firmware image to the device by running the following
183-
command in your example directory:
183+
command in your example directory with the <application_name> replaced by your application name, for example `lock`:
184184
185185
```
186-
sudo mcumgr --conntype ble --hci ble-hci-number --connstring peer_name='ble-device-name' image upload build/zephyr/app_update.bin -n 0 -w 1
186+
sudo mcumgr --conntype ble --hci ble-hci-number --connstring peer_name='ble-device-name' image upload build/<application_name>/zephyr/zephyr.signed.bin -n 0 -w 1
187187
```
188188
189189
The operation can take a few minutes. Wait until the progress bar reaches
@@ -246,10 +246,10 @@ Complete the following steps to perform DFU using mcumgr:
246246
go straight to the step 8.
247247
248248
a. Upload the network core firmware image to the device by running the
249-
following command in your example directory:
249+
following command in your example directory with the <network_image_name> replaced by your network image name, for example `ipc_radio`:
250250
251251
```
252-
sudo mcumgr --conntype ble --hci ble-hci-number --connstring peer_name='ble-device-name' image upload build/zephyr/net_core_app_update.bin -n 1 -w 1
252+
sudo mcumgr --conntype ble --hci ble-hci-number --connstring peer_name='ble-device-name' image upload build/signed_by_mcuboot_and_b0_<network_image_name>.bin -n 1 -w 1
253253
```
254254
255255
The operation can take a few minutes. Wait until the progress bar reaches

docs/guides/nrfconnect_factory_data_configuration.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -760,11 +760,11 @@ $ python scripts/tools/nrfconnect/nrfconnect_generate_partition.py -h
760760
**Example of the command for the nRF52840 DK:**
761761
762762
```
763-
$ python scripts/tools/nrfconnect/nrfconnect_generate_partition.py -i build/zephyr/factory_data.json -o build/zephyr/factory_data --offset 0xfb000 --size 0x1000
763+
$ python scripts/tools/nrfconnect/nrfconnect_generate_partition.py -i build/light_bulb/zephyr/factory_data.json -o build/light_bulb/zephyr/factory_data --offset 0xfb000 --size 0x1000
764764
```
765765
766766
As a result, `factory_data.hex` and `factory_data.bin` files are created in the
767-
`/build/zephyr/` directory. The first file contains the memory offset. For this
767+
`/build/light_bulb/zephyr/` directory. The first file contains the memory offset. For this
768768
reason, it can be programmed directly to the device using a programmer (for
769769
example, `nrfjprog`).
770770

0 commit comments

Comments
 (0)