I'm looking for a correct way to define partitions for my app + mcuboot. Here and there Nordic says that when using MCUboot, the partition manager is used instead of device tree for partitions. Even nRF Connect extension for VS Code says that.
But that's not really true. The build process still looks for partitions in device tree. If you remove boot partition from DT you get following error:
And if you remove slot partition then you get this:
So how am I supposed to configure partitions? Forget about partition manager and use device tree? I thought partitions in DT are deprecated? If yes then why are they still used and why Nordic still defines partitions in DTS files for their boards (e.g. nrf54l15dk_nrf54l15_cpuapp.dts)? Is it related to sysbuild? Or I need to use a mix of DT and PM?