Revision 1678f270 modules/PowerManagement_1-1/aosconf.h
| modules/PowerManagement_1-1/aosconf.h | ||
|---|---|---|
| 1 | 1 |
/* |
| 2 | 2 |
AMiRo-OS is an operating system designed for the Autonomous Mini Robot (AMiRo) platform. |
| 3 |
Copyright (C) 2016..2018 Thomas Schöpping et al.
|
|
| 3 |
Copyright (C) 2016..2019 Thomas Schöpping et al.
|
|
| 4 | 4 |
|
| 5 | 5 |
This program is free software: you can redistribute it and/or modify |
| 6 | 6 |
it under the terms of the GNU General Public License as published by |
| ... | ... | |
| 17 | 17 |
*/ |
| 18 | 18 |
|
| 19 | 19 |
/** |
| 20 |
* @file
|
|
| 20 |
* @file |
|
| 21 | 21 |
* @brief AMiRo-OS Configuration file for the PowerManagement v1.1 module. |
| 22 | 22 |
* @details Contains the application specific AMiRo-OS settings. |
| 23 | 23 |
* |
| ... | ... | |
| 79 | 79 |
#endif |
| 80 | 80 |
|
| 81 | 81 |
/** |
| 82 |
* @brief Mask for the control thread to listen to certain IO events. |
|
| 83 |
* @note Any mandatory events (e.g. for SSSP) are enabled implicitely despite this configuration. |
|
| 84 |
*/ |
|
| 85 |
#if !defined(OS_CFG_MAIN_LOOP_IOEVENT_MASK) |
|
| 86 |
#define AMIROOS_CFG_MAIN_LOOP_IOEVENT_MASK 0 |
|
| 87 |
#else |
|
| 88 |
#define AMIROOS_CFG_MAIN_LOOP_IOEVENT_MASK OS_CFG_MAIN_LOOP_IOEVENT_MASK |
|
| 89 |
#endif |
|
| 90 |
|
|
| 91 |
/** |
|
| 82 | 92 |
* @brief Timeout value when waiting for events in the main loop in microseconds. |
| 83 | 93 |
* @details A value of 0 deactivates the timeout. |
| 84 | 94 |
*/ |
| ... | ... | |
| 101 | 111 |
* @brief Flag to enable SSSP. |
| 102 | 112 |
*/ |
| 103 | 113 |
#if !defined(OS_CFG_SSSP_ENABLE) |
| 104 |
#define AMIROOS_CFG_SSSP_ENABLE false
|
|
| 114 |
#define AMIROOS_CFG_SSSP_ENABLE true
|
|
| 105 | 115 |
#else |
| 106 | 116 |
#define AMIROOS_CFG_SSSP_ENABLE OS_CFG_SSSP_ENABLE |
| 107 | 117 |
#endif |
Also available in: Unified diff