Seeking Help with Build Errors on Custom nRF52840 Board

I’m currently working on a custom nRF52840 board and have encountered some build errors related to DFU (MCUboot) and file systems. Despite my best efforts, I’m stuck and would greatly appreciate any guidance or insights from the community.The errors I’m facing are related to the flashdisk.c file, specifically around issues with storage class specifications and undeclared identifiers. Here’s a snippet of the error messages:D:/ncs/v2.9.0/zephyr/drivers/disk/flashdisk.c:533:1: error: return type defaults to ‘int’ [-Werror=implicit-int]533 | PM_FOREACH_AFFILIATED_TO_disk(DEFINE_FLASHDISKS_CACHE)I’ve tried various troubleshooting steps, including cleaning the cache, reinstalling the Zigbee binding, and even setting up a new Zigbee network from scratch. However, the issue persists, and the system becomes sluggish, which is quite frustrating.The project involves integrating DFU and FAT FS, which is crucial for my application. I’m determined to resolve this and would be grateful for any suggestions or pointers on how to approach this issue. Perhaps someone has encountered similar problems and could share their solution.Thank you in advance for your time and assistance. I look forward to hearing from you!