Skip to content
Snippets Groups Projects
Verified Commit 47661f78 authored by swym's avatar swym Committed by rahix
Browse files

fix(epicardium): Increase stack sizes

Closes !20
parent 98cbbbf8
No related branches found
No related tags found
No related merge requests found
Pipeline #1324 passed
......@@ -16,7 +16,7 @@
*
* Heap is managed by libc (heap_3.c).
*/
#define configMINIMAL_STACK_SIZE ((unsigned short)128)
#define configMINIMAL_STACK_SIZE ((unsigned short)256)
/* FIXME: Assign proper priorities to all interrupts */
#define configMAX_PRIORITIES 5
......@@ -74,4 +74,11 @@ void post_idle_sleep(TickType_t xExpectedIdleTime);
#define configPOST_SLEEP_PROCESSING(xExpectedIdleTime) \
post_idle_sleep(xExpectedIdleTime)
/*
* Uncomment to trace FreeRTOS malloc wrapper.
*
*/
// extern int printf (const char *__restrict __format, ...);
// #define traceMALLOC( pvAddress, uiSize ) printf("[%s:%d] %p %d\n", __FILE__, __LINE__, pvAddress, uiSize)
#endif /* FREERTOS_CONFIG_H */
......@@ -77,7 +77,7 @@ int main(void)
if (xTaskCreate(
vApiDispatcher,
(const char *)"API Dispatcher",
configMINIMAL_STACK_SIZE,
configMINIMAL_STACK_SIZE * 16,
NULL,
tskIDLE_PRIORITY + 2,
&dispatcher_task_id) != pdPASS) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment