diff options
| author | jacqueline <me@jacqueline.id.au> | 2022-11-23 17:15:06 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2022-11-23 17:15:06 +1100 |
| commit | a7df2855889055976956a58d2a36f23626371ee9 (patch) | |
| tree | 16e180e57f84474acaeb1893208cc07e278af6f4 /src/tasks | |
| parent | dfa9ab6e04689b99267092e016a91d9254f94cd8 (diff) | |
| download | tangara-fw-a7df2855889055976956a58d2a36f23626371ee9.tar.gz | |
Mostly done pipeline arch. Now onto cleanup and building.
Diffstat (limited to 'src/tasks')
| -rw-r--r-- | src/tasks/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/tasks/tasks.cpp | 4 | ||||
| -rw-r--r-- | src/tasks/tasks.hpp | 6 |
3 files changed, 12 insertions, 0 deletions
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; |
