diff --git a/src/include/ipc/header.h b/src/include/ipc/header.h index 978e1d2080fc..d8d030f17216 100644 --- a/src/include/ipc/header.h +++ b/src/include/ipc/header.h @@ -331,6 +331,8 @@ struct ipc_cmd_hdr; /** Maximum message size for mailbox Tx/Rx */ #if CONFIG_IPC_MAJOR_4 #define SOF_IPC_MSG_MAX_SIZE 0x1000 +#elif CONFIG_LIBRARY_STATIC || UNIT_TEST +#define SOF_IPC_MSG_MAX_SIZE 0x2000 #else #define SOF_IPC_MSG_MAX_SIZE 384 #endif