• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1COPYING
2=======
3
4Describes the terms under which Nuttx is distributed. A copy of the BSD-
5style licensing is included in this file. In my words -- I believe that you
6should free to use NuttX in any environment, private, private, commercial,
7open, closed, etc. provided only that you respect the modest copyright
8notices as described in license (below), respect Trademarks, and include a
9copy of the BSD license.  Please feel free to contact me if you have any
10icensing concerns.
11
12Tool Licenses
13-------------
14
15Tools under the nuttx/tools directory are not intended for binary
16distribution.  You may find other licensing on individual tools in that
17directory.  If you intend to redistribute these tools in binary form, please
18respect the individual license of each tool as identified in the file header
19of the tool source files.
20
21Copyright Date Notation
22-----------------------
23
24Copyright information is provided in the header of each file.  This
25copyright information includes the name of the copyright holder and the
26year(s) in which copyrighted additions to the file were made to the file.
27A comma (',') is used to separate years in the list of years.  A hyphen ('-')
28is used as a more compact notation when additions were made over several
29consecutive years.  So for example, "2007, 2011" would mean that copyrighted
30additions were made during the years of 2007 and 2011 whereas "2007-2011"
31would indicate copyrighted additions in the years 2007, 2008, 2009, 2010,
32and 2011.
33
34Copyright Line Continuation
35---------------------------
36
37Copy information which exceeds the usable line lengh may be broken and
38continued on the following line, such as:
39
40   Copyright (C) 2007-2010, 2012, 2014-2015, 2017 Gregory Nutt.  All
41     rights reserved.
42
43NuttX
44=====
45
46License for NuttX in general (authorship and copyright dates on individual
47files will vary):
48
49/****************************************************************************
50 * directory path/filename
51 *
52 *   Copyright (C) 2007-2019 Gregory Nutt. All rights reserved.
53 *   Author: Gregory Nutt <gnutt@nuttx.org>
54 *
55 * Redistribution and use in source and binary forms, with or without
56 * modification, are permitted provided that the following conditions
57 * are met:
58 *
59 * 1. Redistributions of source code must retain the above copyright
60 *    notice, this list of conditions and the following disclaimer.
61 * 2. Redistributions in binary form must reproduce the above copyright
62 *    notice, this list of conditions and the following disclaimer in
63 *    the documentation and/or other materials provided with the
64 *    distribution.
65 * 3. Neither the name NuttX nor the names of its contributors may be
66 *    used to endorse or promote products derived from this software
67 *    without specific prior written permission.
68 *
69 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
70 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
71 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
72 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
73 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
74 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
75 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
76 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
77 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
78 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
79 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
80 * POSSIBILITY OF SUCH DAMAGE.
81 *
82 ****************************************************************************/
83
84FAT Long File Names
85===================
86
87  NOTE:  If CONFIG_FAT_LFN is defined in your NuttX configuration file, then
88  there may be some legal, patent issues. The following was extracted from
89  the entry "File Allocation Table from Wikipedia, the free encyclopedia:
90
91    "On December 3, 2003 Microsoft announced it would be offering licenses
92     for use of its FAT specification and 'associated intellectual property',
93     at the cost of a US$0.25 royalty per unit sold, with a $250,000 maximum
94     royalty per license agreement.
95
96     o "U.S. Patent 5,745,902 (http://www.google.com/patents?vid=5745902) -
97        Method and system for accessing a file using file names having
98        different file name formats. ...
99     o "U.S. Patent 5,579,517 (http://www.google.com/patents?vid=5579517) -
100        Common name space for long and short filenames. ...
101     o "U.S. Patent 5,758,352 (http://www.google.com/patents?vid=5758352) -
102        Common name space for long and short filenames. ...
103     o "U.S. Patent 6,286,013 (http://www.google.com/patents?vid=6286013) -
104        Method and system for providing a common name space for long and
105        short file names in an operating system. ...
106
107    "Many technical commentators have concluded that these patents only cover
108     FAT implementations that include support for long filenames, and that
109     removable solid state media and consumer devices only using short names
110     would be unaffected. ..."
111
112  This Wikipedia entry has been updated with recent legal decisions in favor
113  of Microsoft. Refer to:
114
115    https://en.wikipedia.org/wiki/File_Allocation_Table#Patents
116
117  So you have been forewarned:  Use the long filename at your own risk!
118
119uIP
120===
121
122Many lower-level networking components of NuttX derive from uIP which
123has a similar BSD style license:
124
125   Copyright (c) 2001-2003, Adam Dunkels.
126   All rights reserved.
127
128Rhombus Math Library
129====================
130
131The math library used in NuttX derives from the Rhombus OS by Nick Johnson
132(with many, many addtions).  The Rhombus OS is/was distributed under the ISC
133license.  The ISC licsense is a permissive license that allows people do
134anything with your code with proper attribution and without warranty.  The
135ISC license is functionally equivalent to the BSD 2-Clause and MIT licenses,
136removing some language that is no longer necessary.
137
138IGMP
139===
140
141IGMP support, if enabled, adds additional logic by Steve Reynolds:
142
143  Copyright (c) 2002 CITEL Technologies Ltd.
144  All rights reserved.
145
146The HID Parser in drivers/usbhost
147=================================
148
149  Adapted from the LUFA Library (MIT license):
150
151    Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)
152    dean [at] fourwalledcubicle [dot] com, www.lufa-lib.org
153
154  Permission to use, copy, modify, distribute, and sell this
155  software and its documentation for any purpose is hereby granted
156  without fee, provided that the above copyright notice appear in
157  all copies and that both that the copyright notice and this
158  permission notice and warranty disclaimer appear in supporting
159  documentation, and that the name of the author not be used in
160  advertising or publicity pertaining to distribution of the
161  software without specific, written prior permission.
162
163  The author disclaim all warranties with regard to this
164  software, including all implied warranties of merchantability
165  and fitness.  In no event shall the author be liable for any
166  special, indirect or consequential damages or any damages
167  whatsoever resulting from loss of use, data or profits, whether
168  in an action of contract, negligence or other tortious action,
169  arising out of or in connection with the use or performance of
170  this software.
171
172Certain functions in the NuttX C-library derive from other BSD-compatible
173sources:
174
175fs/nfs
176======
177
178   NFS:
179
180     Copyright (c) 1989, 1991, 1993, 1995 The Regents of the University of
181       California.  All rights reserved.
182
183   and RPC also has:
184
185     Copyright (c) 2004 The Regents of the University of Michigan.
186     Copyright (c) 2004 Weston Andros Adamson <muzzle@umich.edu>.
187     Copyright (c) 2004 Marius Aamodt Eriksen <marius@umich.edu>.
188
189   The University of Michigan uses a modified BSD license equivalent to
190   the NuttX license.  The University of California code uses the original
191   BSD license and requires that I state the following:
192
193  "This product includes software developed by the University of
194   California, Berkeley and its contributors."
195
196fs/spiffs
197=========
198
199  The MIT License (MIT)
200
201  Copyright (c) 2013-2017 Peter Andersson (pelleplutt1976<at>gmail.com)
202
203  Permission is hereby granted, free of charge, to any person obtaining a copy of
204  this software and associated documentation files (the "Software"), to deal in
205  the Software without restriction, including without limitation the rights to
206  use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
207  the Software, and to permit persons to whom the Software is furnished to do so,
208  subject to the following conditions:
209
210  The above copyright notice and this permission notice shall be included in all
211  copies or substantial portions of the Software.
212
213  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
214  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
215  FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
216  COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
217  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
218  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
219
220strtod()
221========
222
223  Copyright (C) 2002 Michael Ringgaard. All rights reserved.
224  Copyright (C) 2006-2007 H. Peter Anvin.
225
226dtoa()
227======
228
229  If you enable floating point conversions with CONFIG_LIBC_FLOATINGPOINT,
230  then some files with an unmodified BSD license will be included.  That
231  license is similar to the above (modified) BSD license, but has an
232  additional requirement that I state the following:
233
234  "This product includes software developed by the University of
235   California, Berkeley and its contributors."
236
237libc/string/lib_vikmemcpy.c
238===========================
239
240  If you enable CONFIG_MEMCPY_VIK, then you will build with the optimized
241  version of memcpy from Daniel Vik.  Licensing information for that version
242  of memcpy() follows:
243
244  Copyright (C) 1999-2010 Daniel Vik
245
246  This software is provided 'as-is', without any express or implied
247  warranty. In no event will the authors be held liable for any
248  damages arising from the use of this software.
249  Permission is granted to anyone to use this software for any
250  purpose, including commercial applications, and to alter it and
251  redistribute it freely, subject to the following restrictions:
252
253  1. The origin of this software must not be misrepresented; you
254     must not claim that you wrote the original software. If you
255     use this software in a product, an acknowledgment in the
256     use this software in a product, an acknowledgment in the
257     product documentation would be appreciated but is not
258     required.
259
260  2. Altered source versions must be plainly marked as such, and
261     must not be misrepresented as being the original software.
262
263  3. This notice may not be removed or altered from any source
264     distribution.
265
266libs/libc/math
267==============
268
269  If you enable CONFIG_LIB, you will build the math library at libc/math.
270  This library was taken from the math library developed for the Rhombus
271  OS by Nick Johnson (https://github.com/nickbjohnson4224/rhombus).  This
272  port was contributed by Darcy Gong.  The Rhombus math library has this
273  compatible MIT license:
274
275    Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
276
277  Permission to use, copy, modify, and distribute this software for any
278  purpose with or without fee is hereby granted, provided that the above
279  copyright notice and this permission notice appear in all copies.
280
281  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
282  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
283  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
284  ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
285  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
286  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
287
288drivers/video/ov2640
289====================
290
291  WARNING:  Some of the information in the data tables in this file came
292  from other projects with conflicting licenses:  Linux and ArduCAM.  Those
293  both have GPL licenses.  I am not sure if it is proper or not to lift the
294  content of those tables and still retain this BSD license.  I am guessing
295  so, but I am not a copyright attorney so you should use this driver in
296  products at your own risk.
297