## Describe the bug <!-- My device is both client and server, I'd like to create dedicated message buffer for the client and server which are in different threads. My allocation policy is static. When calling erpc_mbf_static_init(), first call always success, and 2nd always fail. By looking at 'erpc_mbf_static_init' function, it use one statically declared 'StaticMessageBufferFactory' object, so it is not possible to init more than one instances. I think for static allocation, it is better to add a configuration #define for maximum number of mbf, e.g. ERPC_NUM_MBFS then the declaration of mbf factory may be like: ERPC_MANUALLY_CONSTRUCTED_ARRAY(StaticMessageBufferFactory, s_msgFactory, ERPC_NUM_MBFS ); -->'e ## To Reproduce <!-- Steps to reproduce the behavior: --> ## Expected behavior <!-- A clear and concise description of what you expected to happen. --> ## Screenshots <!-- If applicable, add screenshots to help explain your problem. --> ## Desktop (please complete the following information) - OS<!--[e.g. iOS]-->: - eRPC Version<!--[e.g. v1.9.0]-->: ## Steps you didn't forgot to do - [ ] I checked if there is no related issue opened/closed. - [ ] I checked that there doesn't exist opened PR which is solving this issue. ## Additional context <!-- Add any other context about the problem here. -->
Describe the bug
'eTo Reproduce
Expected behavior
Screenshots
Desktop (please complete the following information)
Steps you didn't forgot to do
Additional context