From a7df2855889055976956a58d2a36f23626371ee9 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Wed, 23 Nov 2022 17:15:06 +1100 Subject: Mostly done pipeline arch. Now onto cleanup and building. --- src/tasks/CMakeLists.txt | 2 ++ src/tasks/tasks.cpp | 4 ++++ src/tasks/tasks.hpp | 6 ++++++ 3 files changed, 12 insertions(+) create mode 100644 src/tasks/CMakeLists.txt create mode 100644 src/tasks/tasks.cpp create mode 100644 src/tasks/tasks.hpp (limited to 'src/tasks') diff --git a/src/tasks/CMakeLists.txt b/src/tasks/CMakeLists.txt new file mode 100644 index 00000000..0503d293 --- /dev/null +++ b/src/tasks/CMakeLists.txt @@ -0,0 +1,2 @@ +idf_component_register(SRCS "tasks.cpp" INCLUDE_DIRS ".") +target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS}) diff --git a/src/tasks/tasks.cpp b/src/tasks/tasks.cpp new file mode 100644 index 00000000..34100353 --- /dev/null +++ b/src/tasks/tasks.cpp @@ -0,0 +1,4 @@ +#include "tasks.cpp" + +static const UBaseType_t kTaskPriorityLvgl = 4; +static const UBaseType_t kTaskPriorityAudio = 5; diff --git a/src/tasks/tasks.hpp b/src/tasks/tasks.hpp new file mode 100644 index 00000000..24f8509a --- /dev/null +++ b/src/tasks/tasks.hpp @@ -0,0 +1,6 @@ +#pragma once + +#include "freertos/portmacro.h" + +extern const UBaseType_t kTaskPriorityLvgl; +extern const UBaseType_t kTaskPriorityAudio; -- cgit v1.2.3