doc/LICENSING.rst
:orphan:
.. _zephyr_licensing:
Licensing of Zephyr Project components ######################################
The Zephyr kernel tree imports or reuses packages, scripts and other files that
are not covered by the Apache 2.0 License_. In some places
there is no LICENSE file or way to put a LICENSE file there, so we describe the
licensing in this document.
Origin: Bootstrap
Licensing: MIT License_
Impact: These files are used in the :ref:dashboard tool and never linked into the firmware.
Files:
scripts/dashboard/static/js/bootstrap-chop.jsscripts/dashboard/static/css/bootstrap-chop.cssOrigin: Linux Kernel
Licensing: GPLv2 License_
Impact: These files are used in Continuous Integration (CI) and never linked into the firmware.
Files:
scripts/checkpatch.plscripts/checkstack.plscripts/spelling.txtOrigin: Coccinelle
Licensing: GPLv2 License_
Impact: These files are used by Coccinelle_, a tool for transforming C-code, and never linked
into the firmware.
Files:
scripts/coccicheckscripts/coccinelle/array_size.cocciscripts/coccinelle/deref_null.cocciscripts/coccinelle/deref_null.cocciscripts/coccinelle/deref_null.cocciscripts/coccinelle/mini_lock.cocciscripts/coccinelle/mini_lock.cocciscripts/coccinelle/mini_lock.cocciscripts/coccinelle/noderef.cocciscripts/coccinelle/noderef.cocciscripts/coccinelle/returnvar.cocciscripts/coccinelle/semicolon.cocciOrigin: GCC, the GNU Compiler Collection
Licensing: GPLv2 License_ with Runtime Library Exception
Impact: This file is only linked into the firmware if :kconfig:option:CONFIG_COVERAGE_GCOV is
enabled.
Files:
subsys/testsuite/coverage/coverage.hLicensing: GPLv2 License_
Impact: This file is used by OpenOCD_ when programming and debugging the
:zephyr:board:kb1200_evb board. It is never linked into the firmware.
Files:
boards/ene/kb1200_evb/support/openocd.cfgOrigin: ThreadX
Licensing: MIT License_
Impact: These files are only linked into the Thread-Metric RTOS Test Suite test firmware.
Files:
tests/benchmarks/thread_metric/thread_metric_readme.txttests/benchmarks/thread_metric/src/tm_api.htests/benchmarks/thread_metric/src/tm_basic_processing_test.ctests/benchmarks/thread_metric/src/tm_cooperative_scheduling_test.ctests/benchmarks/thread_metric/src/tm_interrupt_preemption_processing_test.ctests/benchmarks/thread_metric/src/tm_interrupt_processing_test.ctests/benchmarks/thread_metric/src/tm_memory_allocation_test.ctests/benchmarks/thread_metric/src/tm_message_processing_test.ctests/benchmarks/thread_metric/src/tm_porting_layer.htests/benchmarks/thread_metric/src/tm_porting_layer_zephyr.ctests/benchmarks/thread_metric/src/tm_preemptive_scheduling_test.ctests/benchmarks/thread_metric/src/tm_synchronization_processing_test.cOrigin: OpenThread
Licensing: BSD-3-clause_
Impact: These files are only linked into the firmware if :kconfig:option:CONFIG_HDLC_RCP_IF is
enabled.
Files:
modules/openthread/platform/hdlc_interface.hppmodules/openthread/platform/radio_spinel.cppmodules/openthread/platform/hdlc_interface.cppLicensing: BSD-3-clause_
Impact: These are only used for testing and never linked with the firmware.
Files:
scripts/dts/python-devicetree/testsLicensing: BSD-2-clause_
Impact: This header is used in Zephyr build only if :kconfig:option:CONFIG_FUSE_CLIENT is enabled.
Files:
subsys/fs/fuse_client/fuse_abi.hOrigin: wireguard-lwip
Licensing: BSD-3-clause_
Impact: These files are only linked into the firmware if :kconfig:option:CONFIG_WIREGUARD
is enabled.
Files with BSD-3-clause license:
subsys/net/lib/wireguard/wg_crypto.csubsys/net/lib/wireguard/crypto/crypto.hsubsys/net/lib/wireguard/crypto/crypto.csubsys/net/lib/wireguard/crypto/refc/blake2s.hsubsys/net/lib/wireguard/crypto/refc/blake2s.csubsys/net/lib/wireguard/crypto/refc/hchacha20.hsubsys/net/lib/wireguard/crypto/refc/hchacha20.c.. _Apache 2.0 License: https://github.com/zephyrproject-rtos/zephyr/blob/main/LICENSE
.. _GPLv2 License: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/COPYING
.. _MIT License: https://opensource.org/licenses/MIT
.. _BSD-3-clause: https://opensource.org/license/bsd-3-clause
.. _BSD-2-clause: https://opensource.org/license/bsd-2-clause
.. _Coccinelle: https://coccinelle.gitlabpages.inria.fr/website/
.. _OpenOCD: https://openocd.org