2020-10-29 09:27:17 +03:00
|
|
|
#pragma once
|
|
|
|
#include "main.h"
|
2020-10-29 10:58:19 +03:00
|
|
|
#include <cmsis_os.h>
|
2020-10-29 09:27:17 +03:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
2020-11-14 19:24:38 +03:00
|
|
|
// Task stack size in bytes
|
|
|
|
#define DEFAULT_STACK_SIZE 2048
|
|
|
|
|
|
|
|
// Max system tasks count
|
|
|
|
#define MAX_TASK_COUNT 10
|
|
|
|
|
2020-10-29 10:58:19 +03:00
|
|
|
bool task_equal(TaskHandle_t a, TaskHandle_t b);
|
|
|
|
bool task_is_isr_context(void);
|