ipc_service: Automatically include source files for backends
The purpose of this change is to allow to enable more than one backend at once by removing choice from ipc-service backend Kconfig and depending backend Kconfig option on existing of correct compatible. Overwriting IPC_SERVICE_BACKEND option in some places is removes as no longer needed. Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>
This commit is contained in:
parent
5d18f93561
commit
d877e1dded
5 changed files with 19 additions and 34 deletions
|
@ -22,7 +22,7 @@ extern "C" {
|
|||
*/
|
||||
|
||||
/** Number of endpoints. */
|
||||
#define NUM_ENDPOINTS CONFIG_IPC_SERVICE_NUM_ENDPOINTS_PER_INSTANCE
|
||||
#define NUM_ENDPOINTS CONFIG_IPC_SERVICE_BACKEND_RPMSG_NUM_ENDPOINTS_PER_INSTANCE
|
||||
|
||||
struct ipc_rpmsg_ept;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue