mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-06-10 18:15:59 +00:00
Added configuration helper
This commit is contained in:
parent
a4a4851704
commit
2a2a13a2d1
20
include/sta/os2/easy_config.hpp
Normal file
20
include/sta/os2/easy_config.hpp
Normal file
@ -0,0 +1,20 @@
|
||||
/**
|
||||
* @brief Helper for easy system task setup in <sta/config.hpp>.
|
||||
*
|
||||
* Define STA_OS2_SYSTEM_TASKS_ENABLE before including this header
|
||||
* to enable all system tasks and required features.
|
||||
*/
|
||||
#ifndef STA_OS2_EASY_CONFIG_HPP
|
||||
#define STA_OS2_EASY_CONFIG_HPP
|
||||
|
||||
|
||||
#ifdef STA_OS2_SYSTEM_TASKS_ENABLE
|
||||
// Enable system events used by system tasks
|
||||
# define STA_OS2_SYSTEM_EVENT_ENABLE
|
||||
// Enable system tasks
|
||||
# define STA_OS2_WATCHDOG_ENABLE
|
||||
# define STA_OS2_STARTUP_ENABLE
|
||||
#endif // STA_OS2_SYSTEM_TASKS_ENABLE
|
||||
|
||||
|
||||
#endif // STA_OS2_EASY_CONFIG_HPP
|
Loading…
x
Reference in New Issue
Block a user