rtos2-utils/include/sta/os2/startup.hpp
2022-04-14 15:17:45 +02:00

29 lines
618 B
C++

/**
* @brief Implementation of startup system task.
*
* Configuration:
* STA_OS2_STARTUP_ENABLE: Enable module
* STA_OS2_STARTUP_ENTRY_FUNCTION: Override name of startup 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