@@ -149,13 +149,13 @@ int RPCClass::begin(long unsigned int np, uint16_t nd) {
149
149
// Ideally this should execute only once
150
150
disableCM4Autoboot ();
151
151
152
- eventThread = new rtos::Thread (osPriorityHigh);
152
+ eventThread = new rtos::Thread (osPriorityHigh, 4096 );
153
153
eventThread->start (&eventHandler);
154
154
155
- dispatcherThread = new rtos::Thread (osPriorityNormal);
155
+ dispatcherThread = new rtos::Thread (osPriorityNormal, 4096 );
156
156
dispatcherThread->start (mbed::callback (this , &RPCClass::dispatch));
157
157
158
- responseThread = new rtos::Thread (osPriorityNormal);
158
+ responseThread = new rtos::Thread (osPriorityNormal, 4096 );
159
159
responseThread->start (mbed::callback (this , &RPCClass::response));
160
160
161
161
/* Initialize OpenAmp and libmetal libraries */
@@ -196,13 +196,13 @@ int RPCClass::begin(long unsigned int np, uint16_t nd) {
196
196
197
197
int RPCClass::begin (long unsigned int np, uint16_t nd) {
198
198
199
- eventThread = new rtos::Thread (osPriorityHigh);
199
+ eventThread = new rtos::Thread (osPriorityHigh, 4096 );
200
200
eventThread->start (&eventHandler);
201
201
202
- dispatcherThread = new rtos::Thread (osPriorityNormal);
202
+ dispatcherThread = new rtos::Thread (osPriorityNormal, 4096 );
203
203
dispatcherThread->start (mbed::callback (this , &RPCClass::dispatch));
204
204
205
- responseThread = new rtos::Thread (osPriorityNormal);
205
+ responseThread = new rtos::Thread (osPriorityNormal, 4096 );
206
206
responseThread->start (mbed::callback (this , &RPCClass::response));
207
207
208
208
/* Initialize OpenAmp and libmetal libraries */
0 commit comments