additional docmentation for freeRTOS task factory
This commit is contained in:
@ -13,10 +13,7 @@ TaskFactory::~TaskFactory() {
|
||||
TaskFactory* TaskFactory::instance() {
|
||||
return TaskFactory::factoryInstance;
|
||||
}
|
||||
/***
|
||||
* Keep in Mind that you need to call before this vTaskStartScheduler()!
|
||||
* High taskPriority_ number means high priority.
|
||||
*/
|
||||
|
||||
PeriodicTaskIF* TaskFactory::createPeriodicTask(TaskName name_,
|
||||
TaskPriority taskPriority_, TaskStackSize stackSize_,
|
||||
TaskPeriod period_,
|
||||
@ -24,7 +21,8 @@ PeriodicTaskIF* TaskFactory::createPeriodicTask(TaskName name_,
|
||||
return (PeriodicTaskIF*) (new PeriodicTask(name_, taskPriority_, stackSize_,
|
||||
period_, deadLineMissedFunction_));
|
||||
}
|
||||
/***
|
||||
|
||||
/**
|
||||
* Keep in Mind that you need to call before this vTaskStartScheduler()!
|
||||
*/
|
||||
FixedTimeslotTaskIF* TaskFactory::createFixedTimeslotTask(TaskName name_,
|
||||
|
@ -1,9 +1,3 @@
|
||||
/**
|
||||
* @file TaskManagement.cpp
|
||||
*
|
||||
* @date 26.02.2020
|
||||
*
|
||||
*/
|
||||
#include <framework/osal/FreeRTOS/TaskManagement.h>
|
||||
|
||||
extern "C" {
|
||||
|
@ -1,12 +1,7 @@
|
||||
/**
|
||||
* @file TaskManagement.h
|
||||
*
|
||||
* @date 26.02.2020
|
||||
*/
|
||||
|
||||
#ifndef FRAMEWORK_OSAL_FREERTOS_TASKMANAGEMENT_H_
|
||||
#define FRAMEWORK_OSAL_FREERTOS_TASKMANAGEMENT_H_
|
||||
|
||||
// maybe this can be part of the TaskFactory.cpp
|
||||
/**
|
||||
* Architecture dependant portmacro.h function call.
|
||||
* Should be implemented in bsp.
|
||||
|
Reference in New Issue
Block a user