femtoos_headers/femtoos_check.h

Go to the documentation of this file.
00001 /*
00002  * Femto OS v 0.91 - Copyright (C) 2008-2009 Ruud Vlaming
00003  *
00004  * This file is part of the Femto OS distribution.
00005  *
00006  * This program is free software: you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation, version 3 of the License.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00017  *
00018  * Please note that, due to the GPLv3 license, for application of this
00019  * work and/or combined work in embedded systems special obligations apply.
00020  * If these are not to you liking, please know the Femto OS is dual
00021  * licensed. A commercial license and support are available.
00022  * See http://www.femtoos.org/ for details.
00023  */
00024 
00025 #ifndef FEMTOOS_CHECK_H
00026 #define FEMTOOS_CHECK_H
00027 
00028 /* This file checks the data in you config file as far as checking is
00029  * reasonably possible by preprocessor means. It prevents that typos
00030  * in the configuration lead to unexpected behavior for example.
00031  * If you get an compile error in this file you most certainly made
00032  * a mistake in your configuration file.
00033  */
00034 
00035 #define  cfgMaxSysRegisterCheckByte                 0xFF
00036 #define  cfgMaxSysClockDivider                      0xFFFF
00037 #define  cfgMaxSysSubTicksPerFullTick               0xFFFF
00038 #define  cfgMaxSysSubTickDivider                    0xFFFF
00039 #define  cfgMaxSysFsStorageSpace                    0xFFFF
00040 #define  cfgMaxNumberOfTasks                        16
00041 #define  cfgMaxNumberOfQueus                        15
00042 #define  cfgMaxNumWatchdogDiv                       8
00043 #define  cfgMaxNumMonitorDiv                        8
00044 #define  cfgMaxNumSleepThreshold                    100000
00045 #define  cfgMaxNumSleepPeriod                       100000
00046 #define  cfgMaxNumGlobWidth                         8
00047 #define  cfgMaxNumSwitchWidth                       8
00048 #define  cfgMaxNumTickWidth                         8
00049 #define  MaxCapabilities_Task                       cfgCapAll
00050 #define  MaxStackSafety                             0xFF
00051 #define  MaxStackSizeOS                             0xFF
00052 #define  MaxStackSizeISR                            0x7FFF
00053 #define  MaxStackSize_Task                          0x7FFF
00054 #define  MaxTimeSliceIdleTime                       0xFF
00055 #define  MaxTimeSlice_Task                          0xFF
00056 #define  MaxPriority_Task                           7
00057 #define  MaxRegisterUse_Task                        registersAll
00058 #define  MaxRegisterCheck_Task                      registersAll
00059 #define  MaxQueuSize                                127
00060 #define  MaxFileSpace_Task                          (cfgSysFsStorageSpace)
00061 #define  MaxLevelsWidth                             8
00062 
00063 #define  cfgMinSysRegisterCheckByte                 0x00
00064 #define  cfgMinSysClockDivider                      1
00065 #define  cfgMinSysSubTicksPerFullTick               1
00066 #define  cfgMinSysSubTickDivider                    1
00067 #define  cfgMinSysFsStorageSpace                    0
00068 #define  cfgMinNumberOfTasks                        0
00069 #define  cfgMinNumberOfQueus                        0
00070 #define  cfgMinNumWatchdogDiv                       0
00071 #define  cfgMinNumMonitorDiv                        0
00072 #define  cfgMinNumSleepThreshold                    0
00073 #define  cfgMinNumSleepPeriod                       0
00074 #define  cfgMinNumGlobWidth                         0
00075 #define  cfgMinNumSwitchWidth                       0
00076 #define  cfgMinNumTickWidth                         0
00077 #define  MinCapabilities_Task                       cfgCapNon
00078 #define  MinStackSafety                             0
00079 #define  MinStackSizeOS                             (3*(defAddressSize))
00080 #define  MinStackSizeISR                            0
00081 #define  MinTimeSliceIdleTime                       1
00082 #define  MinStackSize_Task                          (2*(defAddressSize))
00083 #define  MinTimeSlice_Task                          1
00084 #define  MinPriority_Task                           0
00085 #define  MinRegisterUse_Task                        registersNon
00086 #define  MinRegisterCheck_Task                      registersNon
00087 #define  MinQueuSize                                0
00088 #define  MinFileSpace_Task                          0
00089 
00090 #define  NullSlotSize_Task                          0
00091 
00092 #if   (cfgUseSynchronization == cfgSyncSingleSlot)
00093   #define  MinSlotSize_Task                         1
00094   #define  MaxSlotSize_Task                         1
00095 #elif (cfgUseSynchronization == cfgSyncSingleBlock)
00096   #define  MinSlotSize_Task                         2
00097   #define  MaxSlotSize_Task                         14
00098 #elif (cfgUseSynchronization == cfgSyncDoubleBlock)
00099   #define  MinSlotSize_Task                         4
00100   #define  MaxSlotSize_Task                         14
00101 #elif (cfgUseSynchronization == cfgSyncNon)
00102   #define  MinSlotSize_Task                         1
00103   #define  MaxSlotSize_Task                         14
00104 #elif
00105   /* You should not come here, if you do cfgUseSynchronization is misspelled. */
00106   #define  MinSlotSize_Task                         1
00107   #define  MaxSlotSize_Task                         14
00108 #endif
00109 
00110 #if !defined(PriorityOverride) || ((PriorityOverride) == cfgOverrideNon)
00111   #define ConcatPriority(X)        (Priority_ ## X)
00112   #define Priority(X)              ConcatPriority(X)
00113 #else
00114   #define Priority(X)              (PriorityOverride)
00115 #endif
00116 
00117 #if !defined(RegisterUseOverride) || ((RegisterUseOverride) == cfgOverrideNon)
00118   #define ConcatRegisterUse(X)     (RegisterUse_ ## X)
00119   #define RegisterUse(X)           ConcatRegisterUse(X)
00120 #else
00121   #define RegisterUse(X)           (RegisterUseOverride)
00122 #endif
00123 
00124 #if !defined(RegisterCheckOverride) || ((RegisterCheckOverride) == cfgOverrideNon)
00125   #define ConcatRegisterCheck(X)   (RegisterCheck_ ## X)
00126   #define RegisterCheck(X)         ConcatRegisterCheck(X)
00127 #else
00128   #define RegisterCheck(X)         (RegisterCheckOverride)
00129 #endif
00130 
00131 #if !defined(InterruptStartOverride) || ((InterruptStartOverride) == cfgOverrideNon)
00132   #define ConcatInterruptStart(X)  (InterruptStart_ ## X)
00133   #define InterruptStart(X)        ConcatInterruptStart(X)
00134 #else
00135   #define InterruptStart(X)        (InterruptStartOverride)
00136 #endif
00137 
00138 #if !defined(StackSizeOverride) || ((StackSizeOverride) == cfgOverrideNon)
00139   #define ConcatStackSizeDef(X)    (StackSize_ ## X)
00140   #define StackSizeDef(X)          ConcatStackSizeDef(X)
00141 #else
00142   #define StackSizeDef(X)          (StackSizeOverride)
00143 #endif
00144 
00145 #define StackIsShared(X)           ( (StackSizeDef(X) == cfgShared) )
00146 #define StackSize(X)               ( (StackIsShared(X)) ? (StackSizeShared) : (StackSizeDef(X)) )
00147 #define StackSizeReal(X)           ( (StackIsShared(X)) ? (cfgShared & MaxStackSize_Task) : (StackSizeDef(X)) )
00148 
00149 #if !defined(TimeSliceOverride) || ((TimeSliceOverride) == cfgOverrideNon)
00150   #define ConcatTimeSlice(X)       (TimeSlice_ ## X)
00151   #define TimeSlice(X)             ConcatTimeSlice(X)
00152 #else
00153   #define TimeSlice(X)             (TimeSliceOverride)
00154 #endif
00155 
00156 #if !defined(SlotSizeOverride) || ((SlotSizeOverride) == cfgOverrideNon)
00157   #define ConcatSlotSize(X)        (SlotSize_ ## X)
00158   #define SlotSize(X)              ConcatSlotSize(X)
00159 #else
00160   #define SlotSize(X)              (SlotSizeOverride)
00161 #endif
00162 
00163 #if !defined(FileSpaceOverride) || ((FileSpaceOverride) == cfgOverrideNon)
00164   #define ConcatFileSpace(X)       (FileSpace_ ## X)
00165   #define FileSpace(X)             ConcatFileSpace(X)
00166 #else
00167   #define FileSpace(X)             (FileSpaceOverride)
00168 #endif
00169 
00170 #if !defined(QueuSizeOverride) || ((QueuSizeOverride) == cfgOverrideNon)
00171   #define ConcatQueuSize(X)        (QueuSize_ ## X)
00172   #define QueuSize(X)              ConcatQueuSize(X)
00173 #else
00174   #define QueuSize(X)              (QueuSizeOverride)
00175 #endif
00176 
00177 #if !defined(TaskIncludeOverride) || ((TaskIncludeOverride) == cfgOverrideNon)
00178   #define ConcatTaskInclude(X)     (TaskInclude_ ## X)
00179   #define TaskInclude(X)           ConcatTaskInclude(X)
00180 #else
00181   #define TaskInclude(X)           (TaskIncludeOverride)
00182 #endif
00183 
00184 #if !defined(SlotUseOverride) || ((SlotUseOverride) == cfgOverrideNon)
00185   #define ConcatSlotUse(X)         (SlotUse_ ## X)
00186   #define SlotUse(X)               ConcatSlotUse(X)
00187 #else
00188   #define SlotUse(X)               (SlotUseOverride)
00189 #endif
00190 
00191 #if !defined(CapabilitiesOverride) || ((CapabilitiesOverride) == cfgOverrideNon)
00192   #define ConcatCapabilities(X)    (Capabilities_ ## X)
00193   #define Capabilities(X)          ConcatCapabilities(X)
00194 #else
00195   #define Capabilities(X)          (CapabilitiesOverride)
00196 #endif
00197 
00198 
00202 #if (cfgCheckSystem == cfgTrue) || (cfgCheckOsStack == cfgTrue) || (cfgCheckTaskStack == cfgTrue) || (cfgCheckIsrStack == cfgTrue) || (cfgCheckRegisters == cfgTrue) || (cfgCheckTiming == cfgTrue) || (cfgCheckQueuFilling == cfgTrue) || (cfgCheckMethodUse == cfgTrue) || (cfgCheckApplication == cfgTrue)
00203   #define defCheckReportingError       cfgTrue
00204 #else
00205   #define defCheckReportingError       cfgFalse
00206 #endif
00207 
00208 
00209 #define ConcatCouplingTask(X)      defInfoCouplingTask_ ## X
00210 #define defInfoCouplingTask(X)     ConcatCouplingTask(X)
00211 #define ConcatCouplingSlot(X)      defInfoCouplingSlot_ ## X
00212 #define defInfoCouplingSlot(X)     ConcatCouplingSlot(X)
00213 #define ConcatCouplingFile(X)      defInfoCouplingFile_ ## X
00214 #define defInfoCouplingFile(X)     ConcatCouplingFile(X)
00215 
00216 #define ConcatTaskName(X)        (TaskName_ ## X)
00217 #define TaskName(X)              ConcatTaskName(X)
00218 #define ConcatInit(X)            (appInit_ ## X)
00219 #define AppInit(X)               ConcatInit(X)
00220 #define ConcatLoop(X)            (appLoop_ ## X)
00221 #define AppLoop(X)               ConcatLoop(X)
00222 #define ConcatBark(X)            (appBark_ ## X)
00223 #define AppBark(X)               ConcatBark(X)
00224 #define ConcatPrescaler(X)       (devPrescale_ ## X)
00225 #define DefPrescaler(X)          ConcatPrescaler(X)
00226 #define DefToString(X)           DefExpandString(X)
00227 #define DefExpandString(X)       #X
00228 
00229 #define RegisterUseSize(X)       ((((X)<<2) & 0x04) + (((X)<<1) & 0x04) + (((X)) & 0x04) + (((X)>>1) & 0x04) + (((X)>>2) & 0x04) + (((X)>>3) & 0x04) + (((X)>>4) & 0x04) + (((X)>>5) & 0x04))
00230 
00231 #if ( defined(defExtOptimized) && ((defExtOptimized != cfgTrue) && (defExtOptimized != cfgFalse)) )
00232   #error "External parameter 'defExtOptimized' is misspelled or incorrect."
00233 #endif
00234 
00235 #if ( defined(defExtGCCstartup) && ((defExtGCCstartup != cfgKeep) && (defExtGCCstartup != cfgOverride) && (defExtGCCstartup != cfgReplace)) )
00236   #error "External parameter 'defExtGCCstartup' is misspelled or incorrect."
00237 #endif
00238 
00239 #if ( !defined(cfgSysOptimized) || ((cfgSysOptimized != cfgTrue) && (cfgSysOptimized != cfgFalse)) )
00240   #error "Parameter 'cfgSysOptimized' is misspelled or incorrect."
00241 #endif
00242 
00243 #if ( !defined(cfgSysDebug) || ((cfgSysDebug != cfgTrue) && (cfgSysDebug != cfgFalse)) )
00244   #error "Parameter 'cfgSysDebug' is misspelled or incorrect."
00245 #endif
00246 
00247 #if ( !defined(cfgSysInline) || ((cfgSysInline != cfgTrue) && (cfgSysInline != cfgFalse)) )
00248   #error "Parameter 'cfgSysInline' is misspelled or incorrect."
00249 #endif
00250 
00251 #if ( !defined(cfgSysFramePointerCounterMeasures) || ((cfgSysFramePointerCounterMeasures != cfgTrue) && (cfgSysFramePointerCounterMeasures != cfgFalse)) )
00252   #error "Parameter 'cfgSysFramePointerCounterMeasures' is misspelled or incorrect."
00253 #endif
00254 
00255 #if ( !defined(cfgSysReduceProEpilogue) || ((cfgSysReduceProEpilogue != cfgNaked) && (cfgSysReduceProEpilogue != cfgBikini) && (cfgSysReduceProEpilogue != cfgComplete)))
00256   #error "Parameter 'cfgSysReduceProEpilogue' is misspelled or incorrect."
00257 #endif
00258 
00259 #if ( !defined(cfgSysRegisterCheckByte) || (cfgSysRegisterCheckByte < cfgMinSysRegisterCheckByte) || (cfgSysRegisterCheckByte > cfgMaxSysRegisterCheckByte) )
00260   #error "Parameter 'cfgSysRegisterCheckByte' is misspelled or incorrect."
00261 #endif
00262 
00263 #if ( !defined(cfgSysStackGrowthUp) || ((cfgSysStackGrowthUp != cfgTrue) && (cfgSysStackGrowthUp != cfgFalse)) )
00264   #error "Parameter 'cfgSysStackGrowthUp' is misspelled or incorrect."
00265 #endif
00266 
00267 #if ( !defined(cfgSysZeroPageStack) || ((cfgSysZeroPageStack != cfgTrue) && (cfgSysZeroPageStack != cfgFalse)) )
00268   #error "Parameter 'cfgSysZeroPageStack' is misspelled or incorrect."
00269 #endif
00270 
00271 #if ( !defined(cfgSysClearUnusedR1) || ((cfgSysClearUnusedR1 != cfgTrue) && (cfgSysClearUnusedR1 != cfgFalse)) )
00272   #error "Parameter 'cfgSysClearUnusedR1' is misspelled or incorrect."
00273 #endif
00274 
00275 #if ( !defined(cfgSysSqueezeState) || ((cfgSysSqueezeState != cfgTrue) && (cfgSysSqueezeState != cfgFalse)) )
00276   #error "Parameter 'cfgSysSqueezeState' is misspelled or incorrect."
00277 #endif
00278 
00279 #if ( !defined(cfgSysReuseOsStack) || ((cfgSysReuseOsStack != cfgTrue) && (cfgSysReuseOsStack != cfgFalse)) )
00280   #error "Parameter 'cfgSysReuseOsStack' is misspelled or incorrect."
00281 #endif
00282 
00283 #if ( !defined(cfgSysClockDivider) || (cfgSysClockDivider < cfgMinSysClockDivider) || (cfgSysClockDivider > cfgMaxSysClockDivider) )
00284   #error "Parameter 'cfgSysClockDivider' is misspelled or incorrect."
00285 #endif
00286 
00287 #if ( !defined(cfgSysSubTicksPerFullTick) || (cfgSysSubTicksPerFullTick < cfgMinSysSubTicksPerFullTick) || (cfgSysSubTicksPerFullTick > cfgMaxSysSubTicksPerFullTick) )
00288   #error "Parameter 'cfgSysSubTicksPerFullTick' is misspelled or incorrect."
00289 #endif
00290 
00291 #if ( !defined(cfgSysSubTickDivider) || (cfgSysSubTickDivider < cfgMinSysSubTickDivider) || (cfgSysSubTickDivider > cfgMaxSysSubTickDivider) )
00292   #error "Parameter 'cfgSysSubTickDivider' is misspelled or incorrect."
00293 #endif
00294 
00295 #if ( !defined(cfgSysGCCstartup) || ((cfgSysGCCstartup != cfgKeep) && (cfgSysGCCstartup != cfgOverride) && (cfgSysGCCstartup != cfgReplace)) )
00296   #error "Parameter 'cfgSysGCCstartup' is misspelled or incorrect."
00297 #endif
00298 
00299 #if ( !defined(cfgSysFsStorageSpace) || (cfgSysFsStorageSpace < cfgMinSysFsStorageSpace) || (cfgSysFsStorageSpace > cfgMaxSysFsStorageSpace) )
00300   #error "Parameter 'cfgSysFsStorageSpace' is misspelled or incorrect."
00301 #endif
00302 
00303 #if ( !defined(cfgIntGlobalOnly) || ((cfgIntGlobalOnly != cfgTrue) && (cfgIntGlobalOnly != cfgFalse)) )
00304   #error "Parameter 'cfgIntGlobalOnly' is misspelled or incorrect."
00305 #endif
00306 
00307 #if ( !defined(cfgIntUserDefined) || ((cfgIntUserDefined != cfgTrue) && (cfgIntUserDefined != cfgFalse)) )
00308   #error "Parameter 'cfgIntUserDefined' is misspelled or incorrect."
00309 #endif
00310 
00311 #if ( !defined(cfgIntSwitchUsesOSstack) || ((cfgIntSwitchUsesOSstack != cfgTrue) && (cfgIntSwitchUsesOSstack != cfgFalse)) )
00312   #error "Parameter 'cfgIntSwitchUsesOSstack' is misspelled or incorrect."
00313 #endif
00314 
00315 #if ( !defined(cfgIntOsProtected) || ((cfgIntOsProtected != cfgTrue) && (cfgIntOsProtected != cfgFalse)) )
00316   #error "Parameter 'cfgIntOsProtected' is misspelled or incorrect."
00317 #endif
00318 
00319 #if ( !defined(cfgIntTickTrack) || ((cfgIntTickTrack != cfgTrue) && (cfgIntTickTrack != cfgFalse)) )
00320   #error "Parameter 'cfgIntTickTrack' is misspelled or incorrect."
00321 #endif
00322 
00323 #if ( !defined(cfgIntManualTicks) || ((cfgIntManualTicks != cfgTrue) && (cfgIntManualTicks != cfgFalse)) )
00324   #error "Parameter 'cfgIntManualTicks' is misspelled or incorrect."
00325 #endif
00326 
00327 #if ( !defined(cfgCheckSystem) || ((cfgCheckSystem != cfgTrue) && (cfgCheckSystem != cfgFalse)) )
00328   #error "Parameter 'cfgCheckSystem' is misspelled or incorrect."
00329 #endif
00330 
00331 #if ( !defined(cfgCheckReset) || ((cfgCheckReset != cfgTrue) && (cfgCheckReset != cfgFalse)) )
00332   #error "Parameter 'cfgCheckReset' is misspelled or incorrect."
00333 #endif
00334 
00335 #if ( !defined(cfgCheckWatermarks) || ((cfgCheckWatermarks != cfgTrue) && (cfgCheckWatermarks != cfgFalse)) )
00336   #error "Parameter 'cfgCheckWatermarks' is misspelled or incorrect."
00337 #endif
00338 
00339 #if ( !defined(cfgCheckTrace) || ((cfgCheckTrace  != cfgTrue) && (cfgCheckTrace != cfgFalse)) )
00340   #error "Parameter 'cfgCheckTrace ' is misspelled or incorrect."
00341 #endif
00342 
00343 #if ( !defined(cfgCheckAlwaysFatal) || ((cfgCheckAlwaysFatal  != cfgTrue) && (cfgCheckAlwaysFatal != cfgFalse)) )
00344   #error "Parameter 'cfgCheckAlwaysFatal ' is misspelled or incorrect."
00345 #endif
00346 
00347 #if ( !defined(cfgCheckOsStack) || ((cfgCheckOsStack != cfgTrue) && (cfgCheckOsStack != cfgFalse)) )
00348   #error "Parameter 'cfgCheckOsStack' is misspelled or incorrect."
00349 #endif
00350 
00351 #if ( !defined(cfgCheckTaskStack) || ((cfgCheckTaskStack != cfgTrue) && (cfgCheckTaskStack != cfgFalse)) )
00352   #error "Parameter 'cfgCheckTaskStack' is misspelled or incorrect."
00353 #endif
00354 
00355 #if ( !defined(cfgCheckIsrStack) || ((cfgCheckIsrStack != cfgTrue) && (cfgCheckIsrStack != cfgFalse)) )
00356   #error "Parameter 'cfgCheckIsrStack' is misspelled or incorrect."
00357 #endif
00358 
00359 #if ( !defined(cfgCheckRegisters) || ((cfgCheckRegisters != cfgTrue) && (cfgCheckRegisters != cfgFalse)) )
00360   #error "Parameter 'cfgCheckRegisters' is misspelled or incorrect."
00361 #endif
00362 
00363 #if ( !defined(cfgCheckTiming) || ((cfgCheckTiming != cfgTrue) && (cfgCheckTiming != cfgFalse)) )
00364   #error "Parameter 'cfgCheckTiming' is misspelled or incorrect."
00365 #endif
00366 
00367 #if ( !defined(cfgCheckQueuFilling) || ((cfgCheckQueuFilling != cfgTrue) && (cfgCheckQueuFilling != cfgFalse)) )
00368   #error "Parameter 'cfgCheckQueuFilling' is misspelled or incorrect."
00369 #endif
00370 
00371 #if ( !defined(cfgCheckMethodUse) || ((cfgCheckMethodUse != cfgTrue) && (cfgCheckMethodUse != cfgFalse)) )
00372   #error "Parameter 'cfgCheckMethodUse' is misspelled or incorrect."
00373 #endif
00374 
00375 #if ( !defined(cfgCheckApplication) || ((cfgCheckApplication != cfgTrue) && (cfgCheckApplication != cfgFalse)) )
00376   #error "Parameter 'cfgCheckApplication' is misspelled or incorrect."
00377 #endif
00378 
00379 #if ( !defined(cfgUseEquidistantTicks) || ((cfgUseEquidistantTicks != cfgTrue) && (cfgUseEquidistantTicks != cfgFalse)) )
00380   #error "Parameter 'cfgUseEquidistantTicks' is misspelled or incorrect."
00381 #endif
00382 
00383 #if ( !defined(cfgUseDelay) || ((cfgUseDelay != cfgTrue) && (cfgUseDelay != cfgFalse)) )
00384   #error "Parameter 'cfgUseDelay' is misspelled or incorrect."
00385 #endif
00386 
00387 #if ( !defined(cfgUseSynchronization) || ((cfgUseSynchronization != cfgSyncSingleSlot) && (cfgUseSynchronization != cfgSyncSingleBlock) && (cfgUseSynchronization != cfgSyncDoubleBlock) && (cfgUseSynchronization != cfgSyncNon)) )
00388   #error "Parameter 'cfgUseSynchronization' is misspelled or incorrect."
00389 #endif
00390 
00391 #if ( !defined(cfgUseHierarchicalRoundRobin) || ((cfgUseHierarchicalRoundRobin != cfgTrue) && (cfgUseHierarchicalRoundRobin != cfgFalse)) )
00392   #error "Parameter 'cfgUseHierarchicalRoundRobin' is misspelled or incorrect."
00393 #endif
00394 
00395 #if ( !defined(cfgUseNestedCriticals) || ((cfgUseNestedCriticals != cfgTrue) && (cfgUseNestedCriticals != cfgFalse)) )
00396   #error "Parameter 'cfgUseNestedCriticals' is misspelled or incorrect."
00397 #endif
00398 
00399 #if ( !defined(cfgUsePrioritizedRelease) || ((cfgUsePrioritizedRelease != cfgTrue) && (cfgUsePrioritizedRelease != cfgFalse)) )
00400   #error "Parameter 'cfgUsePrioritizedRelease' is misspelled or incorrect."
00401 #endif
00402 
00403 #if ( !defined(cfgUsePriorityLifting) || ((cfgUsePriorityLifting != cfgTrue) && (cfgUsePriorityLifting != cfgFalse)) )
00404   #error "Parameter 'cfgUsePriorityLifting' is misspelled or incorrect."
00405 #endif
00406 
00407 #if ( !defined(cfgUseTaskWatchdog) || ((cfgUseTaskWatchdog != cfgTrue) && (cfgUseTaskWatchdog != cfgFalse)) )
00408   #error "Parameter 'cfgUseTaskWatchdog' is misspelled or incorrect."
00409 #endif
00410 
00411 #if ( !defined(cfgUseCorrectWakeupTimes) || ((cfgUseCorrectWakeupTimes != cfgTrue) && (cfgUseCorrectWakeupTimes != cfgFalse)) )
00412   #error "Parameter 'cfgUseCorrectWakeupTimes' is misspelled or incorrect."
00413 #endif
00414 
00415 #if ( !defined(cfgUseTimeout) || ((cfgUseTimeout != cfgTrue) && (cfgUseTimeout != cfgFalse)) )
00416   #error "Parameter 'cfgUseTimeout' is misspelled or incorrect."
00417 #endif
00418 
00419 #if ( !defined(cfgUseTasknames) || ((cfgUseTasknames != cfgTrue) && (cfgUseTasknames != cfgFalse)) )
00420   #error "Parameter 'cfgUseTasknames' is misspelled or incorrect."
00421 #endif
00422 
00423 #if ( !defined(cfgUseLowPowerSleep) || ((cfgUseLowPowerSleep != cfgTrue) && (cfgUseLowPowerSleep != cfgFalse)) )
00424   #error "Parameter 'cfgUseLowPowerSleep' is misspelled or incorrect."
00425 #endif
00426 
00427 #if ( !defined(cfgUseLowPowerOnDelay) || ((cfgUseLowPowerOnDelay != cfgTrue) && (cfgUseLowPowerOnDelay != cfgFalse)) )
00428   #error "Parameter 'cfgUseLowPowerOnDelay' is misspelled or incorrect."
00429 #endif
00430 
00431 #if ( !defined(cfgUseLowPowerDelayRelease) || ((cfgUseLowPowerDelayRelease != cfgTrue) && (cfgUseLowPowerDelayRelease != cfgFalse)) )
00432   #error "Parameter 'cfgUseLowPowerDelayRelease' is misspelled or incorrect."
00433 #endif
00434 
00435 #if ( !defined(cfgUseLoadMonitor) || ((cfgUseLoadMonitor != cfgTrue) && (cfgUseLoadMonitor != cfgFalse)) )
00436   #error "Parameter 'cfgUseLoadMonitor' is misspelled or incorrect."
00437 #endif
00438 
00439 #if ( !defined(cfgUseFileSystem) || ((cfgUseFileSystem != cfgTrue) && (cfgUseFileSystem != cfgFalse)) )
00440   #error "Parameter 'cfgUseFileSystem' is misspelled or incorrect."
00441 #endif
00442 
00443 #if ( !defined(cfgUseFileSystemConcurrentRead) || ((cfgUseFileSystemConcurrentRead != cfgTrue) && (cfgUseFileSystemConcurrentRead != cfgFalse)) )
00444   #error "Parameter 'cfgUseFileSystemConcurrentRead' is misspelled or incorrect."
00445 #endif
00446 
00447 #if ( !defined(cfgUseFileSystemEconomyMode) || ((cfgUseFileSystemEconomyMode != cfgTrue) && (cfgUseFileSystemEconomyMode != cfgFalse)) )
00448   #error "Parameter 'cfgUseFileSystemEconomyMode' is misspelled or incorrect."
00449 #endif
00450 
00451 #if ( !defined(cfgUseFileSystemMaintainFAT) || ((cfgUseFileSystemMaintainFAT != cfgTrue) && (cfgUseFileSystemMaintainFAT != cfgFalse)) )
00452   #error "Parameter 'cfgUseFileSystemMaintainFAT' is misspelled or incorrect."
00453 #endif
00454 
00455 #if ( !defined(cfgUseEvents) || ((cfgUseEvents != cfgTrue) && (cfgUseEvents != cfgFalse)) )
00456   #error "Parameter 'cfgUseEvents' is misspelled or incorrect."
00457 #endif
00458 
00459 #if ( !defined(cfgUseEventsOnVariables) || ((cfgUseEventsOnVariables != cfgTrue) && (cfgUseEventsOnVariables != cfgFalse)) )
00460   #error "Parameter 'cfgUseEventsOnVariables' is misspelled or incorrect."
00461 #endif
00462 
00463 #if ( !defined(cfgUseEventsOnVariables) || ((cfgUseEventsOnVariables != cfgTrue) && (cfgUseEventsOnVariables != cfgFalse)) )
00464   #error "Parameter 'cfgUseEventsOnVariables' is misspelled or incorrect."
00465 #endif
00466 
00467 #if ( !defined(cfgNumWatchdogDiv) || (cfgNumWatchdogDiv < cfgMinNumWatchdogDiv) || (cfgNumWatchdogDiv > cfgMaxNumWatchdogDiv) )
00468   #error "Parameter 'cfgNumWatchdogDiv' is misspelled or incorrect."
00469 #endif
00470 
00471 #if ( !defined(cfgNumMonitorDiv) || (cfgNumMonitorDiv < cfgMinNumMonitorDiv) || (cfgNumMonitorDiv > cfgMaxNumMonitorDiv) )
00472   #error "Parameter 'cfgNumMonitorDiv' is misspelled or incorrect."
00473 #endif
00474 
00475 #if ( !defined(cfgNumSleepThreshold) || (cfgNumSleepThreshold < cfgMinNumSleepThreshold) || (cfgNumSleepThreshold > cfgMaxNumSleepThreshold) )
00476   #error "Parameter 'cfgNumSleepThreshold' is misspelled or incorrect."
00477 #endif
00478 
00479 #if ( !defined(cfgNumSleepPeriod) || (cfgNumSleepPeriod < cfgMinNumSleepPeriod) || (cfgNumSleepPeriod > cfgMaxNumSleepPeriod) )
00480   #error "Parameter 'cfgNumSleepPeriod' is misspelled or incorrect."
00481 #endif
00482 
00483 #if ( !defined(cfgNumGlobWidth) || (cfgNumGlobWidth < cfgMinNumGlobWidth) || (cfgNumGlobWidth > cfgMaxNumGlobWidth) )
00484   #error "Parameter 'cfgNumGlobWidth' is misspelled or incorrect."
00485 #endif
00486 
00487 #if ( !defined(cfgNumSwitchWidth) || (cfgNumSwitchWidth < cfgMinNumSwitchWidth) || (cfgNumSwitchWidth > cfgMaxNumSwitchWidth) )
00488   #error "Parameter 'cfgNumSwitchWidth' is misspelled or incorrect."
00489 #endif
00490 
00491 #if ( !defined(cfgNumTickWidth) || (cfgNumTickWidth < cfgMinNumTickWidth) || (cfgNumTickWidth > cfgMaxNumTickWidth) )
00492   #error "Parameter 'cfgNumTickWidth' is misspelled or incorrect."
00493 #endif
00494 
00495 #if ( !defined(callAppTick00) || ((callAppTick00 != cfgTrue) && (callAppTick00 != cfgFalse)) )
00496   #error "Parameter 'callAppTick00' is misspelled or incorrect."
00497 #endif
00498 
00499 #if ( !defined(callAppTick08) || ((callAppTick08 != cfgTrue) && (callAppTick08 != cfgFalse)) )
00500   #error "Parameter 'callAppTick08' is misspelled or incorrect."
00501 #endif
00502 
00503 #if ( !defined(callAppTick16) || ((callAppTick16 != cfgTrue) && (callAppTick16 != cfgFalse)) )
00504   #error "Parameter 'callAppTick16' is misspelled or incorrect."
00505 #endif
00506 
00507 #if ( !defined(callAppTickSleep) || ((callAppTickSleep != cfgTrue) && (callAppTickSleep != cfgFalse)) )
00508   #error "Parameter 'callAppTickSleep' is misspelled or incorrect."
00509 #endif
00510 
00511 #if ( !defined(callAppEnterIdle) || ((callAppEnterIdle != cfgTrue) && (callAppEnterIdle != cfgFalse)) )
00512   #error "Parameter 'callAppEnterIdle' is misspelled or incorrect."
00513 #endif
00514 
00515 #if ( !defined(callAppEnterSleep) || ((callAppEnterSleep != cfgTrue) && (callAppEnterSleep != cfgFalse)) )
00516   #error "Parameter 'callAppEnterSleep' is misspelled or incorrect."
00517 #endif
00518 
00519 #if ( !defined(callAppExitSleep) || ((callAppExitSleep != cfgTrue) && (callAppExitSleep != cfgFalse)) )
00520   #error "Parameter 'callAppExitSleep' is misspelled or incorrect."
00521 #endif
00522 
00523 #if ( !defined(callAppBoot) || ((callAppBoot != cfgTrue) && (callAppBoot != cfgFalse)) )
00524   #error "Parameter 'callAppBoot' is misspelled or incorrect."
00525 #endif
00526 
00527 #if ( !defined(callAppInit) || ((callAppInit != cfgTrue) && (callAppInit != cfgFalse)) )
00528   #error "Parameter 'callAppInit' is misspelled or incorrect."
00529 #endif
00530 
00531 #if ( !defined(callAppBark) || ((callAppBark != cfgTrue) && (callAppBark != cfgFalse)) )
00532   #error "Parameter 'callAppBark' is misspelled or incorrect."
00533 #endif
00534 
00535 #if ( !defined(includeTaskYield) || ((includeTaskYield != cfgTrue) && (includeTaskYield != cfgFalse)) )
00536   #error "Parameter 'includeTaskYield' is misspelled or incorrect."
00537 #endif
00538 
00539 #if ( !defined(includeTaskDelayFromNow) || ((includeTaskDelayFromNow != cfgTrue) && (includeTaskDelayFromNow != cfgFalse)) )
00540   #error "Parameter 'includeTaskDelayFromNow' is misspelled or incorrect."
00541 #endif
00542 
00543 #if ( !defined(includeTaskDelayFromWake) || ((includeTaskDelayFromWake != cfgTrue) && (includeTaskDelayFromWake != cfgFalse)) )
00544   #error "Parameter 'includeTaskDelayFromWake' is misspelled or incorrect."
00545 #endif
00546 
00547 #if ( !defined(includeGenSuspend) || ((includeGenSuspend != cfgTrue) && (includeGenSuspend != cfgFalse)) )
00548   #error "Parameter 'includeGenSuspend' is misspelled or incorrect."
00549 #endif
00550 
00551 #if ( !defined(includeTaskSuspend) || ((includeTaskSuspend != cfgTrue) && (includeTaskSuspend != cfgFalse)) )
00552   #error "Parameter 'includeTaskSuspend' is misspelled or incorrect."
00553 #endif
00554 
00555 #if ( !defined(includeGenResume) || ((includeGenResume != cfgTrue) && (includeGenResume != cfgFalse)) )
00556   #error "Parameter 'includeGenResume' is misspelled or incorrect."
00557 #endif
00558 
00559 #if ( !defined(includeTaskSleep) || ((includeTaskSleep != cfgTrue) && (includeTaskSleep != cfgFalse)) )
00560   #error "Parameter 'includeTaskSleep' is misspelled or incorrect."
00561 #endif
00562 
00563 #if ( !defined(includeTaskSleepAll) || ((includeTaskSleepAll != cfgTrue) && (includeTaskSleepAll != cfgFalse)) )
00564   #error "Parameter 'includeTaskSleepAll' is misspelled or incorrect."
00565 #endif
00566 
00567 #if ( !defined(includeGenSetPriority) || ((includeGenSetPriority != cfgTrue) && (includeGenSetPriority != cfgFalse)) )
00568   #error "Parameter 'includeGenSetPriority' is misspelled or incorrect."
00569 #endif
00570 
00571 #if ( !defined(includeGenGetPriority) || ((includeGenGetPriority != cfgTrue) && (includeGenGetPriority != cfgFalse)) )
00572   #error "Parameter 'includeGenGetPriority' is misspelled or incorrect."
00573 #endif
00574 
00575 #if ( !defined(includeGenGetTickCount) || ((includeGenGetTickCount != cfgTrue) && (includeGenGetTickCount != cfgFalse)) )
00576   #error "Parameter 'includeGenGetTickCount' is misspelled or incorrect."
00577 #endif
00578 
00579 #if ( !defined(includeGenAddtoTickCount) || ((includeGenAddtoTickCount != cfgTrue) && (includeGenAddtoTickCount != cfgFalse)) )
00580   #error "Parameter 'includeGenAddtoTickCount' is misspelled or incorrect."
00581 #endif
00582 
00583 #if ( !defined(includeGenGetLastWakeTime) || ((includeGenGetLastWakeTime != cfgTrue) && (includeGenGetLastWakeTime != cfgFalse)) )
00584   #error "Parameter 'includeGenGetLastWakeTime' is misspelled or incorrect."
00585 #endif
00586 
00587 #if ( !defined(includeTaskFeedWatchdog) || ((includeTaskFeedWatchdog != cfgTrue) && (includeTaskFeedWatchdog != cfgFalse)) )
00588   #error "Parameter 'includeTaskFeedWatchdog' is misspelled or incorrect."
00589 #endif
00590 
00591 #if ( !defined(includeTaskKillWatchdog) || ((includeTaskKillWatchdog != cfgTrue) && (includeTaskKillWatchdog != cfgFalse)) )
00592   #error "Parameter 'includeTaskKillWatchdog' is misspelled or incorrect."
00593 #endif
00594 
00595 #if ( !defined(includeGenGetTaskname) || ((includeGenGetTaskname != cfgTrue) && (includeGenGetTaskname != cfgFalse)) )
00596   #error "Parameter 'includeGenGetTaskname' is misspelled or incorrect."
00597 #endif
00598 
00599 #if ( !defined(includeTaskTerminate) || ((includeTaskTerminate != cfgTrue) && (includeTaskTerminate != cfgFalse)) )
00600   #error "Parameter 'includeTaskTerminate' is misspelled or incorrect."
00601 #endif
00602 
00603 #if ( !defined(includeGenReboot) || ((includeGenReboot != cfgTrue) && (includeGenReboot != cfgFalse)) )
00604   #error "Parameter 'includeGenReboot' is misspelled or incorrect."
00605 #endif
00606 
00607 #if ( !defined(includeTaskRestart) || ((includeTaskRestart != cfgTrue) && (includeTaskRestart != cfgFalse)) )
00608   #error "Parameter 'includeTaskRestart' is misspelled or incorrect."
00609 #endif
00610 
00611 #if ( !defined(includeTaskRecreate) || ((includeTaskRecreate != cfgTrue) && (includeTaskRecreate != cfgFalse)) )
00612   #error "Parameter 'includeTaskRecreate' is misspelled or incorrect."
00613 #endif
00614 
00615 #if ( !defined(includeGenLogTask) || ((includeGenLogTask != cfgTrue) && (includeGenLogTask != cfgFalse)) )
00616   #error "Parameter 'includeGenLogTask' is misspelled or incorrect."
00617 #endif
00618 
00619 #if ( !defined(includeGenLogOs) || ((includeGenLogOs != cfgTrue) && (includeGenLogOs != cfgFalse)) )
00620   #error "Parameter 'includeGenLogOs' is misspelled or incorrect."
00621 #endif
00622 
00623 #if ( !defined(includeGenTrace) || ((includeGenTrace != cfgTrue) && (includeGenTrace != cfgFalse)) )
00624   #error "Parameter 'includeGenTrace' is misspelled or incorrect."
00625 #endif
00626 
00627 #if ( !defined(includeGenPipeInt16) || ((includeGenPipeInt16 != cfgTrue) && (includeGenPipeInt16 != cfgFalse)) )
00628   #error "Parameter 'includeGenPipeInt16' is misspelled or incorrect."
00629 #endif
00630 
00631 #if ( !defined(includeGenPassFlashString) || ((includeGenPassFlashString != cfgTrue) && (includeGenPassFlashString != cfgFalse)) )
00632   #error "Parameter 'includeGenPassFlashString' is misspelled or incorrect."
00633 #endif
00634 
00635 #if ( !defined(includeTaskWaitForEvents) || ((includeTaskWaitForEvents != cfgTrue) && (includeTaskWaitForEvents != cfgFalse)) )
00636   #error "Parameter 'includeTaskWaitForEvents' is misspelled or incorrect."
00637 #endif
00638 
00639 #if ( !defined(includeIsrFireEvent) || ((includeIsrFireEvent != cfgTrue) && (includeIsrFireEvent != cfgFalse)) )
00640   #error "Parameter 'includeIsrFireEvent' is misspelled or incorrect."
00641 #endif
00642 
00643 #if ( !defined(includeGenFireEvent) || ((includeGenFireEvent != cfgTrue) && (includeGenFireEvent != cfgFalse)) )
00644   #error "Parameter 'includeGenFireEvent' is misspelled or incorrect."
00645 #endif
00646 
00647 #if ( !defined(includeGenFireEventSet) || ((includeGenFireEventSet != cfgTrue) && (includeGenFireEventSet != cfgFalse)) )
00648   #error "Parameter 'includeGenFireEventSet' is misspelled or incorrect."
00649 #endif
00650 
00651 #if ( !defined(includeTaskWaitForTasks) || ((includeTaskWaitForTasks != cfgTrue) && (includeTaskWaitForTasks != cfgFalse)) )
00652   #error "Parameter 'includeTaskWaitForTasks' is misspelled or incorrect."
00653 #endif
00654 
00655 #if ( !defined(includeGenWaitRelease) || ((includeGenWaitRelease != cfgTrue) && (includeGenWaitRelease != cfgFalse)) )
00656   #error "Parameter 'includeGenWaitRelease' is misspelled or incorrect."
00657 #endif
00658 
00659 #if ( !defined(includeTaskMutex) || ((includeTaskMutex != cfgTrue) && (includeTaskMutex != cfgFalse)) )
00660   #error "Parameter 'includeTaskMutex' is misspelled or incorrect."
00661 #endif
00662 
00663 #if ( !defined(includeTaskQueu) || ((includeTaskQueu != cfgTrue) && (includeTaskQueu != cfgFalse)) )
00664   #error "Parameter 'includeTaskQueu' is misspelled or incorrect."
00665 #endif
00666 
00667 #if ( !defined(includeGenQueuWrite) || ((includeGenQueuWrite != cfgTrue) && (includeGenQueuWrite != cfgFalse)) )
00668   #error "Parameter 'includeGenQueuWrite' is misspelled or incorrect."
00669 #endif
00670 
00671 #if ( !defined(includeGenQueuRead) || ((includeGenQueuRead != cfgTrue) && (includeGenQueuRead != cfgFalse)) )
00672   #error "Parameter 'includeGenQueuRead' is misspelled or incorrect."
00673 #endif
00674 
00675 #if ( !defined(includeGenQueuClear) || ((includeGenQueuClear != cfgTrue) && (includeGenQueuClear != cfgFalse)) )
00676   #error "Parameter 'includeGenQueuClear' is misspelled or incorrect."
00677 #endif
00678 
00679 #if ( !defined(includeGenQueuPeek) || ((includeGenQueuPeek != cfgTrue) && (includeGenQueuPeek != cfgFalse)) )
00680   #error "Parameter 'includeGenQueuPeek' is misspelled or incorrect."
00681 #endif
00682 
00683 #if ( !defined(includeGenQueuReadable) || ((includeGenQueuReadable != cfgTrue) && (includeGenQueuReadable != cfgFalse)) )
00684   #error "Parameter 'includeGenQueuReadable' is misspelled or incorrect."
00685 #endif
00686 
00687 #if ( !defined(includeGenQueuWriteable) || ((includeGenQueuWriteable != cfgTrue) && (includeGenQueuWriteable != cfgFalse)) )
00688   #error "Parameter 'includeGenQueuWriteable' is misspelled or incorrect."
00689 #endif
00690 
00691 #if ( !defined(includeGenQueuFull) || ((includeGenQueuFull != cfgTrue) && (includeGenQueuFull != cfgFalse)) )
00692   #error "Parameter 'includeGenQueuFull' is misspelled or incorrect."
00693 #endif
00694 
00695 #if ( !defined(includeGenQueuEmpty) || ((includeGenQueuEmpty != cfgTrue) && (includeGenQueuEmpty != cfgFalse)) )
00696   #error "Parameter 'includeGenQueuEmpty' is misspelled or incorrect."
00697 #endif
00698 
00699 #if ( !defined(includeTaskFileAccess) || ((includeTaskFileAccess != cfgTrue) && (includeTaskFileAccess != cfgFalse)) )
00700   #error "Parameter 'includeTaskFileAccess' is misspelled or incorrect."
00701 #endif
00702 
00703 #if ( !defined(includeTaskFileFormat) || ((includeTaskFileFormat != cfgTrue) && (includeTaskFileFormat != cfgFalse)) )
00704   #error "Parameter 'includeTaskFileFormat' is misspelled or incorrect."
00705 #endif
00706 
00707 #if ( !defined(includeTaskFileGetSize) || ((includeTaskFileGetSize != cfgTrue) && (includeTaskFileGetSize != cfgFalse)) )
00708   #error "Parameter 'includeTaskFileGetSize' is misspelled or incorrect."
00709 #endif
00710 
00711 #if ( !defined(includeTaskFileSetSize) || ((includeTaskFileSetSize != cfgTrue) && (includeTaskFileSetSize != cfgFalse)) )
00712   #error "Parameter 'includeTaskFileSetSize' is misspelled or incorrect."
00713 #endif
00714 
00715 #if ( !defined(includeTaskFileReadByte) || ((includeTaskFileReadByte != cfgTrue) && (includeTaskFileReadByte != cfgFalse)) )
00716   #error "Parameter 'includeTaskFileReadByte' is misspelled or incorrect."
00717 #endif
00718 
00719 #if ( !defined(includeTaskFileWriteByte) || ((includeTaskFileWriteByte != cfgTrue) && (includeTaskFileWriteByte != cfgFalse)) )
00720   #error "Parameter 'includeTaskFileWriteByte' is misspelled or incorrect."
00721 #endif
00722 
00723 #if ( !defined(includeTaskFileAppendByte) || ((includeTaskFileAppendByte != cfgTrue) && (includeTaskFileAppendByte != cfgFalse)) )
00724   #error "Parameter 'includeTaskFileAppendByte' is misspelled or incorrect."
00725 #endif
00726 
00727 #if ( !defined(includeTaskFileReadBuffer) || ((includeTaskFileReadBuffer != cfgTrue) && (includeTaskFileReadBuffer != cfgFalse)) )
00728   #error "Parameter 'includeTaskFileReadBuffer' is misspelled or incorrect."
00729 #endif
00730 
00731 #if ( !defined(includeTaskFileWriteBuffer) || ((includeTaskFileWriteBuffer != cfgTrue) && (includeTaskFileWriteBuffer != cfgFalse)) )
00732   #error "Parameter 'includeTaskFileWriteBuffer' is misspelled or incorrect."
00733 #endif
00734 
00735 #if ( !defined(includeTaskFileReadPipe) || ((includeTaskFileReadPipe != cfgTrue) && (includeTaskFileReadPipe != cfgFalse)) )
00736   #error "Parameter 'includeTaskFileReadPipe' is misspelled or incorrect."
00737 #endif
00738 
00739 #if ( !defined(includeTaskFileWritePipe) || ((includeTaskFileWritePipe != cfgTrue) && (includeTaskFileWritePipe != cfgFalse)) )
00740   #error "Parameter 'includeTaskFileWritePipe' is misspelled or incorrect."
00741 #endif
00742 
00743 #if ( !defined(includeTaskProtectGlobalInterrupts) || ((includeTaskProtectGlobalInterrupts != cfgTrue) && (includeTaskProtectGlobalInterrupts != cfgFalse)) )
00744   #error "Parameter 'includeTaskProtectGlobalInterrupts' is misspelled or incorrect."
00745 #endif
00746 
00747 #if ( !defined(includeTaskProtectSwitchTasks) || ((includeTaskProtectSwitchTasks != cfgTrue) && (includeTaskProtectSwitchTasks != cfgFalse)) )
00748   #error "Parameter 'includeTaskProtectSwitchTasks' is misspelled or incorrect."
00749 #endif
00750 
00751 #if ( !defined(includeTaskProtectTickInterrupts) || ((includeTaskProtectTickInterrupts != cfgTrue) && (includeTaskProtectTickInterrupts != cfgFalse)) )
00752   #error "Parameter 'includeTaskProtectTickInterrupts' is misspelled or incorrect."
00753 #endif
00754 
00755 #if ( !defined(includeTaskProtectGlobalCritical) || ((includeTaskProtectGlobalCritical != cfgTrue) && (includeTaskProtectGlobalCritical != cfgFalse)) )
00756   #error "Parameter 'includeTaskProtectGlobalCritical' is misspelled or incorrect."
00757 #endif
00758 
00759 #if ( !defined(includeTaskProtectSwitchCritical) || ((includeTaskProtectSwitchCritical != cfgTrue) && (includeTaskProtectSwitchCritical != cfgFalse)) )
00760   #error "Parameter 'includeTaskProtectSwitchCritical' is misspelled or incorrect."
00761 #endif
00762 
00763 #if ( !defined(includeTaskProtectTickCritical) || ((includeTaskProtectTickCritical != cfgTrue) && (includeTaskProtectTickCritical != cfgFalse)) )
00764   #error "Parameter 'includeTaskProtectTickCritical' is misspelled or incorrect."
00765 #endif
00766 
00767 #if ( !defined(includeIsrEnter) || ((includeIsrEnter != cfgTrue) && (includeIsrEnter != cfgFalse)) )
00768   #error "Parameter 'includeIsrEnter' is misspelled or incorrect."
00769 #endif
00770 
00771 #if ( !defined(includeIsrExit) || ((includeIsrExit != cfgTrue) && (includeIsrExit != cfgFalse)) )
00772   #error "Parameter 'includeIsrExit' is misspelled or incorrect."
00773 #endif
00774 
00775 #if ( !defined(includeIsrBegin) || ((includeIsrBegin != cfgTrue) && (includeIsrBegin != cfgFalse)) )
00776   #error "Parameter 'includeIsrBegin' is misspelled or incorrect."
00777 #endif
00778 
00779 #if ( !defined(includeIsrEndReturn) || ((includeIsrEndReturn != cfgTrue) && (includeIsrEndReturn != cfgFalse)) )
00780   #error "Parameter 'includeIsrEndReturn' is misspelled or incorrect."
00781 #endif
00782 
00783 #if ( !defined(includeIsrEndYield) || ((includeIsrEndYield != cfgTrue) && (includeIsrEndYield != cfgFalse)) )
00784   #error "Parameter 'includeIsrEndYield' is misspelled or incorrect."
00785 #endif
00786 
00787 #if ( !defined(includeIsrStartLoad) || ((includeIsrStartLoad != cfgTrue) && (includeIsrStartLoad != cfgFalse)) )
00788   #error "Parameter 'includeIsrStartLoad' is misspelled or incorrect."
00789 #endif
00790 
00791 #if ( !defined(includeIsrStopLoad) || ((includeIsrStopLoad != cfgTrue) && (includeIsrStopLoad != cfgFalse)) )
00792   #error "Parameter 'includeIsrStopLoad' is misspelled or incorrect."
00793 #endif
00794 
00795 #if ( !defined(includeTaskStackCheck) || ((includeTaskStackCheck != cfgTrue) && (includeTaskStackCheck != cfgFalse)) )
00796   #error "Parameter 'includeTaskStackCheck' is misspelled or incorrect."
00797 #endif
00798 
00799 #if ( !defined(includeIsrStackCheck) || ((includeIsrStackCheck != cfgTrue) && (includeIsrStackCheck != cfgFalse)) )
00800   #error "Parameter 'includeIsrStackCheck' is misspelled or incorrect."
00801 #endif
00802 
00803 #if ( !defined(StackSafety) || ((StackSafety) < MinStackSafety) || ((StackSafety) > MaxStackSafety) )
00804   #error "Parameter 'StackSafety' is misspelled or incorrect."
00805 #endif
00806 
00807 #if ( !defined(StackSizeOS) || ((StackSizeOS) < MinStackSizeOS) || ((StackSizeOS) > MaxStackSizeOS) )
00808   #error "Parameter 'StackSizeOS' is misspelled or incorrect."
00809 #endif
00810 
00811 #if ( !defined(StackSizeISR) || ((StackSizeISR) < MinStackSizeISR) || ((StackSizeISR) > MaxStackSizeISR) )
00812   #error "Parameter 'StackSizeISR' is misspelled or incorrect."
00813 #endif
00814 
00815 #if ( !defined(StackSizeShared) || (((StackSizeShared) != 0) && ((StackSizeShared) < MinStackSize_Task) || ((StackSizeShared) > MaxStackSize_Task)) )
00816   #error "Parameter 'StackSizeShared' is misspelled or incorrect."
00817 #endif
00818 
00819 #if ( !defined(TimeSliceIdleTime) || (TimeSliceIdleTime < MinTimeSliceIdleTime) || (TimeSliceIdleTime > MaxTimeSliceIdleTime) )
00820   #error "Parameter 'TimeSliceIdleTime' is misspelled or incorrect."
00821 #endif
00822 
00823 #if ( !defined(FileSpaceStandard) || (FileSpaceStandard < MinFileSpace_Task) || (FileSpaceStandard > MaxFileSpace_Task) )
00824   #error "Parameter 'FileSpaceStandard' is misspelled or incorrect (cannot exceed cfgSysFsStorageSpace)."
00825 #endif
00826 
00827 
00828 #if !defined(IncludeOverride) || ((IncludeOverride) == cfgOverrideNon)
00829 
00830 #if defined(CN_00) && (TaskInclude(CN_00) != cfgExclude) && (TaskInclude(CN_00) != cfgStartSleeping) && (TaskInclude(CN_00) != cfgStartSuspended) && (TaskInclude(CN_00) != cfgStartRunning)
00831   #error "Parameter 'TaskInclude on task CN_00' is misspelled or incorrect."
00832 #endif
00833 
00834 #if defined(CN_01) && (TaskInclude(CN_01) != cfgExclude) && (TaskInclude(CN_01) != cfgStartSleeping) && (TaskInclude(CN_01) != cfgStartSuspended) && (TaskInclude(CN_01) != cfgStartRunning)
00835   #error "Parameter 'TaskInclude on task CN_01' is misspelled or incorrect."
00836 #endif
00837 
00838 #if defined(CN_02) && (TaskInclude(CN_02) != cfgExclude) && (TaskInclude(CN_02) != cfgStartSleeping) && (TaskInclude(CN_02) != cfgStartSuspended) && (TaskInclude(CN_02) != cfgStartRunning)
00839   #error "Parameter 'TaskInclude on task CN_02' is misspelled or incorrect."
00840 #endif
00841 
00842 #if defined(CN_03) && (TaskInclude(CN_03) != cfgExclude) && (TaskInclude(CN_03) != cfgStartSleeping) && (TaskInclude(CN_03) != cfgStartSuspended) && (TaskInclude(CN_03) != cfgStartRunning)
00843   #error "Parameter 'TaskInclude on task CN_03' is misspelled or incorrect."
00844 #endif
00845 
00846 #if defined(CN_04) && (TaskInclude(CN_04) != cfgExclude) && (TaskInclude(CN_04) != cfgStartSleeping) && (TaskInclude(CN_04) != cfgStartSuspended) && (TaskInclude(CN_04) != cfgStartRunning)
00847   #error "Parameter 'TaskInclude on task CN_04' is misspelled or incorrect."
00848 #endif
00849 
00850 #if defined(CN_05) && (TaskInclude(CN_05) != cfgExclude) && (TaskInclude(CN_05) != cfgStartSleeping) && (TaskInclude(CN_05) != cfgStartSuspended) && (TaskInclude(CN_05) != cfgStartRunning)
00851   #error "Parameter 'TaskInclude on task CN_05' is misspelled or incorrect."
00852 #endif
00853 
00854 #if defined(CN_06) && (TaskInclude(CN_06) != cfgExclude) && (TaskInclude(CN_06) != cfgStartSleeping) && (TaskInclude(CN_06) != cfgStartSuspended) && (TaskInclude(CN_06) != cfgStartRunning)
00855   #error "Parameter 'TaskInclude on task CN_06' is misspelled or incorrect."
00856 #endif
00857 
00858 #if defined(CN_07) && (TaskInclude(CN_07) != cfgExclude) && (TaskInclude(CN_07) != cfgStartSleeping) && (TaskInclude(CN_07) != cfgStartSuspended) && (TaskInclude(CN_07) != cfgStartRunning)
00859   #error "Parameter 'TaskInclude on task CN_07' is misspelled or incorrect."
00860 #endif
00861 
00862 #if defined(CN_08) && (TaskInclude(CN_08) != cfgExclude) && (TaskInclude(CN_08) != cfgStartSleeping) && (TaskInclude(CN_08) != cfgStartSuspended) && (TaskInclude(CN_08) != cfgStartRunning)
00863   #error "Parameter 'TaskInclude on task CN_08' is misspelled or incorrect."
00864 #endif
00865 
00866 #if defined(CN_09) && (TaskInclude(CN_09) != cfgExclude) && (TaskInclude(CN_09) != cfgStartSleeping) && (TaskInclude(CN_09) != cfgStartSuspended) && (TaskInclude(CN_09) != cfgStartRunning)
00867   #error "Parameter 'TaskInclude on task CN_09' is misspelled or incorrect."
00868 #endif
00869 
00870 #if defined(CN_10) && (TaskInclude(CN_10) != cfgExclude) && (TaskInclude(CN_10) != cfgStartSleeping) && (TaskInclude(CN_10) != cfgStartSuspended) && (TaskInclude(CN_10) != cfgStartRunning)
00871   #error "Parameter 'TaskInclude on task CN_10' is misspelled or incorrect."
00872 #endif
00873 
00874 #if defined(CN_11) && (TaskInclude(CN_11) != cfgExclude) && (TaskInclude(CN_11) != cfgStartSleeping) && (TaskInclude(CN_11) != cfgStartSuspended) && (TaskInclude(CN_11) != cfgStartRunning)
00875   #error "Parameter 'TaskInclude on task CN_11' is misspelled or incorrect."
00876 #endif
00877 
00878 #if defined(CN_12) && (TaskInclude(CN_12) != cfgExclude) && (TaskInclude(CN_12) != cfgStartSleeping) && (TaskInclude(CN_12) != cfgStartSuspended) && (TaskInclude(CN_12) != cfgStartRunning)
00879   #error "Parameter 'TaskInclude on task CN_12' is misspelled or incorrect."
00880 #endif
00881 
00882 #if defined(CN_13) && (TaskInclude(CN_13) != cfgExclude) && (TaskInclude(CN_13) != cfgStartSleeping) && (TaskInclude(CN_13) != cfgStartSuspended) && (TaskInclude(CN_13) != cfgStartRunning)
00883   #error "Parameter 'TaskInclude on task CN_13' is misspelled or incorrect."
00884 #endif
00885 
00886 #if defined(CN_14) && (TaskInclude(CN_14) != cfgExclude) && (TaskInclude(CN_14) != cfgStartSleeping) && (TaskInclude(CN_14) != cfgStartSuspended) && (TaskInclude(CN_14) != cfgStartRunning)
00887   #error "Parameter 'TaskInclude on task CN_14' is misspelled or incorrect."
00888 #endif
00889 
00890 #if defined(CN_15) && (TaskInclude(CN_15) != cfgExclude) && (TaskInclude(CN_15) != cfgStartSleeping) && (TaskInclude(CN_15) != cfgStartSuspended) && (TaskInclude(CN_15) != cfgStartRunning)
00891   #error "Parameter 'TaskInclude on task CN_15' is misspelled or incorrect."
00892 #endif
00893 
00894 #else
00895 
00896 #if (IncludeOverride != cfgExclude) && (IncludeOverride != cfgStartSleeping) && (IncludeOverride != cfgStartSuspended) && (IncludeOverride != cfgStartRunning)
00897   #error "Parameter 'IncludeOverride' is misspelled or incorrect."
00898 #endif
00899 
00900 #endif
00901 
00902 
00903 #if !defined(StackSizeOverride) || ((StackSizeOverride) == cfgOverrideNon)
00904 
00905 #if defined(CN_00) && (TaskInclude(CN_00) != cfgExclude) && ((StackSizeDef(CN_00) < MinStackSize_Task) || (StackSizeDef(CN_00) > MaxStackSize_Task)) && (StackSizeDef(CN_00) != cfgShared)
00906   #error "Parameter 'StackSize on task CN_00' is misspelled or incorrect."
00907 #endif
00908 
00909 #if defined(CN_01) && (TaskInclude(CN_01) != cfgExclude) && ((StackSizeDef(CN_01) < MinStackSize_Task) || (StackSizeDef(CN_01) > MaxStackSize_Task)) && (StackSizeDef(CN_01) != cfgShared)
00910   #error "Parameter 'StackSize on task CN_01' is misspelled or incorrect."
00911 #endif
00912 
00913 #if defined(CN_02) && (TaskInclude(CN_02) != cfgExclude) && ((StackSizeDef(CN_02) < MinStackSize_Task) || (StackSizeDef(CN_02) > MaxStackSize_Task)) && (StackSizeDef(CN_02) != cfgShared)
00914   #error "Parameter 'StackSize on task CN_02' is misspelled or incorrect."
00915 #endif
00916 
00917 #if defined(CN_03) && (TaskInclude(CN_03) != cfgExclude) && ((StackSizeDef(CN_03) < MinStackSize_Task) || (StackSizeDef(CN_03) > MaxStackSize_Task)) && (StackSizeDef(CN_03) != cfgShared)
00918   #error "Parameter 'StackSize on task CN_03' is misspelled or incorrect."
00919 #endif
00920 
00921 #if defined(CN_04) && (TaskInclude(CN_04) != cfgExclude) && ((StackSizeDef(CN_04) < MinStackSize_Task) || (StackSizeDef(CN_04) > MaxStackSize_Task)) && (StackSizeDef(CN_04) != cfgShared)
00922   #error "Parameter 'StackSize on task CN_04' is misspelled or incorrect."
00923 #endif
00924 
00925 #if defined(CN_05) && (TaskInclude(CN_05) != cfgExclude) && ((StackSizeDef(CN_05) < MinStackSize_Task) || (StackSizeDef(CN_05) > MaxStackSize_Task)) && (StackSizeDef(CN_05) != cfgShared)
00926   #error "Parameter 'StackSize on task CN_05' is misspelled or incorrect."
00927 #endif
00928 
00929 #if defined(CN_06) && (TaskInclude(CN_06) != cfgExclude) && ((StackSizeDef(CN_06) < MinStackSize_Task) || (StackSizeDef(CN_06) > MaxStackSize_Task)) && (StackSizeDef(CN_06) != cfgShared)
00930   #error "Parameter 'StackSize on task CN_06' is misspelled or incorrect."
00931 #endif
00932 
00933 #if defined(CN_07) && (TaskInclude(CN_07) != cfgExclude) && ((StackSizeDef(CN_07) < MinStackSize_Task) || (StackSizeDef(CN_07) > MaxStackSize_Task)) && (StackSizeDef(CN_07) != cfgShared)
00934   #error "Parameter 'StackSize on task CN_07' is misspelled or incorrect."
00935 #endif
00936 
00937 #if defined(CN_08) && (TaskInclude(CN_08) != cfgExclude) && ((StackSizeDef(CN_08) < MinStackSize_Task) || (StackSizeDef(CN_08) > MaxStackSize_Task)) && (StackSizeDef(CN_08) != cfgShared)
00938   #error "Parameter 'StackSize on task CN_08' is misspelled or incorrect."
00939 #endif
00940 
00941 #if defined(CN_09) && (TaskInclude(CN_09) != cfgExclude) && ((StackSizeDef(CN_09) < MinStackSize_Task) || (StackSizeDef(CN_09) > MaxStackSize_Task)) && (StackSizeDef(CN_09) != cfgShared)
00942   #error "Parameter 'StackSize on task CN_09' is misspelled or incorrect."
00943 #endif
00944 
00945 #if defined(CN_10) && (TaskInclude(CN_10) != cfgExclude) && ((StackSizeDef(CN_10) < MinStackSize_Task) || (StackSizeDef(CN_10) > MaxStackSize_Task)) && (StackSizeDef(CN_10) != cfgShared)
00946   #error "Parameter 'StackSize on task CN_10' is misspelled or incorrect."
00947 #endif
00948 
00949 #if defined(CN_11) && (TaskInclude(CN_11) != cfgExclude) && ((StackSizeDef(CN_11) < MinStackSize_Task) || (StackSizeDef(CN_11) > MaxStackSize_Task)) && (StackSizeDef(CN_11) != cfgShared)
00950   #error "Parameter 'StackSize on task CN_11' is misspelled or incorrect."
00951 #endif
00952 
00953 #if defined(CN_12) && (TaskInclude(CN_12) != cfgExclude) && ((StackSizeDef(CN_12) < MinStackSize_Task) || (StackSizeDef(CN_12) > MaxStackSize_Task)) && (StackSizeDef(CN_12) != cfgShared)
00954   #error "Parameter 'StackSize on task CN_12' is misspelled or incorrect."
00955 #endif
00956 
00957 #if defined(CN_13) && (TaskInclude(CN_13) != cfgExclude) && ((StackSizeDef(CN_13) < MinStackSize_Task) || (StackSizeDef(CN_13) > MaxStackSize_Task)) && (StackSizeDef(CN_13) != cfgShared)
00958   #error "Parameter 'StackSize on task CN_13' is misspelled or incorrect."
00959 #endif
00960 
00961 #if defined(CN_14) && (TaskInclude(CN_14) != cfgExclude) && ((StackSizeDef(CN_14) < MinStackSize_Task) || (StackSizeDef(CN_14) > MaxStackSize_Task)) && (StackSizeDef(CN_14) != cfgShared)
00962   #error "Parameter 'StackSize on task CN_14' is misspelled or incorrect."
00963 #endif
00964 
00965 #if defined(CN_15) && (TaskInclude(CN_15) != cfgExclude) && ((StackSizeDef(CN_15) < MinStackSize_Task) || (StackSizeDef(CN_15) > MaxStackSize_Task)) && (StackSizeDef(CN_15) != cfgShared)
00966   #error "Parameter 'StackSize on task CN_15' is misspelled or incorrect."
00967 #endif
00968 
00969 #else
00970 
00971 #if (((StackSizeOverride) < MinStackSize_Task) || ((StackSizeOverride) > MaxStackSize_Task))  && (StackSizeOverride != cfgShared)
00972   #error "Parameter 'StackSizeOverride' is misspelled or incorrect."
00973 #endif
00974 
00975 #endif
00976 
00977 
00978 #if defined(CN_00) && (TaskInclude(CN_00) != cfgExclude) && ((StackSize(CN_00) < (defTaskStackMinimum)) || (StackSize(CN_00) < (RegisterUseSize(RegisterUse(CN_00)) + defTaskStackGround + StackSafety)))
00979   #error "Parameter 'StackSize on task CN_00' is too small."
00980 #endif
00981 
00982 #if defined(CN_01) && (TaskInclude(CN_01) != cfgExclude) && ((StackSize(CN_01) < (defTaskStackMinimum)) || (StackSize(CN_01) < (RegisterUseSize(RegisterUse(CN_01)) + defTaskStackGround + StackSafety)))
00983   #error "Parameter 'StackSize on task CN_01' is too small."
00984 #endif
00985 
00986 #if defined(CN_02) && (TaskInclude(CN_02) != cfgExclude) && ((StackSize(CN_02) < (defTaskStackMinimum)) || (StackSize(CN_02) < (RegisterUseSize(RegisterUse(CN_02)) + defTaskStackGround + StackSafety)))
00987   #error "Parameter 'StackSize on task CN_02' is too small."
00988 #endif
00989 
00990 #if defined(CN_03) && (TaskInclude(CN_03) != cfgExclude) && ((StackSize(CN_03) < (defTaskStackMinimum)) || (StackSize(CN_03) < (RegisterUseSize(RegisterUse(CN_03)) + defTaskStackGround + StackSafety)))
00991   #error "Parameter 'StackSize on task CN_03' is too small."
00992 #endif
00993 
00994 #if defined(CN_04) && (TaskInclude(CN_04) != cfgExclude) && ((StackSize(CN_04) < (defTaskStackMinimum)) || (StackSize(CN_04) < (RegisterUseSize(RegisterUse(CN_04)) + defTaskStackGround + StackSafety)))
00995   #error "Parameter 'StackSize on task CN_04' is too small."
00996 #endif
00997 
00998 #if defined(CN_05) && (TaskInclude(CN_05) != cfgExclude) && ((StackSize(CN_05) < (defTaskStackMinimum)) || (StackSize(CN_05) < (RegisterUseSize(RegisterUse(CN_05)) + defTaskStackGround + StackSafety)))
00999   #error "Parameter 'StackSize on task CN_05' is too small."
01000 #endif
01001 
01002 #if defined(CN_06) && (TaskInclude(CN_06) != cfgExclude) && ((StackSize(CN_06) < (defTaskStackMinimum)) || (StackSize(CN_06) < (RegisterUseSize(RegisterUse(CN_06)) + defTaskStackGround + StackSafety)))
01003   #error "Parameter 'StackSize on task CN_06' is too small."
01004 #endif
01005 
01006 #if defined(CN_07) && (TaskInclude(CN_07) != cfgExclude) && ((StackSize(CN_07) < (defTaskStackMinimum)) || (StackSize(CN_07) < (RegisterUseSize(RegisterUse(CN_07)) + defTaskStackGround + StackSafety)))
01007   #error "Parameter 'StackSize on task CN_07' is too small."
01008 #endif
01009 
01010 #if defined(CN_08) && (TaskInclude(CN_08) != cfgExclude) && ((StackSize(CN_08) < (defTaskStackMinimum)) || (StackSize(CN_08) < (RegisterUseSize(RegisterUse(CN_08)) + defTaskStackGround + StackSafety)))
01011   #error "Parameter 'StackSize on task CN_08' is too small."
01012 #endif
01013 
01014 #if defined(CN_09) && (TaskInclude(CN_09) != cfgExclude) && ((StackSize(CN_09) < (defTaskStackMinimum)) || (StackSize(CN_09) < (RegisterUseSize(RegisterUse(CN_09)) + defTaskStackGround + StackSafety)))
01015   #error "Parameter 'StackSize on task CN_09' is too small."
01016 #endif
01017 
01018 #if defined(CN_10) && (TaskInclude(CN_10) != cfgExclude) && ((StackSize(CN_10) < (defTaskStackMinimum)) || (StackSize(CN_10) < (RegisterUseSize(RegisterUse(CN_10)) + defTaskStackGround + StackSafety)))
01019   #error "Parameter 'StackSize on task CN_10' is too small."
01020 #endif
01021 
01022 #if defined(CN_11) && (TaskInclude(CN_11) != cfgExclude) && ((StackSize(CN_11) < (defTaskStackMinimum)) || (StackSize(CN_11) < (RegisterUseSize(RegisterUse(CN_11)) + defTaskStackGround + StackSafety)))
01023   #error "Parameter 'StackSize on task CN_11' is too small."
01024 #endif
01025 
01026 #if defined(CN_12) && (TaskInclude(CN_12) != cfgExclude) && ((StackSize(CN_12) < (defTaskStackMinimum)) || (StackSize(CN_12) < (RegisterUseSize(RegisterUse(CN_12)) + defTaskStackGround + StackSafety)))
01027   #error "Parameter 'StackSize on task CN_12' is too small."
01028 #endif
01029 
01030 #if defined(CN_13) && (TaskInclude(CN_13) != cfgExclude) && ((StackSize(CN_13) < (defTaskStackMinimum)) || (StackSize(CN_13) < (RegisterUseSize(RegisterUse(CN_13)) + defTaskStackGround + StackSafety)))
01031   #error "Parameter 'StackSize on task CN_13' is too small."
01032 #endif
01033 
01034 #if defined(CN_14) && (TaskInclude(CN_14) != cfgExclude) && ((StackSize(CN_14) < (defTaskStackMinimum)) || (StackSize(CN_14) < (RegisterUseSize(RegisterUse(CN_14)) + defTaskStackGround + StackSafety)))
01035   #error "Parameter 'StackSize on task CN_14' is too small."
01036 #endif
01037 
01038 #if defined(CN_15) && (TaskInclude(CN_15) != cfgExclude) && ((StackSize(CN_15) < (defTaskStackMinimum)) || (StackSize(CN_15) < (RegisterUseSize(RegisterUse(CN_15)) + defTaskStackGround + StackSafety)))
01039   #error "Parameter 'StackSize on task CN_14' is too small."
01040 #endif
01041 
01042 
01043 #if (( defined(CN_00) && (TaskInclude(CN_00) != cfgExclude) && (StackIsShared(CN_00)) ) || \
01044      ( defined(CN_01) && (TaskInclude(CN_01) != cfgExclude) && (StackIsShared(CN_01)) ) || \
01045      ( defined(CN_02) && (TaskInclude(CN_02) != cfgExclude) && (StackIsShared(CN_02)) ) || \
01046      ( defined(CN_03) && (TaskInclude(CN_03) != cfgExclude) && (StackIsShared(CN_03)) ) || \
01047      ( defined(CN_04) && (TaskInclude(CN_04) != cfgExclude) && (StackIsShared(CN_04)) ) || \
01048      ( defined(CN_05) && (TaskInclude(CN_05) != cfgExclude) && (StackIsShared(CN_05)) ) || \
01049      ( defined(CN_06) && (TaskInclude(CN_06) != cfgExclude) && (StackIsShared(CN_06)) ) || \
01050      ( defined(CN_07) && (TaskInclude(CN_07) != cfgExclude) && (StackIsShared(CN_07)) ) || \
01051      ( defined(CN_08) && (TaskInclude(CN_08) != cfgExclude) && (StackIsShared(CN_08)) ) || \
01052      ( defined(CN_09) && (TaskInclude(CN_09) != cfgExclude) && (StackIsShared(CN_09)) ) || \
01053      ( defined(CN_10) && (TaskInclude(CN_10) != cfgExclude) && (StackIsShared(CN_10)) ) || \
01054      ( defined(CN_11) && (TaskInclude(CN_11) != cfgExclude) && (StackIsShared(CN_11)) ) || \
01055      ( defined(CN_12) && (TaskInclude(CN_12) != cfgExclude) && (StackIsShared(CN_12)) ) || \
01056      ( defined(CN_13) && (TaskInclude(CN_13) != cfgExclude) && (StackIsShared(CN_13)) ) || \
01057      ( defined(CN_14) && (TaskInclude(CN_14) != cfgExclude) && (StackIsShared(CN_14)) ) || \
01058      ( defined(CN_15) && (TaskInclude(CN_15) != cfgExclude) && (StackIsShared(CN_15)) )) && \
01059      ( (StackSizeShared) == 0 )
01060   #error Use of the Shared Stack requires a stack of suitable size.
01061 #endif
01062 
01063 
01064 
01065 #if (cfgUseEquidistantTicks == cfgFalse )
01066 
01067 #if !defined(TimeSliceOverride) || ((TimeSliceOverride) == cfgOverrideNon)
01068 
01069 #if defined(CN_00) && (TaskInclude(CN_00) != cfgExclude) && ((TimeSlice(CN_00) < MinTimeSlice_Task) || (TimeSlice(CN_00) > MaxTimeSlice_Task))
01070   #error "Parameter 'TimeSlice on task CN_00' is misspelled or incorrect."
01071 #endif
01072 
01073 #if defined(CN_01) && (TaskInclude(CN_01) != cfgExclude) && ((TimeSlice(CN_01) < MinTimeSlice_Task) || (TimeSlice(CN_01) > MaxTimeSlice_Task))
01074   #error "Parameter 'TimeSlice on task CN_01' is misspelled or incorrect."
01075 #endif
01076 
01077 #if defined(CN_02) && (TaskInclude(CN_02) != cfgExclude) && ((TimeSlice(CN_02) < MinTimeSlice_Task) || (TimeSlice(CN_02) > MaxTimeSlice_Task))
01078   #error "Parameter 'TimeSlice on task CN_02' is misspelled or incorrect."
01079 #endif
01080 
01081 #if defined(CN_03) && (TaskInclude(CN_03) != cfgExclude) && ((TimeSlice(CN_03) < MinTimeSlice_Task) || (TimeSlice(CN_03) > MaxTimeSlice_Task))
01082   #error "Parameter 'TimeSlice on task CN_03' is misspelled or incorrect."
01083 #endif
01084 
01085 #if defined(CN_04) && (TaskInclude(CN_04) != cfgExclude) && ((TimeSlice(CN_04) < MinTimeSlice_Task) || (TimeSlice(CN_04) > MaxTimeSlice_Task))
01086   #error "Parameter 'TimeSlice on task CN_04' is misspelled or incorrect."
01087 #endif
01088 
01089 #if defined(CN_05) && (TaskInclude(CN_05) != cfgExclude) && ((TimeSlice(CN_05) < MinTimeSlice_Task) || (TimeSlice(CN_05) > MaxTimeSlice_Task))
01090   #error "Parameter 'TimeSlice on task CN_05' is misspelled or incorrect."
01091 #endif
01092 
01093 #if defined(CN_06) && (TaskInclude(CN_06) != cfgExclude) && ((TimeSlice(CN_06) < MinTimeSlice_Task) || (TimeSlice(CN_06) > MaxTimeSlice_Task))
01094   #error "Parameter 'TimeSlice on task CN_06' is misspelled or incorrect."
01095 #endif
01096 
01097 #if defined(CN_07) && (TaskInclude(CN_07) != cfgExclude) && ((TimeSlice(CN_07) < MinTimeSlice_Task) || (TimeSlice(CN_07) > MaxTimeSlice_Task))
01098   #error "Parameter 'TimeSlice on task CN_07' is misspelled or incorrect."
01099 #endif
01100 
01101 #if defined(CN_08) && (TaskInclude(CN_08) != cfgExclude) && ((TimeSlice(CN_08) < MinTimeSlice_Task) || (TimeSlice(CN_08) > MaxTimeSlice_Task))
01102   #error "Parameter 'TimeSlice on task CN_08' is misspelled or incorrect."
01103 #endif
01104 
01105 #if defined(CN_09) && (TaskInclude(CN_09) != cfgExclude) && ((TimeSlice(CN_09) < MinTimeSlice_Task) || (TimeSlice(CN_09) > MaxTimeSlice_Task))
01106   #error "Parameter 'TimeSlice on task CN_09' is misspelled or incorrect."
01107 #endif
01108 
01109 #if defined(CN_10) && (TaskInclude(CN_10) != cfgExclude) && ((TimeSlice(CN_10) < MinTimeSlice_Task) || (TimeSlice(CN_10) > MaxTimeSlice_Task))
01110   #error "Parameter 'TimeSlice on task CN_10' is misspelled or incorrect."
01111 #endif
01112 
01113 #if defined(CN_11) && (TaskInclude(CN_11) != cfgExclude) && ((TimeSlice(CN_11) < MinTimeSlice_Task) || (TimeSlice(CN_11) > MaxTimeSlice_Task))
01114   #error "Parameter 'TimeSlice on task CN_11' is misspelled or incorrect."
01115 #endif
01116 
01117 #if defined(CN_12) && (TaskInclude(CN_12) != cfgExclude) && ((TimeSlice(CN_12) < MinTimeSlice_Task) || (TimeSlice(CN_12) > MaxTimeSlice_Task))
01118   #error "Parameter 'TimeSlice on task CN_12' is misspelled or incorrect."
01119 #endif
01120 
01121 #if defined(CN_13) && (TaskInclude(CN_13) != cfgExclude) && ((TimeSlice(CN_13) < MinTimeSlice_Task) || (TimeSlice(CN_13) > MaxTimeSlice_Task))
01122   #error "Parameter 'TimeSlice on task CN_13' is misspelled or incorrect."
01123 #endif
01124 
01125 #if defined(CN_14) && (TaskInclude(CN_14) != cfgExclude) && ((TimeSlice(CN_14) < MinTimeSlice_Task) || (TimeSlice(CN_14) > MaxTimeSlice_Task))
01126   #error "Parameter 'TimeSlice on task CN_14' is misspelled or incorrect."
01127 #endif
01128 
01129 #if defined(CN_15) && (TaskInclude(CN_15) != cfgExclude) && ((TimeSlice(CN_15) < MinTimeSlice_Task) || (TimeSlice(CN_15) > MaxTimeSlice_Task))
01130   #error "Parameter 'TimeSlice on task CN_15' is misspelled or incorrect."
01131 #endif
01132 
01133 #else
01134 
01135 #if ((TimeSliceOverride) < MinTimeSlice_Task) || ((TimeSliceOverride) > MaxTimeSlice_Task)
01136   #error "Parameter 'TimeSliceOverride' is misspelled or incorrect."
01137 #endif
01138 
01139 #endif
01140 
01141 #endif
01142 
01143 
01144 #if !defined(CapabilitiesOverride) || ((CapabilitiesOverride) == cfgOverrideNon)
01145 
01146 #if defined(CN_00) && (TaskInclude(CN_00) != cfgExclude) && (((Capabilities(CN_00)) < MinCapabilities_Task) || ((Capabilities(CN_00)) > MaxCapabilities_Task))
01147   #error "Parameter 'Capabilities on task CN_00' is misspelled or incorrect."
01148 #endif
01149 
01150 #if defined(CN_01) && (TaskInclude(CN_01) != cfgExclude) && (((Capabilities(CN_01)) < MinCapabilities_Task) || ((Capabilities(CN_01)) > MaxCapabilities_Task))
01151   #error "Parameter 'Capabilities on task CN_01' is misspelled or incorrect."
01152 #endif
01153 
01154 #if defined(CN_02) && (TaskInclude(CN_02) != cfgExclude) && (((Capabilities(CN_02)) < MinCapabilities_Task) || ((Capabilities(CN_02)) > MaxCapabilities_Task))
01155   #error "Parameter 'Capabilities on task CN_02' is misspelled or incorrect."
01156 #endif
01157 
01158 #if defined(CN_03) && (TaskInclude(CN_03) != cfgExclude) && (((Capabilities(CN_03)) < MinCapabilities_Task) || ((Capabilities(CN_03)) > MaxCapabilities_Task))
01159   #error "Parameter 'Capabilities on task CN_03' is misspelled or incorrect."
01160 #endif
01161 
01162 #if defined(CN_04) && (TaskInclude(CN_04) != cfgExclude) && (((Capabilities(CN_04)) < MinCapabilities_Task) || ((Capabilities(CN_04)) > MaxCapabilities_Task))
01163   #error "Parameter 'Capabilities on task CN_04' is misspelled or incorrect."
01164 #endif
01165 
01166 #if defined(CN_05) && (TaskInclude(CN_05) != cfgExclude) && (((Capabilities(CN_05)) < MinCapabilities_Task) || ((Capabilities(CN_05)) > MaxCapabilities_Task))
01167   #error "Parameter 'Capabilities on task CN_05' is misspelled or incorrect."
01168 #endif
01169 
01170 #if defined(CN_06) && (TaskInclude(CN_06) != cfgExclude) && (((Capabilities(CN_06)) < MinCapabilities_Task) || ((Capabilities(CN_06)) > MaxCapabilities_Task))
01171   #error "Parameter 'Capabilities on task CN_06' is misspelled or incorrect."
01172 #endif
01173 
01174 #if defined(CN_07) && (TaskInclude(CN_07) != cfgExclude) && (((Capabilities(CN_07)) < MinCapabilities_Task) || ((Capabilities(CN_07)) > MaxCapabilities_Task))
01175   #error "Parameter 'Capabilities on task CN_07' is misspelled or incorrect."
01176 #endif
01177 
01178 #if defined(CN_08) && (TaskInclude(CN_08) != cfgExclude) && (((Capabilities(CN_08)) < MinCapabilities_Task) || ((Capabilities(CN_08)) > MaxCapabilities_Task))
01179   #error "Parameter 'Capabilities on task CN_08' is misspelled or incorrect."
01180 #endif
01181 
01182 #if defined(CN_09) && (TaskInclude(CN_09) != cfgExclude) && (((Capabilities(CN_09)) < MinCapabilities_Task) || ((Capabilities(CN_09)) > MaxCapabilities_Task))
01183   #error "Parameter 'Capabilities on task CN_09' is misspelled or incorrect."
01184 #endif
01185 
01186 #if defined(CN_10) && (TaskInclude(CN_10) != cfgExclude) && (((Capabilities(CN_10)) < MinCapabilities_Task) || ((Capabilities(CN_10)) > MaxCapabilities_Task))
01187   #error "Parameter 'Capabilities on task CN_10' is misspelled or incorrect."
01188 #endif
01189 
01190 #if defined(CN_11) && (TaskInclude(CN_11) != cfgExclude) && (((Capabilities(CN_11)) < MinCapabilities_Task) || ((Capabilities(CN_11)) > MaxCapabilities_Task))
01191   #error "Parameter 'Capabilities on task CN_11' is misspelled or incorrect."
01192 #endif
01193 
01194 #if defined(CN_12) && (TaskInclude(CN_12) != cfgExclude) && (((Capabilities(CN_12)) < MinCapabilities_Task) || ((Capabilities(CN_12)) > MaxCapabilities_Task))
01195   #error "Parameter 'Capabilities on task CN_12' is misspelled or incorrect."
01196 #endif
01197 
01198 #if defined(CN_13) && (TaskInclude(CN_13) != cfgExclude) && (((Capabilities(CN_13)) < MinCapabilities_Task) || ((Capabilities(CN_13)) > MaxCapabilities_Task))
01199   #error "Parameter 'Capabilities on task CN_13' is misspelled or incorrect."
01200 #endif
01201 
01202 #if defined(CN_14) && (TaskInclude(CN_14) != cfgExclude) && (((Capabilities(CN_14)) < MinCapabilities_Task) || ((Capabilities(CN_14)) > MaxCapabilities_Task))
01203   #error "Parameter 'Capabilities on task CN_14' is misspelled or incorrect."
01204 #endif
01205 
01206 #if defined(CN_15) && (TaskInclude(CN_15) != cfgExclude) && (((Capabilities(CN_15)) < MinCapabilities_Task) || ((Capabilities(CN_15)) > MaxCapabilities_Task))
01207   #error "Parameter 'Capabilities on task CN_15' is misspelled or incorrect."
01208 #endif
01209 
01210 #else
01211 
01212 #if ((CapabilitiesOverride) < MinCapabilities_Task) || ((CapabilitiesOverride) > MaxCapabilities_Task)
01213   #error "Parameter 'CapabilitiesOverride' is misspelled or incorrect."
01214 #endif
01215 
01216 #endif
01217 
01218 
01219 #if !defined(PriorityOverride) || ((PriorityOverride) == cfgOverrideNon)
01220 
01221 #if defined(CN_00) && (TaskInclude(CN_00) != cfgExclude) && ((Priority(CN_00) < MinPriority_Task) || (Priority(CN_00) > MaxPriority_Task))
01222   #error "Parameter 'Priority on task CN_00' is misspelled or incorrect."
01223 #endif
01224 
01225 #if defined(CN_01) && (TaskInclude(CN_01) != cfgExclude) && ((Priority(CN_01) < MinPriority_Task) || (Priority(CN_01) > MaxPriority_Task))
01226   #error "Parameter 'Priority on task CN_01' is misspelled or incorrect."
01227 #endif
01228 
01229 #if defined(CN_02) && (TaskInclude(CN_02) != cfgExclude) && ((Priority(CN_02) < MinPriority_Task) || (Priority(CN_02) > MaxPriority_Task))
01230   #error "Parameter 'Priority on task CN_02' is misspelled or incorrect."
01231 #endif
01232 
01233 #if defined(CN_03) && (TaskInclude(CN_03) != cfgExclude) && ((Priority(CN_03) < MinPriority_Task) || (Priority(CN_03) > MaxPriority_Task))
01234   #error "Parameter 'Priority on task CN_03' is misspelled or incorrect."
01235 #endif
01236 
01237 #if defined(CN_04) && (TaskInclude(CN_04) != cfgExclude) && ((Priority(CN_04) < MinPriority_Task) || (Priority(CN_04) > MaxPriority_Task))
01238   #error "Parameter 'Priority on task CN_04' is misspelled or incorrect."
01239 #endif
01240 
01241 #if defined(CN_05) && (TaskInclude(CN_05) != cfgExclude) && ((Priority(CN_05) < MinPriority_Task) || (Priority(CN_05) > MaxPriority_Task))
01242   #error "Parameter 'Priority on task CN_05' is misspelled or incorrect."
01243 #endif
01244 
01245 #if defined(CN_06) && (TaskInclude(CN_06) != cfgExclude) && ((Priority(CN_06) < MinPriority_Task) || (Priority(CN_06) > MaxPriority_Task))
01246   #error "Parameter 'Priority on task CN_06' is misspelled or incorrect."
01247 #endif
01248 
01249 #if defined(CN_07) && (TaskInclude(CN_07) != cfgExclude) && ((Priority(CN_07) < MinPriority_Task) || (Priority(CN_07) > MaxPriority_Task))
01250   #error "Parameter 'Priority on task CN_07' is misspelled or incorrect."
01251 #endif
01252 
01253 #if defined(CN_08) && (TaskInclude(CN_08) != cfgExclude) && ((Priority(CN_08) < MinPriority_Task) || (Priority(CN_08) > MaxPriority_Task))
01254   #error "Parameter 'Priority on task CN_08' is misspelled or incorrect."
01255 #endif
01256 
01257 #if defined(CN_09) && (TaskInclude(CN_09) != cfgExclude) && ((Priority(CN_09) < MinPriority_Task) || (Priority(CN_09) > MaxPriority_Task))
01258   #error "Parameter 'Priority on task CN_09' is misspelled or incorrect."
01259 #endif
01260 
01261 #if defined(CN_10) && (TaskInclude(CN_10) != cfgExclude) && ((Priority(CN_10) < MinPriority_Task) || (Priority(CN_10) > MaxPriority_Task))
01262   #error "Parameter 'Priority on task CN_10' is misspelled or incorrect."
01263 #endif
01264 
01265 #if defined(CN_11) && (TaskInclude(CN_11) != cfgExclude) && ((Priority(CN_11) < MinPriority_Task) || (Priority(CN_11) > MaxPriority_Task))
01266   #error "Parameter 'Priority on task CN_11' is misspelled or incorrect."
01267 #endif
01268 
01269 #if defined(CN_12) && (TaskInclude(CN_12) != cfgExclude) && ((Priority(CN_12) < MinPriority_Task) || (Priority(CN_12) > MaxPriority_Task))
01270   #error "Parameter 'Priority on task CN_12' is misspelled or incorrect."
01271 #endif
01272 
01273 #if defined(CN_13) && (TaskInclude(CN_13) != cfgExclude) && ((Priority(CN_13) < MinPriority_Task) || (Priority(CN_13) > MaxPriority_Task))
01274   #error "Parameter 'Priority on task CN_13' is misspelled or incorrect."
01275 #endif
01276 
01277 #if defined(CN_14) && (TaskInclude(CN_14) != cfgExclude) && ((Priority(CN_14) < MinPriority_Task) || (Priority(CN_14) > MaxPriority_Task))
01278   #error "Parameter 'Priority on task CN_14' is misspelled or incorrect."
01279 #endif
01280 
01281 #if defined(CN_15) && (TaskInclude(CN_15) != cfgExclude) && ((Priority(CN_15) < MinPriority_Task) || (Priority(CN_15) > MaxPriority_Task))
01282   #error "Parameter 'Priority on task CN_15' is misspelled or incorrect."
01283 #endif
01284 
01285 #else
01286 
01287 #if ((PriorityOverride) < MinPriority_Task) || ((PriorityOverride) > MaxPriority_Task)
01288   #error "Parameter 'PriorityOverride' is misspelled or incorrect."
01289 #endif
01290 
01291 #endif
01292 
01293 
01294 #if !defined(RegisterUseOverride) || ((RegisterUseOverride) == cfgOverrideNon)
01295 
01296 #if defined(CN_00) && (TaskInclude(CN_00) != cfgExclude) && (((RegisterUse(CN_00)) < MinRegisterUse_Task) || ((RegisterUse(CN_00)) > MaxRegisterUse_Task))
01297   #error "Parameter 'RegisterUse on task CN_00' is misspelled or incorrect."
01298 #endif
01299 
01300 #if defined(CN_01) && (TaskInclude(CN_01) != cfgExclude) && (((RegisterUse(CN_01)) < MinRegisterUse_Task) || ((RegisterUse(CN_01)) > MaxRegisterUse_Task))
01301   #error "Parameter 'RegisterUse on task CN_01' is misspelled or incorrect."
01302 #endif
01303 
01304 #if defined(CN_02) && (TaskInclude(CN_02) != cfgExclude) && (((RegisterUse(CN_02)) < MinRegisterUse_Task) || ((RegisterUse(CN_02)) > MaxRegisterUse_Task))
01305   #error "Parameter 'RegisterUse on task CN_02' is misspelled or incorrect."
01306 #endif
01307 
01308 #if defined(CN_03) && (TaskInclude(CN_03) != cfgExclude) && (((RegisterUse(CN_03)) < MinRegisterUse_Task) || ((RegisterUse(CN_03)) > MaxRegisterUse_Task))
01309   #error "Parameter 'RegisterUse on task CN_03' is misspelled or incorrect."
01310 #endif
01311 
01312 #if defined(CN_04) && (TaskInclude(CN_04) != cfgExclude) && (((RegisterUse(CN_04)) < MinRegisterUse_Task) || ((RegisterUse(CN_04)) > MaxRegisterUse_Task))
01313   #error "Parameter 'RegisterUse on task CN_04' is misspelled or incorrect."
01314 #endif
01315 
01316 #if defined(CN_05) && (TaskInclude(CN_05) != cfgExclude) && (((RegisterUse(CN_05)) < MinRegisterUse_Task) || ((RegisterUse(CN_05)) > MaxRegisterUse_Task))
01317   #error "Parameter 'RegisterUse on task CN_05' is misspelled or incorrect."
01318 #endif
01319 
01320 #if defined(CN_06) && (TaskInclude(CN_06) != cfgExclude) && (((RegisterUse(CN_06)) < MinRegisterUse_Task) || ((RegisterUse(CN_06)) > MaxRegisterUse_Task))
01321   #error "Parameter 'RegisterUse on task CN_06' is misspelled or incorrect."
01322 #endif
01323 
01324 #if defined(CN_07) && (TaskInclude(CN_07) != cfgExclude) && (((RegisterUse(CN_07)) < MinRegisterUse_Task) || ((RegisterUse(CN_07)) > MaxRegisterUse_Task))
01325   #error "Parameter 'RegisterUse on task CN_07' is misspelled or incorrect."
01326 #endif
01327 
01328 #if defined(CN_08) && (TaskInclude(CN_08) != cfgExclude) && (((RegisterUse(CN_08)) < MinRegisterUse_Task) || ((RegisterUse(CN_08)) > MaxRegisterUse_Task))
01329   #error "Parameter 'RegisterUse on task CN_08' is misspelled or incorrect."
01330 #endif
01331 
01332 #if defined(CN_09) && (TaskInclude(CN_09) != cfgExclude) && (((RegisterUse(CN_09)) < MinRegisterUse_Task) || ((RegisterUse(CN_09)) > MaxRegisterUse_Task))
01333   #error "Parameter 'RegisterUse on task CN_09' is misspelled or incorrect."
01334 #endif
01335 
01336 #if defined(CN_10) && (TaskInclude(CN_10) != cfgExclude) && (((RegisterUse(CN_10)) < MinRegisterUse_Task) || ((RegisterUse(CN_10)) > MaxRegisterUse_Task))
01337   #error "Parameter 'RegisterUse on task CN_10' is misspelled or incorrect."
01338 #endif
01339 
01340 #if defined(CN_11) && (TaskInclude(CN_11) != cfgExclude) && (((RegisterUse(CN_11)) < MinRegisterUse_Task) || ((RegisterUse(CN_11)) > MaxRegisterUse_Task))
01341   #error "Parameter 'RegisterUse on task CN_11' is misspelled or incorrect."
01342 #endif
01343 
01344 #if defined(CN_12) && (TaskInclude(CN_12) != cfgExclude) && (((RegisterUse(CN_12)) < MinRegisterUse_Task) || ((RegisterUse(CN_12)) > MaxRegisterUse_Task))
01345   #error "Parameter 'RegisterUse on task CN_12' is misspelled or incorrect."
01346 #endif
01347 
01348 #if defined(CN_13) && (TaskInclude(CN_13) != cfgExclude) && (((RegisterUse(CN_13)) < MinRegisterUse_Task) || ((RegisterUse(CN_13)) > MaxRegisterUse_Task))
01349   #error "Parameter 'RegisterUse on task CN_13' is misspelled or incorrect."
01350 #endif
01351 
01352 #if defined(CN_14) && (TaskInclude(CN_14) != cfgExclude) && (((RegisterUse(CN_14)) < MinRegisterUse_Task) || ((RegisterUse(CN_14)) > MaxRegisterUse_Task))
01353   #error "Parameter 'RegisterUse on task CN_14' is misspelled or incorrect."
01354 #endif
01355 
01356 #if defined(CN_15) && (TaskInclude(CN_15) != cfgExclude) && (((RegisterUse(CN_15)) < MinRegisterUse_Task) || ((RegisterUse(CN_15)) > MaxRegisterUse_Task))
01357   #error "Parameter 'RegisterUse on task CN_15' is misspelled or incorrect."
01358 #endif
01359 
01360 #else
01361 
01362 #if ((RegisterUseOverride) < MinRegisterUse_Task) || ((RegisterUseOverride) > MaxRegisterUse_Task)
01363   #error "Parameter 'RegisterUseOverride' is misspelled or incorrect."
01364 #endif
01365 
01366 #endif
01367 
01368 
01369 #if (cfgCheckRegisters == cfgTrue )
01370 
01371 #if !defined(RegisterCheckOverride) || ((RegisterCheckOverride) == cfgOverrideNon)
01372 
01373 #if defined(CN_00) && (TaskInclude(CN_00) != cfgExclude) && (((RegisterCheck(CN_00)) < MinRegisterCheck_Task) || ((RegisterCheck(CN_00)) > MaxRegisterCheck_Task))
01374   #error "Parameter 'RegisterCheck on task CN_00' is misspelled or incorrect."
01375 #endif
01376 
01377 #if defined(CN_01) && (TaskInclude(CN_01) != cfgExclude) && (((RegisterCheck(CN_01)) < MinRegisterCheck_Task) || ((RegisterCheck(CN_01)) > MaxRegisterCheck_Task))
01378   #error "Parameter 'RegisterCheck on task CN_01' is misspelled or incorrect."
01379 #endif
01380 
01381 #if defined(CN_02) && (TaskInclude(CN_02) != cfgExclude) && (((RegisterCheck(CN_02)) < MinRegisterCheck_Task) || ((RegisterCheck(CN_02)) > MaxRegisterCheck_Task))
01382   #error "Parameter 'RegisterCheck on task CN_02' is misspelled or incorrect."
01383 #endif
01384 
01385 #if defined(CN_03) && (TaskInclude(CN_03) != cfgExclude) && (((RegisterCheck(CN_03)) < MinRegisterCheck_Task) || ((RegisterCheck(CN_03)) > MaxRegisterCheck_Task))
01386   #error "Parameter 'RegisterCheck on task CN_03' is misspelled or incorrect."
01387 #endif
01388 
01389 #if defined(CN_04) && (TaskInclude(CN_04) != cfgExclude) && (((RegisterCheck(CN_04)) < MinRegisterCheck_Task) || ((RegisterCheck(CN_04)) > MaxRegisterCheck_Task))
01390   #error "Parameter 'RegisterCheck on task CN_04' is misspelled or incorrect."
01391 #endif
01392 
01393 #if defined(CN_05) && (TaskInclude(CN_05) != cfgExclude) && (((RegisterCheck(CN_05)) < MinRegisterCheck_Task) || ((RegisterCheck(CN_05)) > MaxRegisterCheck_Task))
01394   #error "Parameter 'RegisterCheck on task CN_05' is misspelled or incorrect."
01395 #endif
01396 
01397 #if defined(CN_06) && (TaskInclude(CN_06) != cfgExclude) && (((RegisterCheck(CN_06)) < MinRegisterCheck_Task) || ((RegisterCheck(CN_06)) > MaxRegisterCheck_Task))
01398   #error "Parameter 'RegisterCheck on task CN_06' is misspelled or incorrect."
01399 #endif
01400 
01401 #if defined(CN_07) && (TaskInclude(CN_07) != cfgExclude) && (((RegisterCheck(CN_07)) < MinRegisterCheck_Task) || ((RegisterCheck(CN_07)) > MaxRegisterCheck_Task))
01402   #error "Parameter 'RegisterCheck on task CN_07' is misspelled or incorrect."
01403 #endif
01404 
01405 #if defined(CN_08) && (TaskInclude(CN_08) != cfgExclude) && (((RegisterCheck(CN_08)) < MinRegisterCheck_Task) || ((RegisterCheck(CN_08)) > MaxRegisterCheck_Task))
01406   #error "Parameter 'RegisterCheck on task CN_08' is misspelled or incorrect."
01407 #endif
01408 
01409 #if defined(CN_09) && (TaskInclude(CN_09) != cfgExclude) && (((RegisterCheck(CN_09)) < MinRegisterCheck_Task) || ((RegisterCheck(CN_09)) > MaxRegisterCheck_Task))
01410   #error "Parameter 'RegisterCheck on task CN_09' is misspelled or incorrect."
01411 #endif
01412 
01413 #if defined(CN_10) && (TaskInclude(CN_10) != cfgExclude) && (((RegisterCheck(CN_10)) < MinRegisterCheck_Task) || ((RegisterCheck(CN_10)) > MaxRegisterCheck_Task))
01414   #error "Parameter 'RegisterCheck on task CN_10' is misspelled or incorrect."
01415 #endif
01416 
01417 #if defined(CN_11) && (TaskInclude(CN_11) != cfgExclude) && (((RegisterCheck(CN_11)) < MinRegisterCheck_Task) || ((RegisterCheck(CN_11)) > MaxRegisterCheck_Task))
01418   #error "Parameter 'RegisterCheck on task CN_11' is misspelled or incorrect."
01419 #endif
01420 
01421 #if defined(CN_12) && (TaskInclude(CN_12) != cfgExclude) && (((RegisterCheck(CN_12)) < MinRegisterCheck_Task) || ((RegisterCheck(CN_12)) > MaxRegisterCheck_Task))
01422   #error "Parameter 'RegisterCheck on task CN_12' is misspelled or incorrect."
01423 #endif
01424 
01425 #if defined(CN_13) && (TaskInclude(CN_13) != cfgExclude) && (((RegisterCheck(CN_13)) < MinRegisterCheck_Task) || ((RegisterCheck(CN_13)) > MaxRegisterCheck_Task))
01426   #error "Parameter 'RegisterCheck on task CN_13' is misspelled or incorrect."
01427 #endif
01428 
01429 #if defined(CN_14) && (TaskInclude(CN_14) != cfgExclude) && (((RegisterCheck(CN_14)) < MinRegisterCheck_Task) || ((RegisterCheck(CN_14)) > MaxRegisterCheck_Task))
01430   #error "Parameter 'RegisterCheck on task CN_14' is misspelled or incorrect."
01431 #endif
01432 
01433 #if defined(CN_15) && (TaskInclude(CN_15) != cfgExclude) && (((RegisterCheck(CN_15)) < MinRegisterCheck_Task) || ((RegisterCheck(CN_15)) > MaxRegisterCheck_Task))
01434   #error "Parameter 'RegisterCheck on task CN_15' is misspelled or incorrect."
01435 #endif
01436 
01437 #else
01438 
01439 #if ((RegisterCheckOverride) < MinRegisterCheck_Task) || ((RegisterCheckOverride) > MaxRegisterCheck_Task)
01440   #error "Parameter 'RegisterCheckOverride' is misspelled or incorrect."
01441 #endif
01442 
01443 #endif
01444 
01445 #endif
01446 
01447 
01448 #if !defined(InterruptStartOverride) || ((InterruptStartOverride) == cfgOverrideNon)
01449 
01450 #if defined(CN_00) && (TaskInclude(CN_00) != cfgExclude) && (((InterruptStart(CN_00)) & (cfgGlobSet | cfgGlobClear | cfgTickSet | cfgTickClear) ) == 0)
01451   #error "Parameter 'InterruptStart on task CN_00' is misspelled or incorrect."
01452 #endif
01453 
01454 #if defined(CN_01) && (TaskInclude(CN_01) != cfgExclude) && (((InterruptStart(CN_01)) & (cfgGlobSet | cfgGlobClear | cfgTickSet | cfgTickClear) ) == 0)
01455   #error "Parameter 'InterruptStart on task CN_01' is misspelled or incorrect."
01456 #endif
01457 
01458 #if defined(CN_02) && (TaskInclude(CN_02) != cfgExclude) && (((InterruptStart(CN_02)) & (cfgGlobSet | cfgGlobClear | cfgTickSet | cfgTickClear) ) == 0)
01459   #error "Parameter 'InterruptStart on task CN_02' is misspelled or incorrect."
01460 #endif
01461 
01462 #if defined(CN_03) && (TaskInclude(CN_03) != cfgExclude) && (((InterruptStart(CN_03)) & (cfgGlobSet | cfgGlobClear | cfgTickSet | cfgTickClear) ) == 0)
01463   #error "Parameter 'InterruptStart on task CN_03' is misspelled or incorrect."
01464 #endif
01465 
01466 #if defined(CN_04) && (TaskInclude(CN_04) != cfgExclude) && (((InterruptStart(CN_04)) & (cfgGlobSet | cfgGlobClear | cfgTickSet | cfgTickClear) ) == 0)
01467   #error "Parameter 'InterruptStart on task CN_04' is misspelled or incorrect."
01468 #endif
01469 
01470 #if defined(CN_05) && (TaskInclude(CN_05) != cfgExclude) && (((InterruptStart(CN_05)) & (cfgGlobSet | cfgGlobClear | cfgTickSet | cfgTickClear) ) == 0)
01471   #error "Parameter 'InterruptStart on task CN_05' is misspelled or incorrect."
01472 #endif
01473 
01474 #if defined(CN_06) && (TaskInclude(CN_06) != cfgExclude) && (((InterruptStart(CN_06)) & (cfgGlobSet | cfgGlobClear | cfgTickSet | cfgTickClear) ) == 0)
01475   #error "Parameter 'InterruptStart on task CN_06' is misspelled or incorrect."
01476 #endif
01477 
01478 #if defined(CN_07) && (TaskInclude(CN_07) != cfgExclude) && (((InterruptStart(CN_07)) & (cfgGlobSet | cfgGlobClear | cfgTickSet | cfgTickClear) ) == 0)
01479   #error "Parameter 'InterruptStart on task CN_07' is misspelled or incorrect."
01480 #endif
01481 
01482 #if defined(CN_08) && (TaskInclude(CN_08) != cfgExclude) && (((InterruptStart(CN_08)) & (cfgGlobSet | cfgGlobClear | cfgTickSet | cfgTickClear) ) == 0)
01483   #error "Parameter 'InterruptStart on task CN_08' is misspelled or incorrect."
01484 #endif
01485 
01486 #if defined(CN_09) && (TaskInclude(CN_09) != cfgExclude) && (((InterruptStart(CN_09)) & (cfgGlobSet | cfgGlobClear | cfgTickSet | cfgTickClear) ) == 0)
01487   #error "Parameter 'InterruptStart on task CN_09' is misspelled or incorrect."
01488 #endif
01489 
01490 #if defined(CN_10) && (TaskInclude(CN_10) != cfgExclude) && (((InterruptStart(CN_10)) & (cfgGlobSet | cfgGlobClear | cfgTickSet | cfgTickClear) ) == 0)
01491   #error "Parameter 'InterruptStart on task CN_10' is misspelled or incorrect."
01492 #endif
01493 
01494 #if defined(CN_11) && (TaskInclude(CN_11) != cfgExclude) && (((InterruptStart(CN_11)) & (cfgGlobSet | cfgGlobClear | cfgTickSet | cfgTickClear) ) == 0)
01495   #error "Parameter 'InterruptStart on task CN_11' is misspelled or incorrect."
01496 #endif
01497 
01498 #if defined(CN_12) && (TaskInclude(CN_12) != cfgExclude) && (((InterruptStart(CN_12)) & (cfgGlobSet | cfgGlobClear | cfgTickSet | cfgTickClear) ) == 0)
01499   #error "Parameter 'InterruptStart on task CN_12' is misspelled or incorrect."
01500 #endif
01501 
01502 #if defined(CN_13) && (TaskInclude(CN_13) != cfgExclude) && (((InterruptStart(CN_13)) & (cfgGlobSet | cfgGlobClear | cfgTickSet | cfgTickClear) ) == 0)
01503   #error "Parameter 'InterruptStart on task CN_13' is misspelled or incorrect."
01504 #endif
01505 
01506 #if defined(CN_14) && (TaskInclude(CN_14) != cfgExclude) && (((InterruptStart(CN_14)) & (cfgGlobSet | cfgGlobClear | cfgTickSet | cfgTickClear) ) == 0)
01507   #error "Parameter 'InterruptStart on task CN_14' is misspelled or incorrect."
01508 #endif
01509 
01510 #if defined(CN_15) && (TaskInclude(CN_15) != cfgExclude) && (((InterruptStart(CN_15)) & (cfgGlobSet | cfgGlobClear | cfgTickSet | cfgTickClear) ) == 0)
01511   #error "Parameter 'InterruptStart on task CN_15' is misspelled or incorrect."
01512 #endif
01513 
01514 #else
01515 
01516 #if ((InterruptStartOverride & (cfgGlobSet | cfgGlobClear | cfgTickSet | cfgTickClear) ) == 0)
01517   #error "Parameter 'InterruptStartOverride' is misspelled or incorrect."
01518 #endif
01519 
01520 #endif
01521 
01522 
01523 #if (cfgUseSynchronization != cfgSyncNon)
01524 
01525 #if !defined(SlotSizeOverride) || ((SlotSizeOverride) == cfgOverrideNon)
01526 
01527 #if defined(CN_00) && (TaskInclude(CN_00) != cfgExclude) && (SlotSize(CN_00) != NullSlotSize_Task) && ((SlotSize(CN_00) < MinSlotSize_Task) || (SlotSize(CN_00) > MaxSlotSize_Task))
01528   #error "Parameter 'SlotSize on task CN_00' is misspelled or incorrect."
01529 #endif
01530 
01531 #if defined(CN_01) && (TaskInclude(CN_01) != cfgExclude) && (SlotSize(CN_01) != NullSlotSize_Task) && ((SlotSize(CN_01) < MinSlotSize_Task) || (SlotSize(CN_01) > MaxSlotSize_Task))
01532   #error "Parameter 'SlotSize on task CN_01' is misspelled or incorrect."
01533 #endif
01534 
01535 #if defined(CN_02) && (TaskInclude(CN_02) != cfgExclude) && (SlotSize(CN_02) != NullSlotSize_Task) && ((SlotSize(CN_02) < MinSlotSize_Task) || (SlotSize(CN_02) > MaxSlotSize_Task))
01536   #error "Parameter 'SlotSize on task CN_02' is misspelled or incorrect."
01537 #endif
01538 
01539 #if defined(CN_03) && (TaskInclude(CN_03) != cfgExclude) && (SlotSize(CN_03) != NullSlotSize_Task) && ((SlotSize(CN_03) < MinSlotSize_Task) || (SlotSize(CN_03) > MaxSlotSize_Task))
01540   #error "Parameter 'SlotSize on task CN_03' is misspelled or incorrect."
01541 #endif
01542 
01543 #if defined(CN_04) && (TaskInclude(CN_04) != cfgExclude) && (SlotSize(CN_04) != NullSlotSize_Task) && ((SlotSize(CN_04) < MinSlotSize_Task) || (SlotSize(CN_04) > MaxSlotSize_Task))
01544   #error "Parameter 'SlotSize on task CN_04' is misspelled or incorrect."
01545 #endif
01546 
01547 #if defined(CN_05) && (TaskInclude(CN_05) != cfgExclude) && (SlotSize(CN_05) != NullSlotSize_Task) && ((SlotSize(CN_05) < MinSlotSize_Task) || (SlotSize(CN_05) > MaxSlotSize_Task))
01548   #error "Parameter 'SlotSize on task CN_05' is misspelled or incorrect."
01549 #endif
01550 
01551 #if defined(CN_06) && (TaskInclude(CN_06) != cfgExclude) && (SlotSize(CN_06) != NullSlotSize_Task) && ((SlotSize(CN_06) < MinSlotSize_Task) || (SlotSize(CN_06) > MaxSlotSize_Task))
01552   #error "Parameter 'SlotSize on task CN_06' is misspelled or incorrect."
01553 #endif
01554 
01555 #if defined(CN_07) && (TaskInclude(CN_07) != cfgExclude) && (SlotSize(CN_07) != NullSlotSize_Task) && ((SlotSize(CN_07) < MinSlotSize_Task) || (SlotSize(CN_07) > MaxSlotSize_Task))
01556   #error "Parameter 'SlotSize on task CN_07' is misspelled or incorrect."
01557 #endif
01558 
01559 #if defined(CN_08) && (TaskInclude(CN_08) != cfgExclude) && (SlotSize(CN_08) != NullSlotSize_Task) && ((SlotSize(CN_08) < MinSlotSize_Task) || (SlotSize(CN_08) > MaxSlotSize_Task))
01560   #error "Parameter 'SlotSize on task CN_08' is misspelled or incorrect."
01561 #endif
01562 
01563 #if defined(CN_09) && (TaskInclude(CN_09) != cfgExclude) && (SlotSize(CN_09) != NullSlotSize_Task) && ((SlotSize(CN_09) < MinSlotSize_Task) || (SlotSize(CN_09) > MaxSlotSize_Task))
01564   #error "Parameter 'SlotSize on task CN_09' is misspelled or incorrect."
01565 #endif
01566 
01567 #if defined(CN_10) && (TaskInclude(CN_10) != cfgExclude) && (SlotSize(CN_10) != NullSlotSize_Task) && ((SlotSize(CN_10) < MinSlotSize_Task) || (SlotSize(CN_10) > MaxSlotSize_Task))
01568   #error "Parameter 'SlotSize on task CN_10' is misspelled or incorrect."
01569 #endif
01570 
01571 #if defined(CN_11) && (TaskInclude(CN_11) != cfgExclude) && (SlotSize(CN_11) != NullSlotSize_Task) && ((SlotSize(CN_11) < MinSlotSize_Task) || (SlotSize(CN_11) > MaxSlotSize_Task))
01572   #error "Parameter 'SlotSize on task CN_11' is misspelled or incorrect."
01573 #endif
01574 
01575 #if defined(CN_12) && (TaskInclude(CN_12) != cfgExclude) && (SlotSize(CN_12) != NullSlotSize_Task) && ((SlotSize(CN_12) < MinSlotSize_Task) || (SlotSize(CN_12) > MaxSlotSize_Task))
01576   #error "Parameter 'SlotSize on task CN_12' is misspelled or incorrect."
01577 #endif
01578 
01579 #if defined(CN_13) && (TaskInclude(CN_13) != cfgExclude) && (SlotSize(CN_13) != NullSlotSize_Task) && ((SlotSize(CN_13) < MinSlotSize_Task) || (SlotSize(CN_13) > MaxSlotSize_Task))
01580   #error "Parameter 'SlotSize on task CN_13' is misspelled or incorrect."
01581 #endif
01582 
01583 #if defined(CN_14) && (TaskInclude(CN_14) != cfgExclude) && (SlotSize(CN_14) != NullSlotSize_Task) && ((SlotSize(CN_14) < MinSlotSize_Task) || (SlotSize(CN_14) > MaxSlotSize_Task))
01584   #error "Parameter 'SlotSize on task CN_14' is misspelled or incorrect."
01585 #endif
01586 
01587 #if defined(CN_15) && (TaskInclude(CN_15) != cfgExclude) && (SlotSize(CN_15) != NullSlotSize_Task) && ((SlotSize(CN_15) < MinSlotSize_Task) || (SlotSize(CN_15) > MaxSlotSize_Task))
01588   #error "Parameter 'SlotSize on task CN_15' is misspelled or incorrect."
01589 #endif
01590 
01591 #else
01592 
01593 #if ((SlotSizeOverride) != NullSlotSize_Task) && (((SlotSizeOverride) < MinSlotSize_Task) || ((SlotSizeOverride) > MaxSlotSize_Task))
01594   #error "Parameter 'SlotSizeOverride' is misspelled or incorrect."
01595 #endif
01596 
01597 #endif
01598 
01599 #endif
01600 
01601 
01602 #if (cfgUseSynchronization != cfgSyncNon)
01603 
01604 #if !defined(SlotUseOverride) || ((SlotUseOverride) == cfgOverrideNon)
01605 
01606 #if defined(SN_01) && (SlotUse(SN_01) == cfgTrue) && (SlotUse(SN_01) != cfgUseAsWait) && (SlotUse(SN_01) != cfgUseAsMutex) && (SlotUse(SN_01) != cfgUseAsQueu) && (SlotUse(SN_01) != cfgUseAsNon)
01607   #error "Parameter 'SlotUse on slot SN_01' is misspelled or incorrect."
01608 #endif
01609 
01610 #if defined(SN_02) && (SlotUse(SN_02) == cfgTrue) && (SlotUse(SN_02) != cfgUseAsWait) && (SlotUse(SN_02) != cfgUseAsMutex) && (SlotUse(SN_02) != cfgUseAsQueu) && (SlotUse(SN_02) != cfgUseAsNon)
01611   #error "Parameter 'SlotUse on slot SN_02' is misspelled or incorrect."
01612 #endif
01613 
01614 #if defined(SN_03) && (SlotUse(SN_03) == cfgTrue) && (SlotUse(SN_03) != cfgUseAsWait) && (SlotUse(SN_03) != cfgUseAsMutex) && (SlotUse(SN_03) != cfgUseAsQueu) && (SlotUse(SN_03) != cfgUseAsNon)
01615   #error "Parameter 'SlotUse on slot SN_03' is misspelled or incorrect."
01616 #endif
01617 
01618 #if defined(SN_04) && (SlotUse(SN_04) == cfgTrue) && (SlotUse(SN_04) != cfgUseAsWait) && (SlotUse(SN_04) != cfgUseAsMutex) && (SlotUse(SN_04) != cfgUseAsQueu) && (SlotUse(SN_04) != cfgUseAsNon)
01619   #error "Parameter 'SlotUse on slot SN_04' is misspelled or incorrect."
01620 #endif
01621 
01622 #if defined(SN_05) && (SlotUse(SN_05) == cfgTrue) && (SlotUse(SN_05) != cfgUseAsWait) && (SlotUse(SN_05) != cfgUseAsMutex) && (SlotUse(SN_05) != cfgUseAsQueu) && (SlotUse(SN_05) != cfgUseAsNon)
01623   #error "Parameter 'SlotUse on slot SN_05' is misspelled or incorrect."
01624 #endif
01625 
01626 #if defined(SN_06) && (SlotUse(SN_06) == cfgTrue) && (SlotUse(SN_06) != cfgUseAsWait) && (SlotUse(SN_06) != cfgUseAsMutex) && (SlotUse(SN_06) != cfgUseAsQueu) && (SlotUse(SN_06) != cfgUseAsNon)
01627   #error "Parameter 'SlotUse on slot SN_06' is misspelled or incorrect."
01628 #endif
01629 
01630 #if defined(SN_07) && (SlotUse(SN_07) == cfgTrue) && (SlotUse(SN_07) != cfgUseAsWait) && (SlotUse(SN_07) != cfgUseAsMutex) && (SlotUse(SN_07) != cfgUseAsQueu) && (SlotUse(SN_07) != cfgUseAsNon)
01631   #error "Parameter 'SlotUse on slot SN_07' is misspelled or incorrect."
01632 #endif
01633 
01634 #if defined(SN_08) && (SlotUse(SN_08) == cfgTrue) && (SlotUse(SN_08) != cfgUseAsWait) && (SlotUse(SN_08) != cfgUseAsMutex) && (SlotUse(SN_08) != cfgUseAsQueu) && (SlotUse(SN_08) != cfgUseAsNon)
01635   #error "Parameter 'SlotUse on slot SN_08' is misspelled or incorrect."
01636 #endif
01637 
01638 #if defined(SN_09) && (SlotUse(SN_09) == cfgTrue) && (SlotUse(SN_09) != cfgUseAsWait) && (SlotUse(SN_09) != cfgUseAsMutex) && (SlotUse(SN_09) != cfgUseAsQueu) && (SlotUse(SN_09) != cfgUseAsNon)
01639   #error "Parameter 'SlotUse on slot SN_09' is misspelled or incorrect."
01640 #endif
01641 
01642 #if defined(SN_10) && (SlotUse(SN_10) == cfgTrue) && (SlotUse(SN_10) != cfgUseAsWait) && (SlotUse(SN_10) != cfgUseAsMutex) && (SlotUse(SN_10) != cfgUseAsQueu) && (SlotUse(SN_10) != cfgUseAsNon)
01643   #error "Parameter 'SlotUse on slot SN_10' is misspelled or incorrect."
01644 #endif
01645 
01646 #if defined(SN_11) && (SlotUse(SN_11) == cfgTrue) && (SlotUse(SN_11) != cfgUseAsWait) && (SlotUse(SN_11) != cfgUseAsMutex) && (SlotUse(SN_11) != cfgUseAsQueu) && (SlotUse(SN_11) != cfgUseAsNon)
01647   #error "Parameter 'SlotUse on slot SN_11' is misspelled or incorrect."
01648 #endif
01649 
01650 #if defined(SN_12) && (SlotUse(SN_12) == cfgTrue) && (SlotUse(SN_12) != cfgUseAsWait) && (SlotUse(SN_12) != cfgUseAsMutex) && (SlotUse(SN_12) != cfgUseAsQueu) && (SlotUse(SN_12) != cfgUseAsNon)
01651   #error "Parameter 'SlotUse on slot SN_12' is misspelled or incorrect."
01652 #endif
01653 
01654 #if defined(SN_13) && (SlotUse(SN_13) == cfgTrue) && (SlotUse(SN_13) != cfgUseAsWait) && (SlotUse(SN_13) != cfgUseAsMutex) && (SlotUse(SN_13) != cfgUseAsQueu) && (SlotUse(SN_13) != cfgUseAsNon)
01655   #error "Parameter 'SlotUse on slot SN_13' is misspelled or incorrect."
01656 #endif
01657 
01658 #if defined(SN_14) && (SlotUse(SN_14) == cfgTrue) && (SlotUse(SN_14) != cfgUseAsWait) && (SlotUse(SN_14) != cfgUseAsMutex) && (SlotUse(SN_14) != cfgUseAsQueu) && (SlotUse(SN_14) != cfgUseAsNon)
01659   #error "Parameter 'SlotUse on slot SN_14' is misspelled or incorrect."
01660 #endif
01661 
01662 #if defined(SN_15) && (SlotUse(SN_15) == cfgTrue) && (SlotUse(SN_15) != cfgUseAsWait) && (SlotUse(SN_15) != cfgUseAsMutex) && (SlotUse(SN_15) != cfgUseAsQueu) && (SlotUse(SN_15) != cfgUseAsNon)
01663   #error "Parameter 'SlotUse on slot SN_15' is misspelled or incorrect."
01664 #endif
01665 
01666 #else
01667 
01668 #if ((SlotUseOverride) == cfgTrue) && (SlotUseOverride != cfgUseAsWait) && (SlotUseOverride != cfgUseAsMutex) && (SlotUseOverride != cfgUseAsQueu) && (SlotUseOverride != cfgUseAsNon)
01669   #error "Parameter 'SlotUseOverride' is misspelled or incorrect."
01670 #endif
01671 
01672 #endif
01673 
01674 #endif
01675 
01676 
01677 #if (cfgUseSynchronization != cfgSyncNon)
01678 
01679 #if !defined(QueuSizeOverride) || ((QueuSizeOverride) == cfgOverrideNon)
01680 
01681 #if defined(SN_01) && (SlotUse(SN_01) == cfgUseAsQueu) && ((QueuSize(SN_01) < MinQueuSize) || (QueuSize(SN_01) > MaxQueuSize))
01682   #error "Parameter 'QueuSize on slot SN_01' is misspelled or incorrect."
01683 #endif
01684 
01685 #if defined(SN_02) && (SlotUse(SN_02) == cfgUseAsQueu) && ((QueuSize(SN_02) < MinQueuSize) || (QueuSize(SN_02) > MaxQueuSize))
01686   #error "Parameter 'QueuSize on slot SN_02' is misspelled or incorrect."
01687 #endif
01688 
01689 #if defined(SN_03) && (SlotUse(SN_03) == cfgUseAsQueu) && ((QueuSize(SN_03) < MinQueuSize) || (QueuSize(SN_03) > MaxQueuSize))
01690   #error "Parameter 'QueuSize on slot SN_03' is misspelled or incorrect."
01691 #endif
01692 
01693 #if defined(SN_04) && (SlotUse(SN_04) == cfgUseAsQueu) && ((QueuSize(SN_04) < MinQueuSize) || (QueuSize(SN_04) > MaxQueuSize))
01694   #error "Parameter 'QueuSize on slot SN_04' is misspelled or incorrect."
01695 #endif
01696 
01697 #if defined(SN_05) && (SlotUse(SN_05) == cfgUseAsQueu) && ((QueuSize(SN_05) < MinQueuSize) || (QueuSize(SN_05) > MaxQueuSize))
01698   #error "Parameter 'QueuSize on slot SN_05' is misspelled or incorrect."
01699 #endif
01700 
01701 #if defined(SN_06) && (SlotUse(SN_06) == cfgUseAsQueu) && ((QueuSize(SN_06) < MinQueuSize) || (QueuSize(SN_06) > MaxQueuSize))
01702   #error "Parameter 'QueuSize on slot SN_06' is misspelled or incorrect."
01703 #endif
01704 
01705 #if defined(SN_07) && (SlotUse(SN_07) == cfgUseAsQueu) && ((QueuSize(SN_07) < MinQueuSize) || (QueuSize(SN_07) > MaxQueuSize))
01706   #error "Parameter 'QueuSize on slot SN_07' is misspelled or incorrect."
01707 #endif
01708 
01709 #if defined(SN_08) && (SlotUse(SN_08) == cfgUseAsQueu) && ((QueuSize(SN_08) < MinQueuSize) || (QueuSize(SN_08) > MaxQueuSize))
01710   #error "Parameter 'QueuSize on slot SN_08' is misspelled or incorrect."
01711 #endif
01712 
01713 #if defined(SN_09) && (SlotUse(SN_09) == cfgUseAsQueu) && ((QueuSize(SN_09) < MinQueuSize) || (QueuSize(SN_09) > MaxQueuSize))
01714   #error "Parameter 'QueuSize on slot SN_09' is misspelled or incorrect."
01715 #endif
01716 
01717 #if defined(SN_10) && (SlotUse(SN_10) == cfgUseAsQueu) && ((QueuSize(SN_10) < MinQueuSize) || (QueuSize(SN_10) > MaxQueuSize))
01718   #error "Parameter 'QueuSize on slot SN_10' is misspelled or incorrect."
01719 #endif
01720 
01721 #if defined(SN_11) && (SlotUse(SN_11) == cfgUseAsQueu) && ((QueuSize(SN_11) < MinQueuSize) || (QueuSize(SN_11) > MaxQueuSize))
01722   #error "Parameter 'QueuSize on slot SN_11' is misspelled or incorrect."
01723 #endif
01724 
01725 #if defined(SN_12) && (SlotUse(SN_12) == cfgUseAsQueu) && ((QueuSize(SN_12) < MinQueuSize) || (QueuSize(SN_12) > MaxQueuSize))
01726   #error "Parameter 'QueuSize on slot SN_12' is misspelled or incorrect."
01727 #endif
01728 
01729 #if defined(SN_13) && (SlotUse(SN_13) == cfgUseAsQueu) && ((QueuSize(SN_13) < MinQueuSize) || (QueuSize(SN_13) > MaxQueuSize))
01730   #error "Parameter 'QueuSize on slot SN_13' is misspelled or incorrect."
01731 #endif
01732 
01733 #if defined(SN_14) && (SlotUse(SN_14) == cfgUseAsQueu) && ((QueuSize(SN_14) < MinQueuSize) || (QueuSize(SN_14) > MaxQueuSize))
01734   #error "Parameter 'QueuSize on slot SN_14' is misspelled or incorrect."
01735 #endif
01736 
01737 #if defined(SN_15) && (SlotUse(SN_15) == cfgUseAsQueu) && ((QueuSize(SN_15) < MinQueuSize) || (QueuSize(SN_15) > MaxQueuSize))
01738   #error "Parameter 'QueuSize on slot SN_15' is misspelled or incorrect."
01739 #endif
01740 
01741 #else
01742 
01743 #if ((QueuSizeOverride) == cfgUseAsQueu) && (((QueuSizeOverride) < MinQueuSize) || ((QueuSizeOverride) > MaxQueuSize))
01744   #error "Parameter 'QueuSizeOverride' is misspelled or incorrect."
01745 #endif
01746 
01747 #endif
01748 
01749 #endif
01750 
01751 
01752 #if (cfgUseFileSystem == cfgTrue)
01753 
01754 #if !defined(FileSpaceOverride) || ((FileSpaceOverride) == cfgOverrideNon)
01755 
01756 #if defined(FN_00) && ((FileSpace(FN_00) < MinFileSpace_Task) || (FileSpace(FN_00) > MaxFileSpace_Task))
01757   #error "Parameter 'FileSpace on file FN_00' is misspelled or incorrect."
01758 #endif
01759 
01760 #if defined(FN_01) && ((FileSpace(FN_01) < MinFileSpace_Task) || (FileSpace(FN_01) > MaxFileSpace_Task))
01761   #error "Parameter 'FileSpace on file FN_01' is misspelled or incorrect."
01762 #endif
01763 
01764 #if defined(FN_02) && ((FileSpace(FN_02) < MinFileSpace_Task) || (FileSpace(FN_02) > MaxFileSpace_Task))
01765   #error "Parameter 'FileSpace on file FN_02' is misspelled or incorrect."
01766 #endif
01767 
01768 #if defined(FN_03) && ((FileSpace(FN_03) < MinFileSpace_Task) || (FileSpace(FN_03) > MaxFileSpace_Task))
01769   #error "Parameter 'FileSpace on file FN_03' is misspelled or incorrect."
01770 #endif
01771 
01772 #if defined(FN_04) && ((FileSpace(FN_04) < MinFileSpace_Task) || (FileSpace(FN_04) > MaxFileSpace_Task))
01773   #error "Parameter 'FileSpace on file FN_04' is misspelled or incorrect."
01774 #endif
01775 
01776 #if defined(FN_05) && ((FileSpace(FN_05) < MinFileSpace_Task) || (FileSpace(FN_05) > MaxFileSpace_Task))
01777   #error "Parameter 'FileSpace on file FN_05' is misspelled or incorrect."
01778 #endif
01779 
01780 #if defined(FN_06) && ((FileSpace(FN_06) < MinFileSpace_Task) || (FileSpace(FN_06) > MaxFileSpace_Task))
01781   #error "Parameter 'FileSpace on file FN_06' is misspelled or incorrect."
01782 #endif
01783 
01784 #if defined(FN_07) && ((FileSpace(FN_07) < MinFileSpace_Task) || (FileSpace(FN_07) > MaxFileSpace_Task))
01785   #error "Parameter 'FileSpace on file FN_07' is misspelled or incorrect."
01786 #endif
01787 
01788 #if defined(FN_08) && ((FileSpace(FN_08) < MinFileSpace_Task) || (FileSpace(FN_08) > MaxFileSpace_Task))
01789   #error "Parameter 'FileSpace on file FN_08' is misspelled or incorrect."
01790 #endif
01791 
01792 #if defined(FN_09) && ((FileSpace(FN_09) < MinFileSpace_Task) || (FileSpace(FN_09) > MaxFileSpace_Task))
01793   #error "Parameter 'FileSpace on file FN_09' is misspelled or incorrect."
01794 #endif
01795 
01796 #if defined(FN_10) && ((FileSpace(FN_10) < MinFileSpace_Task) || (FileSpace(FN_10) > MaxFileSpace_Task))
01797   #error "Parameter 'FileSpace on file FN_10' is misspelled or incorrect."
01798 #endif
01799 
01800 #if defined(FN_11) && ((FileSpace(FN_11) < MinFileSpace_Task) || (FileSpace(FN_11) > MaxFileSpace_Task))
01801   #error "Parameter 'FileSpace on file FN_11' is misspelled or incorrect."
01802 #endif
01803 
01804 #if defined(FN_12) && ((FileSpace(FN_12) < MinFileSpace_Task) || (FileSpace(FN_12) > MaxFileSpace_Task))
01805   #error "Parameter 'FileSpace on file FN_12' is misspelled or incorrect."
01806 #endif
01807 
01808 #if defined(FN_13) && ((FileSpace(FN_13) < MinFileSpace_Task) || (FileSpace(FN_13) > MaxFileSpace_Task))
01809   #error "Parameter 'FileSpace on file FN_13' is misspelled or incorrect."
01810 #endif
01811 
01812 #if defined(FN_14) && ((FileSpace(FN_14) < MinFileSpace_Task) || (FileSpace(FN_14) > MaxFileSpace_Task))
01813   #error "Parameter 'FileSpace on file FN_14' is misspelled or incorrect."
01814 #endif
01815 
01816 #if defined(FN_15) && ((FileSpace(FN_15) < MinFileSpace_Task) || (FileSpace(FN_15) > MaxFileSpace_Task))
01817   #error "Parameter 'FileSpace on file FN_15' is misspelled or incorrect."
01818 #endif
01819 
01820 #else
01821 
01822 #if ((FileSpaceOverride) < MinFileSpace_Task) || ((FileSpaceOverride) > MaxFileSpace_Task))
01823   #error "Parameter 'FileSpaceOverride' is misspelled or incorrect."
01824 #endif
01825 
01826 #endif
01827 
01828 #endif
01829 
01830 
01831 #if (cfgUseFileSystem == cfgTrue)
01832 
01833 #if (cfgUseFileSystemMaintainFAT == cfgTrue)
01834   #define FileSpace_FN_00 -1
01835   #define FileSpace_FN_01 -1
01836   #define FileSpace_FN_02 -1
01837   #define FileSpace_FN_03 -1
01838   #define FileSpace_FN_04 -1
01839   #define FileSpace_FN_05 -1
01840   #define FileSpace_FN_06 -1
01841   #define FileSpace_FN_07 -1
01842   #define FileSpace_FN_08 -1
01843   #define FileSpace_FN_09 -1
01844   #define FileSpace_FN_10 -1
01845   #define FileSpace_FN_11 -1
01846   #define FileSpace_FN_12 -1
01847   #define FileSpace_FN_13 -1
01848   #define FileSpace_FN_14 -1
01849   #define FileSpace_FN_15 -1
01850   #if (  ((FileSpace(FN_00))+1) + ((FileSpace(FN_01))+1) + ((FileSpace(FN_02))+1) + ((FileSpace(FN_03))+1) + ((FileSpace(FN_04))+1) + ((FileSpace(FN_05))+1) + ((FileSpace(FN_06))+1) + ((FileSpace(FN_07))+1) + ((FileSpace(FN_08))+1) + ((FileSpace(FN_09))+1) + ((FileSpace(FN_10))+1) + ((FileSpace(FN_11))+1) + ((FileSpace(FN_12))+1) + ((FileSpace(FN_13))+1) + ((FileSpace(FN_14))+1) + ((FileSpace(FN_15))+1) ) > (cfgSysFsStorageSpace)
01851     #error Total space of all predefined files exceeds cfgSysFsStorageSpace.
01852   #endif
01853 #else
01854   #define FileSpace_FN_00 0
01855   #define FileSpace_FN_01 0
01856   #define FileSpace_FN_02 0
01857   #define FileSpace_FN_03 0
01858   #define FileSpace_FN_04 0
01859   #define FileSpace_FN_05 0
01860   #define FileSpace_FN_06 0
01861   #define FileSpace_FN_07 0
01862   #define FileSpace_FN_08 0
01863   #define FileSpace_FN_09 0
01864   #define FileSpace_FN_10 0
01865   #define FileSpace_FN_11 0
01866   #define FileSpace_FN_12 0
01867   #define FileSpace_FN_13 0
01868   #define FileSpace_FN_14 0
01869   #define FileSpace_FN_15 0
01870   #if ( (FileSpace(FN_00)) + (FileSpace(FN_01)) + (FileSpace(FN_02)) + (FileSpace(FN_03)) + (FileSpace(FN_04)) + (FileSpace(FN_05)) + (FileSpace(FN_06)) + (FileSpace(FN_07)) + (FileSpace(FN_08)) + (FileSpace(FN_09)) + (FileSpace(FN_10)) + (FileSpace(FN_11)) + (FileSpace(FN_12)) + (FileSpace(FN_13)) + (FileSpace(FN_14)) + (FileSpace(FN_15)) ) > (cfgSysFsStorageSpace)
01871     #error Total space of all predefined files exceeds cfgSysFsStorageSpace.
01872   #endif
01873 #endif
01874 
01875 #endif
01876 
01877 #if ( (defSysGCCstartup == cfgReplace) && ((cfgIntUserDefined == cfgTrue) || (cfgCheckTrace == cfgTrue) || (cfgCheckTiming == cfgTrue)) )
01878   #error "(cfgSysGCCstartup == cfgReplace) not possible for this configuration setting."
01879 #endif
01880 
01881 #if ( defined(cfgNumGlobWidth) && defined(cfgNumSwitchWidth) && defined(cfgNumTickWidth) && ((cfgNumGlobWidth) + (cfgNumSwitchWidth) + (cfgNumTickWidth) > MaxLevelsWidth) )
01882   #error "Sum of widths for critical nesting exceeds 8 bits."
01883 #endif
01884 
01885 
01886 #if (cfgSysReuseOsStack == cfgTrue) && ((StackSizeOS) < defTaskSaveSize)
01887   #error "Increase the size of the OS stack to match defTaskSaveSize (7, 8, 13, or 14 bytes) depending on other settings."
01888 #endif
01889 
01890 
01891 /* Warnings */
01892 
01893 #if (includeTaskDelayFromNow == cfgTrue) && (cfgUseDelay == cfgFalse)
01894   #warning "Use of 'includeTaskDelayFromNow' requires activation of cfgUseDelay."
01895 #endif
01896 
01897 #if (includeTaskDelayFromWake == cfgTrue) && (cfgUseDelay == cfgFalse)
01898   #warning "Use of 'includeTaskDelayFromWake' requires activation of cfgUseDelay."
01899 #endif
01900 
01901 #if (includeTaskRestart == cfgTrue) && (cfgUseDelay == cfgFalse)
01902   #warning "Use of 'includeTaskRestart' requires activation of cfgUseDelay."
01903 #endif
01904 
01905 #if (includeTaskSleep == cfgTrue) && (cfgUseLowPowerSleep == cfgFalse)
01906   #warning "Use of 'includeTaskSleep' requires activation of cfgUseLowPowerSleep."
01907 #endif
01908 
01909 #if (includeTaskSleepAll == cfgTrue) && (cfgUseLowPowerSleep == cfgFalse)
01910   #warning "Use of 'includeTaskSleepAll' requires activation of cfgUseLowPowerSleep."
01911 #endif
01912 
01913 #if (includeGenGetLastWakeTime == cfgTrue) && (cfgUseDelay == cfgFalse)
01914   #warning "Use of 'includeGenGetLastWakeTime' requires activation of cfgUseDelay."
01915 #endif
01916 
01917 #if (includeTaskFeedWatchdog == cfgTrue) && (cfgUseTaskWatchdog == cfgFalse)
01918   #warning "Use of 'includeTaskFeedWatchdog' requires activation of cfgUseTaskWatchdog."
01919 #endif
01920 
01921 #if (includeTaskKillWatchdog == cfgTrue) && (cfgUseTaskWatchdog == cfgFalse)
01922   #warning "Use of 'includeTaskKillWatchdog' requires activation of cfgUseTaskWatchdog."
01923 #endif
01924 
01925 #if (includeGenGetTaskname == cfgTrue) && (cfgUseTasknames == cfgFalse)
01926   #warning "Use of 'includeGenGetTaskname' requires activation of cfgUseTasknames."
01927 #endif
01928 
01929 #if (includeTaskWaitForTasks == cfgTrue) && (cfgUseSynchronization == cfgSyncNon)
01930   #warning "Use of 'includeTaskWaitForTasks' requires activation of cfgUseSynchronization."
01931 #endif
01932 
01933 #if (includeGenWaitRelease == cfgTrue) && (cfgUseSynchronization == cfgSyncNon)
01934   #warning "Use of 'includeGenWaitRelease' requires activation of cfgUseSynchronization."
01935 #endif
01936 
01937 #if (includeTaskMutex == cfgTrue) && (cfgUseSynchronization == cfgSyncNon)
01938   #warning "Use of 'includeTaskMutex' requires activation of cfgUseSynchronization."
01939 #endif
01940 
01941 #if (includeTaskQueu == cfgTrue) && (cfgUseSynchronization == cfgSyncNon)
01942   #warning "Use of 'includeTaskQueu' requires activation of cfgUseSynchronization."
01943 #endif
01944 
01945 #if (includeGenQueuWrite == cfgTrue) && (cfgUseSynchronization == cfgSyncNon)
01946   #warning "Use of 'includeGenQueuWrite' requires activation of cfgUseSynchronization."
01947 #endif
01948 
01949 #if (includeGenQueuRead == cfgTrue) && (cfgUseSynchronization == cfgSyncNon)
01950   #warning "Use of 'includeGenQueuRead' requires activation of cfgUseSynchronization."
01951 #endif
01952 
01953 #if (includeGenQueuClear == cfgTrue) && (cfgUseSynchronization == cfgSyncNon)
01954   #warning "Use of 'includeGenQueuClear' requires activation of cfgUseSynchronization."
01955 #endif
01956 
01957 #if (includeGenQueuPeek == cfgTrue) && (cfgUseSynchronization == cfgSyncNon)
01958   #warning "Use of 'includeGenQueuPeek' requires activation of cfgUseSynchronization."
01959 #endif
01960 
01961 #if (includeGenQueuReadable == cfgTrue) && (cfgUseSynchronization == cfgSyncNon)
01962   #warning "Use of 'includeGenQueuReadable' requires activation of cfgUseSynchronization."
01963 #endif
01964 
01965 #if (includeGenQueuWriteable == cfgTrue) && (cfgUseSynchronization == cfgSyncNon)
01966   #warning "Use of 'includeGenQueuWriteable' requires activation of cfgUseSynchronization."
01967 #endif
01968 
01969 #if (includeGenQueuFull == cfgTrue) && (cfgUseSynchronization == cfgSyncNon)
01970   #warning "Use of 'includeGenQueuFull' requires activation of cfgUseSynchronization."
01971 #endif
01972 
01973 #if (includeGenQueuEmpty == cfgTrue) && (cfgUseSynchronization == cfgSyncNon)
01974   #warning "Use of 'includeGenQueuEmpty' requires activation of cfgUseSynchronization."
01975 #endif
01976 
01977 #if (includeTaskFileAccess == cfgTrue) && (cfgUseFileSystem == cfgFalse)
01978   #warning "Use of 'includeTaskFileAccess' requires activation of cfgUseFileSystem."
01979 #endif
01980 
01981 #if (includeTaskFileFormat == cfgTrue) && (cfgUseFileSystem == cfgFalse)
01982   #warning "Use of 'includeTaskFileFormat' requires activation of cfgUseFileSystem."
01983 #endif
01984 
01985 #if (includeTaskFileGetSize == cfgTrue) && (cfgUseFileSystem == cfgFalse)
01986   #warning "Use of 'includeTaskFileGetSize' requires activation of cfgUseFileSystem."
01987 #endif
01988 
01989 #if (includeTaskFileSetSize == cfgTrue) && (cfgUseFileSystem == cfgFalse)
01990   #warning "Use of 'includeTaskFileSize' requires activation of cfgUseFileSystem."
01991 #endif
01992 
01993 #if (includeTaskFileReadByte == cfgTrue) && (cfgUseFileSystem == cfgFalse)
01994   #warning "Use of 'includeTaskFileReadByte' requires activation of cfgUseFileSystem."
01995 #endif
01996 
01997 #if (includeTaskFileWriteByte == cfgTrue) && (cfgUseFileSystem == cfgFalse)
01998   #warning "Use of 'includeTaskFileWriteByte' requires activation of cfgUseFileSystem."
01999 #endif
02000 
02001 #if (includeTaskFileAppendByte == cfgTrue) && (cfgUseFileSystem == cfgFalse)
02002   #warning "Use of 'includeTaskFileAppendByte' requires activation of cfgUseFileSystem."
02003 #endif
02004 
02005 #if (includeTaskFileReadPipe == cfgTrue) && (cfgUseFileSystem == cfgFalse)
02006   #warning "Use of 'includeTaskFileReadPipe' requires activation of cfgUseFileSystem."
02007 #endif
02008 
02009 #if (includeTaskFileWritePipe == cfgTrue) && (cfgUseFileSystem == cfgFalse)
02010   #warning "Use of 'includeTaskFileWritePipe' requires activation of cfgUseFileSystem."
02011 #endif
02012 
02013 #if (includeTaskFileReadBuffer == cfgTrue) && (cfgUseFileSystem == cfgFalse)
02014   #warning "Use of 'includeTaskFileReadBuffer' requires activation of cfgUseFileSystem."
02015 #endif
02016 
02017 #if (includeTaskFileWriteBuffer == cfgTrue) && (cfgUseFileSystem == cfgFalse)
02018   #warning "Use of 'includeTaskFileWriteBuffer' requires activation of cfgUseFileSystem."
02019 #endif
02020 
02021 #if (includeIsrEnter == cfgTrue) && (cfgIntUserDefined == cfgFalse)
02022   #warning "Use of 'includeIsrEnter' requires activation of cfgIntUserDefined."
02023 #endif
02024 
02025 #if (includeIsrExit == cfgTrue) && (cfgIntUserDefined == cfgFalse)
02026   #warning "Use of 'includeIsrExit' requires activation of cfgIntUserDefined."
02027 #endif
02028 
02029 #if (includeIsrBegin == cfgTrue) && (cfgIntUserDefined == cfgFalse)
02030   #warning "Use of 'includeIsrBegin' requires activation of cfgIntUserDefined."
02031 #endif
02032 
02033 #if (includeIsrEndReturn == cfgTrue) && (cfgIntUserDefined == cfgFalse)
02034   #warning "Use of 'includeIsrEndReturn' requires activation of cfgIntUserDefined."
02035 #endif
02036 
02037 #if (includeIsrEndYield == cfgTrue) && (cfgIntUserDefined == cfgFalse)
02038   #warning "Use of 'includeIsrEndYield' requires activation of cfgIntUserDefined."
02039 #endif
02040 
02041 #if (includeIsrEnter == cfgTrue) && (cfgUseLowPowerSleep == cfgTrue)
02042   #warning "Use of 'isrEnter()' is not allowed if device may fall into low power sleep."
02043 #endif
02044 
02045 #if (includeIsrExit == cfgTrue) && (cfgUseLowPowerSleep == cfgTrue)
02046   #warning "Use of 'isrExit()' is not allowed if device may fall into low power sleep."
02047 #endif
02048 
02049 #if (includeIsrEndYield == cfgTrue) && (cfgUseLowPowerSleep == cfgTrue)
02050   #warning "Use of 'isrEndYield()' is not allowed if device may fall into low power sleep."
02051 #endif
02052 
02053 #if (includeIsrEnter == cfgTrue) && (cfgIntSwitchUsesOSstack == cfgFalse) && ((StackSizeISR) == 0)
02054   #warning "Use of 'includeIsrEnter()'  requires an non empty ISR stack when it does not utilize the OS stack."
02055 #endif
02056 
02057 #if (includeIsrExit == cfgTrue) && (cfgIntSwitchUsesOSstack == cfgFalse) && ((StackSizeISR) == 0)
02058   #warning "Use of 'includeIsrExit()'  requires an non empty ISR stack when it does not utilize the OS stack."
02059 #endif
02060 
02061 #if (includeIsrEndYield == cfgTrue) && (cfgIntSwitchUsesOSstack == cfgFalse) && ((StackSizeISR) == 0)
02062   #warning "Use of 'includeIsrEndYield()'  requires an non empty ISR stack when it does not utilize the OS stack."
02063 #endif
02064 
02065 #if (includeIsrBegin == cfgTrue) && ((StackSizeISR) == 0)
02066   #warning "Use of 'isrBegin()'  requires an non empty ISR stack."
02067 #endif
02068 
02069 #if (includeIsrEndReturn == cfgTrue) && ((StackSizeISR) == 0)
02070   #warning "Use of 'isrEndReturn()' requires an non empty ISR stack."
02071 #endif
02072 
02073 #if (includeIsrEndYield == cfgTrue) && ((StackSizeISR) == 0)
02074   #warning "Use of 'isrEndYield()' requires an non empty ISR stack."
02075 #endif
02076 
02077 #if (includeIsrEnter == cfgTrue) && (cfgIntTickTrack == cfgTrue)
02078   #warning "Use of 'isrEnter()' is not allowed if tick interrupt tracking is activated."
02079 #endif
02080 
02081 #if (includeIsrExit == cfgTrue) && (cfgIntTickTrack == cfgTrue)
02082   #warning "Use of 'isrExit()' is not allowed if tick interrupt tracking is activated."
02083 #endif
02084 
02085 #if (includeIsrEndYield == cfgTrue) && (cfgIntTickTrack == cfgTrue)
02086   #warning "Use of 'isrEndYield()' is not allowed if tick interrupt tracking is activated."
02087 #endif
02088 
02089 #if (includeIsrEndYield == cfgTrue) && (cfgIntOsProtected == cfgFalse)
02090   #warning "Use of 'includeIsrEndYield' requires activation of cfgIntOsProtected."
02091 #endif
02092 
02093 #if (includeIsrEndYield == cfgTrue) && (includeTaskYield == cfgFalse)
02094   #warning "Use of 'includeIsrEndYield' requires activation of includeTaskYield."
02095 #endif
02096 
02097 #if (includeIsrStartLoad == cfgTrue) && (cfgIntUserDefined == cfgFalse)
02098   #warning "Use of 'includeIsrStartLoad' requires activation of cfgIntUserDefined."
02099 #endif
02100 
02101 #if (includeIsrStopLoad == cfgTrue) && (cfgIntUserDefined == cfgFalse)
02102   #warning "Use of 'includeIsrStopLoad' requires activation of cfgIntUserDefined."
02103 #endif
02104 
02105 #if (callAppTickSleep == cfgTrue) && (cfgUseLowPowerSleep == cfgFalse)
02106   #warning "Parameter 'callAppTickSleep' requires activation of cfgUseLowPowerSleep."
02107 #endif
02108 
02109 #if (callAppEnterSleep == cfgTrue) && (cfgUseLowPowerSleep == cfgFalse)
02110   #warning "Parameter 'callAppEnterSleep' requires activation of cfgUseLowPowerSleep."
02111 #endif
02112 
02113 #if (callAppExitSleep == cfgTrue) && (cfgUseLowPowerSleep == cfgFalse)
02114   #warning "Parameter 'callAppExitSleep' requires activation of cfgUseLowPowerSleep."
02115 #endif
02116 
02117 #if (callAppBark == cfgTrue) && (cfgUseTaskWatchdog == cfgFalse)
02118   #warning "Use of 'callAppBark' requires activation of cfgUseTaskWatchdog."
02119 #endif
02120 
02121 #if (cfgUseDelay == cfgTrue) && (includeTaskDelayFromNow == cfgFalse) && (includeTaskDelayFromWake == cfgFalse) && (includeTaskRestart == cfgFalse) && ((cfgUseSynchronization != cfgSyncNon) && (cfgUseTimeout == cfgFalse))
02122   #warning "'cfgUseDelay' seems to include dead code, you may deactivate this."
02123 #endif
02124 
02125 #if (cfgUseLowPowerSleep == cfgTrue) && (includeTaskSleep == cfgFalse) && (includeTaskSleepAll == cfgFalse) && (cfgUseLowPowerOnDelay == cfgFalse)
02126   #warning "'cfgUseLowPowerSleep' seems to include dead code, you may deactivate this."
02127 #endif
02128 
02129 #if (cfgUseTaskWatchdog == cfgTrue) && (includeTaskFeedWatchdog == cfgFalse) && (includeTaskKillWatchdog == cfgFalse)
02130   #warning "'cfgUseTaskWatchdog' seems to include dead code, you may deactivate this."
02131 #endif
02132 
02133 #if (cfgUseSynchronization != cfgSyncNon) && (includeTaskWaitForTasks == cfgFalse) && (includeGenWaitRelease == cfgFalse) && (includeTaskMutex == cfgFalse) && (includeTaskQueu == cfgFalse)
02134   #warning "'cfgUseSynchronization' seems to include dead code, you may deactivate this."
02135 #endif
02136 
02137 #if (cfgUseFileSystem == cfgTrue) && (includeTaskFileFormat == cfgFalse) && (includeTaskFileAccess == cfgFalse) && (includeTaskFileSetSize == cfgFalse) && (includeTaskFileGetSize == cfgFalse) && (includeTaskFileReadByte == cfgFalse) && (includeTaskFileWriteByte == cfgFalse) && (includeTaskFileAppendByte == cfgFalse) && (includeTaskFileReadPipe == cfgFalse) && (includeTaskFileWritePipe == cfgFalse) && (includeTaskFileReadBuffer == cfgFalse) && (includeTaskFileWriteBuffer == cfgFalse)
02138   #warning "'cfgUseFileSystem' seems to include dead code, you may deactivate this."
02139 #endif
02140 
02141 #if (cfgUseEvents == cfgTrue) && ((includeTaskWaitForEvents == cfgFalse) || ((includeIsrFireEvent == cfgFalse) && (includeGenFireEvent == cfgFalse) && (includeGenFireEventSet == cfgFalse) ))
02142   #warning "'cfgUseEvents' seems to include dead code, you may deactivate this."
02143 #endif
02144 
02145 #if (cfgUseNestedCriticals ==cfgTrue) && (includeTaskProtectGlobalCritical == cfgTrue) && (cfgNumGlobWidth == 0)
02146   #warning "'cfgNumGlobWidth' is to low to keep any critical level."
02147 #endif
02148 
02149 #if (cfgUseNestedCriticals ==cfgTrue) && (includeTaskProtectSwitchCritical == cfgTrue) && (cfgNumSwitchWidth == 0)
02150   #warning "'cfgNumSwitchWidth' is to low to keep any critical level."
02151 #endif
02152 
02153 #if (cfgUseNestedCriticals ==cfgTrue) && (includeTaskProtectTickCritical == cfgTrue) && (cfgNumTickWidth == 0)
02154   #warning "'cfgNumTickWidth' is to low to keep any critical level."
02155 #endif
02156 
02157 #if (cfgIntGlobalOnly ==  cfgTrue) && (cfgIntTickTrack == cfgTrue)
02158   #warning "Use of 'cfgIntGlobalOnly' renders tick tracking useless and dangerous."
02159 #endif
02160 
02161 #if (cfgIntOsProtected == cfgFalse) &&              \
02162     ( (includeGenSuspend == cfgTrue) ||             \
02163       (includeGenResume == cfgTrue) ||              \
02164       (includeGenSetPriority == cfgTrue) ||         \
02165       (includeGenGetPriority == cfgTrue) ||         \
02166       (includeGenGetTickCount == cfgTrue) ||        \
02167       (includeGenAddtoTickCount == cfgTrue) ||      \
02168       (includeGenGetLastWakeTime == cfgTrue) ||     \
02169       (includeGenGetTaskname == cfgTrue) ||         \
02170       (includeGenReboot == cfgTrue) ||              \
02171       (includeGenLogTask == cfgTrue) ||             \
02172       (includeGenLogOs == cfgTrue) ||               \
02173       (includeGenTrace == cfgTrue) ||               \
02174       (includeGenWaitRelease == cfgTrue) ||         \
02175       (includeGenQueuWrite == cfgTrue) ||           \
02176       (includeGenQueuRead == cfgTrue) ||            \
02177       (includeGenQueuClear == cfgTrue) ||           \
02178       (includeGenQueuPeek == cfgTrue) ||            \
02179       (includeGenQueuReadable == cfgTrue) ||        \
02180       (includeGenQueuWriteable == cfgTrue) ||       \
02181       (includeGenQueuFull == cfgTrue) ||            \
02182       (includeGenQueuEmpty == cfgTrue) )
02183   #warning "Possibly unprotected calls to the OS, activate cfgIntOsProtected."
02184 #endif
02185 
02186 #if ( ( defined(CN_00) && (TaskInclude(CN_00) != cfgExclude) && (StackIsShared(CN_00)) ) || \
02187       ( defined(CN_01) && (TaskInclude(CN_01) != cfgExclude) && (StackIsShared(CN_01)) ) || \
02188       ( defined(CN_02) && (TaskInclude(CN_02) != cfgExclude) && (StackIsShared(CN_02)) ) || \
02189       ( defined(CN_03) && (TaskInclude(CN_03) != cfgExclude) && (StackIsShared(CN_03)) ) || \
02190       ( defined(CN_04) && (TaskInclude(CN_04) != cfgExclude) && (StackIsShared(CN_04)) ) || \
02191       ( defined(CN_05) && (TaskInclude(CN_05) != cfgExclude) && (StackIsShared(CN_05)) ) || \
02192       ( defined(CN_06) && (TaskInclude(CN_06) != cfgExclude) && (StackIsShared(CN_06)) ) || \
02193       ( defined(CN_07) && (TaskInclude(CN_07) != cfgExclude) && (StackIsShared(CN_07)) ) || \
02194       ( defined(CN_08) && (TaskInclude(CN_08) != cfgExclude) && (StackIsShared(CN_08)) ) || \
02195       ( defined(CN_09) && (TaskInclude(CN_09) != cfgExclude) && (StackIsShared(CN_09)) ) || \
02196       ( defined(CN_10) && (TaskInclude(CN_10) != cfgExclude) && (StackIsShared(CN_10)) ) || \
02197       ( defined(CN_11) && (TaskInclude(CN_11) != cfgExclude) && (StackIsShared(CN_11)) ) || \
02198       ( defined(CN_12) && (TaskInclude(CN_12) != cfgExclude) && (StackIsShared(CN_12)) ) || \
02199       ( defined(CN_13) && (TaskInclude(CN_13) != cfgExclude) && (StackIsShared(CN_13)) ) || \
02200       ( defined(CN_14) && (TaskInclude(CN_14) != cfgExclude) && (StackIsShared(CN_14)) ) || \
02201       ( defined(CN_15) && (TaskInclude(CN_15) != cfgExclude) && (StackIsShared(CN_15)) ) ) && \
02202       ( (includeTaskRestart == cfgFalse) )
02203   #warning "Tasks with shared stack must be released with taskRestart()."
02204 #endif
02205 
02206 #if ( !defined(CN_00) || (TaskInclude(CN_00) == cfgExclude) || (StackIsShared(CN_00)) ) && \
02207     ( !defined(CN_01) || (TaskInclude(CN_01) == cfgExclude) || (StackIsShared(CN_01)) ) && \
02208     ( !defined(CN_02) || (TaskInclude(CN_02) == cfgExclude) || (StackIsShared(CN_02)) ) && \
02209     ( !defined(CN_03) || (TaskInclude(CN_03) == cfgExclude) || (StackIsShared(CN_03)) ) && \
02210     ( !defined(CN_04) || (TaskInclude(CN_04) == cfgExclude) || (StackIsShared(CN_04)) ) && \
02211     ( !defined(CN_05) || (TaskInclude(CN_05) == cfgExclude) || (StackIsShared(CN_05)) ) && \
02212     ( !defined(CN_06) || (TaskInclude(CN_06) == cfgExclude) || (StackIsShared(CN_06)) ) && \
02213     ( !defined(CN_07) || (TaskInclude(CN_07) == cfgExclude) || (StackIsShared(CN_07)) ) && \
02214     ( !defined(CN_08) || (TaskInclude(CN_08) == cfgExclude) || (StackIsShared(CN_08)) ) && \
02215     ( !defined(CN_09) || (TaskInclude(CN_09) == cfgExclude) || (StackIsShared(CN_09)) ) && \
02216     ( !defined(CN_10) || (TaskInclude(CN_10) == cfgExclude) || (StackIsShared(CN_10)) ) && \
02217     ( !defined(CN_11) || (TaskInclude(CN_11) == cfgExclude) || (StackIsShared(CN_11)) ) && \
02218     ( !defined(CN_12) || (TaskInclude(CN_12) == cfgExclude) || (StackIsShared(CN_12)) ) && \
02219     ( !defined(CN_13) || (TaskInclude(CN_13) == cfgExclude) || (StackIsShared(CN_13)) ) && \
02220     ( !defined(CN_14) || (TaskInclude(CN_14) == cfgExclude) || (StackIsShared(CN_14)) ) && \
02221     ( !defined(CN_15) || (TaskInclude(CN_15) == cfgExclude) || (StackIsShared(CN_15)) ) && \
02222     ( (includeTaskProtectSwitchTasks == cfgTrue) || (includeTaskProtectSwitchCritical == cfgTrue) )
02223   #warning "Do not use the dominant state when all tasks have a shared stack."
02224 #endif
02225 
02226 
02227 
02228 /* Device specific checks */
02229 #ifndef __ASSEMBLER__
02230 
02231 #if (cfgSysSubTickDivider!=1) && (cfgSysSubTickDivider!=8) && (cfgSysSubTickDivider!=32) && (cfgSysSubTickDivider!=64) && (cfgSysSubTickDivider!=128) && (cfgSysSubTickDivider!=256) && (cfgSysSubTickDivider!=1024)
02232   #error "No cfgSysSubTickDivider value must one of 1,8,32,64,128,256,1024."
02233 #endif
02234 
02235 #if (DefPrescaler(cfgSysSubTickDivider) == cfgUndefined)
02236   #error "The current value of cfgSysSubTickDivider is not defined on this device"
02237 #endif
02238 
02239 #if (devEEPROMsize < cfgSysFsStorageSpace)
02240   #error "File system is too large for this device. "
02241 #endif
02242 
02243 #if (cfgUseLowPowerSleep == cfgTrue) && (cfgUseLowPowerOnDelay == cfgTrue) && !defined(devSigWatchdogTimeout)
02244   /* We come here if we go to sleep on a device which has no possibilities
02245    * to periodically wake the device to see how much time has passed. Thus
02246    * it is dangerous to have cfgUseLowPowerOnDelay activated. */
02247   #error "Low power sleep on delay is not permitted on this device."
02248 #endif
02249 
02250 #if (cfgUseFileSystem == cfgTrue) && (cfgUseFileSystemEconomyMode == cfgTrue)
02251   /* This isonly allowed if the device has featues for split-byte programming, if not,
02252    *  signal an error. */
02253   #if (devEEPM0 == cfgUndefined) || (devEEPM1 == cfgUndefined)
02254     #error "No support for split byte programming, set cfgUseFileSystemEconomyMode to cfgFalse."
02255   #endif
02256 #endif
02257 
02258 #if (devAuxSysRegBit<0) || ((devAuxSysRegBit>7) && (devAuxSysRegBit != cfgUndefined))
02259   #error "Value of devAuxSysRegBit is unrecognized."
02260 #endif
02261 
02262 #if (cfgSysSqueezeState == cfgFalse) && (devAuxSysRegBit == cfgUndefined)
02263   #error "Femto OS needs one bit of auxilary storage. Activate cfgSysSqueezeState or define devAuxSysReg and devAuxSysRegBit"
02264 #endif
02265 
02266 #if (cfgSysSqueezeState == cfgFalse) && (defAuxSysRegLowIO == cfgFalse)
02267   #error "devAuxSysReg must be defined in the lower I/O region < 0x20"
02268 #endif
02269 
02270 
02271 
02272 #endif
02273 
02274 
02275 #endif /* FEMTOOS_CHECK_H */
02276 

Generated on Fri Oct 16 00:05:21 2009 for FemtoOS by  doxygen 1.5.2