When building the bt mesh sensor samples for two different boards (nRF52840DK and nRF52840 Dongle) the flash partitions for the dongle should be modified (see issue 302184 ). According to Configuring static partitions this should be possible by adding a pm_static_<board>.yml file for boards with special requirements. I thus tried to do this for the dongle variant:
pm_static_pca10059.yml
pm_static_PCA10059.yml
None of these seems to be picked up by the build system as the resulting partitions.yml doesn't reflect the modifications. Partition changes in a pm_static.yml file is picked up properly, but this is awkward since it will affect both boards.
Any suggestions on how to set this up to get the correct partitioning automatically selected?
Windows 10
Visual studio code with nRF connect for VS Code v2023.1.44
nRF Connect SDK v2.2.99-dev3
nRF Connect Toolchain v2.2.99-dev3
zephyr v 3.2.99
nRF52840 DK v3.0.0 2022.34
nRF52840 Dongle v2.1.1 2022.37