Rework structure and configuration

This commit is contained in:
Henrik Stickann
2022-04-09 21:15:27 +02:00
parent aa63b35e05
commit a4a4851704
13 changed files with 289 additions and 210 deletions

View 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