Broadcast_audio_sink does not generate default partiton.yml files when mcuboot is enabled

I tried adding DFU capability to the broadcast_audio_sink sample. At first i copied the whole sample code to a different directory and opened that folder in VSCode which has a the nrf connect sdk 2.7.0 set up.

To enable DFU in the sample i added:

sysbuild.conf

SB_CONFIG_BOOTLOADER_MCUBOOT=y

prj.conf

CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU=y

This seems to work but completly ignores the pm_static.yml file present in the same folder. I also added the required cmake entry. The resulting build folder does not contain any files for partitioning or dfu. Also the partition that gets automatically chosen for the app is only 256kb in size for some reason.

Doing the same using the nrf peripheral_lbs sample works as documented and the partition.yml and dfu_* files are being generated as expected. 

What could be the issue here? Is it as simple as zephyr samples are not expected to simply work the same as nrf samples using these config parameters?

Edit: If i am not mistaken i can narrow down the issue to the options selected in the Kconfig.sysbuild. If i use the file from the lbs sample in the audio_sink the files are being generated as expected.

Parents Reply Children
No Data
Related