Hello, I am porting my projects from NCS v2.6.0 to v2.7.0 and I am defaulting my builds with sysbuild enabled.
I have a project that has FLASH enabled but doesn't have any bootloader enabled.
With sysbuild enabled, the build system seems to look for a pm static file, which doesn't exist for this project. So I get this error:
nrf/include/flash_map_pm.h:52:18: error: 'PM_PM_PM_data_storage_ID_LABEL_SIZE' undeclared here (not in a function)
If I disable sysbuild however, the project builds and runs fine.
If I enable sysbuild and provide a pm static file, the project in this case builds with a warning:
nrf/cmake/sysbuild/partition_manager.cmake:166 (message): MCUboot padding partition size is 0x200 but signing uses , please adjust PM_MCUBOOT_PAD value in sysbuild Kconfig to 0x200.
however it doesn't run. This seems to be caused by the fact that the partition map includes a bootloader (mcuboot) partition, which the project doesn't need.
I am thinking of disabling sysbuild for this project but is the behaviour I've described expected?
I am also confused about these following points:
- Can sysbuild run without a pm file? I can see
CONFIG_PARTITION_MANAGER_ENABLED
being enabled whenever I use sysbuild - Can a pm file be defined without bootloaders?
I'd appreciate some help.