unleashed-firmware/firmware/targets/f4/api-hal/api-hal-task.h
coreglitch c1c069e95f
F2 F3 deprecate (#267)
* move f3-1 to f4, remove f3
* remove f2
* remove firmware F3 for pipeline
* remove patch for F4 makefile
* fix fw makefile
* migrate bootloader to f4
2020-12-14 19:36:07 +03:00

13 lines
270 B
C

#pragma once
#include "main.h"
#include <cmsis_os.h>
#include <stdbool.h>
// Task stack size in bytes
#define DEFAULT_STACK_SIZE 4096
// Max system tasks count
#define MAX_TASK_COUNT 14
bool task_equal(TaskHandle_t a, TaskHandle_t b);
bool task_is_isr_context(void);