mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-12-16 18:08:04 +00:00
Rework structure and configuration
This commit is contained in:
29
include/sta/os2/startup.hpp
Normal file
29
include/sta/os2/startup.hpp
Normal file
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
* @brief Implementation of startup system task.
|
||||
*
|
||||
* Define STA_OS2_STARTUP_ENABLE in <sta/config.hpp> to enable.
|
||||
*
|
||||
* Configuration:
|
||||
* STA_OS2_STARTUP_ENTRY_FUNCTION: Name of task entry function (default: startupTask)
|
||||
*/
|
||||
#ifndef STA_OS2_STARTUP_HPP
|
||||
#define STA_OS2_STARTUP_HPP
|
||||
|
||||
#include <sta/config.hpp>
|
||||
#ifdef STA_OS2_STARTUP_ENABLE
|
||||
|
||||
|
||||
namespace sta
|
||||
{
|
||||
/**
|
||||
* @brief Extra initialization run at start of startup task.
|
||||
*
|
||||
* May be overridden by application if required.
|
||||
*/
|
||||
void startupExtras(void * argument);
|
||||
} // namespace sta
|
||||
|
||||
|
||||
#endif // STA_OS2_STARTUP_ENABLE
|
||||
|
||||
#endif // STA_OS2_STARTUP_HPP
|
||||
Reference in New Issue
Block a user