Revision 933df08e modules/PowerManagement_1-1/aosconf.h

View differences:

modules/PowerManagement_1-1/aosconf.h
99 99
#endif
100 100

  
101 101
/**
102
 * @brief   Flag to set the module to be the first in the stack.
103
 * @details There must be only one module with this flag set to true in a system.
104
 */
105
#if !defined(OS_CFG_SSSP_STACK_START)
106
  #define AMIROOS_CFG_SSSP_STACK_START          false
107
#else
108
  #define AMIROOS_CFG_SSSP_STACK_START          OS_CFG_SSSP_STACK_START
109
#endif
110

  
111
/**
112
 * @brief   Flag to set the module to be the last in the stack.
113
 * @details There must be only one module with this flag set to true in a system.
114
 */
115
#if !defined(OS_CFG_SSSP_STACK_END)
116
  #define AMIROOS_CFG_SSSP_STACK_END            false
117
#else
118
  #define AMIROOS_CFG_SSSP_STACK_END            OS_CFG_SSSP_STACK_END
119
#endif
120

  
121
/**
122
 * @brief   Delay time (in microseconds) how long a SSSP signal must be active.
123
 */
124
#if !defined(OS_CFG_SSSP_SIGNALDELAY)
125
  #define AMIROOS_CFG_SSSP_SIGNALDELAY          1000
126
#else
127
  #define AMIROOS_CFG_SSSP_SIGNALDELAY          OS_CFG_SSSP_SIGNALDELAY
128
#endif
129

  
130
/**
102 131
 * @brief   Time boundary for robot wide clock synchronization in microseconds.
103 132
 * @details Whenever the SSSP S (snychronization) signal gets logically deactivated,
104 133
 *          All modules need to align their local uptime to the nearest multiple of this value.
......
121 150
/**
122 151
 * @brief   Shell enable flag.
123 152
 */
124
#if (AMIROOS_CFG_TESTS_ENABLE == false) && !defined(OS_CFG_SHELL_ENABLE)
153
#if (AMIROOS_CFG_TESTS_ENABLE != true) && !defined(OS_CFG_SHELL_ENABLE)
125 154
  #define AMIROOS_CFG_SHELL_ENABLE              true
126 155
#elif (AMIROOS_CFG_TESTS_ENABLE == true)
127 156
  #define AMIROOS_CFG_SHELL_ENABLE              true

Also available in: Unified diff