00001 /* 00002 * Copyright (C) 2001-2007 by egnite Software GmbH. All rights reserved. 00003 * 00004 * Redistribution and use in source and binary forms, with or without 00005 * modification, are permitted provided that the following conditions 00006 * are met: 00007 * 00008 * 1. Redistributions of source code must retain the above copyright 00009 * notice, this list of conditions and the following disclaimer. 00010 * 2. Redistributions in binary form must reproduce the above copyright 00011 * notice, this list of conditions and the following disclaimer in the 00012 * documentation and/or other materials provided with the distribution. 00013 * 3. Neither the name of the copyright holders nor the names of 00014 * contributors may be used to endorse or promote products derived 00015 * from this software without specific prior written permission. 00016 * 00017 * THIS SOFTWARE IS PROVIDED BY EGNITE SOFTWARE GMBH AND CONTRIBUTORS 00018 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 00019 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 00020 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL EGNITE 00021 * SOFTWARE GMBH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 00022 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 00023 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 00024 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 00025 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 00026 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 00027 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 00028 * SUCH DAMAGE. 00029 * 00030 * For additional information see http://www.ethernut.de/ 00031 * 00032 */ 00033 00034 /* 00035 * $Log: version.c,v $ 00036 * Revision 1.46.2.1 2007/09/11 15:48:16 haraldkipp 00037 * Release branch 4.4 created 00038 * 00039 * Revision 1.46 2007/08/30 12:15:06 haraldkipp 00040 * Configurable MMC timings. 00041 * 00042 * Revision 1.45 2007/08/29 13:35:19 haraldkipp 00043 * Announcing release branch 4.4. 00044 * 00045 * Revision 1.44 2007/05/24 07:30:48 haraldkipp 00046 * Bugfixes for preparing release candidate. 00047 * 00048 * Revision 1.43 2007/05/02 11:35:25 haraldkipp 00049 * ATmega2561 and other fixes. 00050 * IGMP support started, but not finished. 00051 * Socket ioctl started, but not finished. 00052 * 00053 * Revision 1.42 2007/04/12 08:54:39 haraldkipp 00054 * Supports configurable SPI, VS10XX MP3 decoder chips and Mega256 for 00055 * avr-gcc 4.1.1. 00056 * 00057 * Revision 1.41 2007/02/15 15:59:12 haraldkipp 00058 * First 4.3 Beta Release 00059 * 00060 * Revision 1.40 2006/10/17 11:26:02 haraldkipp 00061 * Release branch 4.2 created. 00062 * 00063 * Revision 1.39 2006/10/05 17:26:58 haraldkipp 00064 * Follows unofficial rc10. 00065 * 00066 * Revision 1.38 2006/09/29 12:19:34 haraldkipp 00067 * RC10 00068 * 00069 * Revision 1.37 2006/08/31 19:19:55 haraldkipp 00070 * No time to write comments. ;-) 00071 * 00072 * Revision 1.36 2006/08/01 07:33:02 haraldkipp 00073 * Preparing new release candidate. 00074 * 00075 * Revision 1.35 2006/07/26 11:14:52 haraldkipp 00076 * Release candidate 6 00077 * 00078 * Revision 1.34 2006/07/10 14:29:03 haraldkipp 00079 * Release candidate 4.1.9.4. 00080 * C++ support added. These patches had been kindly contributed by 00081 * Matthias Wilde. 00082 * 00083 * Revision 1.33 2006/07/05 08:03:54 haraldkipp 00084 * Second trial to move to 4.2. 00085 * 00086 * Revision 1.32 2006/06/28 14:43:06 haraldkipp 00087 * Release candidate prepared. 00088 * 00089 * Revision 1.31 2006/05/15 12:48:49 haraldkipp 00090 * Prepare pre-release 4.1.6. 00091 * 00092 * Revision 1.30 2006/04/07 13:59:55 haraldkipp 00093 * Pre-release 4.1.5.4. 00094 * 00095 * Revision 1.29 2006/02/08 15:20:56 haraldkipp 00096 * ATmega2561 Support 00097 * 00098 * Revision 1.28 2006/01/23 19:53:33 haraldkipp 00099 * Minor fixes 00100 * 00101 * Revision 1.27 2006/01/23 17:37:08 haraldkipp 00102 * Mostly memory alignment fixes. 00103 * 00104 * Revision 1.26 2006/01/22 17:46:18 haraldkipp 00105 * Pre-release 4.1.3 00106 * 00107 * Revision 1.25 2006/01/19 18:39:33 haraldkipp 00108 * Pre-release 4.1.2. 00109 * 00110 * Revision 1.24 2006/01/08 11:55:52 haraldkipp 00111 * Prepare preview snapshot. 00112 * 00113 * Revision 1.23 2005/12/04 18:42:21 haraldkipp 00114 * Release branch X.Y created. 00115 * 00116 * Revision 1.22 2005/12/02 11:36:12 haraldkipp 00117 * Release 4.0 scheduled 00118 * 00119 * Revision 1.21 2005/11/20 14:36:07 haraldkipp 00120 * Preparing last version 4 preview. 00121 * 00122 * Revision 1.20 2005/08/02 17:47:04 haraldkipp 00123 * Major API documentation update. 00124 * 00125 * Revision 1.19 2005/07/20 09:14:40 haraldkipp 00126 * Release 3.9.8 00127 * 00128 * Revision 1.18 2005/06/06 10:40:31 haraldkipp 00129 * Emergency bugfix release 3.9.7.1. 00130 * 00131 * Revision 1.17 2005/05/25 10:04:58 haraldkipp 00132 * Win 32 release. 00133 * 00134 * Revision 1.16 2005/05/24 16:12:51 haraldkipp 00135 * Sigh! 00136 * 00137 * Revision 1.15 2005/05/22 16:05:40 haraldkipp 00138 * *** empty log message *** 00139 * 00140 * Revision 1.14 2005/04/05 17:37:12 haraldkipp 00141 * First Nut/OS running ARM responds to http requests 00142 * 00143 * Revision 1.13 2005/02/07 15:24:46 haraldkipp 00144 * ARP cache bugfix. 00145 * 00146 * Revision 1.12 2005/02/06 16:35:33 haraldkipp 00147 * *** empty log message *** 00148 * 00149 * Revision 1.11 2005/01/02 10:07:10 haraldkipp 00150 * Replaced platform dependant formats in debug outputs. 00151 * 00152 * Revision 1.10 2004/10/03 18:44:40 haraldkipp 00153 * A little bit of Game Boy 00154 * 00155 * Revision 1.9 2004/09/08 09:55:19 haraldkipp 00156 * Although this is no final release, there is a lot of new hardware waiting 00157 * for Nut/OS support. So I marked this with version 3.9.1 before creating 00158 * the long awaited 4.0 branch. 00159 * 00160 * Revision 1.8 2004/01/30 11:50:26 haraldkipp 00161 * Release branch 3.4 created 00162 * 00163 * Revision 1.7 2004/01/27 13:41:52 haraldkipp 00164 * Branch 3.4 announced 00165 * 00166 * Revision 1.6 2003/12/15 19:32:32 haraldkipp 00167 * Preview 00168 * 00169 * Revision 1.5 2003/11/04 17:59:04 haraldkipp 00170 * Corrected 00171 * 00172 * Revision 1.4 2003/11/03 16:28:20 haraldkipp 00173 * Release version 3.3.2 00174 * 00175 * Revision 1.3 2003/08/14 15:22:24 haraldkipp 00176 * New release 00177 * 00178 * Revision 1.2 2003/07/21 18:26:31 haraldkipp 00179 * Version 3.3 00180 * 00181 * Revision 1.1.1.1 2003/05/09 14:41:55 haraldkipp 00182 * Initial using 3.2.1 00183 * 00184 * Revision 1.3 2003/05/06 18:58:16 harald 00185 * Prepare final release 00186 * 00187 * Revision 1.2 2003/03/31 14:40:57 harald 00188 * *** empty log message *** 00189 * 00190 * Revision 1.1 2003/02/04 18:17:07 harald 00191 * Version 3 released 00192 * 00193 */ 00194 00195 #include <sys/version.h> 00196 00197 #define OS_VERSION_NUMBER 0x04040000UL 00198 static CONST char os_version_string[] = "4.4.0.0"; 00199 00204 00205 00214 u_long NutVersion(void) 00215 { 00216 return OS_VERSION_NUMBER; 00217 } 00218 00230 CONST char *NutVersionString(void) 00231 { 00232 return os_version_string; 00233 } 00234