mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 09:49:32 +02:00
21 lines
550 B
C
21 lines
550 B
C
#ifndef _FREERTOS_H_
|
|
#define _FREERTOS_H_
|
|
|
|
#include "task.h"
|
|
|
|
#include <stdint.h>
|
|
|
|
typedef int BaseType_t;
|
|
typedef unsigned int UBaseType_t;
|
|
|
|
const BaseType_t tskNO_AFFINITY = -1;
|
|
|
|
extern "C" {
|
|
BaseType_t xTaskCreatePinnedToCore(TaskFunction_t pxTaskCode, const char* const pcName, const uint32_t ulStackDepth,
|
|
void* const pvParameters, UBaseType_t uxPriority, TaskHandle_t* const pxCreatedTask,
|
|
const BaseType_t xCoreID);
|
|
|
|
void vTaskDelete(TaskHandle_t xTaskToDelete);
|
|
}
|
|
|
|
#endif
|