Hi everyone,
I'm encountering an issue with MCUboot on NCS 2.7.0 and my custom board based on the nRF52840. The bootloader was functioning correctly with NCS 2.4.0, but now I'm unable to build due to the following error:
```
phyr-eabi/bin/ld.bfd.exe: modules/nrf/drivers/mpsl/flash_sync/lib..__nrf__drivers__mpsl__flash_sync.a(flash_sync_mpsl.c.obj): in function `k_sem_reset': F:/ncs/htrace-firmwares/firmware-bt840/CB2/mcuboot/zephyr/include/generated/syscalls/kernel.h:1137: undefined reference to `z_impl_k_sem_reset'
```
I've created a `mcuboot.conf` file and tried adding `CONFIG_LOG_MODE_MINIMAL=y`, but the error persists.
When I add `CONFIG_MULTITHREADING=y`, I can successfully build, but then I run out of flash space.
Has anyone encountered this issue or can offer any suggestions? Your help would be greatly appreciated.