Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Haun
firmware
Commits
47661f78
Verified
Commit
47661f78
authored
Jul 18, 2019
by
swym
Committed by
Rahix
Jul 19, 2019
Browse files
fix(epicardium): Increase stack sizes
Closes !20
parent
98cbbbf8
Changes
2
Hide whitespace changes
Inline
Side-by-side
epicardium/FreeRTOSConfig.h
View file @
47661f78
...
...
@@ -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 */
epicardium/main.c
View file @
47661f78
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment