NCS v3.4.0 (DTS-based partitioning): How to place MCUboot secondary slot in external flash without Partition Manager?

Hi,

I am using NCS v3.4.0 with the following setup:

  • Board: nrf7002dk/nrf5340/cpuapp/ns
  • SDK version: NCS v3.4.0

I have two related questions:


Issue 1: MCUboot secondary slot in external flash without Partition Manager

Since NCS v3.4.0 deprecates Partition Manager in favor of DTS-based partitioning, I am trying to migrate my project accordingly.

However, I need to place the MCUboot secondary slot in external flash, and the Kconfig option SB_CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=y depends on PARTITION_MANAGER, so it cannot be used without Partition Manager:

SB_CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY was assigned the value y, but got the value n. Missing dependencies: PARTITION_MANAGER

Could you please tell me how to place the MCUboot secondary slot in external flash using DTS-based partitioning instead of Partition Manager?


Issue 2: Memory Report Partitions tab missing in VS Code

Since migrating to DTS-based partitioning in NCS v3.4.0, the Partitions tab is no longer shown in the nRF Connect for VS Code Memory Report.

I have confirmed that:

  • partitions.yml is not generated in the build directory
  • Running west build -t partition_manager_report results in:
    ninja: error: unknown target 'partition_manager_report'

This confirms that Partition Manager is completely disabled in my project. Is the Partitions tab in Memory Report planned to be updated to support DTS-based partitioning?


Thank you!

Related