1
0
forked from fsfw/fsfw

using newer bin semaph create call.

architecture dependant function call is external now and shall
be implemented by developer
This commit is contained in:
2020-04-23 17:54:41 +02:00
parent 44d4678089
commit 1415cd2339
4 changed files with 32 additions and 23 deletions

View File

@ -7,6 +7,12 @@
#ifndef FRAMEWORK_OSAL_FREERTOS_TASKMANAGEMENT_H_
#define FRAMEWORK_OSAL_FREERTOS_TASKMANAGEMENT_H_
/**
* Architecture dependant portmacro.h function call.
* Should be implemented in bsp.
*/
extern "C" void requestContextSwitchFromISR();
/*!
* Used by functions to tell if they are being called from
* within an ISR or from a regular task. This is required because FreeRTOS
@ -18,6 +24,7 @@ enum CallContext {
isr = 0xFF //!< isr_context
};
class TaskManagement {
public:
/**