ncs_add_partition_manager_config not working

ncs_add_partition_manager_config does not appear to be working.  I am using ncs 2.1.0 and doing a build with MCUboot.  Am I doing something wrong below?

I am using the following in a CMakeLists.txt to add a region to use for storage:

message("adding wynd_storage via pm.yml.storage")
ncs_add_partition_manager_config(pm.yml.storage)

The pm.yml.storage file containss:

wynd_storage:
  size: 0x10000
  placement:
    before: end

When I build I see the message "adding wynd_storage via pm.yml.storage", so it appears ncs_add_partition_manager_config(pm.yml.storage) is executed.  However, I don't see wynd_storage in the ninja partition_manager_report:

flash_primary (0x100000 - 1024kB):
+-------------------------------------------------+
| 0x0: mcuboot (0xc000 - 48kB) |
+---0xc000: mcuboot_primary (0x7a000 - 488kB)-----+
| 0xc000: mcuboot_pad (0x200 - 512B) |
+---0xc200: mcuboot_primary_app (0x79e00 - 487kB)-+
| 0xc200: app (0x79e00 - 487kB) |
+-------------------------------------------------+
| 0x86000: mcuboot_secondary (0x7a000 - 488kB) |
+-------------------------------------------------+

sram_primary (0x40000 - 256kB):
+--------------------------------------------+
| 0x20000000: sram_primary (0x40000 - 256kB) |
+--------------------------------------------+

Parents Reply Children
No Data
Related