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 /* This file is solely for testing purposes. */ 00026 00027 /* This is not a particular application, it is only meant to see if the 00028 * core compiles. Most options are switched on. */ 00029 00030 #include "femtoos_code.h" 00031 00032 #if (callAppBoot == cfgTrue) 00033 void appBoot(void) { } 00034 #endif 00035 00036 00037 #if (callAppTick00 == cfgTrue) 00038 void appTick00(void) { } 00039 #endif 00040 00041 00042 #if (callAppTick08 == cfgTrue) 00043 void appTick08(void) { } 00044 #endif 00045 00046 00047 #if (callAppTick16 == cfgTrue) 00048 void appTick6(void) { } 00049 #endif 00050 00051 00052 #if (preTaskDefined(task0)) 00053 00054 #if (callAppInit == cfgTrue) 00055 void Init_task0(void) { } 00056 #endif 00057 00058 void appLoop_task0(void) 00059 { genFireEvent(7); 00060 while (true); } 00061 00062 #if (cfgUseTaskWatchdog == cfgTrue) && (callAppBark == cfgTrue) 00063 void appBark_task0(void) { } 00064 #endif 00065 00066 #endif 00067