1Copyrights and Licenses
2***********************
3
4Software Copyrights
5===================
6
7All original source code in this repository is Copyright (C) 2015-2022 Espressif Systems. This source code is licensed under the Apache License 2.0 as described in the file LICENSE.
8
9Additional third party copyrighted code is included under the following licenses.
10
11Where source code headers specify Copyright & License information, this information takes precedence over the summaries made here.
12
13Firmware Components
14-------------------
15
16These third party libraries can be included into the application (firmware) produced by ESP-IDF.
17
18* :component:`Newlib <newlib>` is licensed under the BSD License and is Copyright of various parties, as described in :component_file:`COPYING.NEWLIB<newlib/COPYING.NEWLIB>`.
19
20* :component:`Xtensa header files<xtensa/include/xtensa>` are Copyright (C) 2013 Tensilica Inc and are licensed under the MIT License as reproduced in the individual header files.
21
22* Original parts of FreeRTOS_ (components/freertos) are Copyright (C) 2017 Amazon.com, Inc. or its affiliates are licensed under the MIT License, as described in :component_file:`license.txt<freertos/LICENSE.md>`.
23
24* Original parts of LWIP_ (components/lwip) are Copyright (C) 2001, 2002 Swedish Institute of Computer Science and are licensed under the BSD License as described in :component_file:`COPYING file<lwip/lwip/COPYING>`.
25
26* `wpa_supplicant`_ Copyright (c) 2003-2005 Jouni Malinen and licensed under the BSD license.
27
28* `FreeBSD net80211`_ Copyright (c) 2004-2008 Sam Leffler, Errno Consulting and licensed under the BSD license.
29
30* `JSMN`_ JSON Parser (components/jsmn) Copyright (c) 2010 Serge A. Zaitsev and licensed under the MIT license.
31
32* `argtable3`_ argument parsing library Copyright (C) 1998-2001,2003-2011,2013 Stewart Heitmann and licensed under 3-clause BSD license.
33
34* `linenoise`_ line editing library Copyright (c) 2010-2014 Salvatore Sanfilippo, Copyright (c) 2010-2013 Pieter Noordhuis, licensed under 2-clause BSD license.
35
36* `libcoap`_ COAP library Copyright (c) 2010-2017 Olaf Bergmann and others, is licensed under 2-clause BSD license as described in :component_file:`LICENSE file <coap/libcoap/LICENSE>` and :component_file:`COPYING file <coap/libcoap/COPYING>` .
37
38* `libexpat`_ XML parsing library Copyright (c) 1998-2000 Thai Open Source Software Center Ltd and Clark Cooper, Copyright (c) 2001-2017 Expat maintainers, is licensed under MIT license as described in :component_file:`COPYING file <expat/expat/expat/COPYING>`.
39
40* `FatFS`_ library, Copyright (C) 2017 ChaN, is licensed under :component_file:`a BSD-style license <fatfs/src/ff.h#L1-L18>`.
41
42* `cJSON`_ library, Copyright (c) 2009-2017 Dave Gamble and cJSON contributors, is licensed under MIT license as described in :component_file:`LICENSE file <json/cJSON/LICENSE>`.
43
44* `libsodium`_ library, Copyright (c) 2013-2018 Frank Denis, is licensed under ISC license as described in :component_file:`LICENSE file <libsodium/libsodium/LICENSE>`.
45
46* `micro-ecc`_ library, Copyright (c) 2014 Kenneth MacKay, is licensed under 2-clause BSD license.
47
48* `nghttp2`_ library, Copyright (c) 2012, 2014, 2015, 2016 Tatsuhiro Tsujikawa, Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors, is licensed under MIT license as described in :component_file:`COPYING file <nghttp/nghttp2/COPYING>`.
49
50* `Mbed TLS`_ library, Copyright (C) 2006-2018 ARM Limited, is licensed under Apache License 2.0 as described in :component_file:`LICENSE file <mbedtls/mbedtls/LICENSE>`.
51
52* `SPIFFS`_ library, Copyright (c) 2013-2017 Peter Andersson, is licensed under MIT license as described in :component_file:`LICENSE file <spiffs/spiffs/LICENSE>`.
53
54* `TinyCBOR`_ library, Copyright (c) 2017 Intel Corporation, is licensed under MIT License as described in :component_file:`LICENSE file <cbor/tinycbor/LICENSE>`.
55
56* :component_file:`SD/MMC driver <sdmmc/sdmmc_cmd.c>` is derived from `OpenBSD SD/MMC driver`_, Copyright (c) 2006 Uwe Stuehler, and is licensed under BSD license.
57
58* :component:`Asio <asio>`, Copyright (c) 2003-2018 Christopher M. Kohlhoff is licensed under the Boost Software License as described in :component_file:`COPYING file<asio/asio/asio/COPYING>`.
59
60* :component:`ESP-MQTT <mqtt>` MQTT Package (contiki-mqtt) - Copyright (c) 2014, Stephen Robinson, MQTT-ESP - Tuan PM <tuanpm at live dot com> is licensed under Apache License 2.0 as described in :component_file:`LICENSE file <mqtt/esp-mqtt/LICENSE>`.
61
62* :component:`BLE Mesh <bt/esp_ble_mesh>` is adapted from Zephyr Project, Copyright (c) 2017-2018 Intel Corporation and licensed under Apache License 2.0
63
64* `mynewt-nimble`_ Apache Mynewt NimBLE, Copyright 2015-2018, The Apache Software Foundation, is licensed under Apache License 2.0 as described in :component_file:`LICENSE file<bt/host/nimble/nimble/LICENSE>`.
65
66* `cryptoauthlib`_ Microchip CryptoAuthentication Library - Copyright (c) 2015 - 2018 Microchip Technology Inc, is licensed under common Microchip software License as described in :example_file:`LICENSE file <peripherals/secure_element/atecc608_ecdsa/components/esp-cryptoauthlib/cryptoauthlib/LICENSE>`
67
68* :component_file:`TLSF allocator <heap/heap_tlsf.c>` Two Level Segregated Fit memory allocator, Copyright (c) 2006-2016, Matthew Conte, and licensed under the BSD license.
69
70* `qrcode`_ QR Code generator library Copyright (c) Project Nayuki, is licensed under MIT license.
71
72* :component:`openthread`, Copyright (c) The OpenThread Authors, is licensed under  Apache License 2.0 as described in :component_file:`LICENSE file<openthread/openthread/LICENSE>`.
73
74* :component_file:`UBSAN runtime <esp_system/ubsan.c>` — Copyright (c) 2016, Linaro Limited and Jiří Zárevúcky, licensed under the BSD 2-clause license.
75
76* `freemodbus`_ Copyright (c) 2006-2013 Christian Walter, Armink and licensed under the BSD license.
77
78Build Tools
79-----------
80
81This is the list of licenses for tools included in this repository, which are used to build applications. The tools do not become part of the application (firmware), so their license does not affect licensing of the application.
82
83* :component:`esptool.py <esptool_py/esptool>` is Copyright (C) 2014-2016 Fredrik Ahlberg, Angus Gratton and is licensed under the GNU General Public License v2, as described in :component_file:`LICENSE file<esptool_py/LICENSE>`.
84
85* :idf:`KConfig <tools/kconfig>` is Copyright (C) 2002 Roman Zippel and others, and is licensed under the GNU General Public License V2.
86
87Documentation
88-------------
89
90* HTML version of the `ESP-IDF Programming Guide`_ uses the Sphinx theme `sphinx_idf_theme`_, which is Copyright (c) 2013-2020 Dave Snider, Read the Docs, Inc. & contributors, and Espressif Systems (Shanghai) CO., LTD. It is based on `sphinx_rtd_theme`_. Both are licensed under MIT license.
91
92ROM Source Code Copyrights
93==========================
94
95ESP32, ESP32-S and ESP32-C Series SoCs mask ROM hardware includes binaries compiled from portions of the following third party software:
96
97* :component:`Newlib <newlib>`, licensed under the BSD License and is Copyright of various parties, as described in :component_file:`COPYING.NEWLIB<newlib/COPYING.NEWLIB>`.
98
99* Xtensa libhal, Copyright (c) Tensilica Inc and licensed under the MIT license (see below).
100
101* TinyBasic_ Plus, Copyright Mike Field & Scott Lawrence and licensed under the MIT license (see below).
102
103* miniz_, by Rich Geldreich - placed into the public domain.
104
105* `wpa_supplicant`_ Copyright (c) 2003-2005 Jouni Malinen and licensed under the BSD license.
106
107* TJpgDec_ Copyright (C) 2011, ChaN, all right reserved. See below for license.
108
109Xtensa libhal MIT License
110=========================
111
112Copyright (c) 2003, 2006, 2010 Tensilica Inc.
113
114Permission is hereby granted, free of charge, to any person obtaining
115a copy of this software and associated documentation files (the
116"Software"), to deal in the Software without restriction, including
117without limitation the rights to use, copy, modify, merge, publish,
118distribute, sublicense, and/or sell copies of the Software, and to
119permit persons to whom the Software is furnished to do so, subject to
120the following conditions:
121
122The above copyright notice and this permission notice shall be included
123in all copies or substantial portions of the Software.
124
125THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
126EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
127MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
128IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
129CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
130TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
131SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
132
133TinyBasic Plus MIT License
134==========================
135
136Copyright (c) 2012-2013
137
138Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
139
140The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
141
142THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
143
144TJpgDec License
145===============
146
147TJpgDec - Tiny JPEG Decompressor R0.01                       (C)ChaN, 2011
148The TJpgDec is a generic JPEG decompressor module for tiny embedded systems.
149This is a free software that opened for education, research and commercial
150developments under license policy of following terms.
151
152Copyright (C) 2011, ChaN, all right reserved.
153
154* The TJpgDec module is a free software and there is NO WARRANTY.
155* No restriction on use. You can use, modify and redistribute it for personal, non-profit or commercial products UNDER YOUR RESPONSIBILITY.
156* Redistributions of source code must retain the above copyright notice.
157
158
159.. _Newlib: https://sourceware.org/newlib/
160.. _FreeRTOS: https://freertos.org/
161.. _esptool.py: https://github.com/espressif/esptool
162.. _LWIP: https://savannah.nongnu.org/projects/lwip/
163.. _TinyBasic: https://github.com/BleuLlama/TinyBasicPlus
164.. _miniz: https://code.google.com/archive/p/miniz/
165.. _wpa_supplicant: https://w1.fi/wpa_supplicant/
166.. _FreeBSD net80211: https://github.com/freebsd/freebsd/tree/master/sys/net80211
167.. _TJpgDec: http://elm-chan.org/fsw/tjpgd/00index.html
168.. _JSMN: https://zserge.com/jsmn.html
169.. _argtable3: https://github.com/argtable/argtable3
170.. _linenoise: https://github.com/antirez/linenoise
171.. _libcoap: https://github.com/obgm/libcoap
172.. _fatfs: http://elm-chan.org/fsw/ff/00index_e.html
173.. _cJSON: https://github.com/DaveGamble/cJSON
174.. _libsodium: https://github.com/jedisct1/libsodium
175.. _libexpat: https://github.com/libexpat/libexpat
176.. _micro-ecc: https://github.com/kmackay/micro-ecc
177.. _nghttp2: https://github.com/nghttp2/nghttp2
178.. _OpenBSD SD/MMC driver: https://github.com/openbsd/src/blob/f303646/sys/dev/sdmmc/sdmmc.c
179.. _Mbed TLS: https://github.com/ARMmbed/mbedtls
180.. _spiffs: https://github.com/pellepl/spiffs
181.. _asio: https://github.com/chriskohlhoff/asio
182.. _mqtt: https://github.com/espressif/esp-mqtt
183.. _zephyr: https://github.com/zephyrproject-rtos/zephyr
184.. _mynewt-nimble: https://github.com/apache/mynewt-nimble
185.. _TinyCBOR: https://github.com/intel/tinycbor
186.. _ESP-IDF Programming Guide: https://docs.espressif.com/projects/esp-idf/en/latest/
187.. _sphinx_idf_theme: https://github.com/espressif/sphinx_idf_theme
188.. _sphinx_rtd_theme: https://github.com/readthedocs/sphinx_rtd_theme
189.. _cryptoauthlib: https://github.com/MicrochipTech/cryptoauthlib
190.. _qrcode: https://github.com/nayuki/QR-Code-generator
191.. _freemodbus: https://github.com/armink/FreeModbus_Slave-Master-RTT-STM32
192