00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef CONFIG_TESTFLASHNLEDS_H_
00026 #define CONFIG_TESTFLASHNLEDS_H_
00027
00028
00029
00030 #define demoUseShared cfgTrue
00031
00032
00033
00034
00035
00036 #define cfgSysOptimized cfgFalse
00037 #define cfgSysDebug cfgFalse
00038 #define cfgSysInline cfgFalse
00039 #define cfgSysFramePointerCounterMeasures cfgFalse
00040 #define cfgSysReduceProEpilogue cfgBikini
00041 #define cfgSysRegisterCheckByte 0xA5
00042 #define cfgSysStackGrowthUp cfgFalse
00043 #define cfgSysZeroPageStack cfgFalse
00044 #define cfgSysClearUnusedR1 cfgTrue
00045 #define cfgSysSqueezeState defSysOptimized
00046 #define cfgSysReuseOsStack cfgTrue
00047 #define cfgSysClockDivider 1
00048 #define cfgSysSubTicksPerFullTick 32
00049 #define cfgSysSubTickDivider 256
00050 #define cfgSysGCCstartup cfgOverride
00051 #define cfgSysFsStorageSpace 0
00052
00053
00054
00055
00056
00057
00058 #define cfgIntGlobalOnly cfgTrue
00059 #define cfgIntUserDefined cfgFalse
00060 #define cfgIntSwitchUsesOSstack cfgFalse
00061 #define cfgIntOsProtected cfgTrue
00062 #define cfgIntTickTrack cfgFalse
00063 #define cfgIntManualTicks cfgFalse
00064
00065
00066
00067
00068
00069
00070 #if (defSysOptimized == cfgTrue)
00071
00072 #define cfgCheckSystem cfgFalse
00073 #define cfgCheckReset cfgFalse
00074 #define cfgCheckTrace cfgFalse
00075 #define cfgCheckAlwaysFatal cfgFalse
00076 #define cfgCheckWatermarks cfgFalse
00077 #define cfgCheckOsStack cfgFalse
00078 #define cfgCheckTaskStack cfgFalse
00079 #define cfgCheckIsrStack cfgFalse
00080 #define cfgCheckRegisters cfgFalse
00081 #define cfgCheckTiming cfgFalse
00082 #define cfgCheckQueuFilling cfgFalse
00083 #define cfgCheckMethodUse cfgFalse
00084 #define cfgCheckApplication cfgFalse
00085
00086 #else
00087
00088 #define cfgCheckSystem cfgTrue
00089 #define cfgCheckReset cfgTrue
00090 #define cfgCheckTrace cfgFalse
00091 #define cfgCheckAlwaysFatal cfgFalse
00092 #define cfgCheckWatermarks cfgFalse
00093 #define cfgCheckOsStack cfgTrue
00094 #define cfgCheckTaskStack cfgTrue
00095 #define cfgCheckIsrStack cfgFalse
00096 #define cfgCheckRegisters cfgTrue
00097 #define cfgCheckTiming cfgTrue
00098 #define cfgCheckQueuFilling cfgFalse
00099 #define cfgCheckMethodUse cfgTrue
00100 #define cfgCheckApplication cfgFalse
00101
00102 #endif
00103
00104
00105
00106
00107
00108
00109 #define cfgUseEquidistantTicks cfgTrue
00110 #define cfgUseDelay cfgTrue
00111 #define cfgUseSynchronization cfgSyncNon
00112 #define cfgUseHierarchicalRoundRobin cfgFalse
00113 #define cfgUseNestedCriticals cfgFalse
00114 #define cfgUsePrioritizedRelease cfgFalse
00115 #define cfgUsePriorityLifting cfgFalse
00116 #define cfgUseTaskWatchdog cfgFalse
00117 #define cfgUseCorrectWakeupTimes cfgFalse
00118 #define cfgUseTimeout cfgFalse
00119 #define cfgUseTasknames cfgFalse
00120 #define cfgUseLowPowerSleep cfgFalse
00121 #define cfgUseLowPowerOnDelay cfgFalse
00122 #define cfgUseLowPowerDelayRelease cfgFalse
00123 #define cfgUseLoadMonitor cfgFalse
00124 #define cfgUseFileSystem cfgFalse
00125 #define cfgUseFileSystemConcurrentRead cfgFalse
00126 #define cfgUseFileSystemEconomyMode cfgFalse
00127 #define cfgUseFileSystemMaintainFAT cfgFalse
00128 #define cfgUseEvents cfgFalse
00129 #define cfgUseEventsOnVariables cfgFalse
00130
00131
00132
00133
00134
00135
00136 #define cfgNumWatchdogDiv 0
00137 #define cfgNumMonitorDiv 0
00138 #define cfgNumSleepPeriod 0
00139 #define cfgNumSleepThreshold 0
00140 #define cfgNumGlobWidth 0
00141 #define cfgNumSwitchWidth 0
00142 #define cfgNumTickWidth 0
00143
00144
00145
00146
00147
00148
00149 #define callAppTick00 cfgFalse
00150 #define callAppTick08 cfgFalse
00151 #define callAppTick16 cfgFalse
00152 #define callAppTickSleep cfgFalse
00153 #define callAppEnterIdle cfgFalse
00154 #define callAppEnterSleep cfgFalse
00155 #define callAppExitSleep cfgFalse
00156 #define callAppBoot cfgTrue
00157 #define callAppInit cfgFalse
00158 #define callAppBark cfgFalse
00159
00160
00161
00162
00163
00164
00165
00166 #define includeTaskYield cfgFalse
00167 #define includeTaskDelayFromNow cfgTrue
00168 #define includeTaskDelayFromWake cfgFalse
00169 #define includeGenSuspend cfgFalse
00170 #define includeTaskSuspend cfgFalse
00171 #define includeGenResume cfgFalse
00172 #define includeTaskSleep cfgFalse
00173 #define includeTaskSleepAll cfgFalse
00174 #define includeGenSetPriority cfgFalse
00175 #define includeGenGetPriority cfgFalse
00176 #define includeGenGetTickCount cfgFalse
00177 #define includeGenAddtoTickCount cfgFalse
00178 #define includeGenGetLastWakeTime cfgFalse
00179 #define includeTaskFeedWatchdog cfgFalse
00180 #define includeTaskKillWatchdog cfgFalse
00181 #define includeGenGetTaskname cfgFalse
00182 #define includeTaskTerminate cfgFalse
00183 #define includeGenReboot cfgFalse
00184 #define includeTaskRecreate cfgFalse
00185 #define includeTaskRestart demoUseShared
00186 #define includeGenLogTask cfgFalse
00187 #define includeGenLogOs cfgFalse
00188 #define includeGenTrace cfgFalse
00189 #define includeGenPipeInt16 cfgFalse
00190 #define includeGenPassFlashString cfgFalse
00191
00192
00193 #define includeTaskWaitForEvents cfgFalse
00194 #define includeIsrFireEvent cfgFalse
00195 #define includeGenFireEvent cfgFalse
00196 #define includeGenFireEventSet cfgFalse
00197 #define includeGenCountEventBlocks cfgFalse
00198
00199
00200 #define includeTaskWaitForTasks cfgFalse
00201 #define includeGenWaitRelease cfgFalse
00202 #define includeTaskMutex cfgFalse
00203 #define includeTaskQueu cfgFalse
00204
00205
00206 #define includeGenQueuWrite cfgFalse
00207 #define includeGenQueuRead cfgFalse
00208 #define includeGenQueuClear cfgFalse
00209 #define includeGenQueuPeek cfgFalse
00210 #define includeGenQueuReadable cfgFalse
00211 #define includeGenQueuWriteable cfgFalse
00212 #define includeGenQueuFull cfgFalse
00213 #define includeGenQueuEmpty cfgFalse
00214
00215
00216 #define includeTaskFileAccess cfgFalse
00217 #define includeTaskFileFormat cfgFalse
00218 #define includeTaskFileGetSize cfgFalse
00219 #define includeTaskFileSetSize cfgFalse
00220 #define includeTaskFileReadByte cfgFalse
00221 #define includeTaskFileWriteByte cfgFalse
00222 #define includeTaskFileAppendByte cfgFalse
00223 #define includeTaskFileReadPipe cfgFalse
00224 #define includeTaskFileWritePipe cfgFalse
00225 #define includeTaskFileReadBuffer cfgFalse
00226 #define includeTaskFileWriteBuffer cfgFalse
00227
00228
00229 #define includeTaskProtectGlobalInterrupts cfgFalse
00230 #define includeTaskProtectSwitchTasks cfgFalse
00231 #define includeTaskProtectTickInterrupts cfgFalse
00232 #define includeTaskProtectGlobalCritical cfgFalse
00233 #define includeTaskProtectSwitchCritical cfgFalse
00234 #define includeTaskProtectTickCritical cfgFalse
00235
00236
00237 #define includeIsrEnter cfgFalse
00238 #define includeIsrExit cfgFalse
00239 #define includeIsrBegin cfgFalse
00240 #define includeIsrEndReturn cfgFalse
00241 #define includeIsrEndYield cfgFalse
00242 #define includeIsrStartLoad cfgFalse
00243 #define includeIsrStopLoad cfgFalse
00244
00245
00246 #define includeTaskStackCheck cfgFalse
00247 #define includeIsrStackCheck cfgFalse
00248
00249
00250
00251
00252
00253
00254 #define CN_00 LEDtask0
00255 #define CN_01 LEDtask1
00256 #define CN_02 LEDtask2
00257 #define CN_03 LEDtask3
00258 #define CN_04 LEDtask4
00259 #define CN_05 LEDtask5
00260 #define CN_06 LEDtask6
00261 #define CN_07 LEDtask7
00262
00263
00264
00265
00266
00267
00268 #define TaskIncludeOverride cfgStartRunning
00269
00270
00271
00272
00273
00274
00275 #define CapabilitiesOverride cfgCapDelay
00276
00277
00278
00279
00280
00281
00282 #if (defSysOptimized == cfgTrue)
00283
00284 #define StackSafety 0
00285 #define StackSizeOS 8 + 4*defThreeByteStackAdd
00286 #define StackSizeISR 0
00287 #if (demoUseShared == cfgTrue)
00288 #define StackSizeShared 4 + 2*defThreeByteStackAdd
00289 #define StackSizeOverride cfgShared
00290 #else
00291 #define StackSizeShared 0
00292 #define StackSizeOverride 4 + 2*defThreeByteStackAdd
00293 #endif
00294
00295 #else
00296
00297 #define StackSafety 2
00298 #define StackSizeOS 32 + 8*defThreeByteStackAdd
00299 #define StackSizeISR 0
00300 #if (demoUseShared == cfgTrue)
00301 #define StackSizeShared 6 + 2*defThreeByteStackAdd
00302 #define StackSizeOverride cfgShared
00303 #else
00304 #define StackSizeShared 0
00305 #define StackSizeOverride 6 + 2*defThreeByteStackAdd
00306 #endif
00307
00308
00309 #endif
00310
00311
00312
00313
00314
00315
00316 #define TimeSliceIdleTime cfgSysSubTicksPerFullTick
00317
00318
00319
00320
00321
00322
00323
00324
00325
00326
00327
00328 #define PriorityOverride 0
00329
00330
00331
00332
00333
00334
00335 #define RegisterUseOverride registersNon
00336
00337
00338
00339
00340
00341
00342 #define RegisterCheckOverride registersNon
00343
00344
00345
00346
00347
00348
00349 #define InterruptStartOverride cfgGlobClear | cfgTickClear
00350
00351
00352
00353
00354
00355
00356
00357
00358
00359
00360
00361
00362
00363
00364
00365
00366
00367
00368
00369
00370
00371
00372
00373
00374
00375
00376
00377
00378
00379
00380
00381
00382
00383
00384
00385
00386 #define FileSpaceStandard 0
00387
00388
00389 #endif