Where is it documented which services are required by other services/peripherals?

Hello,

I am setting up a board configuration for my custom board and trying to get a bluetooth sample (heart rate profile) to compile using the board configuration.

I have run into a lot of issues with IPC and MBUS. They both have to be enabled and configured or else it tries to compile them anyway and I get this message:

/home/lagomankor/ncs/v2.9.0/zephyr/include/zephyr/ipc/ipc_rpmsg.h:26:25: error: 'CONFIG_IPC_SERVICE_BACKEND_RPMSG_NUM_ENDPOINTS_PER_INSTANCE' undeclared here (not in a function)
   26 | #define NUM_ENDPOINTS   CONFIG_IPC_SERVICE_BACKEND_RPMSG_NUM_ENDPOINTS_PER_INSTANCE
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/lagomankor/ncs/v2.9.0/zephyr/include/zephyr/ipc/ipc_rpmsg.h:26:25: note: in definition of macro 'NUM_ENDPOINTS'
   26 | #define NUM_ENDPOINTS   CONFIG_IPC_SERVICE_BACKEND_RPMSG_NUM_ENDPOINTS_PER_INSTANCE

Is there any way to view a dependency tree, or anywhere that dependencies are specified in the documentation so I can find out where specific services are being required by others so I can evaluate whether they are needed or not? Right now I seem to have to enable a ton of things that I won't necessarily use compared to the nrf5340-dk board files that I am working off of.

Related