aboutsummaryrefslogtreecommitdiff
path: root/applications/freertos/main.cpp
diff options
context:
space:
mode:
authorKristofer Jonsson <kristofer.jonsson@arm.com>2021-07-01 22:15:02 +0200
committerKristofer Jonsson <kristofer.jonsson@arm.com>2021-07-01 22:15:02 +0200
commit99f1942c3edd0c3c4bcfd4017b92ccc579de5d17 (patch)
tree4944e97ae12561ee3cb9b130702ab555797a89e5 /applications/freertos/main.cpp
parentcbf1d6dced259afec30d8b3adb8838956a7ecb95 (diff)
downloadethos-u-core-platform-99f1942c3edd0c3c4bcfd4017b92ccc579de5d17.tar.gz
Increased heap and FreeRTOS stack
Tensorflow lite micro has increased the size of the MicroProfiler. As a consequence the FreeRTOS application needs to increase the stack size allocate from the heap. Change-Id: I8e4df44767edaecee27d9571319ef72da5937a3b
Diffstat (limited to 'applications/freertos/main.cpp')
-rw-r--r--applications/freertos/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/freertos/main.cpp b/applications/freertos/main.cpp
index 0010b70..5abcca2 100644
--- a/applications/freertos/main.cpp
+++ b/applications/freertos/main.cpp
@@ -232,7 +232,7 @@ int main() {
// Create inferenceProcess tasks to process the queued jobs
for (int n = 0; n < NUM_INFERENCE_TASKS; n++) {
taskParams[n] = ProcessTaskParams(inferenceProcessQueue, inferenceProcessTensorArena[n], arenaSize);
- ret = xTaskCreate(inferenceProcessTask, "inferenceProcessTask", 3 * 1024, &taskParams[n], 3, nullptr);
+ ret = xTaskCreate(inferenceProcessTask, "inferenceProcessTask", 8 * 1024, &taskParams[n], 3, nullptr);
if (ret != pdPASS) {
printf("FreeRTOS: Failed to create 'inferenceProcessTask%i'\n", n);
exit(1);