Skip to content

Commit d213434

Browse files
nordicjmnvlsianpu
authored andcommitted
doc: nrf: app_dev: bootloaders_dfu: mcuboot_nsib: Update PM usage
Updates partition manager example to reference files from a sample Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 parent 8a8e466 commit d213434

1 file changed

Lines changed: 11 additions & 58 deletions

File tree

doc/nrf/app_dev/bootloaders_dfu/mcuboot_nsib/bootloader_adding_sysbuild.rst

Lines changed: 11 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -373,64 +373,17 @@ To use this mode, you must create a static partition file for the application th
373373
Ensure the firmware loader partition is named ``firmware_loader``.
374374
This partition must be located identically as ``mcuboot_secondary_app`` partition, starting after the image's header offset within ``mcuboot_secondary`` partition.
375375

376-
The following is an example static Partition Manager file for the nRF53 devices:
377-
378-
.. code-block:: yaml
379-
380-
app:
381-
address: 0x10200
382-
region: flash_primary
383-
size: 0xdfe00
384-
mcuboot:
385-
address: 0x0
386-
region: flash_primary
387-
size: 0x10000
388-
mcuboot_pad:
389-
address: 0x10000
390-
region: flash_primary
391-
size: 0x200
392-
mcuboot_primary:
393-
address: 0x10000
394-
orig_span: &id001
395-
- mcuboot_pad
396-
- app
397-
region: flash_primary
398-
size: 0xc0000
399-
span: *id001
400-
mcuboot_primary_app:
401-
address: 0x10200
402-
orig_span: &id002
403-
- app
404-
region: flash_primary
405-
size: 0xbfe00
406-
span: *id002
407-
firmware_loader:
408-
address: 0xd0200
409-
region: flash_primary
410-
size: 0x1fe00
411-
mcuboot_secondary:
412-
address: 0xd0000
413-
orig_span: &id003
414-
- mcuboot_pad
415-
- firmware_loader
416-
region: flash_primary
417-
size: 0x20000
418-
span: *id003
419-
mcuboot_secondary_app:
420-
address: 0xd0200
421-
orig_span: &id004
422-
- firmware_loader
423-
region: flash_primary
424-
size: 0x1fe00
425-
span: *id004
426-
settings_storage:
427-
address: 0xf0000
428-
region: flash_primary
429-
size: 0x10000
430-
pcd_sram:
431-
address: 0x20000000
432-
size: 0x2000
433-
region: sram_primary
376+
The following are example static Partition Manager files:
377+
378+
.. tabs::
379+
380+
.. group-tab:: nRF52840
381+
.. literalinclude:: ../../../../../samples/mcuboot/firmware_loader_entrance/pm_static_nrf52840dk_nrf52840.yml
382+
:language: yaml
383+
384+
.. group-tab:: nRF54L15
385+
.. literalinclude:: ../../../../../samples/mcuboot/firmware_loader_entrance/pm_static_nrf54l15dk_nrf54l15_cpuapp.yml
386+
:language: yaml
434387

435388
The project must also configure MCUboot to operate in firmware loader mode and specify a firmware loader image in the :file:`sysbuild.conf` file.
436389
For example to select ``smp_svr``, set the following options:

0 commit comments

Comments
 (0)