femtoos_headers/femtoos_config.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 CONFIG_DEFAULT_H
00026 #define CONFIG_DEFAULT_H
00027 
00028 /* ========================================================================= */
00029 /* SYSTEM CONFIGURATION ==================================================== */
00030 /* ========================================================================= */
00031 
00058 #define  cfgSysOptimized                         cfgTrue
00059 
00070 #define  cfgSysDebug                             cfgFalse
00071 
00085 #define  cfgSysInline                            cfgFalse
00086 
00100 #define  cfgSysFramePointerCounterMeasures       cfgFalse
00101 
00126 #define  cfgSysReduceProEpilogue                 cfgComplete
00127 
00128 
00161 #define  cfgSysRegisterCheckByte                 0xA5
00162 
00172 #define  cfgSysStackGrowthUp                     cfgFalse
00173 
00194 #define  cfgSysZeroPageStack                     cfgFalse
00195 
00217 #define  cfgSysClearUnusedR1                     cfgTrue
00218 
00244 #define  cfgSysSqueezeState                      cfgTrue
00245 
00263 #define  cfgSysReuseOsStack                      cfgTrue
00264 
00281 #define  cfgSysClockDivider                      1
00282 
00283 
00308 #define  cfgSysSubTicksPerFullTick               32
00309 
00327 #define  cfgSysSubTickDivider                    256
00328 
00367 #define  cfgSysGCCstartup                        cfgOverride
00368 
00377 #define  cfgSysFsStorageSpace                    512
00378 
00379 
00380 
00381 
00382 /* ========================================================================= */
00383 /* INTERRUPT HANDLING ====================================================== */
00384 /* ========================================================================= */
00385 
00404 #define  cfgIntGlobalOnly                        cfgFalse
00405 
00414 #define  cfgIntUserDefined                       cfgTrue
00415 
00430 #define  cfgIntSwitchUsesOSstack                 cfgFalse
00431 
00443 #define  cfgIntOsProtected                       cfgFalse
00444 
00462 #define  cfgIntTickTrack                         cfgTrue
00463 
00485 #define  cfgIntManualTicks                       cfgTrue
00486 
00487 /* ========================================================================= */
00488 /* QUALITY ASSURANCE ======================================================= */
00489 /* ========================================================================= */
00490 
00517 #define  cfgCheckSystem                          cfgTrue
00518 
00527 #define  cfgCheckReset                           cfgTrue
00528 
00537 #define  cfgCheckTrace                           cfgTrue
00538 
00554 #define  cfgCheckAlwaysFatal                     cfgFalse
00555 
00580 #define  cfgCheckWatermarks                      cfgTrue
00581 
00601 #define  cfgCheckOsStack                         cfgTrue
00602 
00618 #define  cfgCheckTaskStack                       cfgTrue
00619 
00627 #define  cfgCheckIsrStack                        cfgTrue
00628 
00643 #define  cfgCheckRegisters                       cfgTrue
00644 
00652 #define  cfgCheckTiming                          cfgTrue
00653 
00670 #define  cfgCheckQueuFilling                     cfgTrue
00671 
00683 #define  cfgCheckMethodUse                       cfgTrue
00684 
00692 #define  cfgCheckApplication                     cfgTrue
00693 
00694 
00695 /* ========================================================================= */
00696 /* COMMON CAPABILITIES ===================================================== */
00697 /* ========================================================================= */
00698 
00729 #define  cfgUseEquidistantTicks                  cfgTrue
00730 
00744 #define  cfgUseDelay                             cfgTrue
00745 
00772 #define  cfgUseSynchronization                   cfgSyncDoubleBlock
00773 
00785 #define  cfgUseHierarchicalRoundRobin            cfgTrue
00786 
00809 #define  cfgUseNestedCriticals                   cfgTrue
00810 
00823 #define  cfgUsePrioritizedRelease                cfgTrue
00824 
00838 #define  cfgUsePriorityLifting                   cfgTrue
00839 
00859 #define  cfgUseTaskWatchdog                      cfgTrue
00860 
00873 #define  cfgUseCorrectWakeupTimes                cfgTrue
00874 
00890 #define  cfgUseTimeout                           cfgTrue
00891 
00904 #define  cfgUseTasknames                         cfgTrue
00905 
00932 #define  cfgUseLowPowerSleep                     cfgTrue
00933 
00963 #define  cfgUseLowPowerOnDelay                   cfgTrue
00964 
00978 #define  cfgUseLowPowerDelayRelease              cfgTrue
00979 
00992 #define  cfgUseLoadMonitor                       cfgTrue
00993 
00994 
01004 #define  cfgUseFileSystem                        cfgTrue
01005 
01019 #define  cfgUseFileSystemConcurrentRead          cfgTrue
01020 
01035 #define  cfgUseFileSystemEconomyMode             cfgTrue
01036 
01047 #define  cfgUseFileSystemMaintainFAT             cfgTrue
01048 
01061 #define  cfgUseEvents                            cfgTrue
01062 
01078 #define  cfgUseEventsOnVariables                  cfgTrue
01079 
01080 
01081 /* ========================================================================= */
01082 /* CODE PARAMETERS ========================================================= */
01083 /* ========================================================================= */
01084 
01103 #define  cfgNumWatchdogDiv                       3
01104 
01116 #define  cfgNumMonitorDiv                        2
01117 
01141 #define  cfgNumSleepPeriod                       1000
01142 
01153 #define  cfgNumSleepThreshold                    2500
01154 
01164 #define  cfgNumGlobWidth                         3
01165 
01175 #define  cfgNumSwitchWidth                       3
01176 
01186 #define  cfgNumTickWidth                         2
01187 
01188 
01189 /* ========================================================================= */
01190 /* EXTERNAL CALLS ========================================================== */
01191 /* ========================================================================= */
01192 
01223 #define  callAppTick00                           cfgFalse
01224 
01231 #define  callAppTick08                           cfgFalse
01232 
01248 #define  callAppTick16                           cfgFalse
01249 
01260 #define  callAppTickSleep                        cfgFalse
01261 
01271 #define  callAppEnterIdle                        cfgFalse
01272 
01284 #define  callAppEnterSleep                       cfgFalse
01285 
01296 #define  callAppExitSleep                        cfgFalse
01297 
01298 
01310 #define  callAppBoot                             cfgFalse
01311 
01323 #define  callAppInit                             cfgFalse
01324 
01336 #define  callAppBark                             cfgFalse
01337 
01338 
01339 /* ========================================================================= */
01340 /* API INCLUSIONS ========================================================== */
01341 /* ========================================================================= */
01342 
01360 /* Standard functions ------------------------------------------------------ */
01361 
01370 #define  includeTaskYield                        cfgTrue
01371 
01377 #define  includeTaskDelayFromNow                 cfgTrue
01378 
01384 #define  includeTaskDelayFromWake                cfgTrue
01385 
01389 #define  includeGenSuspend                       cfgTrue
01390 
01394 #define  includeTaskSuspend                      cfgTrue
01395 
01399 #define  includeGenResume                        cfgTrue
01400 
01406 #define  includeTaskSleep                        cfgTrue
01407 
01413 #define  includeTaskSleepAll                     cfgTrue
01414 
01418 #define  includeGenSetPriority                   cfgTrue
01419 
01423 #define  includeGenGetPriority                   cfgTrue
01424 
01428 #define  includeGenGetTickCount                  cfgTrue
01429 
01433 #define  includeGenAddtoTickCount                cfgTrue
01434 
01440 #define  includeGenGetLastWakeTime               cfgTrue
01441 
01447 #define  includeTaskFeedWatchdog                 cfgTrue
01448 
01454 #define  includeTaskKillWatchdog                 cfgTrue
01455 
01461 #define  includeGenGetTaskname                   cfgTrue
01462 
01466 #define  includeTaskTerminate                    cfgTrue
01467 
01471 #define  includeGenReboot                        cfgTrue
01472 
01473 
01477 #define  includeTaskRecreate                     cfgTrue
01478 
01482 #define  includeTaskRestart                      cfgTrue
01483 
01487 #define  includeGenLogTask                       cfgTrue
01488 
01492 #define  includeGenLogOs                         cfgTrue
01493 
01500 #define  includeGenTrace                         cfgTrue
01501 
01505 #define  includeGenPipeInt16                     cfgFalse
01506 
01510 #define  includeGenPassFlashString               cfgTrue
01511 
01512 /* Event functions --------------------------------------------------------- */
01513 
01523 #define  includeTaskWaitForEvents                cfgTrue
01524 
01530 #define  includeIsrFireEvent                     cfgTrue
01531 
01537 #define  includeGenFireEvent                     cfgTrue
01538 
01544 #define  includeGenFireEventSet                  cfgTrue
01545 
01551 #define  includeGenCountEventBlocks              cfgTrue
01552 
01553 /* Synchronization functions ----------------------------------------------- */
01554 
01564 #define  includeTaskWaitForTasks                 cfgTrue
01565 
01571 #define  includeGenWaitRelease                   cfgTrue
01572 
01579 #define  includeTaskMutex                        cfgTrue
01580 
01587 #define  includeTaskQueu                         cfgTrue
01588 
01589 /* Queu functions --------------------------------------------------------- */
01590 
01601 #define  includeGenQueuWrite                     cfgTrue
01602 
01609 #define  includeGenQueuRead                      cfgTrue
01610 
01617 #define  includeGenQueuClear                     cfgFalse
01618 
01625 #define  includeGenQueuPeek                      cfgTrue
01626 
01633 #define  includeGenQueuReadable                  cfgTrue
01634 
01641 #define  includeGenQueuWriteable                 cfgTrue
01642 
01649 #define  includeGenQueuFull                      cfgTrue
01650 
01657 #define  includeGenQueuEmpty                     cfgTrue
01658 
01659 /* File System functions --------------------------------------------------- */
01660 
01673 #define  includeTaskFileAccess                   cfgTrue
01674 
01680 #define  includeTaskFileFormat                   cfgTrue
01681 
01687 #define  includeTaskFileGetSize                  cfgTrue
01688 
01695 #define  includeTaskFileSetSize                  cfgFalse
01696 
01703 #define  includeTaskFileReadByte                 cfgTrue
01704 
01710 #define  includeTaskFileWriteByte                cfgTrue
01711 
01717 #define  includeTaskFileAppendByte               cfgTrue
01718 
01724 #define  includeTaskFileReadPipe                 cfgTrue
01725 
01731 #define  includeTaskFileWritePipe                cfgTrue
01732 
01738 #define  includeTaskFileReadBuffer               cfgTrue
01739 
01745 #define  includeTaskFileWriteBuffer              cfgTrue
01746 
01747 
01748 /* Protection functions ---------------------------------------------------- */
01749 
01761 #define  includeTaskProtectGlobalInterrupts      cfgTrue
01762 
01769 #define  includeTaskProtectSwitchTasks           cfgTrue
01770 
01777 #define  includeTaskProtectTickInterrupts        cfgTrue
01778 
01785 #define  includeTaskProtectGlobalCritical        cfgTrue
01786 
01793 #define  includeTaskProtectSwitchCritical        cfgTrue
01794 
01801 #define  includeTaskProtectTickCritical          cfgTrue
01802 
01803 
01804 /* ISR header/footer functions --------------------------------------------- */
01805 
01816 #define  includeIsrEnter                         cfgTrue
01817 
01823 #define  includeIsrExit                          cfgTrue
01824 
01830 #define  includeIsrBegin                         cfgTrue
01831 
01837 #define  includeIsrEndReturn                     cfgTrue
01838 
01844 #define  includeIsrEndYield                      cfgTrue
01845 
01854 #define  includeIsrStartLoad                     cfgTrue
01855 
01863 #define  includeIsrStopLoad                      cfgTrue
01864 
01865 /* quality assurance functions --------------------------------------------- */
01866 
01870 #define  includeTaskStackCheck                   cfgTrue
01871 
01878 #define  includeIsrStackCheck                    cfgTrue
01879 
01880 
01881 /* ========================================================================= */
01882 /* TASK NAMES ============================================================== */
01883 /* ========================================================================= */
01884 
01900 #define  CN_00                                   task0
01901 #define  CN_01                                   task1
01902 #define  CN_02                                   task2
01903 #define  CN_03                                   task3
01904 #define  CN_04                                   task4
01905 #define  CN_05                                   task5
01906 #define  CN_06                                   task6
01907 #define  CN_07                                   task7
01908 #define  CN_08                                   task8
01909 #define  CN_09                                   task9
01910 #define  CN_10                                   taskA
01911 #define  CN_11                                   taskB
01912 #define  CN_12                                   taskC
01913 #define  CN_13                                   taskD
01914 #define  CN_14                                   taskE
01915 #define  CN_15                                   taskF
01916 
01917 
01918 /* ========================================================================= */
01919 /* INCLUDE TASKS =========================================================== */
01920 /* ========================================================================= */
01921 
01934 #define  TaskIncludeOverride                     cfgOverrideNon
01935 
01936 
01956 #define  TaskInclude_task0                       cfgStartRunning
01957 #define  TaskInclude_task1                       cfgExclude
01958 #define  TaskInclude_task2                       cfgExclude
01959 #define  TaskInclude_task3                       cfgExclude
01960 #define  TaskInclude_task4                       cfgExclude
01961 #define  TaskInclude_task5                       cfgExclude
01962 #define  TaskInclude_task6                       cfgExclude
01963 #define  TaskInclude_task7                       cfgExclude
01964 #define  TaskInclude_task8                       cfgExclude
01965 #define  TaskInclude_task9                       cfgExclude
01966 #define  TaskInclude_taskA                       cfgExclude
01967 #define  TaskInclude_taskB                       cfgExclude
01968 #define  TaskInclude_taskC                       cfgExclude
01969 #define  TaskInclude_taskD                       cfgExclude
01970 #define  TaskInclude_taskE                       cfgExclude
01971 #define  TaskInclude_taskF                       cfgExclude
01972 
01973 /* ========================================================================= */
01974 /* TASK CAPABILITIES ======================================================= */
01975 /* ========================================================================= */
01976 
01989 #define  CapabilitiesOverride                    cfgOverrideNon
01990 
02017 #define  Capabilities_task0                      cfgCapDelay | cfgCapWatchdog | cfgCapEvent | cfgCapCritical | cfgCapSynchronization | cfgCapFileSystem
02018 #define  Capabilities_task1                      cfgCapDelay | cfgCapWatchdog | cfgCapEvent | cfgCapCritical | cfgCapSynchronization | cfgCapFileSystem | cfgCapTimeout
02019 #define  Capabilities_task2                      cfgCapDelay | cfgCapWatchdog | cfgCapEvent | cfgCapCritical | cfgCapSynchronization | cfgCapFileSystem | cfgCapTimeout
02020 #define  Capabilities_task3                      cfgCapDelay | cfgCapWatchdog | cfgCapEvent | cfgCapCritical | cfgCapSynchronization | cfgCapFileSystem | cfgCapTimeout
02021 #define  Capabilities_task4                      cfgCapDelay | cfgCapWatchdog | cfgCapEvent | cfgCapCritical | cfgCapSynchronization | cfgCapFileSystem | cfgCapTimeout
02022 #define  Capabilities_task5                      cfgCapDelay | cfgCapWatchdog | cfgCapEvent | cfgCapCritical | cfgCapSynchronization | cfgCapFileSystem | cfgCapTimeout
02023 #define  Capabilities_task6                      cfgCapDelay | cfgCapWatchdog | cfgCapEvent | cfgCapCritical | cfgCapSynchronization | cfgCapFileSystem | cfgCapTimeout
02024 #define  Capabilities_task7                      cfgCapDelay | cfgCapWatchdog | cfgCapEvent | cfgCapCritical | cfgCapSynchronization | cfgCapFileSystem | cfgCapTimeout
02025 #define  Capabilities_task8                      cfgCapDelay | cfgCapWatchdog | cfgCapEvent | cfgCapCritical | cfgCapSynchronization | cfgCapFileSystem | cfgCapTimeout
02026 #define  Capabilities_task9                      cfgCapDelay | cfgCapWatchdog | cfgCapEvent | cfgCapCritical | cfgCapSynchronization | cfgCapFileSystem | cfgCapTimeout
02027 #define  Capabilities_taskA                      cfgCapDelay | cfgCapWatchdog | cfgCapEvent | cfgCapCritical | cfgCapSynchronization | cfgCapFileSystem | cfgCapTimeout
02028 #define  Capabilities_taskB                      cfgCapDelay | cfgCapWatchdog | cfgCapEvent | cfgCapCritical | cfgCapSynchronization | cfgCapFileSystem | cfgCapTimeout
02029 #define  Capabilities_taskC                      cfgCapDelay | cfgCapWatchdog | cfgCapEvent | cfgCapCritical | cfgCapSynchronization | cfgCapFileSystem | cfgCapTimeout
02030 #define  Capabilities_taskD                      cfgCapDelay | cfgCapWatchdog | cfgCapEvent | cfgCapCritical | cfgCapSynchronization | cfgCapFileSystem | cfgCapTimeout
02031 #define  Capabilities_taskE                      cfgCapDelay | cfgCapWatchdog | cfgCapEvent | cfgCapCritical | cfgCapSynchronization | cfgCapFileSystem | cfgCapTimeout
02032 #define  Capabilities_taskF                      cfgCapDelay | cfgCapWatchdog | cfgCapEvent | cfgCapCritical | cfgCapSynchronization | cfgCapFileSystem | cfgCapTimeout
02033 
02034 
02035 
02036 /* ========================================================================= */
02037 /* STACK SIZES ============================================================= */
02038 /* ========================================================================= */
02039 
02071 #define  StackSafety                             4
02072 
02088 #define  StackSizeOS                             20
02089 
02107 #define  StackSizeISR                            8
02108 
02131 #define  StackSizeShared                         0
02132 
02133 
02147 #define  StackSizeOverride                       cfgOverrideNon
02148 
02189 #define  StackSize_task0                         8
02190 #define  StackSize_task1                         4
02191 #define  StackSize_task2                         4
02192 #define  StackSize_task3                         4
02193 #define  StackSize_task4                         4
02194 #define  StackSize_task5                         4
02195 #define  StackSize_task6                         4
02196 #define  StackSize_task7                         4
02197 #define  StackSize_task8                         4
02198 #define  StackSize_task9                         4
02199 #define  StackSize_taskA                         4
02200 #define  StackSize_taskB                         4
02201 #define  StackSize_taskC                         4
02202 #define  StackSize_taskD                         4
02203 #define  StackSize_taskE                         4
02204 #define  StackSize_taskF                         4
02205 
02206 
02207 /* ========================================================================= */
02208 /* TIMES SLICES ============================================================ */
02209 /* ========================================================================= */
02210 
02223 #define  TimeSliceIdleTime                      cfgSysSubTicksPerFullTick
02224 
02239 #define  TimeSliceOverride                       cfgOverrideNon
02240 
02267 #define  TimeSlice_task0                         cfgSysSubTicksPerFullTick
02268 #define  TimeSlice_task1                         cfgSysSubTicksPerFullTick
02269 #define  TimeSlice_task2                         cfgSysSubTicksPerFullTick
02270 #define  TimeSlice_task3                         cfgSysSubTicksPerFullTick
02271 #define  TimeSlice_task4                         cfgSysSubTicksPerFullTick
02272 #define  TimeSlice_task5                         cfgSysSubTicksPerFullTick
02273 #define  TimeSlice_task6                         cfgSysSubTicksPerFullTick
02274 #define  TimeSlice_task7                         cfgSysSubTicksPerFullTick
02275 #define  TimeSlice_task8                         cfgSysSubTicksPerFullTick
02276 #define  TimeSlice_task9                         cfgSysSubTicksPerFullTick
02277 #define  TimeSlice_taskA                         cfgSysSubTicksPerFullTick
02278 #define  TimeSlice_taskB                         cfgSysSubTicksPerFullTick
02279 #define  TimeSlice_taskC                         cfgSysSubTicksPerFullTick
02280 #define  TimeSlice_taskD                         cfgSysSubTicksPerFullTick
02281 #define  TimeSlice_taskE                         cfgSysSubTicksPerFullTick
02282 #define  TimeSlice_taskF                         cfgSysSubTicksPerFullTick
02283 
02284 /* ========================================================================= */
02285 /* RUNTIME TASK NAMES ====================================================== */
02286 /* ========================================================================= */
02287 
02298 #define  TaskName_task0                          "taak nul"
02299 #define  TaskName_task1                          "taak een"
02300 #define  TaskName_task2                          "taak twee"
02301 #define  TaskName_task3                          "taak drie"
02302 #define  TaskName_task4                          "taak vier"
02303 #define  TaskName_task5                          "taak vijf"
02304 #define  TaskName_task6                          "taak_zes"
02305 #define  TaskName_task7                          "taak_zeven"
02306 #define  TaskName_task8                          "taak_acht"
02307 #define  TaskName_task9                          "taak_negen"
02308 #define  TaskName_taskA                          "taak_tien"
02309 #define  TaskName_taskB                          "taak_elf"
02310 #define  TaskName_taskC                          "taak_twaalf"
02311 #define  TaskName_taskD                          "taak_dertien"
02312 #define  TaskName_taskE                          "taak_veertien"
02313 #define  TaskName_taskF                          "taak_vijftien"
02314 
02315 /* ========================================================================= */
02316 /* TASK PRIORITIES ========================================================= */
02317 /* ========================================================================= */
02318 
02331 #define  PriorityOverride                        cfgOverrideNon
02332 
02345 #define  Priority_task0                          0
02346 #define  Priority_task1                          3
02347 #define  Priority_task2                          2
02348 #define  Priority_task3                          3
02349 #define  Priority_task4                          2
02350 #define  Priority_task5                          1
02351 #define  Priority_task6                          1
02352 #define  Priority_task7                          1
02353 #define  Priority_task8                          0
02354 #define  Priority_task9                          0
02355 #define  Priority_taskA                          0
02356 #define  Priority_taskB                          0
02357 #define  Priority_taskC                          0
02358 #define  Priority_taskD                          0
02359 #define  Priority_taskE                          0
02360 #define  Priority_taskF                          0
02361 
02362 
02363 /* ========================================================================= */
02364 /* REGISTER USE ============================================================ */
02365 /* ========================================================================= */
02366 
02379 #define  RegisterUseOverride                     cfgOverrideNon
02380 
02400 #define  RegisterUse_task0                       registersNon
02401 #define  RegisterUse_task1                       r00r01r02r03 | r04r05r06r07
02402 #define  RegisterUse_task2                       r08r09r10r11 | r12r13r14r15
02403 #define  RegisterUse_task3                       r16r17r18r19 | r20r21r22r23
02404 #define  RegisterUse_task4                       r24r25r26r27 | r28r29r30r31
02405 #define  RegisterUse_task5                       r00r01r02r03
02406 #define  RegisterUse_task6                       r04r05r06r07
02407 #define  RegisterUse_task7                       r08r09r10r11
02408 #define  RegisterUse_task8                       r12r13r14r15
02409 #define  RegisterUse_task9                       r16r17r18r19
02410 #define  RegisterUse_taskA                       r20r21r22r23
02411 #define  RegisterUse_taskB                       r24r25r26r27
02412 #define  RegisterUse_taskC                       r28r29r30r31
02413 #define  RegisterUse_taskD                       registersAll
02414 #define  RegisterUse_taskE                       registersAll
02415 #define  RegisterUse_taskF                       registersAll
02416 
02417 
02418 /* ========================================================================= */
02419 /* REGISTER CHECK ========================================================== */
02420 /* ========================================================================= */
02421 
02434 #define  RegisterCheckOverride                   cfgOverrideNon
02435 
02452 #define  RegisterCheck_task0                     registersAll
02453 #define  RegisterCheck_task1                     registersAll
02454 #define  RegisterCheck_task2                     registersAll
02455 #define  RegisterCheck_task3                     registersAll
02456 #define  RegisterCheck_task4                     registersAll
02457 #define  RegisterCheck_task5                     registersAll
02458 #define  RegisterCheck_task6                     registersAll
02459 #define  RegisterCheck_task7                     registersAll
02460 #define  RegisterCheck_task8                     registersAll
02461 #define  RegisterCheck_task9                     registersAll
02462 #define  RegisterCheck_taskA                     registersAll
02463 #define  RegisterCheck_taskB                     registersAll
02464 #define  RegisterCheck_taskC                     registersAll
02465 #define  RegisterCheck_taskD                     registersAll
02466 #define  RegisterCheck_taskE                     registersAll
02467 #define  RegisterCheck_taskF                     registersAll
02468 
02469 
02470 /* ========================================================================= */
02471 /* INTERRUPT SETTING ======================================================= */
02472 /* ========================================================================= */
02473 
02486 #define  InterruptStartOverride                  cfgOverrideNon
02487 
02512 #define  InterruptStart_task0                    cfgGlobSet   | cfgTickSet
02513 #define  InterruptStart_task1                    cfgGlobSet   | cfgTickSet
02514 #define  InterruptStart_task2                    cfgGlobSet   | cfgTickSet
02515 #define  InterruptStart_task3                    cfgGlobSet   | cfgTickSet
02516 #define  InterruptStart_task4                    cfgGlobClear | cfgTickSet
02517 #define  InterruptStart_task5                    cfgGlobClear | cfgTickSet
02518 #define  InterruptStart_task6                    cfgGlobClear | cfgTickSet
02519 #define  InterruptStart_task7                    cfgGlobClear | cfgTickSet
02520 #define  InterruptStart_task8                    cfgGlobSet   | cfgTickClear
02521 #define  InterruptStart_task9                    cfgGlobSet   | cfgTickClear
02522 #define  InterruptStart_taskA                    cfgGlobSet   | cfgTickClear
02523 #define  InterruptStart_taskB                    cfgGlobSet   | cfgTickClear
02524 #define  InterruptStart_taskC                    cfgGlobClear | cfgTickClear
02525 #define  InterruptStart_taskD                    cfgGlobClear | cfgTickClear
02526 #define  InterruptStart_taskE                    cfgGlobClear | cfgTickClear
02527 #define  InterruptStart_taskF                    cfgGlobClear | cfgTickClear
02528 
02529 
02530 /* ========================================================================= */
02531 /* EVENT NAMES ============================================================= */
02532 /* ========================================================================= */
02533 
02543 #define  EN_00                                   event0
02544 #define  EN_01                                   event1
02545 #define  EN_02                                   event2
02546 #define  EN_03                                   event3
02547 #define  EN_04                                   event4
02548 #define  EN_05                                   event5
02549 #define  EN_06                                   event6
02550 #define  EN_07                                   event7
02551 
02552 
02553 /* ========================================================================= */
02554 /* SLOT NAMES ============================================================== */
02555 /* ========================================================================= */
02556 
02567 #define  SN_01                                   slot1
02568 #define  SN_02                                   slot2
02569 #define  SN_03                                   slot3
02570 #define  SN_04                                   slot4
02571 #define  SN_05                                   slot5
02572 #define  SN_06                                   slot6
02573 #define  SN_07                                   slot7
02574 #define  SN_08                                   slot8
02575 #define  SN_09                                   slot9
02576 #define  SN_10                                   slotA
02577 #define  SN_11                                   slotB
02578 #define  SN_12                                   slotC
02579 #define  SN_13                                   slotD
02580 #define  SN_14                                   slotE
02581 #define  SN_15                                   slotF
02582 
02583 
02584 /* ========================================================================= */
02585 /* SLOT SIZES ============================================================== */
02586 /* ========================================================================= */
02587 
02600 #define  SlotSizeOverride                        cfgOverrideNon
02601 
02653 #define  SlotSize_task0                          4
02654 #define  SlotSize_task1                          4
02655 #define  SlotSize_task2                          4
02656 #define  SlotSize_task3                          4
02657 #define  SlotSize_task4                          4
02658 #define  SlotSize_task5                          4
02659 #define  SlotSize_task6                          4
02660 #define  SlotSize_task7                          4
02661 #define  SlotSize_task8                          4
02662 #define  SlotSize_task9                          4
02663 #define  SlotSize_taskA                          4
02664 #define  SlotSize_taskB                          4
02665 #define  SlotSize_taskC                          4
02666 #define  SlotSize_taskD                          4
02667 #define  SlotSize_taskE                          4
02668 #define  SlotSize_taskF                          4
02669 
02670 
02671 /* ========================================================================= */
02672 /* SLOT USAGE ============================================================== */
02673 /* ========================================================================= */
02674 
02687 #define  SlotUseOverride                         cfgOverrideNon
02688 
02710 #define  SlotUse_slot1                           cfgUseAsQueu
02711 #define  SlotUse_slot2                           cfgUseAsMutex
02712 #define  SlotUse_slot3                           cfgUseAsWait
02713 #define  SlotUse_slot4                           cfgUseAsNon
02714 #define  SlotUse_slot5                           cfgUseAsNon
02715 #define  SlotUse_slot6                           cfgUseAsNon
02716 #define  SlotUse_slot7                           cfgUseAsNon
02717 #define  SlotUse_slot8                           cfgUseAsNon
02718 #define  SlotUse_slot9                           cfgUseAsNon
02719 #define  SlotUse_slotA                           cfgUseAsNon
02720 #define  SlotUse_slotB                           cfgUseAsNon
02721 #define  SlotUse_slotC                           cfgUseAsNon
02722 #define  SlotUse_slotD                           cfgUseAsNon
02723 #define  SlotUse_slotE                           cfgUseAsNon
02724 #define  SlotUse_slotF                           cfgUseAsNon
02725 
02726 
02727 /* ========================================================================= */
02728 /* QUEU SIZES ============================================================== */
02729 /* ========================================================================= */
02730 
02743 #define  QueuSizeOverride                        cfgOverrideNon
02744 
02753 #define  QueuSize_slot1                          8
02754 #define  QueuSize_slot2                          10
02755 #define  QueuSize_slot3                          10
02756 #define  QueuSize_slot4                          10
02757 #define  QueuSize_slot5                          10
02758 #define  QueuSize_slot6                          10
02759 #define  QueuSize_slot7                          10
02760 #define  QueuSize_slot8                          10
02761 #define  QueuSize_slot9                          10
02762 #define  QueuSize_slotA                          10
02763 #define  QueuSize_slotB                          10
02764 #define  QueuSize_slotC                          10
02765 #define  QueuSize_slotD                          10
02766 #define  QueuSize_slotE                          10
02767 #define  QueuSize_slotF                          10
02768 
02769 
02770 /* ========================================================================= */
02771 /* FILE NAMES ============================================================== */
02772 /* ========================================================================= */
02773 
02827 #define  FN_00                                   file0
02828 #define  FN_01                                   file1
02829 #define  FN_02                                   file2
02830 #define  FN_03                                   file3
02831 #define  FN_04                                   file4
02832 #define  FN_05                                   file5
02833 #define  FN_06                                   file6
02834 #define  FN_07                                   file7
02835 #define  FN_08                                   file8
02836 #define  FN_09                                   file9
02837 #define  FN_10                                   fileA
02838 #define  FN_11                                   fileB
02839 #define  FN_12                                   fileC
02840 #define  FN_13                                   fileD
02841 #define  FN_14                                   fileE
02842 #define  FN_15                                   fileF
02843 
02844 
02845 /* ========================================================================= */
02846 /* FILE SIZES ============================================================== */
02847 /* ========================================================================= */
02848 
02858 #define  FileSpaceStandard                       32
02859 
02873 #define  FileSpaceOverride                       cfgOverrideNon
02874 
02887 #define  FileSpace_file0                         32
02888 #define  FileSpace_file1                         178
02889 #define  FileSpace_file2                         0
02890 #define  FileSpace_file3                         8
02891 #define  FileSpace_file4                         1
02892 #define  FileSpace_file5                         1
02893 #define  FileSpace_file6                         0
02894 #define  FileSpace_file7                         6
02895 #define  FileSpace_file8                         0
02896 #define  FileSpace_file9                         0
02897 #define  FileSpace_fileA                         0
02898 #define  FileSpace_fileB                         0
02899 #define  FileSpace_fileC                         8
02900 #define  FileSpace_fileD                         0
02901 #define  FileSpace_fileE                         12
02902 #define  FileSpace_fileF                         0
02903 
02904 
02905 #endif /* CONFIG_DEFAULT_H */
02906 
02907 
02908 #ifdef BelowFindYourTemplate
02909 
02910 
02911 /* ========================================================================= */
02912 /* SYSTEM CONFIGURATION ==================================================== */
02913 /* ========================================================================= */
02914 
02915 #define  cfgSysOptimized                         cfgFalse
02916 #define  cfgSysDebug                             cfgFalse
02917 #define  cfgSysInline                            cfgFalse
02918 #define  cfgSysFramePointerCounterMeasures       cfgFalse
02919 #define  cfgSysReduceProEpilogue                 cfgBikini
02920 #define  cfgSysRegisterCheckByte                 0xA5
02921 #define  cfgSysStackGrowthUp                     cfgFalse
02922 #define  cfgSysZeroPageStack                     cfgFalse
02923 #define  cfgSysClearUnusedR1                     cfgTrue
02924 #define  cfgSysSqueezeState                      defSysOptimized
02925 #define  cfgSysReuseOsStack                      cfgTrue
02926 #define  cfgSysClockDivider                      1
02927 #define  cfgSysSubTicksPerFullTick               32
02928 #define  cfgSysSubTickDivider                    256
02929 #define  cfgSysGCCstartup                        cfgKeep
02930 #define  cfgSysFsStorageSpace                    512
02931 
02932 
02933 /* ========================================================================= */
02934 /* INTERRUPT HANDLING ====================================================== */
02935 /* ========================================================================= */
02936 
02937 #define  cfgIntGlobalOnly                        cfgTrue
02938 #define  cfgIntUserDefined                       cfgFalse
02939 #define  cfgIntSwitchUsesOSstack                 cfgFalse
02940 #define  cfgIntOsProtected                       cfgTrue
02941 #define  cfgIntTickTrack                         cfgFalse
02942 #define  cfgIntManualTicks                       cfgFalse
02943 
02944 
02945 /* ========================================================================= */
02946 /* QUALITY ASSURANCE ======================================================= */
02947 /* ========================================================================= */
02948 
02949 #define  cfgCheckSystem                          cfgFalse
02950 #define  cfgCheckReset                           cfgFalse
02951 #define  cfgCheckTrace                           cfgFalse
02952 #define  cfgCheckAlwaysFatal                     cfgTrue
02953 #define  cfgCheckWatermarks                      cfgFalse
02954 #define  cfgCheckOsStack                         cfgFalse
02955 #define  cfgCheckTaskStack                       cfgFalse
02956 #define  cfgCheckIsrStack                        cfgFalse
02957 #define  cfgCheckRegisters                       cfgFalse
02958 #define  cfgCheckTiming                          cfgFalse
02959 #define  cfgCheckQueuFilling                     cfgFalse
02960 #define  cfgCheckMethodUse                       cfgFalse
02961 #define  cfgCheckApplication                     cfgFalse
02962 
02963 
02964 /* ========================================================================= */
02965 /* COMMON CAPABILITIES ===================================================== */
02966 /* ========================================================================= */
02967 
02968 #define  cfgUseEquidistantTicks                  cfgTrue
02969 #define  cfgUseDelay                             cfgFalse
02970 #define  cfgUseSynchronization                   cfgSyncNon
02971 #define  cfgUseHierarchicalRoundRobin            cfgFalse
02972 #define  cfgUseNestedCriticals                   cfgFalse
02973 #define  cfgUsePrioritizedRelease                cfgFalse
02974 #define  cfgUsePriorityLifting                   cfgFalse
02975 #define  cfgUseTaskWatchdog                      cfgFalse
02976 #define  cfgUseCorrectWakeupTimes                cfgFalse
02977 #define  cfgUseTimeout                           cfgFalse
02978 #define  cfgUseTasknames                         cfgFalse
02979 #define  cfgUseLowPowerSleep                     cfgFalse
02980 #define  cfgUseLowPowerOnDelay                   cfgFalse
02981 #define  cfgUseLowPowerDelayRelease              cfgFalse
02982 #define  cfgUseLoadMonitor                       cfgFalse
02983 #define  cfgUseFileSystem                        cfgFalse
02984 #define  cfgUseFileSystemConcurrentRead          cfgFalse
02985 #define  cfgUseFileSystemEconomyMode             cfgFalse
02986 #define  cfgUseFileSystemMaintainFAT             cfgFalse
02987 #define  cfgUseEvents                            cfgFalse
02988 #define  cfgUseEventsOnVariables                 cfgFalse
02989 
02990 
02991 /* ========================================================================= */
02992 /* CODE PARAMETERS ========================================================= */
02993 /* ========================================================================= */
02994 
02995 #define  cfgNumWatchdogDiv                       0
02996 #define  cfgNumMonitorDiv                        0
02997 #define  cfgNumSleepPeriod                       0
02998 #define  cfgNumSleepThreshold                    0
02999 #define  cfgNumGlobWidth                         0
03000 #define  cfgNumSwitchWidth                       0
03001 #define  cfgNumTickWidth                         0
03002 
03003 
03004 /* ========================================================================= */
03005 /* EXTERNAL CALLS ========================================================== */
03006 /* ========================================================================= */
03007 
03008 #define  callAppTick00                           cfgFalse
03009 #define  callAppTick08                           cfgFalse
03010 #define  callAppTick16                           cfgFalse
03011 #define  callAppTickSleep                        cfgFalse
03012 #define  callAppEnterIdle                        cfgFalse
03013 #define  callAppEnterSleep                       cfgFalse
03014 #define  callAppExitSleep                        cfgFalse
03015 #define  callAppBoot                             cfgFalse
03016 #define  callAppInit                             cfgFalse
03017 #define  callAppBark                             cfgFalse
03018 
03019 
03020 /* ========================================================================= */
03021 /* API INCLUSIONS ========================================================== */
03022 /* ========================================================================= */
03023 
03024 /* Standard functions ------------------------------------------------------ */
03025 #define  includeTaskYield                        cfgFalse
03026 #define  includeTaskDelayFromNow                 cfgFalse
03027 #define  includeTaskDelayFromWake                cfgFalse
03028 #define  includeGenSuspend                       cfgFalse
03029 #define  includeTaskSuspend                      cfgFalse
03030 #define  includeGenResume                        cfgFalse
03031 #define  includeTaskSleep                        cfgFalse
03032 #define  includeTaskSleepAll                     cfgFalse
03033 #define  includeGenSetPriority                   cfgFalse
03034 #define  includeGenGetPriority                   cfgFalse
03035 #define  includeGenGetTickCount                  cfgFalse
03036 #define  includeGenAddtoTickCount                cfgFalse
03037 #define  includeGenGetLastWakeTime               cfgFalse
03038 #define  includeTaskFeedWatchdog                 cfgFalse
03039 #define  includeTaskKillWatchdog                 cfgFalse
03040 #define  includeGenGetTaskname                   cfgFalse
03041 #define  includeTaskTerminate                    cfgFalse
03042 #define  includeGenReboot                        cfgFalse
03043 #define  includeTaskRecreate                     cfgFalse
03044 #define  includeTaskRestart                      cfgFalse
03045 #define  includeGenLogTask                       cfgFalse
03046 #define  includeGenLogOs                         cfgFalse
03047 #define  includeGenTrace                         cfgFalse
03048 #define  includeGenPipeInt16                     cfgFalse
03049 #define  includeGenPassFlashString               cfgFalse
03050 
03051 /* Event functions --------------------------------------------------------- */
03052 #define  includeTaskWaitForEvents                cfgFalse
03053 #define  includeIsrFireEvent                     cfgFalse
03054 #define  includeGenFireEvent                     cfgFalse
03055 #define  includeGenFireEventSet                  cfgFalse
03056 #define  includeGenCountEventBlocks              cfgFalse
03057 
03058 /* Synchronization functions ----------------------------------------------- */
03059 #define  includeTaskWaitForTasks                 cfgFalse
03060 #define  includeGenWaitRelease                   cfgFalse
03061 #define  includeTaskMutex                        cfgFalse
03062 #define  includeTaskQueu                         cfgFalse
03063 
03064 /* Queu functions --------------------------------------------------------- */
03065 #define  includeGenQueuWrite                     cfgFalse
03066 #define  includeGenQueuRead                      cfgFalse
03067 #define  includeGenQueuClear                     cfgFalse
03068 #define  includeGenQueuPeek                      cfgFalse
03069 #define  includeGenQueuReadable                  cfgFalse
03070 #define  includeGenQueuWriteable                 cfgFalse
03071 #define  includeGenQueuFull                      cfgFalse
03072 #define  includeGenQueuEmpty                     cfgFalse
03073 
03074 /* File System functions --------------------------------------------------- */
03075 #define  includeTaskFileAccess                   cfgFalse
03076 #define  includeTaskFileFormat                   cfgFalse
03077 #define  includeTaskFileGetSize                  cfgFalse
03078 #define  includeTaskFileSetSize                  cfgFalse
03079 #define  includeTaskFileReadByte                 cfgFalse
03080 #define  includeTaskFileWriteByte                cfgFalse
03081 #define  includeTaskFileAppendByte               cfgFalse
03082 #define  includeTaskFileReadPipe                 cfgFalse
03083 #define  includeTaskFileWritePipe                cfgFalse
03084 #define  includeTaskFileReadBuffer               cfgFalse
03085 #define  includeTaskFileWriteBuffer              cfgFalse
03086 
03087 /* Protection functions ---------------------------------------------------- */
03088 #define  includeTaskProtectGlobalInterrupts      cfgFalse
03089 #define  includeTaskProtectSwitchTasks           cfgFalse
03090 #define  includeTaskProtectTickInterrupts        cfgFalse
03091 #define  includeTaskProtectGlobalCritical        cfgFalse
03092 #define  includeTaskProtectSwitchCritical        cfgFalse
03093 #define  includeTaskProtectTickCritical          cfgFalse
03094 
03095 /* ISR header/footer functions --------------------------------------------- */
03096 #define  includeIsrEnter                         cfgFalse
03097 #define  includeIsrExit                          cfgFalse
03098 #define  includeIsrBegin                         cfgFalse
03099 #define  includeIsrEndReturn                     cfgFalse
03100 #define  includeIsrEndYield                      cfgFalse
03101 #define  includeIsrStartLoad                     cfgFalse
03102 #define  includeIsrStopLoad                      cfgFalse
03103 
03104 /* quality assurance functions --------------------------------------------- */
03105 #define  includeTaskStackCheck                   cfgFalse
03106 #define  includeIsrStackCheck                    cfgFalse
03107 
03108 
03109 /* ========================================================================= */
03110 /* TASK NAMES ============================================================== */
03111 /* ========================================================================= */
03112 
03113 #define  CN_00                                   task0
03114 #define  CN_01                                   task1
03115 #define  CN_02                                   task2
03116 #define  CN_03                                   task3
03117 #define  CN_04                                   task4
03118 #define  CN_05                                   task5
03119 #define  CN_06                                   task6
03120 #define  CN_07                                   task7
03121 #define  CN_08                                   task8
03122 #define  CN_09                                   task9
03123 #define  CN_10                                   taskA
03124 #define  CN_11                                   taskB
03125 #define  CN_12                                   taskC
03126 #define  CN_13                                   taskD
03127 #define  CN_14                                   taskE
03128 #define  CN_15                                   taskF
03129 
03130 
03131 /* ========================================================================= */
03132 /* INCLUDE TASKS =========================================================== */
03133 /* ========================================================================= */
03134 
03135 #define  TaskIncludeOverride                     cfgOverrideNon
03136 #define  TaskInclude_task0                       cfgExclude
03137 #define  TaskInclude_task1                       cfgExclude
03138 #define  TaskInclude_task2                       cfgExclude
03139 #define  TaskInclude_task3                       cfgExclude
03140 #define  TaskInclude_task4                       cfgExclude
03141 #define  TaskInclude_task5                       cfgExclude
03142 #define  TaskInclude_task6                       cfgExclude
03143 #define  TaskInclude_task7                       cfgExclude
03144 #define  TaskInclude_task8                       cfgExclude
03145 #define  TaskInclude_task9                       cfgExclude
03146 #define  TaskInclude_taskA                       cfgExclude
03147 #define  TaskInclude_taskB                       cfgExclude
03148 #define  TaskInclude_taskC                       cfgExclude
03149 #define  TaskInclude_taskD                       cfgExclude
03150 #define  TaskInclude_taskE                       cfgExclude
03151 #define  TaskInclude_taskF                       cfgExclude
03152 
03153 
03154 /* ========================================================================= */
03155 /* TASK CAPABILITIES ======================================================= */
03156 /* ========================================================================= */
03157 
03158 #define  CapabilitiesOverride                    cfgOverrideNon
03159 #define  Capabilities_task0                      cfgCapAll
03160 #define  Capabilities_task1                      cfgCapAll
03161 #define  Capabilities_task2                      cfgCapAll
03162 #define  Capabilities_task3                      cfgCapAll
03163 #define  Capabilities_task4                      cfgCapAll
03164 #define  Capabilities_task5                      cfgCapAll
03165 #define  Capabilities_task6                      cfgCapAll
03166 #define  Capabilities_task7                      cfgCapAll
03167 #define  Capabilities_task8                      cfgCapAll
03168 #define  Capabilities_task9                      cfgCapAll
03169 #define  Capabilities_taskA                      cfgCapAll
03170 #define  Capabilities_taskB                      cfgCapAll
03171 #define  Capabilities_taskC                      cfgCapAll
03172 #define  Capabilities_taskD                      cfgCapAll
03173 #define  Capabilities_taskE                      cfgCapAll
03174 #define  Capabilities_taskF                      cfgCapAll
03175 
03176 
03177 /* ========================================================================= */
03178 /* STACK SIZES ============================================================= */
03179 /* ========================================================================= */
03180 
03181 #define  StackSafety                             0
03182 #define  StackSizeOS                             8
03183 #define  StackSizeISR                            8
03184 #define  StackSizeShared                         0
03185 #define  StackSizeOverride                       cfgOverrideNon
03186 #define  StackSize_task0                         4
03187 #define  StackSize_task1                         4
03188 #define  StackSize_task2                         4
03189 #define  StackSize_task3                         4
03190 #define  StackSize_task4                         4
03191 #define  StackSize_task5                         4
03192 #define  StackSize_task6                         4
03193 #define  StackSize_task7                         4
03194 #define  StackSize_task8                         4
03195 #define  StackSize_task9                         4
03196 #define  StackSize_taskA                         4
03197 #define  StackSize_taskB                         4
03198 #define  StackSize_taskC                         4
03199 #define  StackSize_taskD                         4
03200 #define  StackSize_taskE                         4
03201 #define  StackSize_taskF                         4
03202 
03203 
03204 /* ========================================================================= */
03205 /* TIMES SLICES ============================================================ */
03206 /* ========================================================================= */
03207 
03208 #define  TimeSliceIdleTime                       cfgSysSubTicksPerFullTick
03209 #define  TimeSliceOverride                       cfgOverrideNon
03210 #define  TimeSlice_task0                         cfgSysSubTicksPerFullTick
03211 #define  TimeSlice_task1                         cfgSysSubTicksPerFullTick
03212 #define  TimeSlice_task2                         cfgSysSubTicksPerFullTick
03213 #define  TimeSlice_task3                         cfgSysSubTicksPerFullTick
03214 #define  TimeSlice_task4                         cfgSysSubTicksPerFullTick
03215 #define  TimeSlice_task5                         cfgSysSubTicksPerFullTick
03216 #define  TimeSlice_task6                         cfgSysSubTicksPerFullTick
03217 #define  TimeSlice_task7                         cfgSysSubTicksPerFullTick
03218 #define  TimeSlice_task8                         cfgSysSubTicksPerFullTick
03219 #define  TimeSlice_task9                         cfgSysSubTicksPerFullTick
03220 #define  TimeSlice_taskA                         cfgSysSubTicksPerFullTick
03221 #define  TimeSlice_taskB                         cfgSysSubTicksPerFullTick
03222 #define  TimeSlice_taskC                         cfgSysSubTicksPerFullTick
03223 #define  TimeSlice_taskD                         cfgSysSubTicksPerFullTick
03224 #define  TimeSlice_taskE                         cfgSysSubTicksPerFullTick
03225 #define  TimeSlice_taskF                         cfgSysSubTicksPerFullTick
03226 
03227 
03228 /* ========================================================================= */
03229 /* RUNTIME TASK NAMES ====================================================== */
03230 /* ========================================================================= */
03231 
03232 #define  TaskName_task0                          "taak nul"
03233 #define  TaskName_task1                          "taak een"
03234 #define  TaskName_task2                          "taak twee"
03235 #define  TaskName_task3                          "taak drie"
03236 #define  TaskName_task4                          "taak vier"
03237 #define  TaskName_task5                          "taak vijf"
03238 #define  TaskName_task6                          "taak_zes"
03239 #define  TaskName_task7                          "taak_zeven"
03240 #define  TaskName_task8                          "taak_acht"
03241 #define  TaskName_task9                          "taak_negen"
03242 #define  TaskName_taskA                          "taak_tien"
03243 #define  TaskName_taskB                          "taak_elf"
03244 #define  TaskName_taskC                          "taak_twaalf"
03245 #define  TaskName_taskD                          "taak_dertien"
03246 #define  TaskName_taskE                          "taak_veertien"
03247 #define  TaskName_taskF                          "taak_vijftien"
03248 
03249 
03250 /* ========================================================================= */
03251 /* TASK PRIORITIES ========================================================= */
03252 /* ========================================================================= */
03253 
03254 #define  PriorityOverride                        cfgOverrideNon
03255 #define  Priority_task0                          0
03256 #define  Priority_task1                          3
03257 #define  Priority_task2                          2
03258 #define  Priority_task3                          3
03259 #define  Priority_task4                          2
03260 #define  Priority_task5                          1
03261 #define  Priority_task6                          1
03262 #define  Priority_task7                          1
03263 #define  Priority_task8                          0
03264 #define  Priority_task9                          0
03265 #define  Priority_taskA                          0
03266 #define  Priority_taskB                          0
03267 #define  Priority_taskC                          0
03268 #define  Priority_taskD                          0
03269 #define  Priority_taskE                          0
03270 #define  Priority_taskF                          0
03271 
03272 
03273 /* ========================================================================= */
03274 /* REGISTER USE ============================================================ */
03275 /* ========================================================================= */
03276 
03277 #define  RegisterUseOverride                     cfgOverrideNon
03278 #define  RegisterUse_task0                       registersNon
03279 #define  RegisterUse_task1                       r00r01r02r03 | r04r05r06r07
03280 #define  RegisterUse_task2                       r08r09r10r11 | r12r13r14r15
03281 #define  RegisterUse_task3                       r16r17r18r19 | r20r21r22r23
03282 #define  RegisterUse_task4                       r24r25r26r27 | r28r29r30r31
03283 #define  RegisterUse_task5                       r00r01r02r03
03284 #define  RegisterUse_task6                       r04r05r06r07
03285 #define  RegisterUse_task7                       r08r09r10r11
03286 #define  RegisterUse_task8                       r12r13r14r15
03287 #define  RegisterUse_task9                       r16r17r18r19
03288 #define  RegisterUse_taskA                       r20r21r22r23
03289 #define  RegisterUse_taskB                       r24r25r26r27
03290 #define  RegisterUse_taskC                       r28r29r30r31
03291 #define  RegisterUse_taskD                       registersAll
03292 #define  RegisterUse_taskE                       registersAll
03293 #define  RegisterUse_taskF                       registersAll
03294 
03295 
03296 /* ========================================================================= */
03297 /* REGISTER CHECK ========================================================== */
03298 /* ========================================================================= */
03299 
03300 #define  RegisterCheckOverride                   cfgOverrideNon
03301 #define  RegisterCheck_task0                     registersAll
03302 #define  RegisterCheck_task1                     registersAll
03303 #define  RegisterCheck_task2                     registersAll
03304 #define  RegisterCheck_task3                     registersAll
03305 #define  RegisterCheck_task4                     registersAll
03306 #define  RegisterCheck_task5                     registersAll
03307 #define  RegisterCheck_task6                     registersAll
03308 #define  RegisterCheck_task7                     registersAll
03309 #define  RegisterCheck_task8                     registersAll
03310 #define  RegisterCheck_task9                     registersAll
03311 #define  RegisterCheck_taskA                     registersAll
03312 #define  RegisterCheck_taskB                     registersAll
03313 #define  RegisterCheck_taskC                     registersAll
03314 #define  RegisterCheck_taskD                     registersAll
03315 #define  RegisterCheck_taskE                     registersAll
03316 #define  RegisterCheck_taskF                     registersAll
03317 
03318 
03319 /* ========================================================================= */
03320 /* INTERRUPT SETTING ======================================================= */
03321 /* ========================================================================= */
03322 
03323 #define  InterruptStartOverride                  cfgOverrideNon
03324 #define  InterruptStart_task0                    cfgGlobSet | cfgTickSet
03325 #define  InterruptStart_task1                    cfgGlobSet | cfgTickSet
03326 #define  InterruptStart_task2                    cfgGlobSet | cfgTickSet
03327 #define  InterruptStart_task3                    cfgGlobSet | cfgTickSet
03328 #define  InterruptStart_task4                    cfgGlobSet | cfgTickSet
03329 #define  InterruptStart_task5                    cfgGlobSet | cfgTickSet
03330 #define  InterruptStart_task6                    cfgGlobSet | cfgTickSet
03331 #define  InterruptStart_task7                    cfgGlobSet | cfgTickSet
03332 #define  InterruptStart_task8                    cfgGlobSet | cfgTickSet
03333 #define  InterruptStart_task9                    cfgGlobSet | cfgTickSet
03334 #define  InterruptStart_taskA                    cfgGlobSet | cfgTickSet
03335 #define  InterruptStart_taskB                    cfgGlobSet | cfgTickSet
03336 #define  InterruptStart_taskC                    cfgGlobSet | cfgTickSet
03337 #define  InterruptStart_taskD                    cfgGlobSet | cfgTickSet
03338 #define  InterruptStart_taskE                    cfgGlobSet | cfgTickSet
03339 #define  InterruptStart_taskF                    cfgGlobSet | cfgTickSet
03340 
03341 
03342 /* ========================================================================= */
03343 /* EVENT NAMES ============================================================= */
03344 /* ========================================================================= */
03345 
03346 #define  EN_00                                   event0
03347 #define  EN_01                                   event1
03348 #define  EN_02                                   event2
03349 #define  EN_03                                   event3
03350 #define  EN_04                                   event4
03351 #define  EN_05                                   event5
03352 #define  EN_06                                   event6
03353 #define  EN_07                                   event7
03354 
03355 
03356 /* ========================================================================= */
03357 /* SLOT NAMES ============================================================== */
03358 /* ========================================================================= */
03359 
03360 #define  SN_01                                   slot1
03361 #define  SN_02                                   slot2
03362 #define  SN_03                                   slot3
03363 #define  SN_04                                   slot4
03364 #define  SN_05                                   slot5
03365 #define  SN_06                                   slot6
03366 #define  SN_07                                   slot7
03367 #define  SN_08                                   slot8
03368 #define  SN_09                                   slot9
03369 #define  SN_10                                   slotA
03370 #define  SN_11                                   slotB
03371 #define  SN_12                                   slotC
03372 #define  SN_13                                   slotD
03373 #define  SN_14                                   slotE
03374 #define  SN_15                                   slotF
03375 
03376 
03377 /* ========================================================================= */
03378 /* SLOT SIZES ============================================================== */
03379 /* ========================================================================= */
03380 
03381 #define  SlotSizeOverride                        cfgOverrideNon
03382 #define  SlotSize_task0                          0
03383 #define  SlotSize_task1                          0
03384 #define  SlotSize_task2                          0
03385 #define  SlotSize_task3                          0
03386 #define  SlotSize_task4                          0
03387 #define  SlotSize_task5                          0
03388 #define  SlotSize_task6                          0
03389 #define  SlotSize_task7                          0
03390 #define  SlotSize_task8                          0
03391 #define  SlotSize_task9                          0
03392 #define  SlotSize_taskA                          0
03393 #define  SlotSize_taskB                          0
03394 #define  SlotSize_taskC                          0
03395 #define  SlotSize_taskD                          0
03396 #define  SlotSize_taskE                          0
03397 #define  SlotSize_taskF                          0
03398 
03399 
03400 /* ========================================================================= */
03401 /* SLOT USAGE ============================================================== */
03402 /* ========================================================================= */
03403 
03404 #define  SlotUseOverride                         cfgOverrideNon
03405 #define  SlotUse_slot1                           cfgUseAsNon
03406 #define  SlotUse_slot2                           cfgUseAsNon
03407 #define  SlotUse_slot3                           cfgUseAsNon
03408 #define  SlotUse_slot4                           cfgUseAsNon
03409 #define  SlotUse_slot5                           cfgUseAsNon
03410 #define  SlotUse_slot6                           cfgUseAsNon
03411 #define  SlotUse_slot7                           cfgUseAsNon
03412 #define  SlotUse_slot8                           cfgUseAsNon
03413 #define  SlotUse_slot9                           cfgUseAsNon
03414 #define  SlotUse_slotB                           cfgUseAsNon
03415 #define  SlotUse_slotC                           cfgUseAsNon
03416 #define  SlotUse_slotD                           cfgUseAsNon
03417 #define  SlotUse_slotE                           cfgUseAsNon
03418 #define  SlotUse_slotF                           cfgUseAsNon
03419 
03420 
03421 /* ========================================================================= */
03422 /* QUEU SIZES ============================================================== */
03423 /* ========================================================================= */
03424 
03425 #define  QueuSizeOverride                        cfgOverrideNon
03426 #define  QueuSize_slot1                          0
03427 #define  QueuSize_slot2                          10
03428 #define  QueuSize_slot3                          10
03429 #define  QueuSize_slot4                          10
03430 #define  QueuSize_slot5                          10
03431 #define  QueuSize_slot6                          10
03432 #define  QueuSize_slot7                          10
03433 #define  QueuSize_slot8                          10
03434 #define  QueuSize_slot9                          10
03435 #define  QueuSize_slotA                          10
03436 #define  QueuSize_slotB                          10
03437 #define  QueuSize_slotC                          10
03438 #define  QueuSize_slotD                          10
03439 #define  QueuSize_slotE                          10
03440 #define  QueuSize_slotF                          10
03441 
03442 
03443 /* ========================================================================= */
03444 /* FILE NAMES ============================================================== */
03445 /* ========================================================================= */
03446 
03447 #define  FN_00                                   file0
03448 #define  FN_01                                   file1
03449 #define  FN_02                                   file2
03450 #define  FN_03                                   file3
03451 #define  FN_04                                   file4
03452 #define  FN_05                                   file5
03453 #define  FN_06                                   file6
03454 #define  FN_07                                   file7
03455 #define  FN_08                                   file8
03456 #define  FN_09                                   file9
03457 #define  FN_10                                   fileA
03458 #define  FN_11                                   fileB
03459 #define  FN_12                                   fileC
03460 #define  FN_13                                   fileD
03461 #define  FN_14                                   fileE
03462 #define  FN_15                                   fileF
03463 
03464 
03465 /* ========================================================================= */
03466 /* FILE SIZES ============================================================== */
03467 /* ========================================================================= */
03468 
03469 #define  FileSpaceStandard                       0
03470 #define  FileSpaceOverride                       cfgOverrideNon
03471 #define  FileSpace_file0                         0
03472 #define  FileSpace_file1                         0
03473 #define  FileSpace_file2                         0
03474 #define  FileSpace_file3                         0
03475 #define  FileSpace_file4                         0
03476 #define  FileSpace_file5                         0
03477 #define  FileSpace_file6                         0
03478 #define  FileSpace_file7                         0
03479 #define  FileSpace_file8                         0
03480 #define  FileSpace_file9                         0
03481 #define  FileSpace_fileA                         0
03482 #define  FileSpace_fileB                         0
03483 #define  FileSpace_fileC                         0
03484 #define  FileSpace_fileD                         0
03485 #define  FileSpace_fileE                         0
03486 #define  FileSpace_fileF                         0
03487 
03488 
03489 #endif

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