PartitionError: Conflicting configuration found for pm.yml.libmodem

Hi,

I'm encountering the following error trying to migrate an application from an nrf9160 custom board on nRF SDK v2.9.1 to an nrf9151 board on nRF SDK v3.2.4 

The application used DFU with external flash. 

The build is failing with the following error:

PartitionError: Conflicting configuration found for '/.../build/mcuboot/modules/nrf/subsys/partition_manager/pm.yml.libmodem' value for key 'nrf_modem_lib_trace' differs. val1: {'placement': {'after': ['nrf_modem_lib_rx']}, 'size': 0, 'region': 'sram_primary', 'inside': 'sram_nonsecure'} val2: {'placement': {'after': ['nrf_modem_lib_rx']}, 'size': 16384, 'region': 'sram_primary', 'inside': 'sram_nonsecure'} 

CMake Error at /opt/nordic/ncs/v3.2.4/nrf/cmake/sysbuild/partition_manager.cmake:179 (message):
Partition Manager failed, aborting.

These are the partitions from the working build on sdk v2.9.1

Due to the build failing with sdk v3.2.4 i cant generate the memory report

Any help greatly appreciated. Tim

Related