@@ -149,13 +149,13 @@ int RPCClass::begin(long unsigned int np, uint16_t nd) {
149149 // Ideally this should execute only once
150150 disableCM4Autoboot ();
151151
152- eventThread = new rtos::Thread (osPriorityHigh);
152+ eventThread = new rtos::Thread (osPriorityHigh, 4096 );
153153 eventThread->start (&eventHandler);
154154
155- dispatcherThread = new rtos::Thread (osPriorityNormal);
155+ dispatcherThread = new rtos::Thread (osPriorityNormal, 4096 );
156156 dispatcherThread->start (mbed::callback (this , &RPCClass::dispatch));
157157
158- responseThread = new rtos::Thread (osPriorityNormal);
158+ responseThread = new rtos::Thread (osPriorityNormal, 4096 );
159159 responseThread->start (mbed::callback (this , &RPCClass::response));
160160
161161 /* Initialize OpenAmp and libmetal libraries */
@@ -196,13 +196,13 @@ int RPCClass::begin(long unsigned int np, uint16_t nd) {
196196
197197int RPCClass::begin (long unsigned int np, uint16_t nd) {
198198
199- eventThread = new rtos::Thread (osPriorityHigh);
199+ eventThread = new rtos::Thread (osPriorityHigh, 4096 );
200200 eventThread->start (&eventHandler);
201201
202- dispatcherThread = new rtos::Thread (osPriorityNormal);
202+ dispatcherThread = new rtos::Thread (osPriorityNormal, 4096 );
203203 dispatcherThread->start (mbed::callback (this , &RPCClass::dispatch));
204204
205- responseThread = new rtos::Thread (osPriorityNormal);
205+ responseThread = new rtos::Thread (osPriorityNormal, 4096 );
206206 responseThread->start (mbed::callback (this , &RPCClass::response));
207207
208208 /* Initialize OpenAmp and libmetal libraries */
0 commit comments