From 9bf8bd99273c09b7b0cbd8b09ecf1f65662b44fa Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sat, 6 Apr 2019 08:40:33 -0400 Subject: [PATCH 1/4] net: kconfig: relicense kconfig file The license in this file is a leftover from old IP stack. Relicense it to Apache 2.0. Signed-off-by: Anas Nashif --- drivers/net/Kconfig | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index b81302436e1d..aa753e0fc138 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -1,35 +1,5 @@ # Kconfig - Misc network drivers configuration options - -# -# Copyright (c) 2016 Intel Corporation -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1) Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2) Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# 3) Neither the name of Intel Corporation nor the names of its contributors -# may be used to endorse or promote products derived from this software without -# specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - +# SPDX-License-Identifier: Apache-2.0 # # SLIP options # From 14bf8be8b8b201a6da182fb4410a4fdabae0f2a8 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sat, 6 Apr 2019 08:44:00 -0400 Subject: [PATCH 2/4] drivers: adc: fix license This is a leftover license header from when we used a third party driver that had since been replaced. Signed-off-by: Anas Nashif --- drivers/adc/adc_intel_quark_se_c1000_ss.h | 28 ++--------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/drivers/adc/adc_intel_quark_se_c1000_ss.h b/drivers/adc/adc_intel_quark_se_c1000_ss.h index 1e32b1f430ca..81bae070d3fa 100644 --- a/drivers/adc/adc_intel_quark_se_c1000_ss.h +++ b/drivers/adc/adc_intel_quark_se_c1000_ss.h @@ -1,32 +1,8 @@ /** - * Synopsys DesignWare Sensor and Control IP Subsystem IO Software Driver and - * documentation (hereinafter, "Software") is an Unsupported proprietary work - * of Synopsys, Inc. unless otherwise expressly agreed to in writing between - * Synopsys and you. + * Copyright (c) 2015-2019 Intel Corporation * - * The Software IS NOT an item of Licensed Software or Licensed Product under - * any End User Software License Agreement or Agreement for Licensed Product - * with Synopsys or any supplement thereto. You are permitted to use and - * redistribute this Software in source and binary forms, with or without - * modification, provided that redistributions of source code must retain this - * notice. You may not view, use, disclose, copy or distribute this file or - * any information contained herein except pursuant to this license grant from - * Synopsys. If you do not agree with this notice, including the disclaimer - * below, then you are not authorized to use the Software. - * - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" BASIS - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS BE LIABLE FOR ANY DIRECT, - * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. + * SPDX-License-Identifier: Apache-2.0 */ - /** * @file * From bd247ee46189974e0675906db748a7695fc44c69 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sat, 6 Apr 2019 10:29:43 -0400 Subject: [PATCH 3/4] scripts: remove old xtools config files Those files are outdated. We now have them as part of the sdk-ng git repo. Signed-off-by: Anas Nashif --- scripts/cross_compiler/i586.config | 535 ---------------------------- scripts/cross_compiler/iamcu.config | 535 ---------------------------- scripts/cross_compiler/nios2.config | 526 --------------------------- 3 files changed, 1596 deletions(-) delete mode 100644 scripts/cross_compiler/i586.config delete mode 100644 scripts/cross_compiler/iamcu.config delete mode 100644 scripts/cross_compiler/nios2.config diff --git a/scripts/cross_compiler/i586.config b/scripts/cross_compiler/i586.config deleted file mode 100644 index a44c427b19a7..000000000000 --- a/scripts/cross_compiler/i586.config +++ /dev/null @@ -1,535 +0,0 @@ -# -# Automatically generated file; DO NOT EDIT. -# Crosstool-NG Configuration -# -CT_MODULES=y - -# -# Paths and misc options -# - -# -# crosstool-NG behavior -# -CT_OBSOLETE=y -# CT_EXPERIMENTAL is not set -# CT_DEBUG_CT is not set - -# -# Paths -# -CT_LOCAL_TARBALLS_DIR="${CT_PREFIX:-${HOME}/x-tools}/sources" -CT_SAVE_TARBALLS=y -CT_WORK_DIR="${CT_TOP_DIR}/.build" -CT_BUILD_TOP_DIR="${CT_WORK_DIR}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}" -CT_PREFIX_DIR="${CT_PREFIX:-${HOME}/x-tools}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}" -CT_RM_RF_PREFIX_DIR=y -CT_REMOVE_DOCS=y -# CT_PREFIX_DIR_RO is not set -CT_STRIP_HOST_TOOLCHAIN_EXECUTABLES=y -# CT_STRIP_TARGET_TOOLCHAIN_EXECUTABLES is not set - -# -# Downloading -# -CT_DOWNLOAD_AGENT_WGET=y -# CT_DOWNLOAD_AGENT_CURL is not set -# CT_DOWNLOAD_AGENT_NONE is not set -# CT_FORBID_DOWNLOAD is not set -# CT_FORCE_DOWNLOAD is not set -CT_CONNECT_TIMEOUT=10 -CT_DOWNLOAD_WGET_OPTIONS="--passive-ftp --tries=3 -nc --progress=dot:binary" -# CT_ONLY_DOWNLOAD is not set -# CT_USE_MIRROR is not set - -# -# Extracting -# -# CT_FORCE_EXTRACT is not set -CT_OVERRIDE_CONFIG_GUESS_SUB=y -# CT_ONLY_EXTRACT is not set -CT_PATCH_BUNDLED=y -# CT_PATCH_LOCAL is not set -# CT_PATCH_BUNDLED_LOCAL is not set -# CT_PATCH_LOCAL_BUNDLED is not set -# CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set -# CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set -# CT_PATCH_NONE is not set -CT_PATCH_ORDER="bundled" - -# -# Build behavior -# -CT_PARALLEL_JOBS=0 -CT_LOAD="" -CT_USE_PIPES=y -CT_EXTRA_CFLAGS_FOR_BUILD="" -CT_EXTRA_LDFLAGS_FOR_BUILD="" -CT_EXTRA_CFLAGS_FOR_HOST="" -CT_EXTRA_LDFLAGS_FOR_HOST="" -# CT_CONFIG_SHELL_SH is not set -# CT_CONFIG_SHELL_ASH is not set -CT_CONFIG_SHELL_BASH=y -# CT_CONFIG_SHELL_CUSTOM is not set -CT_CONFIG_SHELL="${bash}" - -# -# Logging -# -# CT_LOG_ERROR is not set -# CT_LOG_WARN is not set -# CT_LOG_INFO is not set -CT_LOG_EXTRA=y -# CT_LOG_ALL is not set -# CT_LOG_DEBUG is not set -CT_LOG_LEVEL_MAX="EXTRA" -# CT_LOG_SEE_TOOLS_WARN is not set -# CT_LOG_PROGRESS_BAR is not set -CT_LOG_TO_FILE=y -CT_LOG_FILE_COMPRESS=y - -# -# Target options -# -CT_ARCH="x86" -# CT_ARCH_alpha is not set -# CT_ARCH_arm is not set -# CT_ARCH_avr is not set -# CT_ARCH_m68k is not set -# CT_ARCH_mips is not set -# CT_ARCH_nios2 is not set -# CT_ARCH_powerpc is not set -# CT_ARCH_s390 is not set -# CT_ARCH_sh is not set -# CT_ARCH_sparc is not set -CT_ARCH_x86=y -# CT_ARCH_xtensa is not set -CT_ARCH_alpha_AVAILABLE=y -CT_ARCH_arm_AVAILABLE=y -CT_ARCH_avr_AVAILABLE=y -CT_ARCH_m68k_AVAILABLE=y -CT_ARCH_microblaze_AVAILABLE=y -CT_ARCH_mips_AVAILABLE=y -CT_ARCH_nios2_AVAILABLE=y -CT_ARCH_powerpc_AVAILABLE=y -CT_ARCH_s390_AVAILABLE=y -CT_ARCH_sh_AVAILABLE=y -CT_ARCH_sparc_AVAILABLE=y -CT_ARCH_x86_AVAILABLE=y -CT_ARCH_xtensa_AVAILABLE=y -CT_ARCH_SUFFIX="" - -# -# Generic target options -# -# CT_MULTILIB is not set -CT_DEMULTILIB=y -CT_ARCH_USE_MMU=y -CT_ARCH_SUPPORTS_32=y -CT_ARCH_SUPPORTS_64=y -CT_ARCH_DEFAULT_32=y -CT_ARCH_BITNESS=32 -CT_ARCH_32=y -# CT_ARCH_64 is not set - -# -# Target optimisations -# -CT_ARCH_SUPPORTS_WITH_ARCH=y -CT_ARCH_SUPPORTS_WITH_CPU=y -CT_ARCH_SUPPORTS_WITH_TUNE=y -CT_ARCH_ARCH="" -CT_ARCH_CPU="" -CT_ARCH_TUNE="pentium" -CT_TARGET_CFLAGS="-m32" -CT_TARGET_LDFLAGS="" -CT_ARCH_FLOAT="" - -# -# x86 other options -# -# CT_ARCH_X86_IAMCU is not set - -# -# Toolchain options -# - -# -# General toolchain options -# -CT_TOOLCHAIN_PKGVERSION="" -CT_TOOLCHAIN_BUGURL="" - -# -# Tuple completion and aliasing -# -CT_TARGET_VENDOR="zephyr" -CT_TARGET_ALIAS_SED_EXPR="" -CT_TARGET_ALIAS="" - -# -# Toolchain type -# -CT_CROSS=y -# CT_CANADIAN is not set -CT_TOOLCHAIN_TYPE="cross" - -# -# Build system -# -CT_BUILD="" -CT_BUILD_PREFIX="" -CT_BUILD_SUFFIX="" - -# -# Misc options -# -# CT_TOOLCHAIN_ENABLE_NLS is not set - -# -# Operating System -# -CT_BARE_METAL=y -CT_KERNEL="bare-metal" -CT_KERNEL_bare_metal=y -# CT_KERNEL_linux is not set -CT_KERNEL_bare_metal_AVAILABLE=y -CT_KERNEL_linux_AVAILABLE=y -CT_KERNEL_windows_AVAILABLE=y - -# -# Common kernel options -# - -# -# Binary utilities -# -CT_ARCH_BINFMT_ELF=y -CT_BINUTILS="binutils" -CT_BINUTILS_binutils=y - -# -# GNU binutils -# -CT_BINUTILS_VERSION="2.28" -# CT_BINUTILS_SHOW_LINARO is not set -CT_BINUTILS_V_2_28=y -# CT_BINUTILS_V_2_27 is not set -# CT_BINUTILS_V_2_26 is not set -# CT_BINUTILS_V_2_25_1 is not set -# CT_BINUTILS_V_2_24 is not set -# CT_BINUTILS_V_2_23_2 is not set -CT_BINUTILS_2_27_or_later=y -CT_BINUTILS_2_26_or_later=y -CT_BINUTILS_2_25_1_or_later=y -CT_BINUTILS_2_25_or_later=y -CT_BINUTILS_2_24_or_later=y -CT_BINUTILS_2_23_2_or_later=y -CT_BINUTILS_HAS_HASH_STYLE=y -CT_BINUTILS_HAS_GOLD=y -CT_BINUTILS_GOLD_SUPPORTS_ARCH=y -CT_BINUTILS_GOLD_SUPPORT=y -CT_BINUTILS_HAS_PLUGINS=y -CT_BINUTILS_HAS_PKGVERSION_BUGURL=y -CT_BINUTILS_LINKER_LD=y -# CT_BINUTILS_LINKER_GOLD is not set -# CT_BINUTILS_LINKER_LD_GOLD is not set -# CT_BINUTILS_LINKER_GOLD_LD is not set -CT_BINUTILS_LINKERS_LIST="ld" -CT_BINUTILS_LINKER_DEFAULT="bfd" -# CT_BINUTILS_PLUGINS is not set -CT_BINUTILS_EXTRA_CONFIG_ARRAY="" - -# -# binutils other options -# - -# -# C-library -# -CT_LIBC="newlib" -CT_LIBC_VERSION="2.5.0.20170323" -CT_LIBC_newlib=y -# CT_LIBC_none is not set -CT_LIBC_avr_libc_AVAILABLE=y -CT_LIBC_glibc_AVAILABLE=y -CT_THREADS="none" -CT_LIBC_mingw_AVAILABLE=y -CT_LIBC_musl_AVAILABLE=y -CT_LIBC_newlib_AVAILABLE=y -# CT_CC_NEWLIB_SHOW_LINARO is not set -CT_LIBC_NEWLIB_V_2_5_0=y -# CT_LIBC_NEWLIB_V_2_4_0 is not set -# CT_LIBC_NEWLIB_V_2_3_0 is not set -# CT_LIBC_NEWLIB_V_2_2_0 is not set -# CT_LIBC_NEWLIB_V_2_1_0 is not set -# CT_LIBC_NEWLIB_V_2_0_0 is not set -# CT_LIBC_NEWLIB_V_1_20_0 is not set -# CT_LIBC_NEWLIB_V_1_19_0 is not set -# CT_LIBC_NEWLIB_V_1_18_0 is not set -# CT_LIBC_NEWLIB_V_1_17_0 is not set -CT_LIBC_NEWLIB_2_5=y -CT_LIBC_NEWLIB_2_5_or_later=y -CT_LIBC_NEWLIB_2_4_or_later=y -CT_LIBC_NEWLIB_2_3_or_later=y -CT_LIBC_NEWLIB_2_2_or_later=y -CT_LIBC_NEWLIB_2_1_or_later=y -CT_LIBC_NEWLIB_2_0_or_later=y -CT_LIBC_NEWLIB_TARGET_CFLAGS="" -CT_LIBC_none_AVAILABLE=y -CT_LIBC_uClibc_AVAILABLE=y -CT_LIBC_SUPPORT_THREADS_NONE=y -CT_LIBC_PROVIDES_CXA_ATEXIT=y - -# -# Common C library options -# -CT_THREADS_NONE=y - -# -# newlib other options -# -# CT_LIBC_NEWLIB_IO_C99FMT is not set -# CT_LIBC_NEWLIB_IO_LL is not set -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_IO_LDBL is not set -# CT_LIBC_NEWLIB_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_FVWRITE_IN_STREAMIO=y -CT_LIBC_NEWLIB_UNBUF_STREAM_OPT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_REGISTER_FINI is not set -CT_LIBC_NEWLIB_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -# CT_LIBC_NEWLIB_REENT_SMALL is not set -# CT_LIBC_NEWLIB_MULTITHREAD is not set -# CT_LIBC_NEWLIB_EXTRA_SECTIONS is not set -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE=y -# CT_LIBC_NEWLIB_LTO is not set -CT_LIBC_NEWLIB_NANO_MALLOC=y -CT_LIBC_NEWLIB_NANO_FORMATTED_IO=y -CT_LIBC_NEWLIB_EXTRA_CONFIG_ARRAY="" - -# -# C compiler -# -CT_CC="gcc" -CT_CC_CORE_PASS_2_NEEDED=y -CT_CC_gcc=y -CT_CC_GCC_VERSION="6.3.0" -# CT_CC_GCC_SHOW_LINARO is not set -CT_CC_GCC_V_6_3_0=y -# CT_CC_GCC_V_5_4_0 is not set -# CT_CC_GCC_V_4_9_4 is not set -# CT_CC_GCC_V_4_8_5 is not set -CT_CC_GCC_4_8_or_later=y -CT_CC_GCC_4_9_or_later=y -CT_CC_GCC_5_or_later=y -CT_CC_GCC_6=y -CT_CC_GCC_6_or_later=y -CT_CC_GCC_HAS_LIBMPX=y -CT_CC_GCC_ENABLE_CXX_FLAGS="" -CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="" -# CT_CC_GCC_TARGET_FINAL is not set -# CT_CC_GCC_SYSTEM_ZLIB is not set -CT_CC_GCC_CONFIG_TLS=m - -# -# Optimisation features -# -CT_CC_GCC_USE_GRAPHITE=y -CT_CC_GCC_USE_LTO=y - -# -# Settings for libraries running on target -# -CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y -# CT_CC_GCC_LIBMUDFLAP is not set -# CT_CC_GCC_LIBSSP is not set -# CT_CC_GCC_LIBQUADMATH is not set -CT_CC_GCC_LIBMPX=y - -# -# Misc. obscure options. -# -CT_CC_CXA_ATEXIT=y -# CT_CC_GCC_DISABLE_PCH is not set -CT_CC_GCC_LDBL_128=m -# CT_CC_GCC_BUILD_ID is not set -CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y -# CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set -# CT_CC_GCC_LNK_HASH_STYLE_GNU is not set -# CT_CC_GCC_LNK_HASH_STYLE_BOTH is not set -CT_CC_GCC_LNK_HASH_STYLE="" -CT_CC_GCC_DEC_FLOAT_AUTO=y -# CT_CC_GCC_DEC_FLOAT_BID is not set -# CT_CC_GCC_DEC_FLOAT_DPD is not set -# CT_CC_GCC_DEC_FLOATS_NO is not set -CT_CC_SUPPORT_CXX=y -CT_CC_SUPPORT_FORTRAN=y -CT_CC_SUPPORT_JAVA=y -CT_CC_SUPPORT_ADA=y -CT_CC_SUPPORT_OBJC=y -CT_CC_SUPPORT_OBJCXX=y -CT_CC_SUPPORT_GOLANG=y - -# -# Additional supported languages: -# -CT_CC_LANG_CXX=y -# CT_CC_LANG_FORTRAN is not set - -# -# Debug facilities -# -CT_DEBUG_gdb=y -CT_GDB_CROSS=y -# CT_GDB_CROSS_SIM is not set -CT_GDB_CROSS_PYTHON=y -CT_GDB_CROSS_PYTHON_BINARY="" -CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="" - -# -# In bare-metal, you'll need to -# - -# -# provide your own gdbserver stub. -# - -# -# gdb version -# -CT_GDB_VERSION="7.11.1" -# CT_DEBUG_GDB_SHOW_LINARO is not set -# CT_GDB_V_7_12_1 is not set -CT_GDB_V_7_11_1=y -# CT_GDB_V_7_10_1 is not set -# CT_GDB_V_7_10 is not set -# CT_GDB_V_7_9_1 is not set -# CT_GDB_V_7_9 is not set -# CT_GDB_V_7_8_2 is not set -# CT_GDB_V_7_8_1 is not set -# CT_GDB_V_7_8 is not set -# CT_GDB_V_7_7_1 is not set -# CT_GDB_V_7_7 is not set -# CT_GDB_V_7_6_1 is not set -# CT_GDB_V_7_5_1 is not set -# CT_GDB_V_7_4_1 is not set -# CT_GDB_V_7_4 is not set -# CT_GDB_V_7_3_1 is not set -# CT_GDB_V_7_3a is not set -# CT_GDB_V_7_2a is not set -# CT_GDB_V_7_1a is not set -# CT_GDB_V_7_0_1a is not set -# CT_GDB_V_7_0a is not set -# CT_GDB_V_6_8a is not set -CT_GDB_7_2_or_later=y -CT_GDB_7_0_or_later=y -CT_GDB_HAS_PKGVERSION_BUGURL=y -CT_GDB_HAS_PYTHON=y -CT_GDB_INSTALL_GDBINIT=y -# CT_DEBUG_ltrace is not set -# CT_DEBUG_strace is not set - -# -# Companion libraries -# -CT_COMPLIBS_NEEDED=y -CT_LIBICONV_NEEDED=y -CT_GMP_NEEDED=y -CT_MPFR_NEEDED=y -CT_ISL_NEEDED=y -CT_MPC_NEEDED=y -CT_EXPAT_NEEDED=y -CT_NCURSES_NEEDED=y -CT_COMPLIBS=y -CT_LIBICONV=y -CT_GETTEXT=y -CT_GMP=y -CT_MPFR=y -CT_ISL=y -CT_MPC=y -CT_EXPAT=y -CT_NCURSES=y -CT_ZLIB=y -CT_ZLIB_V_1_2_11=y -CT_ZLIB_VERSION="1.2.11" -CT_LIBICONV_V_1_15=y -# CT_LIBICONV_V_1_14 is not set -CT_LIBICONV_VERSION="1.15" -# CT_GETTEXT_V_0_19_8_1 is not set -CT_GETTEXT_V_0_19_7=y -CT_GETTEXT_VERSION="0.19.7" -CT_GMP_V_6_1_2=y -# CT_GMP_V_6_1_0 is not set -# CT_GMP_V_6_0_0 is not set -# CT_GMP_V_5_1_3 is not set -# CT_GMP_V_5_1_1 is not set -# CT_GMP_V_5_0_2 is not set -# CT_GMP_V_5_0_1 is not set -# CT_GMP_V_4_3_2 is not set -# CT_GMP_V_4_3_1 is not set -# CT_GMP_V_4_3_0 is not set -CT_GMP_5_0_2_or_later=y -CT_GMP_VERSION="6.1.2" -CT_MPFR_V_3_1_5=y -# CT_MPFR_V_3_1_3 is not set -# CT_MPFR_V_3_1_2 is not set -# CT_MPFR_V_3_1_0 is not set -# CT_MPFR_V_3_0_1 is not set -# CT_MPFR_V_3_0_0 is not set -# CT_MPFR_V_2_4_2 is not set -# CT_MPFR_V_2_4_1 is not set -# CT_MPFR_V_2_4_0 is not set -CT_MPFR_VERSION="3.1.5" -CT_ISL_V_0_16_1=y -# CT_ISL_V_0_15 is not set -# CT_ISL_V_0_14 is not set -CT_ISL_V_0_16_or_later=y -CT_ISL_V_0_15_or_later=y -CT_ISL_V_0_14_or_later=y -CT_ISL_V_0_12_or_later=y -CT_ISL_VERSION="0.16.1" -CT_MPC_V_1_0_3=y -# CT_MPC_V_1_0_2 is not set -# CT_MPC_V_1_0_1 is not set -# CT_MPC_V_1_0 is not set -# CT_MPC_V_0_9 is not set -# CT_MPC_V_0_8_2 is not set -# CT_MPC_V_0_8_1 is not set -# CT_MPC_V_0_7 is not set -CT_MPC_VERSION="1.0.3" -CT_EXPAT_V_2_2_0=y -# CT_EXPAT_V_2_1_1 is not set -CT_EXPAT_VERSION="2.2.0" -CT_NCURSES_V_6_0=y -CT_NCURSES_VERSION="6.0" -CT_NCURSES_HOST_CONFIG_ARGS="" -CT_NCURSES_HOST_DISABLE_DB=y -CT_NCURSES_HOST_FALLBACKS="linux,xterm,xterm-color,xterm-256color,vt100" -CT_NCURSES_TARGET_CONFIG_ARGS="" -# CT_NCURSES_TARGET_DISABLE_DB is not set -CT_NCURSES_TARGET_FALLBACKS="" - -# -# Companion libraries common options -# -# CT_COMPLIBS_CHECK is not set - -# -# Companion tools -# -# CT_COMP_TOOLS_FOR_HOST is not set -# CT_COMP_TOOLS_autoconf is not set -# CT_COMP_TOOLS_automake is not set -# CT_COMP_TOOLS_libtool is not set -CT_COMP_TOOLS_m4=y -CT_M4_V_1_4_18=y -# CT_M4_V_1_4_17 is not set -# CT_M4_V_1_4_13 is not set -CT_M4_VERSION="1.4.18" -# CT_COMP_TOOLS_make is not set diff --git a/scripts/cross_compiler/iamcu.config b/scripts/cross_compiler/iamcu.config deleted file mode 100644 index 2957da9c6c81..000000000000 --- a/scripts/cross_compiler/iamcu.config +++ /dev/null @@ -1,535 +0,0 @@ -# -# Automatically generated file; DO NOT EDIT. -# Crosstool-NG Configuration -# -CT_MODULES=y - -# -# Paths and misc options -# - -# -# crosstool-NG behavior -# -CT_OBSOLETE=y -# CT_EXPERIMENTAL is not set -# CT_DEBUG_CT is not set - -# -# Paths -# -CT_LOCAL_TARBALLS_DIR="${CT_PREFIX:-${HOME}/x-tools}/sources" -CT_SAVE_TARBALLS=y -CT_WORK_DIR="${CT_TOP_DIR}/.build" -CT_BUILD_TOP_DIR="${CT_WORK_DIR}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}" -CT_PREFIX_DIR="${CT_PREFIX:-${HOME}/x-tools}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}" -CT_RM_RF_PREFIX_DIR=y -CT_REMOVE_DOCS=y -# CT_PREFIX_DIR_RO is not set -CT_STRIP_HOST_TOOLCHAIN_EXECUTABLES=y -# CT_STRIP_TARGET_TOOLCHAIN_EXECUTABLES is not set - -# -# Downloading -# -CT_DOWNLOAD_AGENT_WGET=y -# CT_DOWNLOAD_AGENT_CURL is not set -# CT_DOWNLOAD_AGENT_NONE is not set -# CT_FORBID_DOWNLOAD is not set -# CT_FORCE_DOWNLOAD is not set -CT_CONNECT_TIMEOUT=10 -CT_DOWNLOAD_WGET_OPTIONS="--passive-ftp --tries=3 -nc --progress=dot:binary" -# CT_ONLY_DOWNLOAD is not set -# CT_USE_MIRROR is not set - -# -# Extracting -# -# CT_FORCE_EXTRACT is not set -CT_OVERRIDE_CONFIG_GUESS_SUB=y -# CT_ONLY_EXTRACT is not set -CT_PATCH_BUNDLED=y -# CT_PATCH_LOCAL is not set -# CT_PATCH_BUNDLED_LOCAL is not set -# CT_PATCH_LOCAL_BUNDLED is not set -# CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set -# CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set -# CT_PATCH_NONE is not set -CT_PATCH_ORDER="bundled" - -# -# Build behavior -# -CT_PARALLEL_JOBS=0 -CT_LOAD="" -CT_USE_PIPES=y -CT_EXTRA_CFLAGS_FOR_BUILD="" -CT_EXTRA_LDFLAGS_FOR_BUILD="" -CT_EXTRA_CFLAGS_FOR_HOST="" -CT_EXTRA_LDFLAGS_FOR_HOST="" -# CT_CONFIG_SHELL_SH is not set -# CT_CONFIG_SHELL_ASH is not set -CT_CONFIG_SHELL_BASH=y -# CT_CONFIG_SHELL_CUSTOM is not set -CT_CONFIG_SHELL="${bash}" - -# -# Logging -# -# CT_LOG_ERROR is not set -# CT_LOG_WARN is not set -# CT_LOG_INFO is not set -CT_LOG_EXTRA=y -# CT_LOG_ALL is not set -# CT_LOG_DEBUG is not set -CT_LOG_LEVEL_MAX="EXTRA" -# CT_LOG_SEE_TOOLS_WARN is not set -# CT_LOG_PROGRESS_BAR is not set -CT_LOG_TO_FILE=y -CT_LOG_FILE_COMPRESS=y - -# -# Target options -# -CT_ARCH="x86" -# CT_ARCH_alpha is not set -# CT_ARCH_arm is not set -# CT_ARCH_avr is not set -# CT_ARCH_m68k is not set -# CT_ARCH_mips is not set -# CT_ARCH_nios2 is not set -# CT_ARCH_powerpc is not set -# CT_ARCH_s390 is not set -# CT_ARCH_sh is not set -# CT_ARCH_sparc is not set -CT_ARCH_x86=y -# CT_ARCH_xtensa is not set -CT_ARCH_alpha_AVAILABLE=y -CT_ARCH_arm_AVAILABLE=y -CT_ARCH_avr_AVAILABLE=y -CT_ARCH_m68k_AVAILABLE=y -CT_ARCH_microblaze_AVAILABLE=y -CT_ARCH_mips_AVAILABLE=y -CT_ARCH_nios2_AVAILABLE=y -CT_ARCH_powerpc_AVAILABLE=y -CT_ARCH_s390_AVAILABLE=y -CT_ARCH_sh_AVAILABLE=y -CT_ARCH_sparc_AVAILABLE=y -CT_ARCH_x86_AVAILABLE=y -CT_ARCH_xtensa_AVAILABLE=y -CT_ARCH_SUFFIX="" - -# -# Generic target options -# -# CT_MULTILIB is not set -CT_DEMULTILIB=y -CT_ARCH_USE_MMU=y -CT_ARCH_SUPPORTS_32=y -CT_ARCH_SUPPORTS_64=y -CT_ARCH_DEFAULT_32=y -CT_ARCH_BITNESS=32 -CT_ARCH_32=y -# CT_ARCH_64 is not set - -# -# Target optimisations -# -CT_ARCH_SUPPORTS_WITH_ARCH=y -CT_ARCH_SUPPORTS_WITH_CPU=y -CT_ARCH_SUPPORTS_WITH_TUNE=y -CT_ARCH_ARCH="" -CT_ARCH_CPU="" -CT_ARCH_TUNE="lakemont" -CT_TARGET_CFLAGS="-miamcu -m32" -CT_TARGET_LDFLAGS="" -CT_ARCH_FLOAT="" - -# -# x86 other options -# -CT_ARCH_X86_IAMCU=y - -# -# Toolchain options -# - -# -# General toolchain options -# -CT_TOOLCHAIN_PKGVERSION="" -CT_TOOLCHAIN_BUGURL="" - -# -# Tuple completion and aliasing -# -CT_TARGET_VENDOR="zephyr" -CT_TARGET_ALIAS_SED_EXPR="" -CT_TARGET_ALIAS="" - -# -# Toolchain type -# -CT_CROSS=y -# CT_CANADIAN is not set -CT_TOOLCHAIN_TYPE="cross" - -# -# Build system -# -CT_BUILD="" -CT_BUILD_PREFIX="" -CT_BUILD_SUFFIX="" - -# -# Misc options -# -# CT_TOOLCHAIN_ENABLE_NLS is not set - -# -# Operating System -# -CT_BARE_METAL=y -CT_KERNEL="bare-metal" -CT_KERNEL_bare_metal=y -# CT_KERNEL_linux is not set -CT_KERNEL_bare_metal_AVAILABLE=y -CT_KERNEL_linux_AVAILABLE=y -CT_KERNEL_windows_AVAILABLE=y - -# -# Common kernel options -# - -# -# Binary utilities -# -CT_ARCH_BINFMT_ELF=y -CT_BINUTILS="binutils" -CT_BINUTILS_binutils=y - -# -# GNU binutils -# -CT_BINUTILS_VERSION="2.28" -# CT_BINUTILS_SHOW_LINARO is not set -CT_BINUTILS_V_2_28=y -# CT_BINUTILS_V_2_27 is not set -# CT_BINUTILS_V_2_26 is not set -# CT_BINUTILS_V_2_25_1 is not set -# CT_BINUTILS_V_2_24 is not set -# CT_BINUTILS_V_2_23_2 is not set -CT_BINUTILS_2_27_or_later=y -CT_BINUTILS_2_26_or_later=y -CT_BINUTILS_2_25_1_or_later=y -CT_BINUTILS_2_25_or_later=y -CT_BINUTILS_2_24_or_later=y -CT_BINUTILS_2_23_2_or_later=y -CT_BINUTILS_HAS_HASH_STYLE=y -CT_BINUTILS_HAS_GOLD=y -CT_BINUTILS_GOLD_SUPPORTS_ARCH=y -CT_BINUTILS_GOLD_SUPPORT=y -CT_BINUTILS_HAS_PLUGINS=y -CT_BINUTILS_HAS_PKGVERSION_BUGURL=y -CT_BINUTILS_LINKER_LD=y -# CT_BINUTILS_LINKER_GOLD is not set -# CT_BINUTILS_LINKER_LD_GOLD is not set -# CT_BINUTILS_LINKER_GOLD_LD is not set -CT_BINUTILS_LINKERS_LIST="ld" -CT_BINUTILS_LINKER_DEFAULT="bfd" -# CT_BINUTILS_PLUGINS is not set -CT_BINUTILS_EXTRA_CONFIG_ARRAY="" - -# -# binutils other options -# - -# -# C-library -# -CT_LIBC="newlib" -CT_LIBC_VERSION="2.5.0.20170323" -CT_LIBC_newlib=y -# CT_LIBC_none is not set -CT_LIBC_avr_libc_AVAILABLE=y -CT_LIBC_glibc_AVAILABLE=y -CT_THREADS="none" -CT_LIBC_mingw_AVAILABLE=y -CT_LIBC_musl_AVAILABLE=y -CT_LIBC_newlib_AVAILABLE=y -# CT_CC_NEWLIB_SHOW_LINARO is not set -CT_LIBC_NEWLIB_V_2_5_0=y -# CT_LIBC_NEWLIB_V_2_4_0 is not set -# CT_LIBC_NEWLIB_V_2_3_0 is not set -# CT_LIBC_NEWLIB_V_2_2_0 is not set -# CT_LIBC_NEWLIB_V_2_1_0 is not set -# CT_LIBC_NEWLIB_V_2_0_0 is not set -# CT_LIBC_NEWLIB_V_1_20_0 is not set -# CT_LIBC_NEWLIB_V_1_19_0 is not set -# CT_LIBC_NEWLIB_V_1_18_0 is not set -# CT_LIBC_NEWLIB_V_1_17_0 is not set -CT_LIBC_NEWLIB_2_5=y -CT_LIBC_NEWLIB_2_5_or_later=y -CT_LIBC_NEWLIB_2_4_or_later=y -CT_LIBC_NEWLIB_2_3_or_later=y -CT_LIBC_NEWLIB_2_2_or_later=y -CT_LIBC_NEWLIB_2_1_or_later=y -CT_LIBC_NEWLIB_2_0_or_later=y -CT_LIBC_NEWLIB_TARGET_CFLAGS="" -CT_LIBC_none_AVAILABLE=y -CT_LIBC_uClibc_AVAILABLE=y -CT_LIBC_SUPPORT_THREADS_NONE=y -CT_LIBC_PROVIDES_CXA_ATEXIT=y - -# -# Common C library options -# -CT_THREADS_NONE=y - -# -# newlib other options -# -# CT_LIBC_NEWLIB_IO_C99FMT is not set -# CT_LIBC_NEWLIB_IO_LL is not set -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_IO_LDBL is not set -# CT_LIBC_NEWLIB_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_FVWRITE_IN_STREAMIO=y -CT_LIBC_NEWLIB_UNBUF_STREAM_OPT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_REGISTER_FINI is not set -CT_LIBC_NEWLIB_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -# CT_LIBC_NEWLIB_REENT_SMALL is not set -# CT_LIBC_NEWLIB_MULTITHREAD is not set -# CT_LIBC_NEWLIB_EXTRA_SECTIONS is not set -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE=y -# CT_LIBC_NEWLIB_LTO is not set -CT_LIBC_NEWLIB_NANO_MALLOC=y -CT_LIBC_NEWLIB_NANO_FORMATTED_IO=y -CT_LIBC_NEWLIB_EXTRA_CONFIG_ARRAY="" - -# -# C compiler -# -CT_CC="gcc" -CT_CC_CORE_PASS_2_NEEDED=y -CT_CC_gcc=y -CT_CC_GCC_VERSION="6.3.0" -# CT_CC_GCC_SHOW_LINARO is not set -CT_CC_GCC_V_6_3_0=y -# CT_CC_GCC_V_5_4_0 is not set -# CT_CC_GCC_V_4_9_4 is not set -# CT_CC_GCC_V_4_8_5 is not set -CT_CC_GCC_4_8_or_later=y -CT_CC_GCC_4_9_or_later=y -CT_CC_GCC_5_or_later=y -CT_CC_GCC_6=y -CT_CC_GCC_6_or_later=y -CT_CC_GCC_HAS_LIBMPX=y -CT_CC_GCC_ENABLE_CXX_FLAGS="" -CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="" -# CT_CC_GCC_TARGET_FINAL is not set -# CT_CC_GCC_SYSTEM_ZLIB is not set -CT_CC_GCC_CONFIG_TLS=m - -# -# Optimisation features -# -CT_CC_GCC_USE_GRAPHITE=y -CT_CC_GCC_USE_LTO=y - -# -# Settings for libraries running on target -# -CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y -# CT_CC_GCC_LIBMUDFLAP is not set -# CT_CC_GCC_LIBSSP is not set -# CT_CC_GCC_LIBQUADMATH is not set -CT_CC_GCC_LIBMPX=y - -# -# Misc. obscure options. -# -CT_CC_CXA_ATEXIT=y -# CT_CC_GCC_DISABLE_PCH is not set -CT_CC_GCC_LDBL_128=m -# CT_CC_GCC_BUILD_ID is not set -CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y -# CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set -# CT_CC_GCC_LNK_HASH_STYLE_GNU is not set -# CT_CC_GCC_LNK_HASH_STYLE_BOTH is not set -CT_CC_GCC_LNK_HASH_STYLE="" -CT_CC_GCC_DEC_FLOAT_AUTO=y -# CT_CC_GCC_DEC_FLOAT_BID is not set -# CT_CC_GCC_DEC_FLOAT_DPD is not set -# CT_CC_GCC_DEC_FLOATS_NO is not set -CT_CC_SUPPORT_CXX=y -CT_CC_SUPPORT_FORTRAN=y -CT_CC_SUPPORT_JAVA=y -CT_CC_SUPPORT_ADA=y -CT_CC_SUPPORT_OBJC=y -CT_CC_SUPPORT_OBJCXX=y -CT_CC_SUPPORT_GOLANG=y - -# -# Additional supported languages: -# -CT_CC_LANG_CXX=y -# CT_CC_LANG_FORTRAN is not set - -# -# Debug facilities -# -CT_DEBUG_gdb=y -CT_GDB_CROSS=y -# CT_GDB_CROSS_SIM is not set -CT_GDB_CROSS_PYTHON=y -CT_GDB_CROSS_PYTHON_BINARY="" -CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="" - -# -# In bare-metal, you'll need to -# - -# -# provide your own gdbserver stub. -# - -# -# gdb version -# -CT_GDB_VERSION="7.11.1" -# CT_DEBUG_GDB_SHOW_LINARO is not set -# CT_GDB_V_7_12_1 is not set -CT_GDB_V_7_11_1=y -# CT_GDB_V_7_10_1 is not set -# CT_GDB_V_7_10 is not set -# CT_GDB_V_7_9_1 is not set -# CT_GDB_V_7_9 is not set -# CT_GDB_V_7_8_2 is not set -# CT_GDB_V_7_8_1 is not set -# CT_GDB_V_7_8 is not set -# CT_GDB_V_7_7_1 is not set -# CT_GDB_V_7_7 is not set -# CT_GDB_V_7_6_1 is not set -# CT_GDB_V_7_5_1 is not set -# CT_GDB_V_7_4_1 is not set -# CT_GDB_V_7_4 is not set -# CT_GDB_V_7_3_1 is not set -# CT_GDB_V_7_3a is not set -# CT_GDB_V_7_2a is not set -# CT_GDB_V_7_1a is not set -# CT_GDB_V_7_0_1a is not set -# CT_GDB_V_7_0a is not set -# CT_GDB_V_6_8a is not set -CT_GDB_7_2_or_later=y -CT_GDB_7_0_or_later=y -CT_GDB_HAS_PKGVERSION_BUGURL=y -CT_GDB_HAS_PYTHON=y -CT_GDB_INSTALL_GDBINIT=y -# CT_DEBUG_ltrace is not set -# CT_DEBUG_strace is not set - -# -# Companion libraries -# -CT_COMPLIBS_NEEDED=y -CT_LIBICONV_NEEDED=y -CT_GMP_NEEDED=y -CT_MPFR_NEEDED=y -CT_ISL_NEEDED=y -CT_MPC_NEEDED=y -CT_EXPAT_NEEDED=y -CT_NCURSES_NEEDED=y -CT_COMPLIBS=y -CT_LIBICONV=y -CT_GETTEXT=y -CT_GMP=y -CT_MPFR=y -CT_ISL=y -CT_MPC=y -CT_EXPAT=y -CT_NCURSES=y -CT_ZLIB=y -CT_ZLIB_V_1_2_11=y -CT_ZLIB_VERSION="1.2.11" -CT_LIBICONV_V_1_15=y -# CT_LIBICONV_V_1_14 is not set -CT_LIBICONV_VERSION="1.15" -# CT_GETTEXT_V_0_19_8_1 is not set -CT_GETTEXT_V_0_19_7=y -CT_GETTEXT_VERSION="0.19.7" -CT_GMP_V_6_1_2=y -# CT_GMP_V_6_1_0 is not set -# CT_GMP_V_6_0_0 is not set -# CT_GMP_V_5_1_3 is not set -# CT_GMP_V_5_1_1 is not set -# CT_GMP_V_5_0_2 is not set -# CT_GMP_V_5_0_1 is not set -# CT_GMP_V_4_3_2 is not set -# CT_GMP_V_4_3_1 is not set -# CT_GMP_V_4_3_0 is not set -CT_GMP_5_0_2_or_later=y -CT_GMP_VERSION="6.1.2" -CT_MPFR_V_3_1_5=y -# CT_MPFR_V_3_1_3 is not set -# CT_MPFR_V_3_1_2 is not set -# CT_MPFR_V_3_1_0 is not set -# CT_MPFR_V_3_0_1 is not set -# CT_MPFR_V_3_0_0 is not set -# CT_MPFR_V_2_4_2 is not set -# CT_MPFR_V_2_4_1 is not set -# CT_MPFR_V_2_4_0 is not set -CT_MPFR_VERSION="3.1.5" -CT_ISL_V_0_16_1=y -# CT_ISL_V_0_15 is not set -# CT_ISL_V_0_14 is not set -CT_ISL_V_0_16_or_later=y -CT_ISL_V_0_15_or_later=y -CT_ISL_V_0_14_or_later=y -CT_ISL_V_0_12_or_later=y -CT_ISL_VERSION="0.16.1" -CT_MPC_V_1_0_3=y -# CT_MPC_V_1_0_2 is not set -# CT_MPC_V_1_0_1 is not set -# CT_MPC_V_1_0 is not set -# CT_MPC_V_0_9 is not set -# CT_MPC_V_0_8_2 is not set -# CT_MPC_V_0_8_1 is not set -# CT_MPC_V_0_7 is not set -CT_MPC_VERSION="1.0.3" -CT_EXPAT_V_2_2_0=y -# CT_EXPAT_V_2_1_1 is not set -CT_EXPAT_VERSION="2.2.0" -CT_NCURSES_V_6_0=y -CT_NCURSES_VERSION="6.0" -CT_NCURSES_HOST_CONFIG_ARGS="" -CT_NCURSES_HOST_DISABLE_DB=y -CT_NCURSES_HOST_FALLBACKS="linux,xterm,xterm-color,xterm-256color,vt100" -CT_NCURSES_TARGET_CONFIG_ARGS="" -# CT_NCURSES_TARGET_DISABLE_DB is not set -CT_NCURSES_TARGET_FALLBACKS="" - -# -# Companion libraries common options -# -# CT_COMPLIBS_CHECK is not set - -# -# Companion tools -# -# CT_COMP_TOOLS_FOR_HOST is not set -# CT_COMP_TOOLS_autoconf is not set -# CT_COMP_TOOLS_automake is not set -# CT_COMP_TOOLS_libtool is not set -CT_COMP_TOOLS_m4=y -CT_M4_V_1_4_18=y -# CT_M4_V_1_4_17 is not set -# CT_M4_V_1_4_13 is not set -CT_M4_VERSION="1.4.18" -# CT_COMP_TOOLS_make is not set diff --git a/scripts/cross_compiler/nios2.config b/scripts/cross_compiler/nios2.config deleted file mode 100644 index 5d61c9658dc1..000000000000 --- a/scripts/cross_compiler/nios2.config +++ /dev/null @@ -1,526 +0,0 @@ -# -# Automatically generated file; DO NOT EDIT. -# Crosstool-NG Configuration -# -CT_MODULES=y - -# -# Paths and misc options -# - -# -# crosstool-NG behavior -# -CT_OBSOLETE=y -# CT_EXPERIMENTAL is not set -# CT_DEBUG_CT is not set - -# -# Paths -# -CT_LOCAL_TARBALLS_DIR="${CT_PREFIX:-${HOME}/x-tools}/sources" -CT_SAVE_TARBALLS=y -CT_WORK_DIR="${CT_TOP_DIR}/.build" -CT_BUILD_TOP_DIR="${CT_WORK_DIR}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}" -CT_PREFIX_DIR="${CT_PREFIX:-${HOME}/x-tools}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}" -CT_RM_RF_PREFIX_DIR=y -CT_REMOVE_DOCS=y -# CT_PREFIX_DIR_RO is not set -CT_STRIP_HOST_TOOLCHAIN_EXECUTABLES=y -# CT_STRIP_TARGET_TOOLCHAIN_EXECUTABLES is not set - -# -# Downloading -# -CT_DOWNLOAD_AGENT_WGET=y -# CT_DOWNLOAD_AGENT_CURL is not set -# CT_DOWNLOAD_AGENT_NONE is not set -# CT_FORBID_DOWNLOAD is not set -# CT_FORCE_DOWNLOAD is not set -CT_CONNECT_TIMEOUT=10 -CT_DOWNLOAD_WGET_OPTIONS="--passive-ftp --tries=3 -nc --progress=dot:binary" -# CT_ONLY_DOWNLOAD is not set -# CT_USE_MIRROR is not set - -# -# Extracting -# -# CT_FORCE_EXTRACT is not set -CT_OVERRIDE_CONFIG_GUESS_SUB=y -# CT_ONLY_EXTRACT is not set -CT_PATCH_BUNDLED=y -# CT_PATCH_LOCAL is not set -# CT_PATCH_BUNDLED_LOCAL is not set -# CT_PATCH_LOCAL_BUNDLED is not set -# CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set -# CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set -# CT_PATCH_NONE is not set -CT_PATCH_ORDER="bundled" - -# -# Build behavior -# -CT_PARALLEL_JOBS=0 -CT_LOAD="" -CT_USE_PIPES=y -CT_EXTRA_CFLAGS_FOR_BUILD="" -CT_EXTRA_LDFLAGS_FOR_BUILD="" -CT_EXTRA_CFLAGS_FOR_HOST="" -CT_EXTRA_LDFLAGS_FOR_HOST="" -# CT_CONFIG_SHELL_SH is not set -# CT_CONFIG_SHELL_ASH is not set -CT_CONFIG_SHELL_BASH=y -# CT_CONFIG_SHELL_CUSTOM is not set -CT_CONFIG_SHELL="${bash}" - -# -# Logging -# -# CT_LOG_ERROR is not set -# CT_LOG_WARN is not set -# CT_LOG_INFO is not set -CT_LOG_EXTRA=y -# CT_LOG_ALL is not set -# CT_LOG_DEBUG is not set -CT_LOG_LEVEL_MAX="EXTRA" -# CT_LOG_SEE_TOOLS_WARN is not set -# CT_LOG_PROGRESS_BAR is not set -CT_LOG_TO_FILE=y -CT_LOG_FILE_COMPRESS=y - -# -# Target options -# -CT_ARCH="nios2" -# CT_ARCH_alpha is not set -# CT_ARCH_arm is not set -# CT_ARCH_avr is not set -# CT_ARCH_m68k is not set -# CT_ARCH_mips is not set -CT_ARCH_nios2=y -# CT_ARCH_powerpc is not set -# CT_ARCH_s390 is not set -# CT_ARCH_sh is not set -# CT_ARCH_sparc is not set -# CT_ARCH_x86 is not set -# CT_ARCH_xtensa is not set -CT_ARCH_alpha_AVAILABLE=y -CT_ARCH_arm_AVAILABLE=y -CT_ARCH_avr_AVAILABLE=y -CT_ARCH_m68k_AVAILABLE=y -CT_ARCH_microblaze_AVAILABLE=y -CT_ARCH_mips_AVAILABLE=y -CT_ARCH_nios2_AVAILABLE=y -CT_ARCH_powerpc_AVAILABLE=y -CT_ARCH_s390_AVAILABLE=y -CT_ARCH_sh_AVAILABLE=y -CT_ARCH_sparc_AVAILABLE=y -CT_ARCH_x86_AVAILABLE=y -CT_ARCH_xtensa_AVAILABLE=y -CT_ARCH_SUFFIX="" - -# -# Generic target options -# -# CT_MULTILIB is not set -CT_DEMULTILIB=y -CT_ARCH_DEFAULT_LE=y -CT_ARCH_SUPPORTS_32=y -CT_ARCH_DEFAULT_32=y -CT_ARCH_BITNESS=32 -CT_ARCH_32=y - -# -# Target optimisations -# -CT_ARCH_SUPPORTS_WITH_CPU=y -CT_ARCH_CPU="" -CT_TARGET_CFLAGS="" -CT_TARGET_LDFLAGS="" -CT_ARCH_FLOAT="" - -# -# Toolchain options -# - -# -# General toolchain options -# -CT_TOOLCHAIN_PKGVERSION="" -CT_TOOLCHAIN_BUGURL="" - -# -# Tuple completion and aliasing -# -CT_TARGET_VENDOR="zephyr" -CT_TARGET_ALIAS_SED_EXPR="" -CT_TARGET_ALIAS="" - -# -# Toolchain type -# -CT_CROSS=y -# CT_CANADIAN is not set -CT_TOOLCHAIN_TYPE="cross" - -# -# Build system -# -CT_BUILD="" -CT_BUILD_PREFIX="" -CT_BUILD_SUFFIX="" - -# -# Misc options -# -# CT_TOOLCHAIN_ENABLE_NLS is not set - -# -# Operating System -# -CT_BARE_METAL=y -CT_KERNEL="bare-metal" -CT_KERNEL_bare_metal=y -# CT_KERNEL_linux is not set -CT_KERNEL_bare_metal_AVAILABLE=y -CT_KERNEL_linux_AVAILABLE=y -CT_KERNEL_windows_AVAILABLE=y - -# -# Common kernel options -# - -# -# Binary utilities -# -CT_ARCH_BINFMT_ELF=y -# CT_ARCH_BINFMT_FLAT is not set -# CT_ARCH_BINFMT_FDPIC is not set -CT_BINUTILS="binutils" -CT_BINUTILS_binutils=y - -# -# GNU binutils -# -CT_BINUTILS_VERSION="2.28" -# CT_BINUTILS_SHOW_LINARO is not set -CT_BINUTILS_V_2_28=y -# CT_BINUTILS_V_2_27 is not set -# CT_BINUTILS_V_2_26 is not set -# CT_BINUTILS_V_2_25_1 is not set -# CT_BINUTILS_V_2_24 is not set -# CT_BINUTILS_V_2_23_2 is not set -CT_BINUTILS_2_27_or_later=y -CT_BINUTILS_2_26_or_later=y -CT_BINUTILS_2_25_1_or_later=y -CT_BINUTILS_2_25_or_later=y -CT_BINUTILS_2_24_or_later=y -CT_BINUTILS_2_23_2_or_later=y -CT_BINUTILS_HAS_HASH_STYLE=y -CT_BINUTILS_HAS_GOLD=y -CT_BINUTILS_HAS_PLUGINS=y -CT_BINUTILS_HAS_PKGVERSION_BUGURL=y -CT_BINUTILS_LINKER_LD=y -CT_BINUTILS_LINKERS_LIST="ld" -CT_BINUTILS_LINKER_DEFAULT="bfd" -# CT_BINUTILS_PLUGINS is not set -CT_BINUTILS_EXTRA_CONFIG_ARRAY="" - -# -# binutils other options -# - -# -# C-library -# -CT_LIBC="newlib" -CT_LIBC_VERSION="2.5.0.20170323" -CT_LIBC_newlib=y -# CT_LIBC_none is not set -CT_LIBC_avr_libc_AVAILABLE=y -CT_LIBC_glibc_AVAILABLE=y -CT_THREADS="none" -CT_LIBC_mingw_AVAILABLE=y -CT_LIBC_musl_AVAILABLE=y -CT_LIBC_newlib_AVAILABLE=y -# CT_CC_NEWLIB_SHOW_LINARO is not set -CT_LIBC_NEWLIB_V_2_5_0=y -# CT_LIBC_NEWLIB_V_2_4_0 is not set -# CT_LIBC_NEWLIB_V_2_3_0 is not set -# CT_LIBC_NEWLIB_V_2_2_0 is not set -# CT_LIBC_NEWLIB_V_2_1_0 is not set -# CT_LIBC_NEWLIB_V_2_0_0 is not set -# CT_LIBC_NEWLIB_V_1_20_0 is not set -# CT_LIBC_NEWLIB_V_1_19_0 is not set -# CT_LIBC_NEWLIB_V_1_18_0 is not set -# CT_LIBC_NEWLIB_V_1_17_0 is not set -CT_LIBC_NEWLIB_2_5=y -CT_LIBC_NEWLIB_2_5_or_later=y -CT_LIBC_NEWLIB_2_4_or_later=y -CT_LIBC_NEWLIB_2_3_or_later=y -CT_LIBC_NEWLIB_2_2_or_later=y -CT_LIBC_NEWLIB_2_1_or_later=y -CT_LIBC_NEWLIB_2_0_or_later=y -CT_LIBC_NEWLIB_TARGET_CFLAGS="" -CT_LIBC_none_AVAILABLE=y -CT_LIBC_uClibc_AVAILABLE=y -CT_LIBC_SUPPORT_THREADS_NONE=y -CT_LIBC_PROVIDES_CXA_ATEXIT=y - -# -# Common C library options -# -CT_THREADS_NONE=y - -# -# newlib other options -# -# CT_LIBC_NEWLIB_IO_C99FMT is not set -# CT_LIBC_NEWLIB_IO_LL is not set -CT_LIBC_NEWLIB_IO_FLOAT=y -# CT_LIBC_NEWLIB_IO_LDBL is not set -# CT_LIBC_NEWLIB_IO_POS_ARGS is not set -CT_LIBC_NEWLIB_FVWRITE_IN_STREAMIO=y -CT_LIBC_NEWLIB_UNBUF_STREAM_OPT=y -# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set -CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y -# CT_LIBC_NEWLIB_REGISTER_FINI is not set -CT_LIBC_NEWLIB_ATEXIT_DYNAMIC_ALLOC=y -CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y -CT_LIBC_NEWLIB_LITE_EXIT=y -# CT_LIBC_NEWLIB_REENT_SMALL is not set -# CT_LIBC_NEWLIB_MULTITHREAD is not set -# CT_LIBC_NEWLIB_EXTRA_SECTIONS is not set -# CT_LIBC_NEWLIB_WIDE_ORIENT is not set -CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE=y -# CT_LIBC_NEWLIB_LTO is not set -CT_LIBC_NEWLIB_NANO_MALLOC=y -CT_LIBC_NEWLIB_NANO_FORMATTED_IO=y -CT_LIBC_NEWLIB_EXTRA_CONFIG_ARRAY="" - -# -# C compiler -# -CT_CC="gcc" -CT_CC_CORE_PASS_2_NEEDED=y -CT_CC_gcc=y -CT_CC_GCC_VERSION="6.3.0" -# CT_CC_GCC_SHOW_LINARO is not set -CT_CC_GCC_V_6_3_0=y -# CT_CC_GCC_V_5_4_0 is not set -# CT_CC_GCC_V_4_9_4 is not set -# CT_CC_GCC_V_4_8_5 is not set -CT_CC_GCC_4_8_or_later=y -CT_CC_GCC_4_9_or_later=y -CT_CC_GCC_5_or_later=y -CT_CC_GCC_6=y -CT_CC_GCC_6_or_later=y -CT_CC_GCC_HAS_LIBMPX=y -CT_CC_GCC_ENABLE_CXX_FLAGS="" -CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="" -# CT_CC_GCC_TARGET_FINAL is not set -# CT_CC_GCC_SYSTEM_ZLIB is not set -CT_CC_GCC_CONFIG_TLS=m - -# -# Optimisation features -# -CT_CC_GCC_USE_GRAPHITE=y -CT_CC_GCC_USE_LTO=y - -# -# Settings for libraries running on target -# -CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y -# CT_CC_GCC_LIBMUDFLAP is not set -# CT_CC_GCC_LIBSSP is not set -# CT_CC_GCC_LIBQUADMATH is not set - -# -# Misc. obscure options. -# -CT_CC_CXA_ATEXIT=y -# CT_CC_GCC_DISABLE_PCH is not set -CT_CC_GCC_LDBL_128=m -# CT_CC_GCC_BUILD_ID is not set -CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y -# CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set -# CT_CC_GCC_LNK_HASH_STYLE_GNU is not set -# CT_CC_GCC_LNK_HASH_STYLE_BOTH is not set -CT_CC_GCC_LNK_HASH_STYLE="" -CT_CC_GCC_DEC_FLOAT_AUTO=y -# CT_CC_GCC_DEC_FLOAT_BID is not set -# CT_CC_GCC_DEC_FLOAT_DPD is not set -# CT_CC_GCC_DEC_FLOATS_NO is not set -CT_CC_SUPPORT_CXX=y -CT_CC_SUPPORT_FORTRAN=y -CT_CC_SUPPORT_JAVA=y -CT_CC_SUPPORT_ADA=y -CT_CC_SUPPORT_OBJC=y -CT_CC_SUPPORT_OBJCXX=y -CT_CC_SUPPORT_GOLANG=y - -# -# Additional supported languages: -# -CT_CC_LANG_CXX=y -# CT_CC_LANG_FORTRAN is not set - -# -# Debug facilities -# -CT_DEBUG_gdb=y -CT_GDB_CROSS=y -# CT_GDB_CROSS_SIM is not set -CT_GDB_CROSS_PYTHON=y -CT_GDB_CROSS_PYTHON_BINARY="" -CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="" - -# -# In bare-metal, you'll need to -# - -# -# provide your own gdbserver stub. -# - -# -# gdb version -# -CT_GDB_VERSION="7.11.1" -# CT_DEBUG_GDB_SHOW_LINARO is not set -# CT_GDB_V_7_12_1 is not set -CT_GDB_V_7_11_1=y -# CT_GDB_V_7_10_1 is not set -# CT_GDB_V_7_10 is not set -# CT_GDB_V_7_9_1 is not set -# CT_GDB_V_7_9 is not set -# CT_GDB_V_7_8_2 is not set -# CT_GDB_V_7_8_1 is not set -# CT_GDB_V_7_8 is not set -# CT_GDB_V_7_7_1 is not set -# CT_GDB_V_7_7 is not set -# CT_GDB_V_7_6_1 is not set -# CT_GDB_V_7_5_1 is not set -# CT_GDB_V_7_4_1 is not set -# CT_GDB_V_7_4 is not set -# CT_GDB_V_7_3_1 is not set -# CT_GDB_V_7_3a is not set -# CT_GDB_V_7_2a is not set -# CT_GDB_V_7_1a is not set -# CT_GDB_V_7_0_1a is not set -# CT_GDB_V_7_0a is not set -# CT_GDB_V_6_8a is not set -CT_GDB_7_2_or_later=y -CT_GDB_7_0_or_later=y -CT_GDB_HAS_PKGVERSION_BUGURL=y -CT_GDB_HAS_PYTHON=y -CT_GDB_INSTALL_GDBINIT=y -# CT_DEBUG_ltrace is not set -# CT_DEBUG_strace is not set - -# -# Companion libraries -# -CT_COMPLIBS_NEEDED=y -CT_LIBICONV_NEEDED=y -CT_GMP_NEEDED=y -CT_MPFR_NEEDED=y -CT_ISL_NEEDED=y -CT_MPC_NEEDED=y -CT_EXPAT_NEEDED=y -CT_NCURSES_NEEDED=y -CT_COMPLIBS=y -CT_LIBICONV=y -CT_GETTEXT=y -CT_GMP=y -CT_MPFR=y -CT_ISL=y -CT_MPC=y -CT_EXPAT=y -CT_NCURSES=y -CT_ZLIB=y -CT_ZLIB_V_1_2_11=y -CT_ZLIB_VERSION="1.2.11" -CT_LIBICONV_V_1_15=y -# CT_LIBICONV_V_1_14 is not set -CT_LIBICONV_VERSION="1.15" -# CT_GETTEXT_V_0_19_8_1 is not set -CT_GETTEXT_V_0_19_7=y -CT_GETTEXT_VERSION="0.19.7" -CT_GMP_V_6_1_2=y -# CT_GMP_V_6_1_0 is not set -# CT_GMP_V_6_0_0 is not set -# CT_GMP_V_5_1_3 is not set -# CT_GMP_V_5_1_1 is not set -# CT_GMP_V_5_0_2 is not set -# CT_GMP_V_5_0_1 is not set -# CT_GMP_V_4_3_2 is not set -# CT_GMP_V_4_3_1 is not set -# CT_GMP_V_4_3_0 is not set -CT_GMP_5_0_2_or_later=y -CT_GMP_VERSION="6.1.2" -CT_MPFR_V_3_1_5=y -# CT_MPFR_V_3_1_3 is not set -# CT_MPFR_V_3_1_2 is not set -# CT_MPFR_V_3_1_0 is not set -# CT_MPFR_V_3_0_1 is not set -# CT_MPFR_V_3_0_0 is not set -# CT_MPFR_V_2_4_2 is not set -# CT_MPFR_V_2_4_1 is not set -# CT_MPFR_V_2_4_0 is not set -CT_MPFR_VERSION="3.1.5" -CT_ISL_V_0_16_1=y -# CT_ISL_V_0_15 is not set -# CT_ISL_V_0_14 is not set -CT_ISL_V_0_16_or_later=y -CT_ISL_V_0_15_or_later=y -CT_ISL_V_0_14_or_later=y -CT_ISL_V_0_12_or_later=y -CT_ISL_VERSION="0.16.1" -CT_MPC_V_1_0_3=y -# CT_MPC_V_1_0_2 is not set -# CT_MPC_V_1_0_1 is not set -# CT_MPC_V_1_0 is not set -# CT_MPC_V_0_9 is not set -# CT_MPC_V_0_8_2 is not set -# CT_MPC_V_0_8_1 is not set -# CT_MPC_V_0_7 is not set -CT_MPC_VERSION="1.0.3" -CT_EXPAT_V_2_2_0=y -# CT_EXPAT_V_2_1_1 is not set -CT_EXPAT_VERSION="2.2.0" -CT_NCURSES_V_6_0=y -CT_NCURSES_VERSION="6.0" -CT_NCURSES_HOST_CONFIG_ARGS="" -CT_NCURSES_HOST_DISABLE_DB=y -CT_NCURSES_HOST_FALLBACKS="linux,xterm,xterm-color,xterm-256color,vt100" -CT_NCURSES_TARGET_CONFIG_ARGS="" -# CT_NCURSES_TARGET_DISABLE_DB is not set -CT_NCURSES_TARGET_FALLBACKS="" - -# -# Companion libraries common options -# -# CT_COMPLIBS_CHECK is not set - -# -# Companion tools -# -# CT_COMP_TOOLS_FOR_HOST is not set -# CT_COMP_TOOLS_autoconf is not set -# CT_COMP_TOOLS_automake is not set -# CT_COMP_TOOLS_libtool is not set -CT_COMP_TOOLS_m4=y -CT_M4_V_1_4_18=y -# CT_M4_V_1_4_17 is not set -# CT_M4_V_1_4_13 is not set -CT_M4_VERSION="1.4.18" -CT_COMP_TOOLS_make=y -CT_MAKE_V_4_2_1=y -# CT_MAKE_V_4_1 is not set -# CT_MAKE_V_4_0 is not set -# CT_MAKE_V_3_81 is not set -# CT_MAKE_GMAKE_SYMLINK is not set -CT_MAKE_VERSION="4.2.1" From 0a84ec4264f876e8ffd0b15deed42f8c7be074fc Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sat, 6 Apr 2019 09:08:09 -0400 Subject: [PATCH 4/4] license: cleanup: add SPDX Apache-2.0 license identifier Update the files which contain no license information with the 'Apache-2.0' SPDX license identifier. Many source files in the tree are missing licensing information, which makes it harder for compliance tools to determine the correct license. By default all files without license information are under the default license of Zephyr, which is Apache version 2. Signed-off-by: Anas Nashif --- CMakeLists.txt | 2 ++ arch/CMakeLists.txt | 2 ++ arch/arc/CMakeLists.txt | 2 ++ arch/arc/core/CMakeLists.txt | 2 ++ arch/arc/core/mpu/CMakeLists.txt | 2 ++ arch/arm/CMakeLists.txt | 2 ++ arch/arm/core/CMakeLists.txt | 2 ++ arch/arm/core/cortex_m/CMakeLists.txt | 2 ++ arch/arm/core/cortex_m/cmse/CMakeLists.txt | 2 ++ arch/arm/core/cortex_m/mpu/CMakeLists.txt | 2 ++ arch/arm/core/cortex_m/tz/CMakeLists.txt | 2 ++ arch/common/CMakeLists.txt | 2 ++ arch/nios2/CMakeLists.txt | 2 ++ arch/nios2/core/CMakeLists.txt | 2 ++ arch/posix/CMakeLists.txt | 2 ++ arch/posix/core/CMakeLists.txt | 2 ++ arch/riscv32/CMakeLists.txt | 2 ++ arch/riscv32/core/CMakeLists.txt | 2 ++ arch/x86/CMakeLists.txt | 2 ++ arch/x86/core/CMakeLists.txt | 2 ++ arch/x86_64/CMakeLists.txt | 2 ++ arch/x86_64/Kconfig | 2 ++ arch/x86_64/core/CMakeLists.txt | 2 ++ arch/x86_64/core/Makefile.xuk | 2 ++ arch/x86_64/core/xuk-stub32.ld | 2 ++ arch/x86_64/core/xuk64.ld | 2 ++ arch/xtensa/CMakeLists.txt | 2 ++ arch/xtensa/core/CMakeLists.txt | 2 ++ arch/xtensa/core/startup/CMakeLists.txt | 2 ++ boards/CMakeLists.txt | 2 ++ boards/Kconfig | 2 ++ boards/arc/arduino_101_sss/Kconfig.board | 2 ++ boards/arc/arduino_101_sss/Kconfig.defconfig | 2 ++ boards/arc/arduino_101_sss/arduino_101_sss.dts | 2 ++ boards/arc/arduino_101_sss/arduino_101_sss_defconfig | 2 ++ boards/arc/arduino_101_sss/board.cmake | 2 ++ boards/arc/em_starterkit/CMakeLists.txt | 2 ++ boards/arc/em_starterkit/Kconfig.defconfig | 2 ++ boards/arc/em_starterkit/board.cmake | 2 ++ boards/arc/em_starterkit/board.dtsi | 2 ++ boards/arc/em_starterkit/em_starterkit_defconfig | 2 ++ boards/arc/em_starterkit/em_starterkit_em11d_defconfig | 2 ++ boards/arc/em_starterkit/em_starterkit_em7d_defconfig | 2 ++ boards/arc/em_starterkit/em_starterkit_em7d_v22_defconfig | 2 ++ boards/arc/iotdk/CMakeLists.txt | 2 ++ boards/arc/iotdk/Kconfig.defconfig | 2 ++ boards/arc/iotdk/board.cmake | 2 ++ boards/arc/iotdk/board.dtsi | 2 ++ boards/arc/iotdk/iotdk_defconfig | 2 ++ boards/arc/nsim_em/CMakeLists.txt | 2 ++ boards/arc/nsim_em/Kconfig.defconfig | 2 ++ boards/arc/nsim_em/board.cmake | 2 ++ boards/arc/nsim_em/nsim_em_defconfig | 2 ++ boards/arc/nsim_em/nsim_em_mpu_stack_guard_defconfig | 2 ++ boards/arc/nsim_em/nsim_sem_defconfig | 2 ++ boards/arc/nsim_em/nsim_sem_mpu_stack_guard_defconfig | 2 ++ boards/arc/quark_se_c1000_ss_devboard/Kconfig.board | 2 ++ boards/arc/quark_se_c1000_ss_devboard/Kconfig.defconfig | 2 ++ boards/arc/quark_se_c1000_ss_devboard/board.cmake | 2 ++ .../quark_se_c1000_ss_devboard.dts | 2 ++ .../quark_se_c1000_ss_devboard_defconfig | 2 ++ boards/arm/96b_argonkey/96b_argonkey_defconfig | 2 ++ boards/arm/96b_argonkey/CMakeLists.txt | 2 ++ boards/arm/96b_carbon/96b_carbon_defconfig | 2 ++ boards/arm/96b_carbon/CMakeLists.txt | 2 ++ boards/arm/96b_carbon/board.cmake | 2 ++ boards/arm/96b_carbon_nrf51/96b_carbon_nrf51_defconfig | 2 ++ boards/arm/96b_neonkey/96b_neonkey_defconfig | 2 ++ boards/arm/96b_neonkey/CMakeLists.txt | 2 ++ boards/arm/96b_nitrogen/96b_nitrogen_defconfig | 2 ++ boards/arm/96b_nitrogen/board.cmake | 2 ++ .../96b_stm32_sensor_mez/96b_stm32_sensor_mez_defconfig | 2 ++ boards/arm/96b_stm32_sensor_mez/CMakeLists.txt | 2 ++ boards/arm/96b_stm32_sensor_mez/board.cmake | 2 ++ boards/arm/adafruit_feather_m0_basic_proto/CMakeLists.txt | 2 ++ .../adafruit_feather_m0_basic_proto_defconfig | 2 ++ boards/arm/adafruit_trinket_m0/CMakeLists.txt | 2 ++ .../arm/adafruit_trinket_m0/adafruit_trinket_m0_defconfig | 2 ++ boards/arm/arduino_due/arduino_due.dts | 2 ++ boards/arm/arduino_due/arduino_due_defconfig | 2 ++ boards/arm/arduino_due/board.cmake | 2 ++ boards/arm/arduino_zero/CMakeLists.txt | 2 ++ boards/arm/arduino_zero/arduino_zero_defconfig | 2 ++ boards/arm/atsamd20_xpro/CMakeLists.txt | 2 ++ boards/arm/atsamd20_xpro/atsamd20_xpro_defconfig | 2 ++ boards/arm/b_l072z_lrwan1/CMakeLists.txt | 2 ++ boards/arm/b_l072z_lrwan1/b_l072z_lrwan1_defconfig | 2 ++ boards/arm/b_l072z_lrwan1/board.cmake | 2 ++ boards/arm/bbc_microbit/bbc_microbit_defconfig | 2 ++ boards/arm/bbc_microbit/board.cmake | 2 ++ boards/arm/bl652_dvk/bl652_dvk_defconfig | 2 ++ boards/arm/bl652_dvk/board.cmake | 2 ++ boards/arm/bl654_dvk/bl654_dvk_defconfig | 2 ++ boards/arm/bl654_dvk/board.cmake | 2 ++ boards/arm/cc2650_sensortag/CMakeLists.txt | 2 ++ boards/arm/cc3220sf_launchxl/CMakeLists.txt | 2 ++ boards/arm/cc3220sf_launchxl/Kconfig.board | 2 ++ boards/arm/cc3220sf_launchxl/Kconfig.defconfig | 2 ++ boards/arm/cc3220sf_launchxl/board.cmake | 2 ++ boards/arm/cc3220sf_launchxl/cc3220sf_launchxl.dts | 2 ++ boards/arm/cc3220sf_launchxl/cc3220sf_launchxl_defconfig | 2 ++ boards/arm/curie_ble/board.cmake | 2 ++ boards/arm/curie_ble/curie_ble_defconfig | 2 ++ boards/arm/disco_l475_iot1/CMakeLists.txt | 2 ++ boards/arm/disco_l475_iot1/board.cmake | 2 ++ boards/arm/disco_l475_iot1/disco_l475_iot1_defconfig | 2 ++ boards/arm/dragino_lsn50/CMakeLists.txt | 2 ++ boards/arm/dragino_lsn50/board.cmake | 2 ++ boards/arm/dragino_lsn50/dragino_lsn50_defconfig | 2 ++ boards/arm/efm32hg_slstk3400a/CMakeLists.txt | 2 ++ boards/arm/efm32hg_slstk3400a/efm32hg_slstk3400a_defconfig | 2 ++ boards/arm/efm32pg_stk3402a/CMakeLists.txt | 2 ++ boards/arm/efm32pg_stk3402a/efm32pg_stk3402a_defconfig | 2 ++ boards/arm/efm32wg_stk3800/CMakeLists.txt | 2 ++ boards/arm/efm32wg_stk3800/efm32wg_stk3800_defconfig | 2 ++ boards/arm/efr32_slwstk6061a/CMakeLists.txt | 2 ++ boards/arm/efr32_slwstk6061a/board.cmake | 2 ++ boards/arm/efr32_slwstk6061a/efr32_slwstk6061a_defconfig | 2 ++ boards/arm/efr32mg_sltb004a/efr32mg_sltb004a_defconfig | 2 ++ boards/arm/frdm_k64f/CMakeLists.txt | 2 ++ boards/arm/frdm_k64f/Kconfig.board | 2 ++ boards/arm/frdm_k64f/board.cmake | 2 ++ boards/arm/frdm_k64f/frdm_k64f.dts | 2 ++ boards/arm/frdm_k64f/frdm_k64f_defconfig | 2 ++ boards/arm/frdm_kl25z/CMakeLists.txt | 2 ++ boards/arm/frdm_kl25z/board.cmake | 2 ++ boards/arm/frdm_kl25z/frdm_kl25z.dts | 2 ++ boards/arm/frdm_kl25z/frdm_kl25z_defconfig | 2 ++ boards/arm/frdm_kw41z/CMakeLists.txt | 2 ++ boards/arm/frdm_kw41z/board.cmake | 2 ++ boards/arm/frdm_kw41z/frdm_kw41z.dts | 2 ++ boards/arm/frdm_kw41z/frdm_kw41z_defconfig | 2 ++ boards/arm/hexiwear_k64/CMakeLists.txt | 2 ++ boards/arm/hexiwear_k64/board.cmake | 2 ++ boards/arm/hexiwear_k64/hexiwear_k64.dts | 2 ++ boards/arm/hexiwear_k64/hexiwear_k64_defconfig | 2 ++ boards/arm/hexiwear_kw40z/CMakeLists.txt | 2 ++ boards/arm/hexiwear_kw40z/board.cmake | 2 ++ boards/arm/hexiwear_kw40z/hexiwear_kw40z.dts | 2 ++ boards/arm/hexiwear_kw40z/hexiwear_kw40z_defconfig | 2 ++ boards/arm/mps2_an385/CMakeLists.txt | 2 ++ boards/arm/mps2_an385/board.cmake | 2 ++ boards/arm/mps2_an385/dts_fixup.h | 2 ++ boards/arm/mps2_an385/mps2_an385.dts | 2 ++ boards/arm/msp_exp432p401r_launchxl/Kconfig | 2 ++ boards/arm/msp_exp432p401r_launchxl/Kconfig.board | 2 ++ boards/arm/msp_exp432p401r_launchxl/Kconfig.defconfig | 2 ++ .../msp_exp432p401r_launchxl/msp_exp432p401r_launchxl.dts | 2 ++ .../msp_exp432p401r_launchxl_defconfig | 2 ++ boards/arm/nrf51_ble400/board.cmake | 2 ++ boards/arm/nrf51_ble400/nrf51_ble400_defconfig | 2 ++ boards/arm/nrf51_blenano/board.cmake | 2 ++ boards/arm/nrf51_blenano/nrf51_blenano_defconfig | 2 ++ boards/arm/nrf51_pca10028/board.cmake | 2 ++ boards/arm/nrf51_pca10028/nrf51_pca10028_defconfig | 2 ++ boards/arm/nrf51_vbluno51/board.cmake | 2 ++ boards/arm/nrf51_vbluno51/nrf51_vbluno51_defconfig | 2 ++ boards/arm/nrf52810_pca10040/CMakeLists.txt | 2 ++ boards/arm/nrf52810_pca10040/board.cmake | 2 ++ boards/arm/nrf52810_pca10040/nrf52810_pca10040_defconfig | 2 ++ boards/arm/nrf52832_mdk/board.cmake | 2 ++ boards/arm/nrf52832_mdk/nrf52832_mdk_defconfig | 2 ++ boards/arm/nrf52840_blip/board.cmake | 2 ++ boards/arm/nrf52840_blip/nrf52840_blip_defconfig | 2 ++ boards/arm/nrf52840_mdk/board.cmake | 2 ++ boards/arm/nrf52840_mdk/nrf52840_mdk_defconfig | 2 ++ boards/arm/nrf52840_papyr/board.cmake | 2 ++ boards/arm/nrf52840_papyr/nrf52840_papyr_defconfig | 2 ++ boards/arm/nrf52840_pca10056/board.cmake | 2 ++ boards/arm/nrf52840_pca10056/nrf52840_pca10056_defconfig | 2 ++ boards/arm/nrf52840_pca10059/CMakeLists.txt | 2 ++ boards/arm/nrf52840_pca10059/board.cmake | 2 ++ boards/arm/nrf52840_pca10059/nrf52840_pca10059_defconfig | 2 ++ boards/arm/nrf52840_pca10090/CMakeLists.txt | 2 ++ boards/arm/nrf52840_pca10090/board.cmake | 2 ++ boards/arm/nrf52840_pca10090/nrf52840_pca10090_defconfig | 2 ++ boards/arm/nrf52_adafruit_feather/board.cmake | 2 ++ .../nrf52_adafruit_feather_defconfig | 2 ++ boards/arm/nrf52_blenano2/board.cmake | 2 ++ boards/arm/nrf52_blenano2/nrf52_blenano2_defconfig | 2 ++ boards/arm/nrf52_pca10040/board.cmake | 2 ++ boards/arm/nrf52_pca10040/nrf52_pca10040_defconfig | 2 ++ boards/arm/nrf52_pca20020/CMakeLists.txt | 2 ++ boards/arm/nrf52_pca20020/board.cmake | 2 ++ boards/arm/nrf52_pca20020/nrf52_pca20020_defconfig | 2 ++ boards/arm/nrf52_sparkfun/board.cmake | 2 ++ boards/arm/nrf52_sparkfun/nrf52_sparkfun_defconfig | 2 ++ boards/arm/nrf52_vbluno52/board.cmake | 2 ++ boards/arm/nrf52_vbluno52/nrf52_vbluno52_defconfig | 2 ++ boards/arm/nrf9160_pca10090/board.cmake | 2 ++ boards/arm/nrf9160_pca10090/nrf9160_pca10090_defconfig | 2 ++ boards/arm/nrf9160_pca10090/nrf9160_pca10090ns_defconfig | 2 ++ boards/arm/nucleo_f030r8/CMakeLists.txt | 2 ++ boards/arm/nucleo_f030r8/board.cmake | 2 ++ boards/arm/nucleo_f030r8/nucleo_f030r8_defconfig | 2 ++ boards/arm/nucleo_f070rb/CMakeLists.txt | 2 ++ boards/arm/nucleo_f070rb/board.cmake | 2 ++ boards/arm/nucleo_f070rb/nucleo_f070rb_defconfig | 2 ++ boards/arm/nucleo_f091rc/CMakeLists.txt | 2 ++ boards/arm/nucleo_f091rc/board.cmake | 2 ++ boards/arm/nucleo_f091rc/nucleo_f091rc_defconfig | 2 ++ boards/arm/nucleo_f103rb/CMakeLists.txt | 2 ++ boards/arm/nucleo_f103rb/board.cmake | 2 ++ boards/arm/nucleo_f103rb/nucleo_f103rb_defconfig | 2 ++ boards/arm/nucleo_f207zg/CMakeLists.txt | 2 ++ boards/arm/nucleo_f207zg/board.cmake | 2 ++ boards/arm/nucleo_f207zg/nucleo_f207zg_defconfig | 2 ++ boards/arm/nucleo_f302r8/CMakeLists.txt | 2 ++ boards/arm/nucleo_f302r8/board.cmake | 2 ++ boards/arm/nucleo_f302r8/nucleo_f302r8_defconfig | 2 ++ boards/arm/nucleo_f334r8/CMakeLists.txt | 2 ++ boards/arm/nucleo_f334r8/board.cmake | 2 ++ boards/arm/nucleo_f334r8/nucleo_f334r8_defconfig | 2 ++ boards/arm/nucleo_f401re/CMakeLists.txt | 2 ++ boards/arm/nucleo_f401re/board.cmake | 2 ++ boards/arm/nucleo_f401re/nucleo_f401re_defconfig | 2 ++ boards/arm/nucleo_f411re/CMakeLists.txt | 2 ++ boards/arm/nucleo_f411re/board.cmake | 2 ++ boards/arm/nucleo_f411re/nucleo_f411re_defconfig | 2 ++ boards/arm/nucleo_f412zg/CMakeLists.txt | 2 ++ boards/arm/nucleo_f412zg/board.cmake | 2 ++ boards/arm/nucleo_f412zg/nucleo_f412zg_defconfig | 2 ++ boards/arm/nucleo_f413zh/CMakeLists.txt | 2 ++ boards/arm/nucleo_f413zh/board.cmake | 2 ++ boards/arm/nucleo_f413zh/nucleo_f413zh_defconfig | 2 ++ boards/arm/nucleo_f429zi/CMakeLists.txt | 2 ++ boards/arm/nucleo_f429zi/board.cmake | 2 ++ boards/arm/nucleo_f429zi/nucleo_f429zi_defconfig | 2 ++ boards/arm/nucleo_f446re/CMakeLists.txt | 2 ++ boards/arm/nucleo_f446re/board.cmake | 2 ++ boards/arm/nucleo_f446re/nucleo_f446re_defconfig | 2 ++ boards/arm/nucleo_f746zg/CMakeLists.txt | 2 ++ boards/arm/nucleo_f746zg/board.cmake | 2 ++ boards/arm/nucleo_f746zg/nucleo_f746zg_defconfig | 2 ++ boards/arm/nucleo_f756zg/CMakeLists.txt | 2 ++ boards/arm/nucleo_f756zg/board.cmake | 2 ++ boards/arm/nucleo_f756zg/nucleo_f756zg_defconfig | 2 ++ boards/arm/nucleo_l053r8/CMakeLists.txt | 2 ++ boards/arm/nucleo_l053r8/board.cmake | 2 ++ boards/arm/nucleo_l053r8/nucleo_l053r8_defconfig | 2 ++ boards/arm/nucleo_l073rz/CMakeLists.txt | 2 ++ boards/arm/nucleo_l073rz/board.cmake | 2 ++ boards/arm/nucleo_l073rz/nucleo_l073rz_defconfig | 2 ++ boards/arm/nucleo_l432kc/CMakeLists.txt | 2 ++ boards/arm/nucleo_l432kc/board.cmake | 2 ++ boards/arm/nucleo_l432kc/nucleo_l432kc_defconfig | 2 ++ boards/arm/nucleo_l476rg/CMakeLists.txt | 2 ++ boards/arm/nucleo_l476rg/board.cmake | 2 ++ boards/arm/nucleo_l476rg/nucleo_l476rg_defconfig | 2 ++ boards/arm/nucleo_l496zg/CMakeLists.txt | 2 ++ boards/arm/nucleo_l496zg/board.cmake | 2 ++ boards/arm/nucleo_l496zg/nucleo_l496zg_defconfig | 2 ++ boards/arm/nucleo_l4r5zi/CMakeLists.txt | 2 ++ boards/arm/nucleo_l4r5zi/board.cmake | 2 ++ boards/arm/nucleo_l4r5zi/nucleo_l4r5zi_defconfig | 2 ++ boards/arm/olimex_stm32_e407/CMakeLists.txt | 2 ++ boards/arm/olimex_stm32_e407/board.cmake | 2 ++ boards/arm/olimex_stm32_e407/olimex_stm32_e407_defconfig | 2 ++ boards/arm/olimex_stm32_h407/CMakeLists.txt | 2 ++ boards/arm/olimex_stm32_h407/board.cmake | 2 ++ boards/arm/olimex_stm32_h407/olimex_stm32_h407_defconfig | 2 ++ boards/arm/olimex_stm32_p405/CMakeLists.txt | 2 ++ boards/arm/olimex_stm32_p405/board.cmake | 2 ++ boards/arm/olimex_stm32_p405/olimex_stm32_p405_defconfig | 2 ++ boards/arm/olimexino_stm32/CMakeLists.txt | 2 ++ boards/arm/olimexino_stm32/board.cmake | 2 ++ boards/arm/olimexino_stm32/olimexino_stm32_defconfig | 2 ++ boards/arm/qemu_cortex_m3/Kconfig.board | 2 ++ boards/arm/qemu_cortex_m3/Kconfig.defconfig | 2 ++ boards/arm/qemu_cortex_m3/board.cmake | 2 ++ boards/arm/qemu_cortex_m3/qemu_cortex_m3.dts | 2 ++ boards/arm/qemu_cortex_m3/qemu_cortex_m3_defconfig | 2 ++ boards/arm/quark_se_c1000_ble/quark_se_c1000_ble_defconfig | 2 ++ boards/arm/reel_board/CMakeLists.txt | 2 ++ boards/arm/reel_board/board.cmake | 2 ++ boards/arm/reel_board/reel_board_defconfig | 2 ++ boards/arm/sam4s_xplained/board.cmake | 2 ++ boards/arm/sam4s_xplained/sam4s_xplained_defconfig | 2 ++ boards/arm/sam_e70_xplained/board.cmake | 2 ++ boards/arm/sam_e70_xplained/sam_e70_xplained_defconfig | 2 ++ boards/arm/stm3210c_eval/CMakeLists.txt | 2 ++ boards/arm/stm3210c_eval/board.cmake | 2 ++ boards/arm/stm3210c_eval/stm3210c_eval_defconfig | 2 ++ boards/arm/stm32373c_eval/CMakeLists.txt | 2 ++ boards/arm/stm32373c_eval/board.cmake | 2 ++ boards/arm/stm32373c_eval/stm32373c_eval_defconfig | 2 ++ boards/arm/stm32_min_dev/CMakeLists.txt | 2 ++ boards/arm/stm32_min_dev/board.cmake | 2 ++ boards/arm/stm32_min_dev/stm32_min_dev_defconfig | 2 ++ boards/arm/stm32f072_eval/CMakeLists.txt | 2 ++ boards/arm/stm32f072_eval/board.cmake | 2 ++ boards/arm/stm32f072_eval/stm32f072_eval_defconfig | 2 ++ boards/arm/stm32f072b_disco/CMakeLists.txt | 2 ++ boards/arm/stm32f072b_disco/board.cmake | 2 ++ boards/arm/stm32f072b_disco/stm32f072b_disco_defconfig | 2 ++ boards/arm/stm32f0_disco/CMakeLists.txt | 2 ++ boards/arm/stm32f0_disco/board.cmake | 2 ++ boards/arm/stm32f0_disco/stm32f0_disco_defconfig | 2 ++ boards/arm/stm32f3_disco/CMakeLists.txt | 2 ++ boards/arm/stm32f3_disco/board.cmake | 2 ++ boards/arm/stm32f3_disco/stm32f3_disco_defconfig | 2 ++ boards/arm/stm32f411e_disco/CMakeLists.txt | 2 ++ boards/arm/stm32f411e_disco/board.cmake | 2 ++ boards/arm/stm32f411e_disco/stm32f411e_disco_defconfig | 2 ++ boards/arm/stm32f412g_disco/CMakeLists.txt | 2 ++ boards/arm/stm32f412g_disco/board.cmake | 2 ++ boards/arm/stm32f412g_disco/stm32f412g_disco_defconfig | 2 ++ boards/arm/stm32f429i_disc1/CMakeLists.txt | 2 ++ boards/arm/stm32f429i_disc1/board.cmake | 2 ++ boards/arm/stm32f429i_disc1/stm32f429i_disc1_defconfig | 2 ++ boards/arm/stm32f469i_disco/CMakeLists.txt | 2 ++ boards/arm/stm32f469i_disco/board.cmake | 2 ++ boards/arm/stm32f469i_disco/stm32f469i_disco_defconfig | 2 ++ boards/arm/stm32f4_disco/CMakeLists.txt | 2 ++ boards/arm/stm32f4_disco/board.cmake | 2 ++ boards/arm/stm32f4_disco/stm32f4_disco_defconfig | 2 ++ boards/arm/stm32f723e_disco/CMakeLists.txt | 2 ++ boards/arm/stm32f723e_disco/board.cmake | 2 ++ boards/arm/stm32f723e_disco/stm32f723e_disco_defconfig | 2 ++ boards/arm/stm32f746g_disco/CMakeLists.txt | 2 ++ boards/arm/stm32f746g_disco/board.cmake | 2 ++ boards/arm/stm32f746g_disco/stm32f746g_disco_defconfig | 2 ++ boards/arm/stm32f769i_disco/CMakeLists.txt | 2 ++ boards/arm/stm32f769i_disco/board.cmake | 2 ++ boards/arm/stm32f769i_disco/stm32f769i_disco_defconfig | 2 ++ boards/arm/stm32l476g_disco/CMakeLists.txt | 2 ++ boards/arm/stm32l476g_disco/board.cmake | 2 ++ boards/arm/stm32l476g_disco/stm32l476g_disco_defconfig | 2 ++ boards/arm/stm32l496g_disco/CMakeLists.txt | 2 ++ boards/arm/stm32l496g_disco/board.cmake | 2 ++ boards/arm/stm32l496g_disco/stm32l496g_disco_defconfig | 2 ++ boards/arm/usb_kw24d512/CMakeLists.txt | 2 ++ boards/arm/usb_kw24d512/board.cmake | 2 ++ boards/arm/usb_kw24d512/usb_kw24d512.dts | 2 ++ boards/arm/usb_kw24d512/usb_kw24d512_defconfig | 2 ++ boards/arm/v2m_beetle/CMakeLists.txt | 2 ++ boards/arm/v2m_beetle/board.cmake | 2 ++ boards/arm/v2m_beetle/v2m_beetle.dts | 2 ++ boards/common/blackmagicprobe.board.cmake | 2 ++ boards/common/bossac.board.cmake | 2 ++ boards/common/dfu-util.board.cmake | 2 ++ boards/common/esp32.board.cmake | 2 ++ boards/common/jlink.board.cmake | 2 ++ boards/common/nios2.board.cmake | 2 ++ boards/common/nrfjprog.board.cmake | 2 ++ boards/common/openocd.board.cmake | 2 ++ boards/common/pyocd.board.cmake | 2 ++ boards/nios2/altera_max10/Kconfig.board | 2 ++ boards/nios2/altera_max10/Kconfig.defconfig | 2 ++ boards/nios2/altera_max10/altera_max10.dts | 2 ++ boards/nios2/altera_max10/altera_max10_defconfig | 2 ++ boards/nios2/altera_max10/board.cmake | 2 ++ boards/nios2/qemu_nios2/Kconfig.board | 2 ++ boards/nios2/qemu_nios2/Kconfig.defconfig | 2 ++ boards/nios2/qemu_nios2/board.cmake | 2 ++ boards/nios2/qemu_nios2/qemu_nios2.dts | 2 ++ boards/nios2/qemu_nios2/qemu_nios2_defconfig | 2 ++ boards/posix/native_posix/CMakeLists.txt | 2 ++ boards/posix/native_posix/Kconfig | 2 ++ boards/posix/native_posix/Kconfig.board | 2 ++ boards/posix/native_posix/Kconfig.defconfig | 2 ++ boards/posix/native_posix/board.cmake | 2 ++ boards/posix/native_posix/native_posix_defconfig | 2 ++ boards/posix/nrf52_bsim/CMakeLists.txt | 2 ++ boards/posix/nrf52_bsim/Kconfig | 2 ++ boards/posix/nrf52_bsim/Kconfig.board | 2 ++ boards/posix/nrf52_bsim/Kconfig.defconfig | 2 ++ boards/posix/nrf52_bsim/board.cmake | 2 ++ boards/posix/nrf52_bsim/nrf52_bsim_defconfig | 2 ++ boards/riscv32/hifive1/CMakeLists.txt | 2 ++ boards/riscv32/hifive1/Kconfig.board | 2 ++ boards/riscv32/hifive1/Kconfig.defconfig | 2 ++ boards/riscv32/hifive1/board.cmake | 2 ++ boards/riscv32/hifive1/hifive1.dts | 2 ++ boards/riscv32/hifive1/hifive1_defconfig | 2 ++ boards/riscv32/m2gl025_miv/CMakeLists.txt | 2 ++ boards/riscv32/m2gl025_miv/Kconfig.board | 2 ++ boards/riscv32/m2gl025_miv/Kconfig.defconfig | 2 ++ boards/riscv32/m2gl025_miv/board.cmake | 2 ++ boards/riscv32/m2gl025_miv/m2gl025_miv_defconfig | 2 ++ boards/riscv32/qemu_riscv32/Kconfig.board | 2 ++ boards/riscv32/qemu_riscv32/Kconfig.defconfig | 2 ++ boards/riscv32/qemu_riscv32/board.cmake | 2 ++ boards/riscv32/qemu_riscv32/qemu_riscv32.dts | 2 ++ boards/riscv32/qemu_riscv32/qemu_riscv32_defconfig | 2 ++ boards/riscv32/rv32m1_vega/CMakeLists.txt | 2 ++ boards/riscv32/rv32m1_vega/Kconfig.board | 2 ++ boards/riscv32/rv32m1_vega/Kconfig.defconfig | 2 ++ boards/riscv32/rv32m1_vega/board.cmake | 2 ++ boards/riscv32/rv32m1_vega/rv32m1_vega_ri5cy_defconfig | 2 ++ boards/x86/acrn/acrn_defconfig | 2 ++ boards/x86/arduino_101/CMakeLists.txt | 2 ++ boards/x86/arduino_101/Kconfig.board | 2 ++ boards/x86/arduino_101/Kconfig.defconfig | 2 ++ boards/x86/arduino_101/arduino_101.dts | 2 ++ boards/x86/arduino_101/arduino_101_defconfig | 2 ++ boards/x86/arduino_101/arduino_101_mcuboot_defconfig | 2 ++ boards/x86/arduino_101/board.cmake | 2 ++ boards/x86/galileo/CMakeLists.txt | 2 ++ boards/x86/galileo/Kconfig.board | 2 ++ boards/x86/galileo/Kconfig.defconfig | 2 ++ boards/x86/galileo/galileo.dts | 2 ++ boards/x86/galileo/galileo_defconfig | 2 ++ boards/x86/minnowboard/Kconfig.board | 2 ++ boards/x86/minnowboard/Kconfig.defconfig | 2 ++ boards/x86/minnowboard/minnowboard.dts | 2 ++ boards/x86/minnowboard/minnowboard_defconfig | 2 ++ boards/x86/qemu_x86/Kconfig.board | 2 ++ boards/x86/qemu_x86/Kconfig.defconfig | 2 ++ boards/x86/qemu_x86/board.cmake | 2 ++ boards/x86/qemu_x86/dts_fixup.h | 2 ++ boards/x86/qemu_x86/qemu_x86.dts | 2 ++ boards/x86/qemu_x86/qemu_x86_defconfig | 2 ++ boards/x86/qemu_x86/qemu_x86_iamcu.dts | 2 ++ boards/x86/qemu_x86/qemu_x86_iamcu_defconfig | 2 ++ boards/x86/qemu_x86/qemu_x86_nommu.dts | 2 ++ boards/x86/qemu_x86/qemu_x86_nommu_defconfig | 2 ++ boards/x86/quark_d2000_crb/CMakeLists.txt | 2 ++ boards/x86/quark_d2000_crb/Kconfig.board | 2 ++ boards/x86/quark_d2000_crb/Kconfig.defconfig | 2 ++ boards/x86/quark_d2000_crb/board.cmake | 2 ++ boards/x86/quark_d2000_crb/quark_d2000_crb.dts | 2 ++ boards/x86/quark_d2000_crb/quark_d2000_crb_defconfig | 2 ++ boards/x86/quark_se_c1000_devboard/CMakeLists.txt | 2 ++ boards/x86/quark_se_c1000_devboard/Kconfig.board | 2 ++ boards/x86/quark_se_c1000_devboard/Kconfig.defconfig | 2 ++ boards/x86/quark_se_c1000_devboard/board.cmake | 2 ++ .../quark_se_c1000_devboard/quark_se_c1000_devboard.dts | 2 ++ .../quark_se_c1000_devboard_defconfig | 2 ++ boards/x86/tinytile/CMakeLists.txt | 2 ++ boards/x86/tinytile/Kconfig.board | 2 ++ boards/x86/tinytile/Kconfig.defconfig | 2 ++ boards/x86/tinytile/board.cmake | 2 ++ boards/x86/tinytile/tinytile.dts | 2 ++ boards/x86/tinytile/tinytile_defconfig | 2 ++ boards/x86/up_squared/Kconfig.defconfig | 2 ++ boards/x86/up_squared/up_squared_defconfig | 2 ++ boards/x86/up_squared/up_squared_sbl_defconfig | 2 ++ boards/x86/x86_jailhouse/Kconfig.board | 2 ++ boards/x86/x86_jailhouse/Kconfig.defconfig | 2 ++ boards/x86/x86_jailhouse/board.cmake | 2 ++ boards/x86/x86_jailhouse/x86_jailhouse.dts | 2 ++ boards/x86/x86_jailhouse/x86_jailhouse_defconfig | 2 ++ boards/x86_64/qemu_x86_64/Kconfig.board | 2 ++ boards/x86_64/qemu_x86_64/Kconfig.defconfig | 2 ++ boards/x86_64/qemu_x86_64/board.cmake | 2 ++ boards/x86_64/qemu_x86_64/qemu_x86_64_defconfig | 2 ++ boards/xtensa/esp32/CMakeLists.txt | 2 ++ boards/xtensa/esp32/board.cmake | 2 ++ boards/xtensa/esp32/esp32_defconfig | 2 ++ boards/xtensa/intel_s1000_crb/CMakeLists.txt | 2 ++ boards/xtensa/intel_s1000_crb/board.cmake | 2 ++ boards/xtensa/intel_s1000_crb/intel_s1000_crb.dts | 2 ++ boards/xtensa/intel_s1000_crb/intel_s1000_crb_defconfig | 2 ++ boards/xtensa/qemu_xtensa/board.cmake | 2 ++ boards/xtensa/qemu_xtensa/qemu_xtensa_defconfig | 2 ++ boards/xtensa/xt-sim/board.cmake | 2 ++ boards/xtensa/xt-sim/xt-sim_D_108mini_defconfig | 2 ++ boards/xtensa/xt-sim/xt-sim_D_212GP_defconfig | 2 ++ boards/xtensa/xt-sim/xt-sim_D_233L_defconfig | 2 ++ .../xtensa/xt-sim/xt-sim_XRC_FUSION_AON_ALL_LM_defconfig | 2 ++ boards/xtensa/xt-sim/xt-sim_defconfig | 2 ++ boards/xtensa/xt-sim/xt-sim_hifi2_std_defconfig | 2 ++ boards/xtensa/xt-sim/xt-sim_hifi3_bd5_defconfig | 2 ++ boards/xtensa/xt-sim/xt-sim_intel_s1000_defconfig | 2 ++ cmake/app/boilerplate.cmake | 2 ++ cmake/ccache.cmake | 2 ++ cmake/cfb.cmake | 2 ++ cmake/compiler/clang/generic.cmake | 2 ++ cmake/compiler/clang/target.cmake | 2 ++ cmake/compiler/gcc/generic.cmake | 2 ++ cmake/compiler/gcc/target.cmake | 2 ++ cmake/compiler/gcc/target_asm.cmake | 2 ++ cmake/compiler/gcc/target_baremetal.cmake | 2 ++ cmake/compiler/gcc/target_cpp.cmake | 2 ++ cmake/compiler/gcc/target_optimizations.cmake | 2 ++ cmake/compiler/gcc/target_security_canaries.cmake | 2 ++ cmake/compiler/gcc/target_security_fortify.cmake | 2 ++ cmake/compiler/host-gcc/generic.cmake | 2 ++ cmake/compiler/host-gcc/target.cmake | 2 ++ cmake/compiler/xcc/generic.cmake | 2 ++ cmake/compiler/xcc/target.cmake | 2 ++ cmake/dts.cmake | 2 ++ cmake/emu/native.cmake | 2 ++ cmake/emu/nsim.cmake | 2 ++ cmake/emu/qemu.cmake | 2 ++ cmake/emu/renode.cmake | 2 ++ cmake/extensions.cmake | 2 ++ cmake/extra_flags.cmake | 2 ++ cmake/flash/CMakeLists.txt | 2 ++ cmake/fpu-for-gcc-m-cpu.cmake | 2 ++ cmake/gcc-m-cpu.cmake | 2 ++ cmake/generic_toolchain.cmake | 2 ++ cmake/git.cmake | 2 ++ cmake/hex.cmake | 2 ++ cmake/host-tools.cmake | 2 ++ cmake/ide/eclipse_cdt4_generator_amendment.cmake | 2 ++ cmake/kconfig.cmake | 2 ++ cmake/kobj.cmake | 2 ++ cmake/pristine.cmake | 2 ++ cmake/python.cmake | 2 ++ cmake/reports/CMakeLists.txt | 2 ++ cmake/target_toolchain.cmake | 2 ++ cmake/toolchain/cross-compile/generic.cmake | 2 ++ cmake/toolchain/cross-compile/target.cmake | 2 ++ cmake/toolchain/espressif/generic.cmake | 2 ++ cmake/toolchain/espressif/target.cmake | 2 ++ cmake/toolchain/gnuarmemb/generic.cmake | 2 ++ cmake/toolchain/gnuarmemb/target.cmake | 2 ++ cmake/toolchain/host/generic.cmake | 2 ++ cmake/toolchain/host/target.cmake | 2 ++ cmake/toolchain/issm/generic.cmake | 2 ++ cmake/toolchain/issm/target.cmake | 2 ++ cmake/toolchain/llvm/generic.cmake | 2 ++ cmake/toolchain/llvm/target.cmake | 2 ++ cmake/toolchain/xcc/generic.cmake | 2 ++ cmake/toolchain/xcc/target.cmake | 2 ++ cmake/toolchain/xtools/generic.cmake | 2 ++ cmake/toolchain/xtools/target.cmake | 2 ++ cmake/toolchain/zephyr/0.10.0/generic.cmake | 2 ++ cmake/toolchain/zephyr/0.10.0/host-tools.cmake | 2 ++ cmake/toolchain/zephyr/0.10.0/target.cmake | 2 ++ cmake/toolchain/zephyr/0.9.5/generic.cmake | 2 ++ cmake/toolchain/zephyr/0.9.5/host-tools.cmake | 2 ++ cmake/toolchain/zephyr/0.9.5/target.cmake | 2 ++ cmake/toolchain/zephyr/generic.cmake | 2 ++ cmake/toolchain/zephyr/host-tools.cmake | 2 ++ cmake/toolchain/zephyr/target.cmake | 2 ++ cmake/usage/CMakeLists.txt | 2 ++ cmake/usage/usage.cmake | 2 ++ cmake/util/execute_process.cmake | 2 ++ cmake/util/fmerge.cmake | 2 ++ cmake/version.cmake | 2 ++ cmake/zephyr_module.cmake | 2 ++ doc/CMakeLists.txt | 2 ++ doc/application/application-kconfig.include | 2 ++ doc/guides/kconfig/index.rst | 2 ++ drivers/CMakeLists.txt | 2 ++ drivers/adc/CMakeLists.txt | 2 ++ drivers/aio/CMakeLists.txt | 2 ++ drivers/audio/CMakeLists.txt | 2 ++ drivers/bluetooth/CMakeLists.txt | 2 ++ drivers/bluetooth/hci/CMakeLists.txt | 2 ++ drivers/can/CMakeLists.txt | 2 ++ drivers/clock_control/CMakeLists.txt | 2 ++ drivers/console/CMakeLists.txt | 2 ++ drivers/counter/CMakeLists.txt | 2 ++ drivers/crypto/CMakeLists.txt | 2 ++ drivers/display/CMakeLists.txt | 2 ++ drivers/display/Kconfig.grove | 2 ++ drivers/dma/CMakeLists.txt | 2 ++ drivers/entropy/CMakeLists.txt | 2 ++ drivers/entropy/Kconfig.native_posix | 2 ++ drivers/ethernet/CMakeLists.txt | 2 ++ drivers/flash/CMakeLists.txt | 2 ++ drivers/flash/Kconfig.mcux | 2 ++ drivers/flash/Kconfig.nios2_qspi | 2 ++ drivers/flash/Kconfig.nrf | 2 ++ drivers/gpio/CMakeLists.txt | 2 ++ drivers/gpio/Kconfig.cc32xx | 2 ++ drivers/hwinfo/CMakeLists.txt | 2 ++ drivers/i2c/CMakeLists.txt | 2 ++ drivers/i2c/slave/CMakeLists.txt | 2 ++ drivers/i2s/CMakeLists.txt | 2 ++ drivers/ieee802154/CMakeLists.txt | 2 ++ drivers/ieee802154/Kconfig.cc1200 | 2 ++ drivers/interrupt_controller/CMakeLists.txt | 2 ++ .../Kconfig.multilevel.aggregator_template | 2 ++ drivers/ipm/CMakeLists.txt | 2 ++ drivers/ipm/Kconfig | 2 ++ drivers/led/CMakeLists.txt | 2 ++ drivers/led_strip/CMakeLists.txt | 2 ++ drivers/modem/CMakeLists.txt | 2 ++ drivers/net/CMakeLists.txt | 2 ++ drivers/neural_net/CMakeLists.txt | 2 ++ drivers/pci/CMakeLists.txt | 2 ++ drivers/pinmux/CMakeLists.txt | 2 ++ drivers/pwm/CMakeLists.txt | 2 ++ drivers/rtc/CMakeLists.txt | 2 ++ drivers/sensor/CMakeLists.txt | 2 ++ drivers/sensor/adt7420/CMakeLists.txt | 2 ++ drivers/sensor/adxl362/CMakeLists.txt | 2 ++ drivers/sensor/ak8975/CMakeLists.txt | 2 ++ drivers/sensor/amg88xx/CMakeLists.txt | 2 ++ drivers/sensor/apds9960/CMakeLists.txt | 2 ++ drivers/sensor/bma280/CMakeLists.txt | 2 ++ drivers/sensor/bmc150_magn/CMakeLists.txt | 2 ++ drivers/sensor/bme280/CMakeLists.txt | 2 ++ drivers/sensor/bmg160/CMakeLists.txt | 2 ++ drivers/sensor/bmi160/CMakeLists.txt | 2 ++ drivers/sensor/bmm150/CMakeLists.txt | 2 ++ drivers/sensor/ccs811/CMakeLists.txt | 2 ++ drivers/sensor/dht/CMakeLists.txt | 2 ++ drivers/sensor/grove/CMakeLists.txt | 2 ++ drivers/sensor/hdc1008/CMakeLists.txt | 2 ++ drivers/sensor/hmc5883l/CMakeLists.txt | 2 ++ drivers/sensor/hp206c/CMakeLists.txt | 2 ++ drivers/sensor/hts221/CMakeLists.txt | 2 ++ drivers/sensor/isl29035/CMakeLists.txt | 2 ++ drivers/sensor/lis2dh/CMakeLists.txt | 2 ++ drivers/sensor/lis2ds12/CMakeLists.txt | 2 ++ drivers/sensor/lis3mdl/CMakeLists.txt | 2 ++ drivers/sensor/lps22hb/CMakeLists.txt | 2 ++ drivers/sensor/lps25hb/CMakeLists.txt | 2 ++ drivers/sensor/lsm6ds0/CMakeLists.txt | 2 ++ drivers/sensor/lsm6dsl/CMakeLists.txt | 2 ++ drivers/sensor/lsm9ds0_gyro/CMakeLists.txt | 2 ++ drivers/sensor/lsm9ds0_mfd/CMakeLists.txt | 2 ++ drivers/sensor/max44009/CMakeLists.txt | 2 ++ drivers/sensor/mcp9808/CMakeLists.txt | 2 ++ drivers/sensor/mpu6050/CMakeLists.txt | 2 ++ drivers/sensor/nrf5/CMakeLists.txt | 2 ++ drivers/sensor/pms7003/CMakeLists.txt | 2 ++ drivers/sensor/sht3xd/CMakeLists.txt | 2 ++ drivers/sensor/sx9500/CMakeLists.txt | 2 ++ drivers/sensor/th02/CMakeLists.txt | 2 ++ drivers/sensor/tmp007/CMakeLists.txt | 2 ++ drivers/sensor/tmp112/CMakeLists.txt | 2 ++ drivers/sensor/vl53l0x/CMakeLists.txt | 2 ++ drivers/serial/CMakeLists.txt | 2 ++ drivers/serial/Kconfig.altera_jtag | 2 ++ drivers/serial/Kconfig.cc32xx | 2 ++ drivers/serial/Kconfig.esp32 | 2 ++ drivers/serial/Kconfig.miv | 2 ++ drivers/serial/Kconfig.msp432p4xx | 2 ++ drivers/serial/Kconfig.native_posix | 2 ++ drivers/serial/Kconfig.ns16550 | 2 ++ drivers/serial/Kconfig.nsim | 2 ++ drivers/serial/Kconfig.qmsi | 2 ++ drivers/serial/Kconfig.stellaris | 2 ++ drivers/spi/CMakeLists.txt | 2 ++ drivers/timer/CMakeLists.txt | 2 ++ drivers/timer/legacy_api.h | 5 +++++ drivers/usb/CMakeLists.txt | 2 ++ drivers/usb/device/CMakeLists.txt | 2 ++ drivers/watchdog/CMakeLists.txt | 2 ++ drivers/wifi/CMakeLists.txt | 2 ++ drivers/wifi/eswifi/CMakeLists.txt | 2 ++ drivers/wifi/simplelink/CMakeLists.txt | 2 ++ drivers/wifi/winc1500/CMakeLists.txt | 2 ++ dts/Kconfig | 2 ++ dts/arm/armv6-m.dtsi | 2 ++ dts/arm/armv7-m.dtsi | 2 ++ dts/arm/armv8-m.dtsi | 2 ++ dts/arm/nordic/nrf51822.dtsi | 2 ++ dts/arm/nordic/nrf52810.dtsi | 2 ++ dts/arm/nordic/nrf52832.dtsi | 2 ++ dts/arm/nordic/nrf52840.dtsi | 2 ++ dts/arm/nordic/nrf5_common.dtsi | 2 ++ dts/arm/nxp/nxp_k6x.dtsi | 2 ++ dts/arm/nxp/nxp_kl25z.dtsi | 2 ++ dts/arm/nxp/nxp_kw2xd.dtsi | 2 ++ dts/arm/nxp/nxp_kw40z.dtsi | 2 ++ dts/arm/nxp/nxp_kw41z.dtsi | 2 ++ dts/arm/silabs/efm32hg.dtsi | 2 ++ dts/arm/silabs/efm32wg.dtsi | 2 ++ dts/arm/silabs/efr32fg1p.dtsi | 2 ++ dts/arm/silabs/efr32mg.dtsi | 2 ++ dts/arm/ti/cc32xx.dtsi | 2 ++ dts/arm/ti/lm3s6965.dtsi | 2 ++ dts/arm/ti/msp432p4xx.dtsi | 2 ++ dts/common/common.dts | 2 ++ dts/common/skeleton.dtsi | 2 ++ dts/nios2/nios2-qemu.dtsi | 2 ++ dts/nios2/nios2f.dtsi | 2 ++ dts/riscv32/riscv32-fe310.dtsi | 2 ++ dts/xtensa/intel_s1000.dtsi | 2 ++ include/app_memory/app_memdomain.h | 5 +++++ include/linker/app_smem.ld | 2 ++ include/linker/app_smem_aligned.ld | 2 ++ include/linker/app_smem_unaligned.ld | 2 ++ include/linker/common-ram.ld | 2 ++ include/linker/common-rom.ld | 2 ++ include/linker/debug-sections.ld | 2 ++ include/linker/kobject-text.ld | 2 ++ include/linker/rel-sections.ld | 2 ++ kernel/CMakeLists.txt | 2 ++ lib/CMakeLists.txt | 2 ++ lib/cmsis_rtos_v1/CMakeLists.txt | 2 ++ lib/cmsis_rtos_v2/CMakeLists.txt | 2 ++ lib/gui/CMakeLists.txt | 2 ++ lib/gui/lvgl/CMakeLists.txt | 2 ++ lib/libc/CMakeLists.txt | 2 ++ lib/libc/minimal/CMakeLists.txt | 2 ++ lib/libc/newlib/CMakeLists.txt | 2 ++ lib/os/CMakeLists.txt | 2 ++ lib/posix/CMakeLists.txt | 2 ++ misc/generated/CMakeLists.txt | 2 ++ .../application_development/code_relocation/CMakeLists.txt | 2 ++ .../code_relocation/custom-sections.ld | 2 ++ .../application_development/external_lib/CMakeLists.txt | 2 ++ .../out_of_tree_board/CMakeLists.txt | 2 ++ .../boards/arm/nrf52840_pca10056/board.cmake | 2 ++ .../arm/nrf52840_pca10056/nrf52840_pca10056_defconfig | 2 ++ samples/basic/blink_led/CMakeLists.txt | 2 ++ samples/basic/blinky/CMakeLists.txt | 2 ++ samples/basic/button/CMakeLists.txt | 2 ++ samples/basic/disco/CMakeLists.txt | 2 ++ samples/basic/fade_led/CMakeLists.txt | 2 ++ samples/basic/rgb_led/CMakeLists.txt | 2 ++ samples/basic/servo_motor/CMakeLists.txt | 2 ++ samples/basic/servo_motor/bbc_microbit.overlay | 2 ++ samples/basic/threads/CMakeLists.txt | 2 ++ samples/bluetooth/beacon/CMakeLists.txt | 2 ++ samples/bluetooth/central/CMakeLists.txt | 2 ++ samples/bluetooth/central_hr/CMakeLists.txt | 2 ++ samples/bluetooth/eddystone/CMakeLists.txt | 2 ++ samples/bluetooth/handsfree/CMakeLists.txt | 2 ++ samples/bluetooth/hci_spi/CMakeLists.txt | 2 ++ samples/bluetooth/hci_uart/96b_nitrogen.overlay | 2 ++ samples/bluetooth/hci_uart/CMakeLists.txt | 2 ++ samples/bluetooth/hci_uart/nrf51_blenano.overlay | 2 ++ samples/bluetooth/hci_uart/nrf51_pca10028.overlay | 2 ++ samples/bluetooth/hci_uart/nrf52840_pca10056.overlay | 2 ++ samples/bluetooth/hci_uart/nrf52840_pca10090.overlay | 2 ++ samples/bluetooth/hci_uart/nrf52_blenano2.overlay | 2 ++ samples/bluetooth/hci_uart/nrf52_pca10040.overlay | 2 ++ samples/bluetooth/hci_usb/CMakeLists.txt | 2 ++ samples/bluetooth/ibeacon/CMakeLists.txt | 2 ++ samples/bluetooth/ipsp/CMakeLists.txt | 2 ++ samples/bluetooth/mesh/CMakeLists.txt | 2 ++ samples/bluetooth/mesh_demo/CMakeLists.txt | 2 ++ samples/bluetooth/peripheral/CMakeLists.txt | 2 ++ samples/bluetooth/peripheral_csc/CMakeLists.txt | 2 ++ samples/bluetooth/peripheral_dis/CMakeLists.txt | 2 ++ samples/bluetooth/peripheral_esp/CMakeLists.txt | 2 ++ samples/bluetooth/peripheral_hids/CMakeLists.txt | 2 ++ samples/bluetooth/peripheral_hr/CMakeLists.txt | 2 ++ samples/bluetooth/peripheral_sc_only/CMakeLists.txt | 2 ++ samples/bluetooth/scan_adv/CMakeLists.txt | 2 ++ samples/boards/altera_max10/pio/CMakeLists.txt | 2 ++ .../arduino_101/environmental_sensing/ap/CMakeLists.txt | 2 ++ .../environmental_sensing/sensor/CMakeLists.txt | 2 ++ samples/boards/bbc_microbit/display/CMakeLists.txt | 2 ++ samples/boards/bbc_microbit/pong/CMakeLists.txt | 2 ++ samples/boards/bbc_microbit/sound/CMakeLists.txt | 2 ++ samples/boards/intel_s1000_crb/audio/CMakeLists.txt | 2 ++ samples/boards/intel_s1000_crb/dmic/CMakeLists.txt | 2 ++ samples/boards/intel_s1000_crb/i2s/CMakeLists.txt | 2 ++ samples/boards/nrf52/mesh/onoff-app/CMakeLists.txt | 2 ++ .../nrf52/mesh/onoff_level_lighting_vnd_app/CMakeLists.txt | 2 ++ samples/boards/nrf52/power_mgr/CMakeLists.txt | 2 ++ samples/boards/nrf52/power_mgr/Kconfig | 2 ++ samples/boards/olimex_stm32_e407/ccm/CMakeLists.txt | 2 ++ samples/boards/reel_board/mesh_badge/CMakeLists.txt | 2 ++ samples/boards/up_squared/gpio_counter/CMakeLists.txt | 2 ++ samples/cpp_synchronization/CMakeLists.txt | 2 ++ samples/display/cfb/CMakeLists.txt | 2 ++ samples/display/cfb/frdm_k64f.overlay | 2 ++ samples/display/cfb_custom_font/CMakeLists.txt | 2 ++ samples/display/cfb_shell/CMakeLists.txt | 2 ++ samples/display/grove_display/CMakeLists.txt | 2 ++ samples/display/ili9340/CMakeLists.txt | 2 ++ samples/display/ili9340/nucleo_l476rg.overlay | 2 ++ samples/drivers/CAN/CMakeLists.txt | 2 ++ samples/drivers/counter/alarm/CMakeLists.txt | 2 ++ samples/drivers/crypto/CMakeLists.txt | 2 ++ samples/drivers/current_sensing/CMakeLists.txt | 2 ++ samples/drivers/entropy/CMakeLists.txt | 2 ++ samples/drivers/flash_shell/CMakeLists.txt | 2 ++ samples/drivers/gpio/CMakeLists.txt | 2 ++ samples/drivers/i2c_fujitsu_fram/CMakeLists.txt | 2 ++ samples/drivers/i2c_scanner/CMakeLists.txt | 2 ++ samples/drivers/lcd_hd44780/CMakeLists.txt | 2 ++ samples/drivers/led_apa102/CMakeLists.txt | 2 ++ samples/drivers/led_apa102c_bitbang/CMakeLists.txt | 2 ++ samples/drivers/led_lp3943/CMakeLists.txt | 2 ++ samples/drivers/led_lp5562/CMakeLists.txt | 2 ++ samples/drivers/led_lp5562/nrf52840_pca10056.overlay | 2 ++ samples/drivers/led_lpd8806/CMakeLists.txt | 2 ++ samples/drivers/led_pca9633/CMakeLists.txt | 2 ++ samples/drivers/led_pca9633/stm32373c_eval.overlay | 2 ++ samples/drivers/led_ws2812/CMakeLists.txt | 2 ++ samples/drivers/random/CMakeLists.txt | 2 ++ samples/drivers/rtc/CMakeLists.txt | 2 ++ samples/drivers/soc_flash_nrf/CMakeLists.txt | 2 ++ samples/drivers/spi_flash/CMakeLists.txt | 2 ++ samples/drivers/spi_fujitsu_fram/CMakeLists.txt | 2 ++ samples/drivers/watchdog/CMakeLists.txt | 2 ++ samples/gui/lvgl/CMakeLists.txt | 2 ++ samples/hello_world/CMakeLists.txt | 2 ++ samples/mpu/mem_domain_apis_test/CMakeLists.txt | 2 ++ samples/mpu/mpu_test/CMakeLists.txt | 2 ++ samples/net/common/common.cmake | 2 ++ samples/net/dhcpv4_client/CMakeLists.txt | 2 ++ samples/net/dns_resolve/CMakeLists.txt | 2 ++ samples/net/eth_native_posix/CMakeLists.txt | 2 ++ samples/net/google_iot_mqtt/CMakeLists.txt | 2 ++ samples/net/gptp/CMakeLists.txt | 2 ++ samples/net/ipv4_autoconf/CMakeLists.txt | 2 ++ samples/net/lldp/CMakeLists.txt | 2 ++ samples/net/lwm2m_client/CMakeLists.txt | 2 ++ samples/net/mdns_responder/CMakeLists.txt | 2 ++ samples/net/mqtt_publisher/CMakeLists.txt | 2 ++ samples/net/nats/CMakeLists.txt | 2 ++ samples/net/promiscuous_mode/CMakeLists.txt | 2 ++ samples/net/sockets/big_http_download/CMakeLists.txt | 2 ++ samples/net/sockets/can/CMakeLists.txt | 2 ++ samples/net/sockets/coap_client/CMakeLists.txt | 2 ++ samples/net/sockets/coap_server/CMakeLists.txt | 2 ++ samples/net/sockets/dumb_http_server/CMakeLists.txt | 2 ++ samples/net/sockets/echo/CMakeLists.txt | 2 ++ samples/net/sockets/echo_async/CMakeLists.txt | 2 ++ samples/net/sockets/echo_async_select/CMakeLists.txt | 2 ++ samples/net/sockets/echo_client/CMakeLists.txt | 2 ++ samples/net/sockets/echo_server/CMakeLists.txt | 2 ++ samples/net/sockets/http_get/CMakeLists.txt | 2 ++ samples/net/sockets/packet/CMakeLists.txt | 2 ++ samples/net/sockets/sntp_client/CMakeLists.txt | 2 ++ samples/net/stats/CMakeLists.txt | 2 ++ samples/net/syslog_net/CMakeLists.txt | 2 ++ samples/net/telnet/CMakeLists.txt | 2 ++ samples/net/vlan/CMakeLists.txt | 2 ++ samples/net/wifi/CMakeLists.txt | 2 ++ samples/net/wifi/quark_se_c1000_devboard.overlay | 2 ++ samples/net/wpan_serial/CMakeLists.txt | 2 ++ samples/net/wpanusb/CMakeLists.txt | 2 ++ samples/net/zperf/CMakeLists.txt | 2 ++ samples/nfc/nfc_hello/CMakeLists.txt | 2 ++ samples/philosophers/CMakeLists.txt | 2 ++ .../portability/cmsis_rtos_v1/philosophers/CMakeLists.txt | 2 ++ .../cmsis_rtos_v1/timer_synchronization/CMakeLists.txt | 2 ++ .../portability/cmsis_rtos_v2/philosophers/CMakeLists.txt | 2 ++ .../cmsis_rtos_v2/timer_synchronization/CMakeLists.txt | 2 ++ samples/sensor/adt7420/CMakeLists.txt | 2 ++ samples/sensor/amg88xx/CMakeLists.txt | 2 ++ samples/sensor/apds9960/CMakeLists.txt | 2 ++ samples/sensor/bme280/CMakeLists.txt | 2 ++ samples/sensor/bmg160/CMakeLists.txt | 2 ++ samples/sensor/bmi160/CMakeLists.txt | 2 ++ samples/sensor/bmm150/CMakeLists.txt | 2 ++ samples/sensor/ccs811/CMakeLists.txt | 2 ++ samples/sensor/fxas21002/CMakeLists.txt | 2 ++ samples/sensor/fxos8700-hid/CMakeLists.txt | 2 ++ samples/sensor/fxos8700/CMakeLists.txt | 2 ++ samples/sensor/grove_light/CMakeLists.txt | 2 ++ samples/sensor/grove_temperature/CMakeLists.txt | 2 ++ samples/sensor/hts221/CMakeLists.txt | 2 ++ samples/sensor/lsm6dsl/CMakeLists.txt | 2 ++ samples/sensor/magn_polling/CMakeLists.txt | 2 ++ samples/sensor/max30101/CMakeLists.txt | 2 ++ samples/sensor/max44009/CMakeLists.txt | 2 ++ samples/sensor/mcp9808/CMakeLists.txt | 2 ++ samples/sensor/ms5837/CMakeLists.txt | 2 ++ samples/sensor/sx9500/CMakeLists.txt | 2 ++ samples/sensor/th02/CMakeLists.txt | 2 ++ samples/sensor/thermometer/CMakeLists.txt | 2 ++ samples/sensor/tmp112/CMakeLists.txt | 2 ++ samples/sensor/vl53l0x/CMakeLists.txt | 2 ++ samples/shields/x_nucleo_iks01a1/CMakeLists.txt | 2 ++ samples/shields/x_nucleo_iks01a2/CMakeLists.txt | 2 ++ samples/subsys/console/echo/CMakeLists.txt | 2 ++ samples/subsys/console/getchar/CMakeLists.txt | 2 ++ samples/subsys/console/getline/CMakeLists.txt | 2 ++ samples/subsys/fs/CMakeLists.txt | 2 ++ samples/subsys/ipc/ipm_imx/CMakeLists.txt | 2 ++ samples/subsys/ipc/ipm_mailbox/ap/CMakeLists.txt | 2 ++ samples/subsys/ipc/ipm_mailbox/sensor/CMakeLists.txt | 2 ++ samples/subsys/logging/logger/CMakeLists.txt | 2 ++ samples/subsys/nvs/CMakeLists.txt | 2 ++ samples/subsys/power/device_pm/CMakeLists.txt | 2 ++ samples/subsys/shell/shell_module/CMakeLists.txt | 2 ++ samples/subsys/usb/cdc_acm/CMakeLists.txt | 2 ++ samples/subsys/usb/cdc_acm_composite/CMakeLists.txt | 2 ++ samples/subsys/usb/console/CMakeLists.txt | 2 ++ samples/subsys/usb/dfu/CMakeLists.txt | 2 ++ samples/subsys/usb/hid-cdc/CMakeLists.txt | 2 ++ samples/subsys/usb/hid-mouse/CMakeLists.txt | 2 ++ samples/subsys/usb/hid/CMakeLists.txt | 2 ++ samples/subsys/usb/mass/CMakeLists.txt | 2 ++ samples/subsys/usb/testusb/CMakeLists.txt | 2 ++ samples/subsys/usb/webusb/CMakeLists.txt | 2 ++ samples/synchronization/CMakeLists.txt | 2 ++ samples/testing/integration/CMakeLists.txt | 2 ++ samples/userspace/shared_mem/CMakeLists.txt | 2 ++ samples/xtensa_asm2/CMakeLists.txt | 2 ++ scripts/ci/get_modified_boards.py | 1 + scripts/ci/get_modified_tests.py | 1 + scripts/ci/run_ci.sh | 1 + scripts/dir_is_writeable.py | 2 ++ scripts/footprint/compare_footprint | 1 + scripts/gitlint/zephyr_commit_rules.py | 2 ++ scripts/kconfig/checkconfig.py | 1 + scripts/kconfig/diffconfig | 2 ++ scripts/qemu-machine-hack.py | 1 + scripts/sanity_chk/harness.py | 1 + scripts/sanity_chk/ini2yaml.py | 2 +- scripts/sanity_chk/scl.py | 1 + scripts/sanitycheck | 1 + scripts/subfolder_list.py | 1 + scripts/support/quartus-flash.py | 1 + soc/Kconfig | 2 ++ soc/arc/quark_se_c1000_ss/CMakeLists.txt | 2 ++ soc/arc/quark_se_c1000_ss/Kconfig.soc | 2 ++ soc/arc/quark_se_c1000_ss/dts_fixup.h | 2 ++ soc/arc/snps_arc_iot/CMakeLists.txt | 2 ++ soc/arc/snps_emsk/CMakeLists.txt | 2 ++ soc/arc/snps_emsk/dts_fixup.h | 2 ++ soc/arc/snps_nsim/CMakeLists.txt | 2 ++ soc/arc/snps_nsim/dts_fixup.h | 2 ++ soc/arm/CMakeLists.txt | 2 ++ soc/arm/arm/CMakeLists.txt | 2 ++ soc/arm/arm/beetle/CMakeLists.txt | 2 ++ soc/arm/arm/beetle/dts_fixup.h | 2 ++ soc/arm/arm/mps2/CMakeLists.txt | 2 ++ soc/arm/atmel_sam/common/CMakeLists.txt | 2 ++ soc/arm/atmel_sam/sam3x/CMakeLists.txt | 2 ++ soc/arm/atmel_sam/sam3x/dts_fixup.h | 2 ++ soc/arm/atmel_sam/sam4s/CMakeLists.txt | 2 ++ soc/arm/atmel_sam/sam4s/dts_fixup.h | 2 ++ soc/arm/atmel_sam/same70/CMakeLists.txt | 2 ++ soc/arm/atmel_sam/same70/dts_fixup.h | 2 ++ soc/arm/atmel_sam0/common/Kconfig.samd2x | 2 ++ soc/arm/atmel_sam0/samd20/dts_fixup.h | 2 ++ soc/arm/atmel_sam0/samd21/dts_fixup.h | 2 ++ soc/arm/cypress/psoc6/soc-noinit.ld | 5 ++++- soc/arm/cypress/psoc6/soc-rwdata.ld | 3 +++ soc/arm/microchip_mec/CMakeLists.txt | 2 ++ soc/arm/microchip_mec/Kconfig.defconfig | 2 ++ soc/arm/microchip_mec/mec1701/CMakeLists.txt | 2 ++ soc/arm/microchip_mec/mec1701/dts_fixup.h | 2 ++ soc/arm/nordic_nrf/CMakeLists.txt | 2 ++ soc/arm/nordic_nrf/nrf51/CMakeLists.txt | 2 ++ soc/arm/nordic_nrf/nrf51/dts_fixup.h | 2 ++ soc/arm/nordic_nrf/nrf52/CMakeLists.txt | 2 ++ soc/arm/nordic_nrf/nrf52/dts_fixup.h | 2 ++ soc/arm/nordic_nrf/nrf91/CMakeLists.txt | 2 ++ soc/arm/nxp_kinetis/CMakeLists.txt | 2 ++ soc/arm/nxp_kinetis/Kconfig.defconfig | 2 ++ soc/arm/nxp_kinetis/k6x/CMakeLists.txt | 2 ++ soc/arm/nxp_kinetis/k6x/dts_fixup.h | 2 ++ soc/arm/nxp_kinetis/kl2x/CMakeLists.txt | 2 ++ soc/arm/nxp_kinetis/kl2x/dts_fixup.h | 2 ++ soc/arm/nxp_kinetis/kwx/CMakeLists.txt | 2 ++ soc/arm/nxp_kinetis/kwx/dts_fixup.h | 2 ++ soc/arm/silabs_exx32/CMakeLists.txt | 2 ++ soc/arm/silabs_exx32/Kconfig.defconfig | 2 ++ soc/arm/silabs_exx32/common/CMakeLists.txt | 2 ++ soc/arm/silabs_exx32/efm32hg/dts_fixup.h | 2 ++ soc/arm/silabs_exx32/efm32wg/dts_fixup.h | 2 ++ soc/arm/silabs_exx32/efr32fg1p/dts_fixup.h | 2 ++ soc/arm/silabs_exx32/efr32mg12p/dts_fixup.h | 2 ++ soc/arm/st_stm32/CMakeLists.txt | 2 ++ soc/arm/st_stm32/Kconfig.defconfig | 2 ++ soc/arm/st_stm32/common/CMakeLists.txt | 2 ++ soc/arm/st_stm32/stm32f0/CMakeLists.txt | 2 ++ soc/arm/st_stm32/stm32f0/dts_fixup.h | 2 ++ soc/arm/st_stm32/stm32f1/CMakeLists.txt | 2 ++ soc/arm/st_stm32/stm32f1/dts_fixup.h | 2 ++ soc/arm/st_stm32/stm32f2/CMakeLists.txt | 2 ++ soc/arm/st_stm32/stm32f2/dts_fixup.h | 2 ++ soc/arm/st_stm32/stm32f3/CMakeLists.txt | 2 ++ soc/arm/st_stm32/stm32f3/dts_fixup.h | 2 ++ soc/arm/st_stm32/stm32f4/CMakeLists.txt | 2 ++ soc/arm/st_stm32/stm32f4/dts_fixup.h | 2 ++ soc/arm/st_stm32/stm32f7/CMakeLists.txt | 2 ++ soc/arm/st_stm32/stm32f7/dts_fixup.h | 2 ++ soc/arm/st_stm32/stm32l0/CMakeLists.txt | 2 ++ soc/arm/st_stm32/stm32l0/dts_fixup.h | 2 ++ soc/arm/st_stm32/stm32l4/CMakeLists.txt | 2 ++ soc/arm/st_stm32/stm32l4/dts_fixup.h | 2 ++ soc/arm/ti_lm3s6965/CMakeLists.txt | 2 ++ soc/arm/ti_lm3s6965/Kconfig.soc | 2 ++ soc/arm/ti_lm3s6965/dts_fixup.h | 2 ++ soc/arm/ti_simplelink/CMakeLists.txt | 2 ++ soc/arm/ti_simplelink/Kconfig | 2 ++ soc/arm/ti_simplelink/Kconfig.defconfig | 2 ++ soc/arm/ti_simplelink/Kconfig.soc | 2 ++ soc/arm/ti_simplelink/cc2650/CMakeLists.txt | 2 ++ soc/arm/ti_simplelink/cc2650/dts_fixup.h | 2 ++ soc/arm/ti_simplelink/cc32xx/CMakeLists.txt | 2 ++ soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.cc3220sf | 2 ++ soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.series | 2 ++ soc/arm/ti_simplelink/cc32xx/Kconfig.series | 2 ++ soc/arm/ti_simplelink/cc32xx/Kconfig.soc | 2 ++ soc/arm/ti_simplelink/cc32xx/dts_fixup.h | 2 ++ soc/arm/ti_simplelink/cc32xx/linker.ld | 7 ++++++- soc/arm/ti_simplelink/msp432p4xx/CMakeLists.txt | 2 ++ soc/arm/ti_simplelink/msp432p4xx/dts_fixup.h | 2 ++ soc/arm/ti_simplelink/msp432p4xx/linker.ld | 7 ++++++- soc/nios2/nios2-qemu/CMakeLists.txt | 2 ++ soc/nios2/nios2-qemu/Kconfig.defconfig | 2 ++ soc/nios2/nios2-qemu/Kconfig.soc | 2 ++ soc/nios2/nios2-qemu/dts_fixup.h | 2 ++ soc/nios2/nios2f-zephyr/CMakeLists.txt | 2 ++ soc/nios2/nios2f-zephyr/Kconfig.defconfig | 2 ++ soc/nios2/nios2f-zephyr/Kconfig.soc | 2 ++ soc/nios2/nios2f-zephyr/dts_fixup.h | 2 ++ soc/posix/CMakeLists.txt | 2 ++ soc/posix/inf_clock/CMakeLists.txt | 2 ++ soc/posix/inf_clock/Kconfig.soc | 2 ++ soc/riscv32/CMakeLists.txt | 2 ++ soc/riscv32/riscv-privilege/CMakeLists.txt | 2 ++ soc/riscv32/riscv-privilege/common/CMakeLists.txt | 2 ++ soc/riscv32/riscv-privilege/miv/CMakeLists.txt | 2 ++ soc/riscv32/riscv-privilege/miv/Kconfig.defconfig.series | 2 ++ soc/riscv32/riscv-privilege/miv/Kconfig.series | 2 ++ soc/riscv32/riscv-privilege/miv/Kconfig.soc | 2 ++ soc/riscv32/riscv-privilege/miv/dts_fixup.h | 2 ++ soc/riscv32/riscv-privilege/miv/soc.h | 3 +++ soc/riscv32/riscv-privilege/sifive-freedom/CMakeLists.txt | 2 ++ .../sifive-freedom/Kconfig.defconfig.series | 2 ++ soc/x86/apollo_lake/CMakeLists.txt | 2 ++ soc/x86/atom/CMakeLists.txt | 2 ++ soc/x86/atom/Kconfig.soc | 2 ++ soc/x86/atom/dts_fixup.h | 2 ++ soc/x86/ia32/CMakeLists.txt | 2 ++ soc/x86/ia32/Kconfig.soc | 2 ++ soc/x86/ia32/dts_fixup.h | 2 ++ soc/x86/intel_quark/Kconfig.defconfig | 2 ++ soc/x86/intel_quark/quark_d2000/CMakeLists.txt | 2 ++ soc/x86/intel_quark/quark_d2000/Kconfig.soc | 2 ++ soc/x86/intel_quark/quark_d2000/dts_fixup.h | 2 ++ soc/x86/intel_quark/quark_se/CMakeLists.txt | 2 ++ soc/x86/intel_quark/quark_se/dts_fixup.h | 2 ++ soc/x86/intel_quark/quark_x1000/CMakeLists.txt | 2 ++ soc/x86/intel_quark/quark_x1000/Kconfig.series | 2 ++ soc/x86/intel_quark/quark_x1000/Kconfig.soc | 2 ++ soc/x86/intel_quark/quark_x1000/dts_fixup.h | 2 ++ soc/x86_64/x86_64/CMakeLists.txt | 2 ++ soc/x86_64/x86_64/Kconfig.defconfig | 2 ++ soc/x86_64/x86_64/Kconfig.soc | 2 ++ soc/xtensa/esp32/CMakeLists.txt | 2 ++ soc/xtensa/intel_s1000/CMakeLists.txt | 2 ++ soc/xtensa/intel_s1000/dts_fixup.h | 2 ++ soc/xtensa/sample_controller/CMakeLists.txt | 2 ++ subsys/CMakeLists.txt | 2 ++ subsys/bluetooth/CMakeLists.txt | 2 ++ subsys/bluetooth/common/CMakeLists.txt | 2 ++ subsys/bluetooth/controller/CMakeLists.txt | 2 ++ subsys/bluetooth/host/CMakeLists.txt | 2 ++ subsys/bluetooth/host/mesh/CMakeLists.txt | 2 ++ subsys/bluetooth/services/CMakeLists.txt | 2 ++ subsys/bluetooth/shell/CMakeLists.txt | 2 ++ subsys/console/CMakeLists.txt | 2 ++ subsys/cpp/CMakeLists.txt | 2 ++ subsys/debug/CMakeLists.txt | 2 ++ subsys/debug/tracing/CMakeLists.txt | 2 ++ subsys/debug/tracing/ctf/CMakeLists.txt | 2 ++ subsys/debug/tracing/ctf/bottoms/posix/CMakeLists.txt | 2 ++ subsys/dfu/CMakeLists.txt | 2 ++ subsys/dfu/boot/CMakeLists.txt | 2 ++ subsys/dfu/img_util/CMakeLists.txt | 2 ++ subsys/disk/CMakeLists.txt | 2 ++ subsys/fb/CMakeLists.txt | 2 ++ subsys/fs/CMakeLists.txt | 2 ++ subsys/fs/fcb/CMakeLists.txt | 2 ++ subsys/fs/nvs/CMakeLists.txt | 2 ++ subsys/jwt/CMakeLists.txt | 2 ++ subsys/logging/CMakeLists.txt | 2 ++ subsys/logging/Kconfig.template.log_config | 2 ++ subsys/mgmt/CMakeLists.txt | 2 ++ subsys/net/CMakeLists.txt | 2 ++ subsys/net/ip/CMakeLists.txt | 2 ++ subsys/net/l2/CMakeLists.txt | 2 ++ subsys/net/l2/bluetooth/CMakeLists.txt | 2 ++ subsys/net/l2/canbus/CMakeLists.txt | 2 ++ subsys/net/l2/dummy/CMakeLists.txt | 2 ++ subsys/net/l2/ethernet/CMakeLists.txt | 2 ++ subsys/net/l2/ethernet/gptp/CMakeLists.txt | 2 ++ subsys/net/l2/ethernet/lldp/CMakeLists.txt | 2 ++ subsys/net/l2/ieee802154/CMakeLists.txt | 2 ++ subsys/net/l2/openthread/CMakeLists.txt | 2 ++ subsys/net/l2/wifi/CMakeLists.txt | 2 ++ subsys/net/lib/CMakeLists.txt | 2 ++ subsys/net/lib/coap/CMakeLists.txt | 2 ++ subsys/net/lib/config/CMakeLists.txt | 2 ++ subsys/net/lib/dns/CMakeLists.txt | 2 ++ subsys/net/lib/http/CMakeLists.txt | 2 ++ subsys/net/lib/lwm2m/CMakeLists.txt | 2 ++ subsys/net/lib/mqtt/CMakeLists.txt | 2 ++ subsys/net/lib/openthread/CMakeLists.txt | 2 ++ subsys/net/lib/openthread/platform/CMakeLists.txt | 2 ++ subsys/net/lib/sntp/CMakeLists.txt | 2 ++ subsys/net/lib/sockets/CMakeLists.txt | 2 ++ subsys/net/lib/socks/CMakeLists.txt | 2 ++ subsys/net/lib/tls_credentials/CMakeLists.txt | 2 ++ subsys/power/CMakeLists.txt | 2 ++ subsys/power/Kconfig | 2 ++ subsys/power/policy/CMakeLists.txt | 2 ++ subsys/power/policy/Kconfig | 2 ++ subsys/random/CMakeLists.txt | 2 ++ subsys/settings/CMakeLists.txt | 2 ++ subsys/settings/src/CMakeLists.txt | 2 ++ subsys/shell/CMakeLists.txt | 2 ++ subsys/shell/Kconfig.template.shell_log_queue_size | 2 ++ subsys/shell/Kconfig.template.shell_log_queue_timeout | 2 ++ subsys/shell/modules/CMakeLists.txt | 2 ++ subsys/stats/CMakeLists.txt | 2 ++ subsys/storage/CMakeLists.txt | 2 ++ subsys/storage/flash_map/CMakeLists.txt | 2 ++ subsys/testsuite/CMakeLists.txt | 2 ++ subsys/testsuite/coverage/CMakeLists.txt | 2 ++ subsys/testsuite/unittest.cmake | 2 ++ subsys/testsuite/ztest/CMakeLists.txt | 2 ++ subsys/testsuite/ztest/include/arch/cpu.h | 4 ++++ subsys/testsuite/ztest/include/offsets.h | 3 +++ subsys/testsuite/ztest/include/syscall_list.h | 3 +++ subsys/testsuite/ztest/include/syscall_macros.h | 3 +++ subsys/testsuite/ztest/include/syscalls/kernel.h | 3 +++ subsys/usb/CMakeLists.txt | 2 ++ subsys/usb/class/CMakeLists.txt | 2 ++ subsys/usb/class/hid/CMakeLists.txt | 2 ++ subsys/usb/class/netusb/CMakeLists.txt | 2 ++ tests/application_development/cpp/CMakeLists.txt | 2 ++ tests/application_development/gen_inc_file/CMakeLists.txt | 2 ++ tests/benchmarks/app_kernel/CMakeLists.txt | 2 ++ tests/benchmarks/boot_time/CMakeLists.txt | 2 ++ tests/benchmarks/latency_measure/CMakeLists.txt | 2 ++ tests/benchmarks/mbedtls/CMakeLists.txt | 2 ++ tests/benchmarks/sched/CMakeLists.txt | 2 ++ tests/benchmarks/sys_kernel/CMakeLists.txt | 2 ++ tests/benchmarks/timing_info/CMakeLists.txt | 2 ++ tests/bluetooth/bluetooth/CMakeLists.txt | 2 ++ tests/bluetooth/bsim_bt/bsim_test_app/CMakeLists.txt | 2 ++ tests/bluetooth/init/CMakeLists.txt | 2 ++ tests/bluetooth/mesh/CMakeLists.txt | 2 ++ tests/bluetooth/mesh_shell/CMakeLists.txt | 2 ++ tests/bluetooth/shell/CMakeLists.txt | 2 ++ tests/bluetooth/tester/CMakeLists.txt | 2 ++ tests/bluetooth/tester/nrf52840_pca10056.overlay | 2 ++ tests/bluetooth/tester/nrf52_pca10040.overlay | 2 ++ tests/bluetooth/tester/reel_board.overlay | 2 ++ tests/boards/altera_max10/i2c_master/CMakeLists.txt | 2 ++ tests/boards/altera_max10/msgdma/CMakeLists.txt | 2 ++ tests/boards/altera_max10/qspi/CMakeLists.txt | 2 ++ tests/boards/altera_max10/sysid/CMakeLists.txt | 2 ++ tests/boards/board_shell/CMakeLists.txt | 2 ++ tests/boards/intel_s1000_crb/CMakeLists.txt | 2 ++ tests/boards/intel_s1000_crb/cache/CMakeLists.txt | 2 ++ tests/boards/native_posix/native_tasks/CMakeLists.txt | 2 ++ tests/boards/native_posix/rtc/CMakeLists.txt | 2 ++ tests/booting/stub/CMakeLists.txt | 2 ++ tests/cmsis_rtos_v1/CMakeLists.txt | 2 ++ tests/cmsis_rtos_v2/CMakeLists.txt | 2 ++ tests/crypto/mbedtls/CMakeLists.txt | 2 ++ tests/crypto/rand32/CMakeLists.txt | 2 ++ tests/crypto/tinycrypt/CMakeLists.txt | 2 ++ tests/crypto/tinycrypt_hmac_prng/CMakeLists.txt | 2 ++ tests/drivers/adc/adc_api/CMakeLists.txt | 2 ++ tests/drivers/aio/api/CMakeLists.txt | 2 ++ tests/drivers/aio/app/CMakeLists.txt | 2 ++ tests/drivers/build_all/CMakeLists.txt | 2 ++ tests/drivers/build_all/dts_fixup.h | 2 ++ tests/drivers/can/api/CMakeLists.txt | 2 ++ tests/drivers/can/stm32/CMakeLists.txt | 2 ++ tests/drivers/counter/counter_basic_api/CMakeLists.txt | 2 ++ tests/drivers/dma/chan_blen_transfer/CMakeLists.txt | 2 ++ tests/drivers/dma/loop_transfer/CMakeLists.txt | 2 ++ tests/drivers/entropy/api/CMakeLists.txt | 2 ++ tests/drivers/gpio/gpio_basic_api/CMakeLists.txt | 2 ++ tests/drivers/hwinfo/api/CMakeLists.txt | 2 ++ tests/drivers/i2c/i2c_api/CMakeLists.txt | 2 ++ tests/drivers/i2c/i2c_slave_api/CMakeLists.txt | 2 ++ tests/drivers/i2c/i2c_slave_api/Kconfig | 2 ++ tests/drivers/i2c/i2c_slave_api/common/CMakeLists.txt | 2 ++ tests/drivers/i2c/i2c_slave_api/nucleo_f091rc.overlay | 2 ++ tests/drivers/i2c/i2c_slave_api/stm32f072b_disco.overlay | 2 ++ tests/drivers/i2s/i2s_api/CMakeLists.txt | 2 ++ tests/drivers/i2s/i2s_speed/CMakeLists.txt | 2 ++ tests/drivers/ipm/CMakeLists.txt | 2 ++ tests/drivers/pci_enum/CMakeLists.txt | 2 ++ tests/drivers/pinmux/pinmux_basic_api/CMakeLists.txt | 2 ++ tests/drivers/pwm/pwm_api/CMakeLists.txt | 2 ++ tests/drivers/rtc/rtc_basic_api/CMakeLists.txt | 2 ++ tests/drivers/spi/spi_loopback/CMakeLists.txt | 2 ++ tests/drivers/spi/spi_loopback/Kconfig | 2 ++ tests/drivers/uart/uart_async_api/CMakeLists.txt | 2 ++ .../drivers/uart/uart_async_api/nrf52840_pca10056.overlay | 2 ++ tests/drivers/uart/uart_async_api/nrf9160_pca10090.overlay | 2 ++ tests/drivers/uart/uart_basic_api/CMakeLists.txt | 2 ++ tests/drivers/watchdog/wdt_basic_api/CMakeLists.txt | 2 ++ tests/kernel/arm_irq_vector_table/CMakeLists.txt | 2 ++ tests/kernel/arm_irq_vector_table/Kconfig | 2 ++ tests/kernel/arm_runtime_nmi/CMakeLists.txt | 2 ++ tests/kernel/boot_page_table/CMakeLists.txt | 2 ++ tests/kernel/common/CMakeLists.txt | 2 ++ tests/kernel/context/CMakeLists.txt | 2 ++ tests/kernel/critical/CMakeLists.txt | 2 ++ tests/kernel/device/CMakeLists.txt | 2 ++ tests/kernel/early_sleep/CMakeLists.txt | 2 ++ tests/kernel/fatal/CMakeLists.txt | 2 ++ tests/kernel/fifo/fifo_api/CMakeLists.txt | 2 ++ tests/kernel/fifo/fifo_timeout/CMakeLists.txt | 2 ++ tests/kernel/fifo/fifo_usage/CMakeLists.txt | 2 ++ tests/kernel/fp_sharing/CMakeLists.txt | 2 ++ tests/kernel/gen_isr_table/CMakeLists.txt | 2 ++ tests/kernel/interrupt/CMakeLists.txt | 2 ++ tests/kernel/lifo/lifo_api/CMakeLists.txt | 2 ++ tests/kernel/lifo/lifo_usage/CMakeLists.txt | 2 ++ tests/kernel/mbox/mbox_api/CMakeLists.txt | 2 ++ tests/kernel/mbox/mbox_usage/CMakeLists.txt | 2 ++ tests/kernel/mem_heap/mheap_api_concept/CMakeLists.txt | 2 ++ tests/kernel/mem_pool/mem_pool/CMakeLists.txt | 2 ++ tests/kernel/mem_pool/mem_pool_api/CMakeLists.txt | 2 ++ tests/kernel/mem_pool/mem_pool_concept/CMakeLists.txt | 2 ++ tests/kernel/mem_pool/mem_pool_threadsafe/CMakeLists.txt | 2 ++ tests/kernel/mem_pool/sys_mem_pool/CMakeLists.txt | 2 ++ tests/kernel/mem_protect/mem_protect/CMakeLists.txt | 2 ++ tests/kernel/mem_protect/obj_validation/CMakeLists.txt | 2 ++ tests/kernel/mem_protect/protection/CMakeLists.txt | 2 ++ tests/kernel/mem_protect/stack_random/CMakeLists.txt | 2 ++ tests/kernel/mem_protect/stackprot/CMakeLists.txt | 2 ++ tests/kernel/mem_protect/syscalls/CMakeLists.txt | 2 ++ tests/kernel/mem_protect/userspace/CMakeLists.txt | 2 ++ tests/kernel/mem_protect/x86_mmu_api/CMakeLists.txt | 2 ++ tests/kernel/mem_slab/mslab/CMakeLists.txt | 2 ++ tests/kernel/mem_slab/mslab_api/CMakeLists.txt | 2 ++ tests/kernel/mem_slab/mslab_concept/CMakeLists.txt | 2 ++ tests/kernel/mem_slab/mslab_threadsafe/CMakeLists.txt | 2 ++ tests/kernel/mp/CMakeLists.txt | 2 ++ tests/kernel/msgq/msgq_api/CMakeLists.txt | 2 ++ tests/kernel/mutex/mutex_api/CMakeLists.txt | 2 ++ tests/kernel/mutex/sys_mutex/CMakeLists.txt | 2 ++ tests/kernel/obj_tracing/CMakeLists.txt | 2 ++ tests/kernel/pending/CMakeLists.txt | 2 ++ tests/kernel/pipe/pipe/CMakeLists.txt | 2 ++ tests/kernel/pipe/pipe_api/CMakeLists.txt | 2 ++ tests/kernel/poll/CMakeLists.txt | 2 ++ tests/kernel/profiling/profiling_api/CMakeLists.txt | 2 ++ tests/kernel/profiling/profiling_api/Kconfig | 2 ++ tests/kernel/queue/CMakeLists.txt | 2 ++ tests/kernel/sched/deadline/CMakeLists.txt | 2 ++ tests/kernel/sched/preempt/CMakeLists.txt | 2 ++ tests/kernel/sched/schedule_api/CMakeLists.txt | 2 ++ tests/kernel/semaphore/sema_api/CMakeLists.txt | 2 ++ tests/kernel/semaphore/semaphore/CMakeLists.txt | 2 ++ tests/kernel/sleep/CMakeLists.txt | 2 ++ tests/kernel/smp/CMakeLists.txt | 2 ++ tests/kernel/spinlock/CMakeLists.txt | 2 ++ tests/kernel/stack/stack_api/CMakeLists.txt | 2 ++ tests/kernel/stack/stack_usage/CMakeLists.txt | 2 ++ tests/kernel/static_idt/CMakeLists.txt | 2 ++ tests/kernel/threads/dynamic_thread/CMakeLists.txt | 2 ++ tests/kernel/threads/no-multithreading/CMakeLists.txt | 2 ++ tests/kernel/threads/thread_apis/CMakeLists.txt | 2 ++ tests/kernel/threads/thread_init/CMakeLists.txt | 2 ++ tests/kernel/tickless/tickless/CMakeLists.txt | 2 ++ tests/kernel/tickless/tickless_concept/CMakeLists.txt | 2 ++ tests/kernel/timer/timer_api/CMakeLists.txt | 2 ++ tests/kernel/timer/timer_monotonic/CMakeLists.txt | 2 ++ tests/kernel/workq/work_queue/CMakeLists.txt | 2 ++ tests/kernel/workq/work_queue_api/CMakeLists.txt | 2 ++ tests/kernel/xip/CMakeLists.txt | 2 ++ tests/lib/base64/CMakeLists.txt | 2 ++ tests/lib/c_lib/CMakeLists.txt | 2 ++ tests/lib/json/CMakeLists.txt | 2 ++ tests/lib/mem_alloc/CMakeLists.txt | 2 ++ tests/lib/rbtree/CMakeLists.txt | 2 ++ tests/lib/ringbuffer/CMakeLists.txt | 2 ++ tests/lib/sprintf/CMakeLists.txt | 2 ++ tests/misc/test_build/CMakeLists.txt | 2 ++ tests/misc/util/CMakeLists.txt | 2 ++ tests/net/6lo/CMakeLists.txt | 2 ++ tests/net/all/CMakeLists.txt | 2 ++ tests/net/arp/CMakeLists.txt | 2 ++ tests/net/buf/CMakeLists.txt | 2 ++ tests/net/checksum_offload/CMakeLists.txt | 2 ++ tests/net/context/CMakeLists.txt | 2 ++ tests/net/dhcpv4/CMakeLists.txt | 2 ++ tests/net/ethernet_mgmt/CMakeLists.txt | 2 ++ tests/net/icmpv6/CMakeLists.txt | 2 ++ tests/net/ieee802154/crypto/CMakeLists.txt | 2 ++ tests/net/ieee802154/fragment/CMakeLists.txt | 2 ++ tests/net/ieee802154/l2/CMakeLists.txt | 2 ++ tests/net/iface/CMakeLists.txt | 2 ++ tests/net/ip-addr/CMakeLists.txt | 2 ++ tests/net/ipv6/CMakeLists.txt | 2 ++ tests/net/ipv6_fragment/CMakeLists.txt | 2 ++ tests/net/lib/coap/CMakeLists.txt | 2 ++ tests/net/lib/dns_packet/CMakeLists.txt | 2 ++ tests/net/lib/dns_resolve/CMakeLists.txt | 2 ++ tests/net/lib/http_header_fields/CMakeLists.txt | 2 ++ tests/net/lib/mqtt_packet/CMakeLists.txt | 2 ++ tests/net/lib/mqtt_publisher/CMakeLists.txt | 2 ++ tests/net/lib/mqtt_pubsub/CMakeLists.txt | 2 ++ tests/net/lib/mqtt_subscriber/CMakeLists.txt | 2 ++ tests/net/lib/tls_credentials/CMakeLists.txt | 2 ++ tests/net/mgmt/CMakeLists.txt | 2 ++ tests/net/mld/CMakeLists.txt | 2 ++ tests/net/neighbor/CMakeLists.txt | 2 ++ tests/net/net_pkt/CMakeLists.txt | 2 ++ tests/net/promiscuous/CMakeLists.txt | 2 ++ tests/net/ptp/clock/CMakeLists.txt | 2 ++ tests/net/route/CMakeLists.txt | 2 ++ tests/net/socket/getaddrinfo/CMakeLists.txt | 2 ++ tests/net/socket/getnameinfo/CMakeLists.txt | 2 ++ tests/net/socket/misc/CMakeLists.txt | 2 ++ tests/net/socket/poll/CMakeLists.txt | 2 ++ tests/net/socket/select/CMakeLists.txt | 2 ++ tests/net/socket/tcp/CMakeLists.txt | 2 ++ tests/net/socket/udp/CMakeLists.txt | 2 ++ tests/net/tcp/CMakeLists.txt | 2 ++ tests/net/traffic_class/CMakeLists.txt | 2 ++ tests/net/trickle/CMakeLists.txt | 2 ++ tests/net/tx_timestamp/CMakeLists.txt | 2 ++ tests/net/udp/CMakeLists.txt | 2 ++ tests/net/utils/CMakeLists.txt | 2 ++ tests/net/vlan/CMakeLists.txt | 2 ++ tests/posix/common/CMakeLists.txt | 2 ++ tests/posix/fs/CMakeLists.txt | 2 ++ tests/shell/CMakeLists.txt | 2 ++ tests/subsys/can/frame/CMakeLists.txt | 2 ++ tests/subsys/dfu/img_util/CMakeLists.txt | 2 ++ tests/subsys/dfu/mcuboot/CMakeLists.txt | 2 ++ tests/subsys/fs/fat_fs_api/CMakeLists.txt | 2 ++ tests/subsys/fs/fat_fs_dual_drive/CMakeLists.txt | 2 ++ tests/subsys/fs/fcb/CMakeLists.txt | 2 ++ tests/subsys/fs/multi-fs/CMakeLists.txt | 2 ++ tests/subsys/fs/nffs_fs_api/basic/CMakeLists.txt | 2 ++ tests/subsys/fs/nffs_fs_api/cache/CMakeLists.txt | 2 ++ tests/subsys/fs/nffs_fs_api/large/CMakeLists.txt | 2 ++ tests/subsys/fs/nffs_fs_api/performance/CMakeLists.txt | 2 ++ tests/subsys/jwt/CMakeLists.txt | 2 ++ tests/subsys/logging/log_core/CMakeLists.txt | 2 ++ tests/subsys/logging/log_list/CMakeLists.txt | 2 ++ tests/subsys/logging/log_msg/CMakeLists.txt | 2 ++ tests/subsys/logging/log_output/CMakeLists.txt | 2 ++ tests/subsys/settings/fcb/base64/CMakeLists.txt | 2 ++ tests/subsys/settings/fcb/raw/CMakeLists.txt | 2 ++ tests/subsys/settings/fcb_init/CMakeLists.txt | 2 ++ tests/subsys/settings/nffs/base64/CMakeLists.txt | 2 ++ tests/subsys/settings/nffs/raw/CMakeLists.txt | 2 ++ tests/subsys/storage/flash_map/CMakeLists.txt | 2 ++ tests/subsys/usb/bos/CMakeLists.txt | 2 ++ tests/subsys/usb/desc_sections/CMakeLists.txt | 2 ++ tests/subsys/usb/device/CMakeLists.txt | 2 ++ tests/subsys/usb/os_desc/CMakeLists.txt | 2 ++ tests/unit/bluetooth/at/CMakeLists.txt | 2 ++ tests/unit/lib/crc/CMakeLists.txt | 2 ++ tests/ztest/base/CMakeLists.txt | 2 ++ tests/ztest/mock/CMakeLists.txt | 2 ++ 1332 files changed, 2676 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e655e6895185..85e96b25887a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # *DOCUMENTATION* # # Note that this is *NOT* the top-level CMakeLists.txt. That's in the diff --git a/arch/CMakeLists.txt b/arch/CMakeLists.txt index 6d9d7ebe656f..1ffdc3b2f454 100644 --- a/arch/CMakeLists.txt +++ b/arch/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + add_definitions(-D__ZEPHYR_SUPERVISOR__) add_subdirectory(common) diff --git a/arch/arc/CMakeLists.txt b/arch/arc/CMakeLists.txt index 1685c08a2d08..49b2f555249e 100644 --- a/arch/arc/CMakeLists.txt +++ b/arch/arc/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Enable debug support in mdb # Dwarf version 2 can be recognized by mdb # The default dwarf version in gdb is not recognized by mdb diff --git a/arch/arc/core/CMakeLists.txt b/arch/arc/core/CMakeLists.txt index b97eb6f9e635..a2dca8d6eed7 100644 --- a/arch/arc/core/CMakeLists.txt +++ b/arch/arc/core/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources( diff --git a/arch/arc/core/mpu/CMakeLists.txt b/arch/arc/core/mpu/CMakeLists.txt index 8fdc3edaaf85..a81e4ebdb2cd 100644 --- a/arch/arc/core/mpu/CMakeLists.txt +++ b/arch/arc/core/mpu/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_if_kconfig(arc_core_mpu.c) diff --git a/arch/arm/CMakeLists.txt b/arch/arm/CMakeLists.txt index 3e76e8ba10dc..456150e1f8e6 100644 --- a/arch/arm/CMakeLists.txt +++ b/arch/arm/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(ARCH_FOR_cortex-m0 armv6s-m ) set(ARCH_FOR_cortex-m0plus armv6s-m ) set(ARCH_FOR_cortex-m3 armv7-m ) diff --git a/arch/arm/core/CMakeLists.txt b/arch/arm/core/CMakeLists.txt index 0cde3e5ea87e..8ff1502c8ac3 100644 --- a/arch/arm/core/CMakeLists.txt +++ b/arch/arm/core/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_compile_options_ifdef(CONFIG_COVERAGE_GCOV diff --git a/arch/arm/core/cortex_m/CMakeLists.txt b/arch/arm/core/cortex_m/CMakeLists.txt index adf8e9a281e7..58d0d8409144 100644 --- a/arch/arm/core/cortex_m/CMakeLists.txt +++ b/arch/arm/core/cortex_m/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources( diff --git a/arch/arm/core/cortex_m/cmse/CMakeLists.txt b/arch/arm/core/cortex_m/cmse/CMakeLists.txt index a8cb69dc28f5..5d779e8175fa 100644 --- a/arch/arm/core/cortex_m/cmse/CMakeLists.txt +++ b/arch/arm/core/cortex_m/cmse/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources(arm_core_cmse.c) diff --git a/arch/arm/core/cortex_m/mpu/CMakeLists.txt b/arch/arm/core/cortex_m/mpu/CMakeLists.txt index 466ac737f47c..5a552e22b623 100644 --- a/arch/arm/core/cortex_m/mpu/CMakeLists.txt +++ b/arch/arm/core/cortex_m/mpu/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources( arm_core_mpu.c) diff --git a/arch/arm/core/cortex_m/tz/CMakeLists.txt b/arch/arm/core/cortex_m/tz/CMakeLists.txt index 2e6ff46fc3b1..36fe6123e20b 100644 --- a/arch/arm/core/cortex_m/tz/CMakeLists.txt +++ b/arch/arm/core/cortex_m/tz/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # '-mcmse' enables the generation of code for the Secure state of the ARMv8-M # Security Extensions. This option is required when building a Secure firmware. zephyr_compile_options(-mcmse) diff --git a/arch/common/CMakeLists.txt b/arch/common/CMakeLists.txt index 1a5f3b5192ad..59a8a1781661 100644 --- a/arch/common/CMakeLists.txt +++ b/arch/common/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Put functions and data in their own binary sections so that ld can # garbage collect them zephyr_cc_option(-ffunction-sections -fdata-sections) diff --git a/arch/nios2/CMakeLists.txt b/arch/nios2/CMakeLists.txt index ec9eb1ccec86..f0424b169b6f 100644 --- a/arch/nios2/CMakeLists.txt +++ b/arch/nios2/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_GP_NONE) set(gpopt none) elseif(CONFIG_GP_LOCAL) diff --git a/arch/nios2/core/CMakeLists.txt b/arch/nios2/core/CMakeLists.txt index 602ec398f030..63ecaaffed45 100644 --- a/arch/nios2/core/CMakeLists.txt +++ b/arch/nios2/core/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources( thread.c cpu_idle.c diff --git a/arch/posix/CMakeLists.txt b/arch/posix/CMakeLists.txt index fddeb616f7ca..35110ed44806 100644 --- a/arch/posix/CMakeLists.txt +++ b/arch/posix/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_compile_options( -fno-freestanding -m32 diff --git a/arch/posix/core/CMakeLists.txt b/arch/posix/core/CMakeLists.txt index 9e052a5ae9b4..edf13fee5b26 100644 --- a/arch/posix/core/CMakeLists.txt +++ b/arch/posix/core/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_compile_definitions(NO_POSIX_CHEATS) zephyr_library_sources( diff --git a/arch/riscv32/CMakeLists.txt b/arch/riscv32/CMakeLists.txt index a902d8f6a9a6..b4a03b8fb658 100644 --- a/arch/riscv32/CMakeLists.txt +++ b/arch/riscv32/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + add_subdirectory(core) set_property(GLOBAL PROPERTY PROPERTY_OUTPUT_FORMAT elf32-littleriscv) diff --git a/arch/riscv32/core/CMakeLists.txt b/arch/riscv32/core/CMakeLists.txt index 69c8e2693f46..4b6713269766 100644 --- a/arch/riscv32/core/CMakeLists.txt +++ b/arch/riscv32/core/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources( cpu_idle.c fatal.c diff --git a/arch/x86/CMakeLists.txt b/arch/x86/CMakeLists.txt index c948b5f48b51..3b1ecb492d46 100644 --- a/arch/x86/CMakeLists.txt +++ b/arch/x86/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Find out if we are optimizing for size get_target_property(zephyr_COMPILE_OPTIONS zephyr_interface INTERFACE_COMPILE_OPTIONS) diff --git a/arch/x86/core/CMakeLists.txt b/arch/x86/core/CMakeLists.txt index e5b524b752ea..876ca4bff006 100644 --- a/arch/x86/core/CMakeLists.txt +++ b/arch/x86/core/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() if (CMAKE_C_COMPILER_ID STREQUAL "Clang") diff --git a/arch/x86_64/CMakeLists.txt b/arch/x86_64/CMakeLists.txt index 7975866fdeb1..ac7ce2c9fd45 100644 --- a/arch/x86_64/CMakeLists.txt +++ b/arch/x86_64/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(X86_64_BASE_CFLAGS -ffreestanding -fno-pic diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig index ce96f836f336..c4dc9b90fe78 100644 --- a/arch/x86_64/Kconfig +++ b/arch/x86_64/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config ARCH default "x86_64" diff --git a/arch/x86_64/core/CMakeLists.txt b/arch/x86_64/core/CMakeLists.txt index 9c779afd5744..c9200c61cd7a 100644 --- a/arch/x86_64/core/CMakeLists.txt +++ b/arch/x86_64/core/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources( diff --git a/arch/x86_64/core/Makefile.xuk b/arch/x86_64/core/Makefile.xuk index a9b393f6dec7..7500666364ae 100644 --- a/arch/x86_64/core/Makefile.xuk +++ b/arch/x86_64/core/Makefile.xuk @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Any linux host toolchain should work as a default CC ?= gcc OBJCOPY ?= objcopy diff --git a/arch/x86_64/core/xuk-stub32.ld b/arch/x86_64/core/xuk-stub32.ld index 16e50761c637..3eb4d869f9e5 100644 --- a/arch/x86_64/core/xuk-stub32.ld +++ b/arch/x86_64/core/xuk-stub32.ld @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + ENTRY(_start) PHDRS { diff --git a/arch/x86_64/core/xuk64.ld b/arch/x86_64/core/xuk64.ld index 235b576e6488..dd8907f51bd4 100644 --- a/arch/x86_64/core/xuk64.ld +++ b/arch/x86_64/core/xuk64.ld @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + SECTIONS { . = 0x100000; diff --git a/arch/xtensa/CMakeLists.txt b/arch/xtensa/CMakeLists.txt index 83b543333ae1..133d74331d8e 100644 --- a/arch/xtensa/CMakeLists.txt +++ b/arch/xtensa/CMakeLists.txt @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + set_property(GLOBAL PROPERTY PROPERTY_OUTPUT_FORMAT elf32-xtensa-le) add_subdirectory(core) diff --git a/arch/xtensa/core/CMakeLists.txt b/arch/xtensa/core/CMakeLists.txt index 672d897cd811..c364d3f8272b 100644 --- a/arch/xtensa/core/CMakeLists.txt +++ b/arch/xtensa/core/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_cc_option(-mlongcalls) zephyr_sources( cpu_idle.c diff --git a/arch/xtensa/core/startup/CMakeLists.txt b/arch/xtensa/core/startup/CMakeLists.txt index e55af6e1f0fe..c3283d900644 100644 --- a/arch/xtensa/core/startup/CMakeLists.txt +++ b/arch/xtensa/core/startup/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_XTENSA_RESET_VECTOR) zephyr_library() diff --git a/boards/CMakeLists.txt b/boards/CMakeLists.txt index e7cdc7eea7df..943e52667e27 100644 --- a/boards/CMakeLists.txt +++ b/boards/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # To avoid a lot of empty CMakeLists.txt files we assume it is not an # error if it is missing diff --git a/boards/Kconfig b/boards/Kconfig index b19a284c5211..08498c5b763b 100644 --- a/boards/Kconfig +++ b/boards/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_DEPRECATED string help diff --git a/boards/arc/arduino_101_sss/Kconfig.board b/boards/arc/arduino_101_sss/Kconfig.board index 44c599e2027a..4855396977d3 100644 --- a/boards/arc/arduino_101_sss/Kconfig.board +++ b/boards/arc/arduino_101_sss/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_ARDUINO_101_SSS bool "Arduino 101 Sensor Sub System" depends on SOC_QUARK_SE_C1000_SS diff --git a/boards/arc/arduino_101_sss/Kconfig.defconfig b/boards/arc/arduino_101_sss/Kconfig.defconfig index 9a811e59797b..7051ecf7c33b 100644 --- a/boards/arc/arduino_101_sss/Kconfig.defconfig +++ b/boards/arc/arduino_101_sss/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_ARDUINO_101_SSS config BOARD diff --git a/boards/arc/arduino_101_sss/arduino_101_sss.dts b/boards/arc/arduino_101_sss/arduino_101_sss.dts index b08d3623b7f4..e3699f14e7ff 100644 --- a/boards/arc/arduino_101_sss/arduino_101_sss.dts +++ b/boards/arc/arduino_101_sss/arduino_101_sss.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/arc/arduino_101_sss/arduino_101_sss_defconfig b/boards/arc/arduino_101_sss/arduino_101_sss_defconfig index 539ab2fadc79..c8211f14d7a3 100644 --- a/boards/arc/arduino_101_sss/arduino_101_sss_defconfig +++ b/boards/arc/arduino_101_sss/arduino_101_sss_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARC=y CONFIG_SOC_QUARK_SE_C1000_SS=y CONFIG_BOARD_ARDUINO_101_SSS=y diff --git a/boards/arc/arduino_101_sss/board.cmake b/boards/arc/arduino_101_sss/board.cmake index a249dddc5930..cbedaec93c35 100644 --- a/boards/arc/arduino_101_sss/board.cmake +++ b/boards/arc/arduino_101_sss/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(DEFINED ENV{ZEPHYR_FLASH_OVER_DFU}) set(BOARD_FLASH_RUNNER dfu-util) else() diff --git a/boards/arc/em_starterkit/CMakeLists.txt b/boards/arc/em_starterkit/CMakeLists.txt index 326f6656e23d..5b1b4b9b11bf 100644 --- a/boards/arc/em_starterkit/CMakeLists.txt +++ b/boards/arc/em_starterkit/CMakeLists.txt @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources(pmodmux.c) zephyr_sources_ifdef(CONFIG_ARC_MPU_ENABLE arc_mpu_regions.c) diff --git a/boards/arc/em_starterkit/Kconfig.defconfig b/boards/arc/em_starterkit/Kconfig.defconfig index 0493d1d540fe..f0c775656744 100644 --- a/boards/arc/em_starterkit/Kconfig.defconfig +++ b/boards/arc/em_starterkit/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_EM_STARTERKIT config BOARD diff --git a/boards/arc/em_starterkit/board.cmake b/boards/arc/em_starterkit/board.cmake index 02525f205afc..c5df901aa162 100644 --- a/boards/arc/em_starterkit/board.cmake +++ b/boards/arc/em_starterkit/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # TODO: can this board just use the usual openocd runner? set(BOARD_FLASH_RUNNER em-starterkit) set(BOARD_DEBUG_RUNNER em-starterkit) diff --git a/boards/arc/em_starterkit/board.dtsi b/boards/arc/em_starterkit/board.dtsi index b3ec81b93246..ec5ca679322a 100644 --- a/boards/arc/em_starterkit/board.dtsi +++ b/boards/arc/em_starterkit/board.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + / { aliases { led0 = &led0; diff --git a/boards/arc/em_starterkit/em_starterkit_defconfig b/boards/arc/em_starterkit/em_starterkit_defconfig index 4afa2b29f449..15414a299518 100644 --- a/boards/arc/em_starterkit/em_starterkit_defconfig +++ b/boards/arc/em_starterkit/em_starterkit_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARC=y CONFIG_SOC_EMSK=y CONFIG_SOC_EMSK_EM9D=y diff --git a/boards/arc/em_starterkit/em_starterkit_em11d_defconfig b/boards/arc/em_starterkit/em_starterkit_em11d_defconfig index 2f4d5c5978da..0dd02c0bbb52 100644 --- a/boards/arc/em_starterkit/em_starterkit_em11d_defconfig +++ b/boards/arc/em_starterkit/em_starterkit_em11d_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARC=y CONFIG_SOC_EMSK=y CONFIG_SOC_EMSK_EM11D=y diff --git a/boards/arc/em_starterkit/em_starterkit_em7d_defconfig b/boards/arc/em_starterkit/em_starterkit_em7d_defconfig index ab8c69d83393..77ab17a9c6a3 100644 --- a/boards/arc/em_starterkit/em_starterkit_em7d_defconfig +++ b/boards/arc/em_starterkit/em_starterkit_em7d_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARC=y CONFIG_SOC_EMSK=y CONFIG_SOC_EMSK_EM7D=y diff --git a/boards/arc/em_starterkit/em_starterkit_em7d_v22_defconfig b/boards/arc/em_starterkit/em_starterkit_em7d_v22_defconfig index feb150c6892b..bdbcb53f252f 100644 --- a/boards/arc/em_starterkit/em_starterkit_em7d_v22_defconfig +++ b/boards/arc/em_starterkit/em_starterkit_em7d_v22_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARC=y CONFIG_SOC_EMSK=y CONFIG_SOC_EMSK_EM7D=y diff --git a/boards/arc/iotdk/CMakeLists.txt b/boards/arc/iotdk/CMakeLists.txt index ba9f9e45f8f4..28d0f0d11ccf 100644 --- a/boards/arc/iotdk/CMakeLists.txt +++ b/boards/arc/iotdk/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_ARC_MPU_ENABLE arc_mpu_regions.c) diff --git a/boards/arc/iotdk/Kconfig.defconfig b/boards/arc/iotdk/Kconfig.defconfig index 6de7c4afa6e1..e388aab60f57 100644 --- a/boards/arc/iotdk/Kconfig.defconfig +++ b/boards/arc/iotdk/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_IOTDK config BOARD diff --git a/boards/arc/iotdk/board.cmake b/boards/arc/iotdk/board.cmake index 02525f205afc..c5df901aa162 100644 --- a/boards/arc/iotdk/board.cmake +++ b/boards/arc/iotdk/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # TODO: can this board just use the usual openocd runner? set(BOARD_FLASH_RUNNER em-starterkit) set(BOARD_DEBUG_RUNNER em-starterkit) diff --git a/boards/arc/iotdk/board.dtsi b/boards/arc/iotdk/board.dtsi index e69de29bb2d1..0f1a02d0213e 100644 --- a/boards/arc/iotdk/board.dtsi +++ b/boards/arc/iotdk/board.dtsi @@ -0,0 +1,2 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + diff --git a/boards/arc/iotdk/iotdk_defconfig b/boards/arc/iotdk/iotdk_defconfig index 53064480e733..fefe37d7dff6 100644 --- a/boards/arc/iotdk/iotdk_defconfig +++ b/boards/arc/iotdk/iotdk_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARC=y CONFIG_SOC_ARC_IOT=y CONFIG_BOARD_IOTDK=y diff --git a/boards/arc/nsim_em/CMakeLists.txt b/boards/arc/nsim_em/CMakeLists.txt index ba9f9e45f8f4..28d0f0d11ccf 100644 --- a/boards/arc/nsim_em/CMakeLists.txt +++ b/boards/arc/nsim_em/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_ARC_MPU_ENABLE arc_mpu_regions.c) diff --git a/boards/arc/nsim_em/Kconfig.defconfig b/boards/arc/nsim_em/Kconfig.defconfig index 7e1c0170f5f3..9b9325ccc8c9 100644 --- a/boards/arc/nsim_em/Kconfig.defconfig +++ b/boards/arc/nsim_em/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_NSIM_EM config BOARD diff --git a/boards/arc/nsim_em/board.cmake b/boards/arc/nsim_em/board.cmake index d4234b39ba38..e3eddf89b42f 100644 --- a/boards/arc/nsim_em/board.cmake +++ b/boards/arc/nsim_em/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(EMU_PLATFORM nsim) set(BOARD_FLASH_RUNNER arc-nsim) diff --git a/boards/arc/nsim_em/nsim_em_defconfig b/boards/arc/nsim_em/nsim_em_defconfig index bb002d3b3b22..2398d33c694a 100644 --- a/boards/arc/nsim_em/nsim_em_defconfig +++ b/boards/arc/nsim_em/nsim_em_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARC=y CONFIG_SOC_NSIM=y CONFIG_SOC_NSIM_EM=y diff --git a/boards/arc/nsim_em/nsim_em_mpu_stack_guard_defconfig b/boards/arc/nsim_em/nsim_em_mpu_stack_guard_defconfig index fe924fa8e3df..a977a804242f 100644 --- a/boards/arc/nsim_em/nsim_em_mpu_stack_guard_defconfig +++ b/boards/arc/nsim_em/nsim_em_mpu_stack_guard_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARC=y CONFIG_SOC_NSIM=y CONFIG_SOC_NSIM_EM=y diff --git a/boards/arc/nsim_em/nsim_sem_defconfig b/boards/arc/nsim_em/nsim_sem_defconfig index 0b954046746d..fa97ff7e9a14 100644 --- a/boards/arc/nsim_em/nsim_sem_defconfig +++ b/boards/arc/nsim_em/nsim_sem_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARC=y CONFIG_SOC_NSIM=y CONFIG_SOC_NSIM_SEM=y diff --git a/boards/arc/nsim_em/nsim_sem_mpu_stack_guard_defconfig b/boards/arc/nsim_em/nsim_sem_mpu_stack_guard_defconfig index 18a7e49f2c82..c4bfc88f1d29 100644 --- a/boards/arc/nsim_em/nsim_sem_mpu_stack_guard_defconfig +++ b/boards/arc/nsim_em/nsim_sem_mpu_stack_guard_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARC=y CONFIG_SOC_NSIM=y CONFIG_SOC_NSIM_SEM=y diff --git a/boards/arc/quark_se_c1000_ss_devboard/Kconfig.board b/boards/arc/quark_se_c1000_ss_devboard/Kconfig.board index 6cf23f085db3..d1a90e4d665e 100644 --- a/boards/arc/quark_se_c1000_ss_devboard/Kconfig.board +++ b/boards/arc/quark_se_c1000_ss_devboard/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_QUARK_SE_C1000_DEVBOARD_SS bool "Quark SE C1000 - Sensor Sub System" depends on SOC_QUARK_SE_C1000_SS diff --git a/boards/arc/quark_se_c1000_ss_devboard/Kconfig.defconfig b/boards/arc/quark_se_c1000_ss_devboard/Kconfig.defconfig index 10416e670656..dcd79333070a 100644 --- a/boards/arc/quark_se_c1000_ss_devboard/Kconfig.defconfig +++ b/boards/arc/quark_se_c1000_ss_devboard/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_QUARK_SE_C1000_DEVBOARD_SS config BOARD diff --git a/boards/arc/quark_se_c1000_ss_devboard/board.cmake b/boards/arc/quark_se_c1000_ss_devboard/board.cmake index 6c509bb0be0f..f0d86376cabb 100644 --- a/boards/arc/quark_se_c1000_ss_devboard/board.cmake +++ b/boards/arc/quark_se_c1000_ss_devboard/board.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(openocd --cmd-pre-load "targets 1") include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arc/quark_se_c1000_ss_devboard/quark_se_c1000_ss_devboard.dts b/boards/arc/quark_se_c1000_ss_devboard/quark_se_c1000_ss_devboard.dts index 803d774112e0..66a138b2aa8c 100644 --- a/boards/arc/quark_se_c1000_ss_devboard/quark_se_c1000_ss_devboard.dts +++ b/boards/arc/quark_se_c1000_ss_devboard/quark_se_c1000_ss_devboard.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/arc/quark_se_c1000_ss_devboard/quark_se_c1000_ss_devboard_defconfig b/boards/arc/quark_se_c1000_ss_devboard/quark_se_c1000_ss_devboard_defconfig index b7b5abc728d3..50dc443714f8 100644 --- a/boards/arc/quark_se_c1000_ss_devboard/quark_se_c1000_ss_devboard_defconfig +++ b/boards/arc/quark_se_c1000_ss_devboard/quark_se_c1000_ss_devboard_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARC=y CONFIG_SOC_QUARK_SE_C1000_SS=y CONFIG_BOARD_QUARK_SE_C1000_DEVBOARD_SS=y diff --git a/boards/arm/96b_argonkey/96b_argonkey_defconfig b/boards/arm/96b_argonkey/96b_argonkey_defconfig index e792356e13b7..0f08a3092f07 100644 --- a/boards/arm/96b_argonkey/96b_argonkey_defconfig +++ b/boards/arm/96b_argonkey/96b_argonkey_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_SERIES_STM32F4X=y CONFIG_SOC_STM32F412CG=y diff --git a/boards/arm/96b_argonkey/CMakeLists.txt b/boards/arm/96b_argonkey/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/96b_argonkey/CMakeLists.txt +++ b/boards/arm/96b_argonkey/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/96b_carbon/96b_carbon_defconfig b/boards/arm/96b_carbon/96b_carbon_defconfig index 65aa2422d564..5859b16560d6 100644 --- a/boards/arm/96b_carbon/96b_carbon_defconfig +++ b/boards/arm/96b_carbon/96b_carbon_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_SERIES_STM32F4X=y CONFIG_SOC_STM32F401XE=y diff --git a/boards/arm/96b_carbon/CMakeLists.txt b/boards/arm/96b_carbon/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/96b_carbon/CMakeLists.txt +++ b/boards/arm/96b_carbon/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/96b_carbon/board.cmake b/boards/arm/96b_carbon/board.cmake index 5dbb01e1f1bd..2e222be114cf 100644 --- a/boards/arm/96b_carbon/board.cmake +++ b/boards/arm/96b_carbon/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse") include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake) diff --git a/boards/arm/96b_carbon_nrf51/96b_carbon_nrf51_defconfig b/boards/arm/96b_carbon_nrf51/96b_carbon_nrf51_defconfig index 5606b1b2e4c7..1662ae180703 100644 --- a/boards/arm/96b_carbon_nrf51/96b_carbon_nrf51_defconfig +++ b/boards/arm/96b_carbon_nrf51/96b_carbon_nrf51_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF51X=y diff --git a/boards/arm/96b_neonkey/96b_neonkey_defconfig b/boards/arm/96b_neonkey/96b_neonkey_defconfig index 61a204574707..4f57013337be 100644 --- a/boards/arm/96b_neonkey/96b_neonkey_defconfig +++ b/boards/arm/96b_neonkey/96b_neonkey_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_SERIES_STM32F4X=y CONFIG_SOC_STM32F411XE=y diff --git a/boards/arm/96b_neonkey/CMakeLists.txt b/boards/arm/96b_neonkey/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/96b_neonkey/CMakeLists.txt +++ b/boards/arm/96b_neonkey/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/96b_nitrogen/96b_nitrogen_defconfig b/boards/arm/96b_nitrogen/96b_nitrogen_defconfig index e11aae323b94..164bc083b19a 100644 --- a/boards/arm/96b_nitrogen/96b_nitrogen_defconfig +++ b/boards/arm/96b_nitrogen/96b_nitrogen_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF52X=y diff --git a/boards/arm/96b_nitrogen/board.cmake b/boards/arm/96b_nitrogen/board.cmake index 2c285e42dd02..3f9412355890 100644 --- a/boards/arm/96b_nitrogen/board.cmake +++ b/boards/arm/96b_nitrogen/board.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(pyocd "--target=nrf52") include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) diff --git a/boards/arm/96b_stm32_sensor_mez/96b_stm32_sensor_mez_defconfig b/boards/arm/96b_stm32_sensor_mez/96b_stm32_sensor_mez_defconfig index 69886a4e55c9..5118a0b2b9e0 100644 --- a/boards/arm/96b_stm32_sensor_mez/96b_stm32_sensor_mez_defconfig +++ b/boards/arm/96b_stm32_sensor_mez/96b_stm32_sensor_mez_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_96B_STM32_SENSOR_MEZ=y CONFIG_SOC_SERIES_STM32F4X=y diff --git a/boards/arm/96b_stm32_sensor_mez/CMakeLists.txt b/boards/arm/96b_stm32_sensor_mez/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/96b_stm32_sensor_mez/CMakeLists.txt +++ b/boards/arm/96b_stm32_sensor_mez/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/96b_stm32_sensor_mez/board.cmake b/boards/arm/96b_stm32_sensor_mez/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/96b_stm32_sensor_mez/board.cmake +++ b/boards/arm/96b_stm32_sensor_mez/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/adafruit_feather_m0_basic_proto/CMakeLists.txt b/boards/arm/adafruit_feather_m0_basic_proto/CMakeLists.txt index 96ab6caa781e..69ff5e8fbf83 100644 --- a/boards/arm/adafruit_feather_m0_basic_proto/CMakeLists.txt +++ b/boards/arm/adafruit_feather_m0_basic_proto/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_PINMUX_SAM0) zephyr_library() zephyr_library_sources(pinmux.c) diff --git a/boards/arm/adafruit_feather_m0_basic_proto/adafruit_feather_m0_basic_proto_defconfig b/boards/arm/adafruit_feather_m0_basic_proto/adafruit_feather_m0_basic_proto_defconfig index 1e21d77afb46..8d68715fc747 100644 --- a/boards/arm/adafruit_feather_m0_basic_proto/adafruit_feather_m0_basic_proto_defconfig +++ b/boards/arm/adafruit_feather_m0_basic_proto/adafruit_feather_m0_basic_proto_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_SAM0=y CONFIG_SOC_SERIES_SAMD21=y diff --git a/boards/arm/adafruit_trinket_m0/CMakeLists.txt b/boards/arm/adafruit_trinket_m0/CMakeLists.txt index 96ab6caa781e..69ff5e8fbf83 100644 --- a/boards/arm/adafruit_trinket_m0/CMakeLists.txt +++ b/boards/arm/adafruit_trinket_m0/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_PINMUX_SAM0) zephyr_library() zephyr_library_sources(pinmux.c) diff --git a/boards/arm/adafruit_trinket_m0/adafruit_trinket_m0_defconfig b/boards/arm/adafruit_trinket_m0/adafruit_trinket_m0_defconfig index 668e91cc06a1..768cc65a371a 100644 --- a/boards/arm/adafruit_trinket_m0/adafruit_trinket_m0_defconfig +++ b/boards/arm/adafruit_trinket_m0/adafruit_trinket_m0_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_SAM0=y CONFIG_SOC_SERIES_SAMD21=y diff --git a/boards/arm/arduino_due/arduino_due.dts b/boards/arm/arduino_due/arduino_due.dts index 359f95bf3e93..91ce9a302852 100644 --- a/boards/arm/arduino_due/arduino_due.dts +++ b/boards/arm/arduino_due/arduino_due.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/arm/arduino_due/arduino_due_defconfig b/boards/arm/arduino_due/arduino_due_defconfig index 8e2f7619abf9..08e6fcf5f4d9 100644 --- a/boards/arm/arduino_due/arduino_due_defconfig +++ b/boards/arm/arduino_due/arduino_due_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_SAM=y CONFIG_SOC_SERIES_SAM3X=y diff --git a/boards/arm/arduino_due/board.cmake b/boards/arm/arduino_due/board.cmake index 1694a49d8b87..cb4ff22b5cc2 100644 --- a/boards/arm/arduino_due/board.cmake +++ b/boards/arm/arduino_due/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/bossac.board.cmake) diff --git a/boards/arm/arduino_zero/CMakeLists.txt b/boards/arm/arduino_zero/CMakeLists.txt index 96ab6caa781e..69ff5e8fbf83 100644 --- a/boards/arm/arduino_zero/CMakeLists.txt +++ b/boards/arm/arduino_zero/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_PINMUX_SAM0) zephyr_library() zephyr_library_sources(pinmux.c) diff --git a/boards/arm/arduino_zero/arduino_zero_defconfig b/boards/arm/arduino_zero/arduino_zero_defconfig index 6021449d0e48..a18a79677828 100644 --- a/boards/arm/arduino_zero/arduino_zero_defconfig +++ b/boards/arm/arduino_zero/arduino_zero_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_SAM0=y CONFIG_SOC_SERIES_SAMD21=y diff --git a/boards/arm/atsamd20_xpro/CMakeLists.txt b/boards/arm/atsamd20_xpro/CMakeLists.txt index 96ab6caa781e..69ff5e8fbf83 100644 --- a/boards/arm/atsamd20_xpro/CMakeLists.txt +++ b/boards/arm/atsamd20_xpro/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_PINMUX_SAM0) zephyr_library() zephyr_library_sources(pinmux.c) diff --git a/boards/arm/atsamd20_xpro/atsamd20_xpro_defconfig b/boards/arm/atsamd20_xpro/atsamd20_xpro_defconfig index dc42af766225..6fa51c8778e4 100644 --- a/boards/arm/atsamd20_xpro/atsamd20_xpro_defconfig +++ b/boards/arm/atsamd20_xpro/atsamd20_xpro_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_SAM0=y CONFIG_SOC_SERIES_SAMD20=y diff --git a/boards/arm/b_l072z_lrwan1/CMakeLists.txt b/boards/arm/b_l072z_lrwan1/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/b_l072z_lrwan1/CMakeLists.txt +++ b/boards/arm/b_l072z_lrwan1/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/b_l072z_lrwan1/b_l072z_lrwan1_defconfig b/boards/arm/b_l072z_lrwan1/b_l072z_lrwan1_defconfig index 3fc4739acc75..07e6ce28f558 100644 --- a/boards/arm/b_l072z_lrwan1/b_l072z_lrwan1_defconfig +++ b/boards/arm/b_l072z_lrwan1/b_l072z_lrwan1_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Zephyr Kernel Configuration CONFIG_ARM=y CONFIG_SOC_SERIES_STM32L0X=y diff --git a/boards/arm/b_l072z_lrwan1/board.cmake b/boards/arm/b_l072z_lrwan1/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/b_l072z_lrwan1/board.cmake +++ b/boards/arm/b_l072z_lrwan1/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/bbc_microbit/bbc_microbit_defconfig b/boards/arm/bbc_microbit/bbc_microbit_defconfig index 74cf8d550ba1..e8cd301a5ba9 100644 --- a/boards/arm/bbc_microbit/bbc_microbit_defconfig +++ b/boards/arm/bbc_microbit/bbc_microbit_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF51X=y diff --git a/boards/arm/bbc_microbit/board.cmake b/boards/arm/bbc_microbit/board.cmake index 3a2049869cb5..5ff914cd210e 100644 --- a/boards/arm/bbc_microbit/board.cmake +++ b/boards/arm/bbc_microbit/board.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(pyocd "--target=nrf51") include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) diff --git a/boards/arm/bl652_dvk/bl652_dvk_defconfig b/boards/arm/bl652_dvk/bl652_dvk_defconfig index 75b0c07125b1..d635e45b05d2 100644 --- a/boards/arm/bl652_dvk/bl652_dvk_defconfig +++ b/boards/arm/bl652_dvk/bl652_dvk_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF52X=y diff --git a/boards/arm/bl652_dvk/board.cmake b/boards/arm/bl652_dvk/board.cmake index 1181243fbfe5..ddd57ab8839a 100644 --- a/boards/arm/bl652_dvk/board.cmake +++ b/boards/arm/bl652_dvk/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(nrfjprog "--nrf-family=NRF52") board_runner_args(jlink "--device=nrf52" "--speed=4000") include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) diff --git a/boards/arm/bl654_dvk/bl654_dvk_defconfig b/boards/arm/bl654_dvk/bl654_dvk_defconfig index 03d4d4264c9b..36702abb0829 100644 --- a/boards/arm/bl654_dvk/bl654_dvk_defconfig +++ b/boards/arm/bl654_dvk/bl654_dvk_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF52X=y diff --git a/boards/arm/bl654_dvk/board.cmake b/boards/arm/bl654_dvk/board.cmake index 1181243fbfe5..ddd57ab8839a 100644 --- a/boards/arm/bl654_dvk/board.cmake +++ b/boards/arm/bl654_dvk/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(nrfjprog "--nrf-family=NRF52") board_runner_args(jlink "--device=nrf52" "--speed=4000") include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) diff --git a/boards/arm/cc2650_sensortag/CMakeLists.txt b/boards/arm/cc2650_sensortag/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/cc2650_sensortag/CMakeLists.txt +++ b/boards/arm/cc2650_sensortag/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/cc3220sf_launchxl/CMakeLists.txt b/boards/arm/cc3220sf_launchxl/CMakeLists.txt index e5c8e6975d5a..04348d1cad80 100644 --- a/boards/arm/cc3220sf_launchxl/CMakeLists.txt +++ b/boards/arm/cc3220sf_launchxl/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources( pinmux.c diff --git a/boards/arm/cc3220sf_launchxl/Kconfig.board b/boards/arm/cc3220sf_launchxl/Kconfig.board index 6ebecc778d67..b2566891a006 100644 --- a/boards/arm/cc3220sf_launchxl/Kconfig.board +++ b/boards/arm/cc3220sf_launchxl/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Kconfig - TI SimpleLink CC3220SF LaunchXL Board # diff --git a/boards/arm/cc3220sf_launchxl/Kconfig.defconfig b/boards/arm/cc3220sf_launchxl/Kconfig.defconfig index e7e7aff1c544..9735ce0d19d0 100644 --- a/boards/arm/cc3220sf_launchxl/Kconfig.defconfig +++ b/boards/arm/cc3220sf_launchxl/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Kconfig - TI CC3220SF LaunchXL board configuration # diff --git a/boards/arm/cc3220sf_launchxl/board.cmake b/boards/arm/cc3220sf_launchxl/board.cmake index 986873096bb6..a88265eeb2c4 100644 --- a/boards/arm/cc3220sf_launchxl/board.cmake +++ b/boards/arm/cc3220sf_launchxl/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Use the TI OpenOCD (by default in /usr/local/openocd) # See the Zephyr project CC3220SF_LAUNCHXL documentation on # flashing prerequisites. diff --git a/boards/arm/cc3220sf_launchxl/cc3220sf_launchxl.dts b/boards/arm/cc3220sf_launchxl/cc3220sf_launchxl.dts index 9f98e677f9dd..6e2b5e9e168f 100644 --- a/boards/arm/cc3220sf_launchxl/cc3220sf_launchxl.dts +++ b/boards/arm/cc3220sf_launchxl/cc3220sf_launchxl.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/arm/cc3220sf_launchxl/cc3220sf_launchxl_defconfig b/boards/arm/cc3220sf_launchxl/cc3220sf_launchxl_defconfig index acd616ce8fea..d708f54e0e39 100644 --- a/boards/arm/cc3220sf_launchxl/cc3220sf_launchxl_defconfig +++ b/boards/arm/cc3220sf_launchxl/cc3220sf_launchxl_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_CC3220SF_LAUNCHXL=y CONFIG_SOC_FAMILY_TISIMPLELINK=y diff --git a/boards/arm/curie_ble/board.cmake b/boards/arm/curie_ble/board.cmake index b5569570cc20..b5455c53bbec 100644 --- a/boards/arm/curie_ble/board.cmake +++ b/boards/arm/curie_ble/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(dfu-util "--pid=8087:0aba" "--alt=ble_core") include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake) diff --git a/boards/arm/curie_ble/curie_ble_defconfig b/boards/arm/curie_ble/curie_ble_defconfig index b166ec66eaa0..e28c94518787 100644 --- a/boards/arm/curie_ble/curie_ble_defconfig +++ b/boards/arm/curie_ble/curie_ble_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF51X=y diff --git a/boards/arm/disco_l475_iot1/CMakeLists.txt b/boards/arm/disco_l475_iot1/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/disco_l475_iot1/CMakeLists.txt +++ b/boards/arm/disco_l475_iot1/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/disco_l475_iot1/board.cmake b/boards/arm/disco_l475_iot1/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/disco_l475_iot1/board.cmake +++ b/boards/arm/disco_l475_iot1/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/disco_l475_iot1/disco_l475_iot1_defconfig b/boards/arm/disco_l475_iot1/disco_l475_iot1_defconfig index 73ae7abc2ee4..f09ebf474166 100644 --- a/boards/arm/disco_l475_iot1/disco_l475_iot1_defconfig +++ b/boards/arm/disco_l475_iot1/disco_l475_iot1_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_DISCO_L475_IOT1=y CONFIG_SOC_SERIES_STM32L4X=y diff --git a/boards/arm/dragino_lsn50/CMakeLists.txt b/boards/arm/dragino_lsn50/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/dragino_lsn50/CMakeLists.txt +++ b/boards/arm/dragino_lsn50/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/dragino_lsn50/board.cmake b/boards/arm/dragino_lsn50/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/dragino_lsn50/board.cmake +++ b/boards/arm/dragino_lsn50/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/dragino_lsn50/dragino_lsn50_defconfig b/boards/arm/dragino_lsn50/dragino_lsn50_defconfig index 90afb449b03f..2d9da2a8f5ce 100644 --- a/boards/arm/dragino_lsn50/dragino_lsn50_defconfig +++ b/boards/arm/dragino_lsn50/dragino_lsn50_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Zephyr Kernel Configuration CONFIG_ARM=y CONFIG_SOC_SERIES_STM32L0X=y diff --git a/boards/arm/efm32hg_slstk3400a/CMakeLists.txt b/boards/arm/efm32hg_slstk3400a/CMakeLists.txt index fedc7e195821..7d93487deb81 100644 --- a/boards/arm/efm32hg_slstk3400a/CMakeLists.txt +++ b/boards/arm/efm32hg_slstk3400a/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_UART_GECKO) zephyr_library() zephyr_library_sources(board.c) diff --git a/boards/arm/efm32hg_slstk3400a/efm32hg_slstk3400a_defconfig b/boards/arm/efm32hg_slstk3400a/efm32hg_slstk3400a_defconfig index 41cfb24ef040..ca970ffdd853 100644 --- a/boards/arm/efm32hg_slstk3400a/efm32hg_slstk3400a_defconfig +++ b/boards/arm/efm32hg_slstk3400a/efm32hg_slstk3400a_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_EXX32=y CONFIG_SOC_SERIES_EFM32HG=y diff --git a/boards/arm/efm32pg_stk3402a/CMakeLists.txt b/boards/arm/efm32pg_stk3402a/CMakeLists.txt index 0c35d352f476..24a92abf8fbb 100644 --- a/boards/arm/efm32pg_stk3402a/CMakeLists.txt +++ b/boards/arm/efm32pg_stk3402a/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_UART_GECKO) zephyr_library() zephyr_library_sources(board.c) diff --git a/boards/arm/efm32pg_stk3402a/efm32pg_stk3402a_defconfig b/boards/arm/efm32pg_stk3402a/efm32pg_stk3402a_defconfig index 28b125c6ff7e..4cd6f6c23678 100644 --- a/boards/arm/efm32pg_stk3402a/efm32pg_stk3402a_defconfig +++ b/boards/arm/efm32pg_stk3402a/efm32pg_stk3402a_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_EXX32=y CONFIG_SOC_SERIES_EFM32PG12B=y diff --git a/boards/arm/efm32wg_stk3800/CMakeLists.txt b/boards/arm/efm32wg_stk3800/CMakeLists.txt index fedc7e195821..7d93487deb81 100644 --- a/boards/arm/efm32wg_stk3800/CMakeLists.txt +++ b/boards/arm/efm32wg_stk3800/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_UART_GECKO) zephyr_library() zephyr_library_sources(board.c) diff --git a/boards/arm/efm32wg_stk3800/efm32wg_stk3800_defconfig b/boards/arm/efm32wg_stk3800/efm32wg_stk3800_defconfig index 63edd59ba8b1..6d93cac89cc8 100644 --- a/boards/arm/efm32wg_stk3800/efm32wg_stk3800_defconfig +++ b/boards/arm/efm32wg_stk3800/efm32wg_stk3800_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_EXX32=y CONFIG_SOC_SERIES_EFM32WG=y diff --git a/boards/arm/efr32_slwstk6061a/CMakeLists.txt b/boards/arm/efr32_slwstk6061a/CMakeLists.txt index 0c35d352f476..24a92abf8fbb 100644 --- a/boards/arm/efr32_slwstk6061a/CMakeLists.txt +++ b/boards/arm/efr32_slwstk6061a/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_UART_GECKO) zephyr_library() zephyr_library_sources(board.c) diff --git a/boards/arm/efr32_slwstk6061a/board.cmake b/boards/arm/efr32_slwstk6061a/board.cmake index cd5addc2d73a..3f99de0e26ec 100644 --- a/boards/arm/efr32_slwstk6061a/board.cmake +++ b/boards/arm/efr32_slwstk6061a/board.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(openocd) include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/efr32_slwstk6061a/efr32_slwstk6061a_defconfig b/boards/arm/efr32_slwstk6061a/efr32_slwstk6061a_defconfig index a1f4c731ec90..97a2be24392b 100644 --- a/boards/arm/efr32_slwstk6061a/efr32_slwstk6061a_defconfig +++ b/boards/arm/efr32_slwstk6061a/efr32_slwstk6061a_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_EXX32=y CONFIG_SOC_SERIES_EFR32FG1P=y diff --git a/boards/arm/efr32mg_sltb004a/efr32mg_sltb004a_defconfig b/boards/arm/efr32mg_sltb004a/efr32mg_sltb004a_defconfig index 70d2564427ce..1e2d688ccf4e 100644 --- a/boards/arm/efr32mg_sltb004a/efr32mg_sltb004a_defconfig +++ b/boards/arm/efr32mg_sltb004a/efr32mg_sltb004a_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_EXX32=y CONFIG_SOC_SERIES_EFR32MG12P=y diff --git a/boards/arm/frdm_k64f/CMakeLists.txt b/boards/arm/frdm_k64f/CMakeLists.txt index fe3635c20501..a176e416064d 100644 --- a/boards/arm/frdm_k64f/CMakeLists.txt +++ b/boards/arm/frdm_k64f/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_PINMUX_MCUX) zephyr_library() zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/frdm_k64f/Kconfig.board b/boards/arm/frdm_k64f/Kconfig.board index de00e2220ad2..d57ffc907089 100644 --- a/boards/arm/frdm_k64f/Kconfig.board +++ b/boards/arm/frdm_k64f/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_FRDM_K64F bool "Freescale FRDM-K64F" depends on SOC_SERIES_KINETIS_K6X diff --git a/boards/arm/frdm_k64f/board.cmake b/boards/arm/frdm_k64f/board.cmake index 0025f97b5fb0..bba773a90cc1 100644 --- a/boards/arm/frdm_k64f/board.cmake +++ b/boards/arm/frdm_k64f/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(OPENSDA_FW daplink) if(OPENSDA_FW STREQUAL jlink) diff --git a/boards/arm/frdm_k64f/frdm_k64f.dts b/boards/arm/frdm_k64f/frdm_k64f.dts index e7f6da074f1c..d1691d745eec 100644 --- a/boards/arm/frdm_k64f/frdm_k64f.dts +++ b/boards/arm/frdm_k64f/frdm_k64f.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/arm/frdm_k64f/frdm_k64f_defconfig b/boards/arm/frdm_k64f/frdm_k64f_defconfig index 664e60491023..bdba9539b598 100644 --- a/boards/arm/frdm_k64f/frdm_k64f_defconfig +++ b/boards/arm/frdm_k64f/frdm_k64f_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_MK64F12=y CONFIG_SOC_SERIES_KINETIS_K6X=y diff --git a/boards/arm/frdm_kl25z/CMakeLists.txt b/boards/arm/frdm_kl25z/CMakeLists.txt index fe3635c20501..a176e416064d 100644 --- a/boards/arm/frdm_kl25z/CMakeLists.txt +++ b/boards/arm/frdm_kl25z/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_PINMUX_MCUX) zephyr_library() zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/frdm_kl25z/board.cmake b/boards/arm/frdm_kl25z/board.cmake index 7765a63de825..f9f5bf57c791 100644 --- a/boards/arm/frdm_kl25z/board.cmake +++ b/boards/arm/frdm_kl25z/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(OPENSDA_FW daplink) if(OPENSDA_FW STREQUAL jlink) diff --git a/boards/arm/frdm_kl25z/frdm_kl25z.dts b/boards/arm/frdm_kl25z/frdm_kl25z.dts index e113e1a6c433..2a942b672a64 100644 --- a/boards/arm/frdm_kl25z/frdm_kl25z.dts +++ b/boards/arm/frdm_kl25z/frdm_kl25z.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/arm/frdm_kl25z/frdm_kl25z_defconfig b/boards/arm/frdm_kl25z/frdm_kl25z_defconfig index 7edec8f9041f..5d3c9b6b9920 100644 --- a/boards/arm/frdm_kl25z/frdm_kl25z_defconfig +++ b/boards/arm/frdm_kl25z/frdm_kl25z_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_SERIES_KINETIS_KL2X=y CONFIG_BOARD_FRDM_KL25Z=y diff --git a/boards/arm/frdm_kw41z/CMakeLists.txt b/boards/arm/frdm_kw41z/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/frdm_kw41z/CMakeLists.txt +++ b/boards/arm/frdm_kw41z/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/frdm_kw41z/board.cmake b/boards/arm/frdm_kw41z/board.cmake index 6b5718f156cd..191026c761c3 100644 --- a/boards/arm/frdm_kw41z/board.cmake +++ b/boards/arm/frdm_kw41z/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(OPENSDA_FW daplink) if(OPENSDA_FW STREQUAL jlink) diff --git a/boards/arm/frdm_kw41z/frdm_kw41z.dts b/boards/arm/frdm_kw41z/frdm_kw41z.dts index d1473614ea33..058df731c8c4 100644 --- a/boards/arm/frdm_kw41z/frdm_kw41z.dts +++ b/boards/arm/frdm_kw41z/frdm_kw41z.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/arm/frdm_kw41z/frdm_kw41z_defconfig b/boards/arm/frdm_kw41z/frdm_kw41z_defconfig index 9a88574c7495..6416cf57ecbc 100644 --- a/boards/arm/frdm_kw41z/frdm_kw41z_defconfig +++ b/boards/arm/frdm_kw41z/frdm_kw41z_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_MKW41Z4=y CONFIG_SOC_SERIES_KINETIS_KWX=y diff --git a/boards/arm/hexiwear_k64/CMakeLists.txt b/boards/arm/hexiwear_k64/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/hexiwear_k64/CMakeLists.txt +++ b/boards/arm/hexiwear_k64/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/hexiwear_k64/board.cmake b/boards/arm/hexiwear_k64/board.cmake index e21e0968153a..e8ddbf24f765 100644 --- a/boards/arm/hexiwear_k64/board.cmake +++ b/boards/arm/hexiwear_k64/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(OPENSDA_FW jlink) if(OPENSDA_FW STREQUAL jlink) diff --git a/boards/arm/hexiwear_k64/hexiwear_k64.dts b/boards/arm/hexiwear_k64/hexiwear_k64.dts index 470b9be50e28..fd378ef01ee5 100644 --- a/boards/arm/hexiwear_k64/hexiwear_k64.dts +++ b/boards/arm/hexiwear_k64/hexiwear_k64.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/arm/hexiwear_k64/hexiwear_k64_defconfig b/boards/arm/hexiwear_k64/hexiwear_k64_defconfig index bbc4607aaa99..57ea68cb8348 100644 --- a/boards/arm/hexiwear_k64/hexiwear_k64_defconfig +++ b/boards/arm/hexiwear_k64/hexiwear_k64_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_MK64F12=y CONFIG_SOC_SERIES_KINETIS_K6X=y diff --git a/boards/arm/hexiwear_kw40z/CMakeLists.txt b/boards/arm/hexiwear_kw40z/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/hexiwear_kw40z/CMakeLists.txt +++ b/boards/arm/hexiwear_kw40z/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/hexiwear_kw40z/board.cmake b/boards/arm/hexiwear_kw40z/board.cmake index e4c9b877258c..da6f919ba93d 100644 --- a/boards/arm/hexiwear_kw40z/board.cmake +++ b/boards/arm/hexiwear_kw40z/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(OPENSDA_FW jlink) if(OPENSDA_FW STREQUAL jlink) diff --git a/boards/arm/hexiwear_kw40z/hexiwear_kw40z.dts b/boards/arm/hexiwear_kw40z/hexiwear_kw40z.dts index e5f410567f50..063fb0d75cd0 100644 --- a/boards/arm/hexiwear_kw40z/hexiwear_kw40z.dts +++ b/boards/arm/hexiwear_kw40z/hexiwear_kw40z.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/arm/hexiwear_kw40z/hexiwear_kw40z_defconfig b/boards/arm/hexiwear_kw40z/hexiwear_kw40z_defconfig index 2feceac10575..0e5f44c3fe3b 100644 --- a/boards/arm/hexiwear_kw40z/hexiwear_kw40z_defconfig +++ b/boards/arm/hexiwear_kw40z/hexiwear_kw40z_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_MKW40Z4=y CONFIG_SOC_SERIES_KINETIS_KWX=y diff --git a/boards/arm/mps2_an385/CMakeLists.txt b/boards/arm/mps2_an385/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/mps2_an385/CMakeLists.txt +++ b/boards/arm/mps2_an385/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/mps2_an385/board.cmake b/boards/arm/mps2_an385/board.cmake index 2e36f2708562..dc565f497ca4 100644 --- a/boards/arm/mps2_an385/board.cmake +++ b/boards/arm/mps2_an385/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(EMU_PLATFORM qemu) set(QEMU_CPU_TYPE_${ARCH} cortex-m3) diff --git a/boards/arm/mps2_an385/dts_fixup.h b/boards/arm/mps2_an385/dts_fixup.h index a7e453e91eec..5423d8602e38 100644 --- a/boards/arm/mps2_an385/dts_fixup.h +++ b/boards/arm/mps2_an385/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS diff --git a/boards/arm/mps2_an385/mps2_an385.dts b/boards/arm/mps2_an385/mps2_an385.dts index b97a58124aa3..4681680bbe21 100644 --- a/boards/arm/mps2_an385/mps2_an385.dts +++ b/boards/arm/mps2_an385/mps2_an385.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/arm/msp_exp432p401r_launchxl/Kconfig b/boards/arm/msp_exp432p401r_launchxl/Kconfig index a4d456604cf0..619a5aaf18c0 100644 --- a/boards/arm/msp_exp432p401r_launchxl/Kconfig +++ b/boards/arm/msp_exp432p401r_launchxl/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Kconfig - TI MSP-EXP432P401R LaunchXL configuration # diff --git a/boards/arm/msp_exp432p401r_launchxl/Kconfig.board b/boards/arm/msp_exp432p401r_launchxl/Kconfig.board index ca651fcd1439..109e7ae6c3ee 100644 --- a/boards/arm/msp_exp432p401r_launchxl/Kconfig.board +++ b/boards/arm/msp_exp432p401r_launchxl/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Kconfig - TI SimpleLink MSP-EXP432P401R LaunchXL Development Board # diff --git a/boards/arm/msp_exp432p401r_launchxl/Kconfig.defconfig b/boards/arm/msp_exp432p401r_launchxl/Kconfig.defconfig index 4640eb08bd49..59c6ce40378e 100644 --- a/boards/arm/msp_exp432p401r_launchxl/Kconfig.defconfig +++ b/boards/arm/msp_exp432p401r_launchxl/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Kconfig - TI MSP-EXP432P401R LaunchXL development board configuration # diff --git a/boards/arm/msp_exp432p401r_launchxl/msp_exp432p401r_launchxl.dts b/boards/arm/msp_exp432p401r_launchxl/msp_exp432p401r_launchxl.dts index 6a60a54a3170..ee527568f75f 100644 --- a/boards/arm/msp_exp432p401r_launchxl/msp_exp432p401r_launchxl.dts +++ b/boards/arm/msp_exp432p401r_launchxl/msp_exp432p401r_launchxl.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/arm/msp_exp432p401r_launchxl/msp_exp432p401r_launchxl_defconfig b/boards/arm/msp_exp432p401r_launchxl/msp_exp432p401r_launchxl_defconfig index 417310e39fe0..a3e5539d32c7 100644 --- a/boards/arm/msp_exp432p401r_launchxl/msp_exp432p401r_launchxl_defconfig +++ b/boards/arm/msp_exp432p401r_launchxl/msp_exp432p401r_launchxl_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_MSP_EXP432P401R_LAUNCHXL=y CONFIG_SOC_FAMILY_TISIMPLELINK=y diff --git a/boards/arm/nrf51_ble400/board.cmake b/boards/arm/nrf51_ble400/board.cmake index 4151cb6f50f4..a29fa16976c2 100644 --- a/boards/arm/nrf51_ble400/board.cmake +++ b/boards/arm/nrf51_ble400/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(nrfjprog "--nrf-family=NRF51") board_runner_args(jlink "--device=nrf51" "--speed=4000") include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) diff --git a/boards/arm/nrf51_ble400/nrf51_ble400_defconfig b/boards/arm/nrf51_ble400/nrf51_ble400_defconfig index 3c1bf6d809bf..557fccd7bcb0 100644 --- a/boards/arm/nrf51_ble400/nrf51_ble400_defconfig +++ b/boards/arm/nrf51_ble400/nrf51_ble400_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF51X=y diff --git a/boards/arm/nrf51_blenano/board.cmake b/boards/arm/nrf51_blenano/board.cmake index 3a2049869cb5..5ff914cd210e 100644 --- a/boards/arm/nrf51_blenano/board.cmake +++ b/boards/arm/nrf51_blenano/board.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(pyocd "--target=nrf51") include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) diff --git a/boards/arm/nrf51_blenano/nrf51_blenano_defconfig b/boards/arm/nrf51_blenano/nrf51_blenano_defconfig index b9a3c5a6e54f..5541720a1355 100644 --- a/boards/arm/nrf51_blenano/nrf51_blenano_defconfig +++ b/boards/arm/nrf51_blenano/nrf51_blenano_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF51X=y diff --git a/boards/arm/nrf51_pca10028/board.cmake b/boards/arm/nrf51_pca10028/board.cmake index 4151cb6f50f4..a29fa16976c2 100644 --- a/boards/arm/nrf51_pca10028/board.cmake +++ b/boards/arm/nrf51_pca10028/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(nrfjprog "--nrf-family=NRF51") board_runner_args(jlink "--device=nrf51" "--speed=4000") include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) diff --git a/boards/arm/nrf51_pca10028/nrf51_pca10028_defconfig b/boards/arm/nrf51_pca10028/nrf51_pca10028_defconfig index 223a45ff2ffc..94177e85d079 100644 --- a/boards/arm/nrf51_pca10028/nrf51_pca10028_defconfig +++ b/boards/arm/nrf51_pca10028/nrf51_pca10028_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF51X=y diff --git a/boards/arm/nrf51_vbluno51/board.cmake b/boards/arm/nrf51_vbluno51/board.cmake index 3a2049869cb5..5ff914cd210e 100644 --- a/boards/arm/nrf51_vbluno51/board.cmake +++ b/boards/arm/nrf51_vbluno51/board.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(pyocd "--target=nrf51") include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) diff --git a/boards/arm/nrf51_vbluno51/nrf51_vbluno51_defconfig b/boards/arm/nrf51_vbluno51/nrf51_vbluno51_defconfig index b0800ecf7ac8..3128a50b2da1 100644 --- a/boards/arm/nrf51_vbluno51/nrf51_vbluno51_defconfig +++ b/boards/arm/nrf51_vbluno51/nrf51_vbluno51_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF51X=y diff --git a/boards/arm/nrf52810_pca10040/CMakeLists.txt b/boards/arm/nrf52810_pca10040/CMakeLists.txt index 860756b31c30..a6b555e9e743 100644 --- a/boards/arm/nrf52810_pca10040/CMakeLists.txt +++ b/boards/arm/nrf52810_pca10040/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # The nrf52810_pca10040 board mirrors the nRF52832 DK hardware. This # needs to be considered by certain system initialization functionality # residing in system_nrf52810.c and SoC dependent routines in nrfx_coredep.h. diff --git a/boards/arm/nrf52810_pca10040/board.cmake b/boards/arm/nrf52810_pca10040/board.cmake index 1181243fbfe5..ddd57ab8839a 100644 --- a/boards/arm/nrf52810_pca10040/board.cmake +++ b/boards/arm/nrf52810_pca10040/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(nrfjprog "--nrf-family=NRF52") board_runner_args(jlink "--device=nrf52" "--speed=4000") include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) diff --git a/boards/arm/nrf52810_pca10040/nrf52810_pca10040_defconfig b/boards/arm/nrf52810_pca10040/nrf52810_pca10040_defconfig index 9aa0d6316e9e..7d3bec12db0e 100644 --- a/boards/arm/nrf52810_pca10040/nrf52810_pca10040_defconfig +++ b/boards/arm/nrf52810_pca10040/nrf52810_pca10040_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF52X=y diff --git a/boards/arm/nrf52832_mdk/board.cmake b/boards/arm/nrf52832_mdk/board.cmake index 2c285e42dd02..3f9412355890 100644 --- a/boards/arm/nrf52832_mdk/board.cmake +++ b/boards/arm/nrf52832_mdk/board.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(pyocd "--target=nrf52") include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) diff --git a/boards/arm/nrf52832_mdk/nrf52832_mdk_defconfig b/boards/arm/nrf52832_mdk/nrf52832_mdk_defconfig index 3b4cef550a95..b794da414400 100644 --- a/boards/arm/nrf52832_mdk/nrf52832_mdk_defconfig +++ b/boards/arm/nrf52832_mdk/nrf52832_mdk_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF52X=y diff --git a/boards/arm/nrf52840_blip/board.cmake b/boards/arm/nrf52840_blip/board.cmake index 8dd18395070f..259ebcf07f92 100644 --- a/boards/arm/nrf52840_blip/board.cmake +++ b/boards/arm/nrf52840_blip/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/blackmagicprobe.board.cmake) diff --git a/boards/arm/nrf52840_blip/nrf52840_blip_defconfig b/boards/arm/nrf52840_blip/nrf52840_blip_defconfig index 23517ffe0b48..bbf246ec636f 100644 --- a/boards/arm/nrf52840_blip/nrf52840_blip_defconfig +++ b/boards/arm/nrf52840_blip/nrf52840_blip_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF52X=y diff --git a/boards/arm/nrf52840_mdk/board.cmake b/boards/arm/nrf52840_mdk/board.cmake index 2c285e42dd02..3f9412355890 100644 --- a/boards/arm/nrf52840_mdk/board.cmake +++ b/boards/arm/nrf52840_mdk/board.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(pyocd "--target=nrf52") include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) diff --git a/boards/arm/nrf52840_mdk/nrf52840_mdk_defconfig b/boards/arm/nrf52840_mdk/nrf52840_mdk_defconfig index 6a0225bb90fa..f35dc109b216 100644 --- a/boards/arm/nrf52840_mdk/nrf52840_mdk_defconfig +++ b/boards/arm/nrf52840_mdk/nrf52840_mdk_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF52X=y diff --git a/boards/arm/nrf52840_papyr/board.cmake b/boards/arm/nrf52840_papyr/board.cmake index 8dd18395070f..259ebcf07f92 100644 --- a/boards/arm/nrf52840_papyr/board.cmake +++ b/boards/arm/nrf52840_papyr/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/blackmagicprobe.board.cmake) diff --git a/boards/arm/nrf52840_papyr/nrf52840_papyr_defconfig b/boards/arm/nrf52840_papyr/nrf52840_papyr_defconfig index 956c755275a6..e2389dbbdd76 100644 --- a/boards/arm/nrf52840_papyr/nrf52840_papyr_defconfig +++ b/boards/arm/nrf52840_papyr/nrf52840_papyr_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF52X=y diff --git a/boards/arm/nrf52840_pca10056/board.cmake b/boards/arm/nrf52840_pca10056/board.cmake index 1181243fbfe5..ddd57ab8839a 100644 --- a/boards/arm/nrf52840_pca10056/board.cmake +++ b/boards/arm/nrf52840_pca10056/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(nrfjprog "--nrf-family=NRF52") board_runner_args(jlink "--device=nrf52" "--speed=4000") include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) diff --git a/boards/arm/nrf52840_pca10056/nrf52840_pca10056_defconfig b/boards/arm/nrf52840_pca10056/nrf52840_pca10056_defconfig index 7f4695a26961..90d405dbd790 100644 --- a/boards/arm/nrf52840_pca10056/nrf52840_pca10056_defconfig +++ b/boards/arm/nrf52840_pca10056/nrf52840_pca10056_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF52X=y diff --git a/boards/arm/nrf52840_pca10059/CMakeLists.txt b/boards/arm/nrf52840_pca10059/CMakeLists.txt index d82183efffc9..a13eb4c19662 100644 --- a/boards/arm/nrf52840_pca10059/CMakeLists.txt +++ b/boards/arm/nrf52840_pca10059/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(board.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nrf52840_pca10059/board.cmake b/boards/arm/nrf52840_pca10059/board.cmake index 13ce30af1436..7aa4b2f4a514 100644 --- a/boards/arm/nrf52840_pca10059/board.cmake +++ b/boards/arm/nrf52840_pca10059/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(nrfjprog "--nrf-family=NRF52") board_runner_args(jlink "--device=nrf52" "--speed=4000") board_runner_args(pyocd "--target=nrf52840") diff --git a/boards/arm/nrf52840_pca10059/nrf52840_pca10059_defconfig b/boards/arm/nrf52840_pca10059/nrf52840_pca10059_defconfig index 06f3011b9542..6cc3d13101aa 100644 --- a/boards/arm/nrf52840_pca10059/nrf52840_pca10059_defconfig +++ b/boards/arm/nrf52840_pca10059/nrf52840_pca10059_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF52X=y diff --git a/boards/arm/nrf52840_pca10090/CMakeLists.txt b/boards/arm/nrf52840_pca10090/CMakeLists.txt index 7ad4381f6521..a4a41e43b440 100644 --- a/boards/arm/nrf52840_pca10090/CMakeLists.txt +++ b/boards/arm/nrf52840_pca10090/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(board.c) zephyr_library_sources(integrity.c) diff --git a/boards/arm/nrf52840_pca10090/board.cmake b/boards/arm/nrf52840_pca10090/board.cmake index 1181243fbfe5..ddd57ab8839a 100644 --- a/boards/arm/nrf52840_pca10090/board.cmake +++ b/boards/arm/nrf52840_pca10090/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(nrfjprog "--nrf-family=NRF52") board_runner_args(jlink "--device=nrf52" "--speed=4000") include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) diff --git a/boards/arm/nrf52840_pca10090/nrf52840_pca10090_defconfig b/boards/arm/nrf52840_pca10090/nrf52840_pca10090_defconfig index fcbf25234b5c..5f9d8ab43d7e 100644 --- a/boards/arm/nrf52840_pca10090/nrf52840_pca10090_defconfig +++ b/boards/arm/nrf52840_pca10090/nrf52840_pca10090_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF52X=y diff --git a/boards/arm/nrf52_adafruit_feather/board.cmake b/boards/arm/nrf52_adafruit_feather/board.cmake index 5ab3318a5c9d..cf43e8d7550b 100644 --- a/boards/arm/nrf52_adafruit_feather/board.cmake +++ b/boards/arm/nrf52_adafruit_feather/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(nrfjprog "--nrf-family=NRF52") board_runner_args(jlink "--device=nrf52" "--speed=4000") board_runner_args(pyocd "--target=nrf52") diff --git a/boards/arm/nrf52_adafruit_feather/nrf52_adafruit_feather_defconfig b/boards/arm/nrf52_adafruit_feather/nrf52_adafruit_feather_defconfig index 785ef9ed1b9b..a84ddf9cf0d0 100644 --- a/boards/arm/nrf52_adafruit_feather/nrf52_adafruit_feather_defconfig +++ b/boards/arm/nrf52_adafruit_feather/nrf52_adafruit_feather_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF52X=y diff --git a/boards/arm/nrf52_blenano2/board.cmake b/boards/arm/nrf52_blenano2/board.cmake index 2c285e42dd02..3f9412355890 100644 --- a/boards/arm/nrf52_blenano2/board.cmake +++ b/boards/arm/nrf52_blenano2/board.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(pyocd "--target=nrf52") include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) diff --git a/boards/arm/nrf52_blenano2/nrf52_blenano2_defconfig b/boards/arm/nrf52_blenano2/nrf52_blenano2_defconfig index 69c25f4070ac..28ee551ab259 100644 --- a/boards/arm/nrf52_blenano2/nrf52_blenano2_defconfig +++ b/boards/arm/nrf52_blenano2/nrf52_blenano2_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF52X=y diff --git a/boards/arm/nrf52_pca10040/board.cmake b/boards/arm/nrf52_pca10040/board.cmake index 1181243fbfe5..ddd57ab8839a 100644 --- a/boards/arm/nrf52_pca10040/board.cmake +++ b/boards/arm/nrf52_pca10040/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(nrfjprog "--nrf-family=NRF52") board_runner_args(jlink "--device=nrf52" "--speed=4000") include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) diff --git a/boards/arm/nrf52_pca10040/nrf52_pca10040_defconfig b/boards/arm/nrf52_pca10040/nrf52_pca10040_defconfig index 9bf17690c572..bf5d244c965d 100644 --- a/boards/arm/nrf52_pca10040/nrf52_pca10040_defconfig +++ b/boards/arm/nrf52_pca10040/nrf52_pca10040_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF52X=y diff --git a/boards/arm/nrf52_pca20020/CMakeLists.txt b/boards/arm/nrf52_pca20020/CMakeLists.txt index d82183efffc9..a13eb4c19662 100644 --- a/boards/arm/nrf52_pca20020/CMakeLists.txt +++ b/boards/arm/nrf52_pca20020/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(board.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nrf52_pca20020/board.cmake b/boards/arm/nrf52_pca20020/board.cmake index e1d56a343e75..ceef68ad0510 100644 --- a/boards/arm/nrf52_pca20020/board.cmake +++ b/boards/arm/nrf52_pca20020/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset") board_runner_args(jlink "--device=nrf52" "--speed=4000") include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) diff --git a/boards/arm/nrf52_pca20020/nrf52_pca20020_defconfig b/boards/arm/nrf52_pca20020/nrf52_pca20020_defconfig index eda8d9438782..1ebd2f6d93a5 100644 --- a/boards/arm/nrf52_pca20020/nrf52_pca20020_defconfig +++ b/boards/arm/nrf52_pca20020/nrf52_pca20020_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF52X=y diff --git a/boards/arm/nrf52_sparkfun/board.cmake b/boards/arm/nrf52_sparkfun/board.cmake index edee615d34ad..84612c7b7382 100644 --- a/boards/arm/nrf52_sparkfun/board.cmake +++ b/boards/arm/nrf52_sparkfun/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(BOARD_FLASH_RUNNER pyocd.sh) set(BOARD_DEBUG_RUNNER pyocd.sh) diff --git a/boards/arm/nrf52_sparkfun/nrf52_sparkfun_defconfig b/boards/arm/nrf52_sparkfun/nrf52_sparkfun_defconfig index 521ecf6b1650..375307713594 100644 --- a/boards/arm/nrf52_sparkfun/nrf52_sparkfun_defconfig +++ b/boards/arm/nrf52_sparkfun/nrf52_sparkfun_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF52X=y diff --git a/boards/arm/nrf52_vbluno52/board.cmake b/boards/arm/nrf52_vbluno52/board.cmake index 2c285e42dd02..3f9412355890 100644 --- a/boards/arm/nrf52_vbluno52/board.cmake +++ b/boards/arm/nrf52_vbluno52/board.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(pyocd "--target=nrf52") include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) diff --git a/boards/arm/nrf52_vbluno52/nrf52_vbluno52_defconfig b/boards/arm/nrf52_vbluno52/nrf52_vbluno52_defconfig index fe11186f1ea7..874dbf056178 100644 --- a/boards/arm/nrf52_vbluno52/nrf52_vbluno52_defconfig +++ b/boards/arm/nrf52_vbluno52/nrf52_vbluno52_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF52X=y diff --git a/boards/arm/nrf9160_pca10090/board.cmake b/boards/arm/nrf9160_pca10090/board.cmake index c59fc5aa28df..3d655f4e90c0 100644 --- a/boards/arm/nrf9160_pca10090/board.cmake +++ b/boards/arm/nrf9160_pca10090/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(nrfjprog "--nrf-family=NRF91") board_runner_args(jlink "--device=cortex-m33" "--speed=4000") include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) diff --git a/boards/arm/nrf9160_pca10090/nrf9160_pca10090_defconfig b/boards/arm/nrf9160_pca10090/nrf9160_pca10090_defconfig index b6baf46e0901..e294ecedbf4b 100644 --- a/boards/arm/nrf9160_pca10090/nrf9160_pca10090_defconfig +++ b/boards/arm/nrf9160_pca10090/nrf9160_pca10090_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF91X=y diff --git a/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns_defconfig b/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns_defconfig index ecefc497ce96..27fc0cbe677f 100644 --- a/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns_defconfig +++ b/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF91X=y diff --git a/boards/arm/nucleo_f030r8/CMakeLists.txt b/boards/arm/nucleo_f030r8/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/nucleo_f030r8/CMakeLists.txt +++ b/boards/arm/nucleo_f030r8/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nucleo_f030r8/board.cmake b/boards/arm/nucleo_f030r8/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/nucleo_f030r8/board.cmake +++ b/boards/arm/nucleo_f030r8/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/nucleo_f030r8/nucleo_f030r8_defconfig b/boards/arm/nucleo_f030r8/nucleo_f030r8_defconfig index e47302bc4ee4..ed920fb78415 100644 --- a/boards/arm/nucleo_f030r8/nucleo_f030r8_defconfig +++ b/boards/arm/nucleo_f030r8/nucleo_f030r8_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Zephyr Kernel Configuration CONFIG_ARM=y CONFIG_SOC_SERIES_STM32F0X=y diff --git a/boards/arm/nucleo_f070rb/CMakeLists.txt b/boards/arm/nucleo_f070rb/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/nucleo_f070rb/CMakeLists.txt +++ b/boards/arm/nucleo_f070rb/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nucleo_f070rb/board.cmake b/boards/arm/nucleo_f070rb/board.cmake index 348d4cff6a7a..57dab04923fb 100644 --- a/boards/arm/nucleo_f070rb/board.cmake +++ b/boards/arm/nucleo_f070rb/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(STLINK_FW stlink) if(STLINK_FW STREQUAL jlink) diff --git a/boards/arm/nucleo_f070rb/nucleo_f070rb_defconfig b/boards/arm/nucleo_f070rb/nucleo_f070rb_defconfig index ff26cc33913a..6aedc4ae4d04 100644 --- a/boards/arm/nucleo_f070rb/nucleo_f070rb_defconfig +++ b/boards/arm/nucleo_f070rb/nucleo_f070rb_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Zephyr Kernel Configuration CONFIG_ARM=y CONFIG_SOC_SERIES_STM32F0X=y diff --git a/boards/arm/nucleo_f091rc/CMakeLists.txt b/boards/arm/nucleo_f091rc/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/nucleo_f091rc/CMakeLists.txt +++ b/boards/arm/nucleo_f091rc/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nucleo_f091rc/board.cmake b/boards/arm/nucleo_f091rc/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/nucleo_f091rc/board.cmake +++ b/boards/arm/nucleo_f091rc/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/nucleo_f091rc/nucleo_f091rc_defconfig b/boards/arm/nucleo_f091rc/nucleo_f091rc_defconfig index 3012df76dacd..af686f35da62 100644 --- a/boards/arm/nucleo_f091rc/nucleo_f091rc_defconfig +++ b/boards/arm/nucleo_f091rc/nucleo_f091rc_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Zephyr Kernel Configuration CONFIG_ARM=y CONFIG_SOC_SERIES_STM32F0X=y diff --git a/boards/arm/nucleo_f103rb/CMakeLists.txt b/boards/arm/nucleo_f103rb/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/nucleo_f103rb/CMakeLists.txt +++ b/boards/arm/nucleo_f103rb/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nucleo_f103rb/board.cmake b/boards/arm/nucleo_f103rb/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/nucleo_f103rb/board.cmake +++ b/boards/arm/nucleo_f103rb/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/nucleo_f103rb/nucleo_f103rb_defconfig b/boards/arm/nucleo_f103rb/nucleo_f103rb_defconfig index e51d7cc84d7e..f52f99b2db34 100644 --- a/boards/arm/nucleo_f103rb/nucleo_f103rb_defconfig +++ b/boards/arm/nucleo_f103rb/nucleo_f103rb_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_NUCLEO_F103RB=y CONFIG_SOC_SERIES_STM32F1X=y diff --git a/boards/arm/nucleo_f207zg/CMakeLists.txt b/boards/arm/nucleo_f207zg/CMakeLists.txt index a700f3c235d0..b32b6144e133 100644 --- a/boards/arm/nucleo_f207zg/CMakeLists.txt +++ b/boards/arm/nucleo_f207zg/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${PROJECT_SOURCE_DIR}/drivers) diff --git a/boards/arm/nucleo_f207zg/board.cmake b/boards/arm/nucleo_f207zg/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/nucleo_f207zg/board.cmake +++ b/boards/arm/nucleo_f207zg/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/nucleo_f207zg/nucleo_f207zg_defconfig b/boards/arm/nucleo_f207zg/nucleo_f207zg_defconfig index b2cc60f5b3c4..266ce1149a27 100644 --- a/boards/arm/nucleo_f207zg/nucleo_f207zg_defconfig +++ b/boards/arm/nucleo_f207zg/nucleo_f207zg_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_NUCLEO_F207ZG=y CONFIG_SOC_SERIES_STM32F2X=y diff --git a/boards/arm/nucleo_f302r8/CMakeLists.txt b/boards/arm/nucleo_f302r8/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/nucleo_f302r8/CMakeLists.txt +++ b/boards/arm/nucleo_f302r8/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nucleo_f302r8/board.cmake b/boards/arm/nucleo_f302r8/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/nucleo_f302r8/board.cmake +++ b/boards/arm/nucleo_f302r8/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/nucleo_f302r8/nucleo_f302r8_defconfig b/boards/arm/nucleo_f302r8/nucleo_f302r8_defconfig index 4fae4d177645..9b2440d9fd5a 100644 --- a/boards/arm/nucleo_f302r8/nucleo_f302r8_defconfig +++ b/boards/arm/nucleo_f302r8/nucleo_f302r8_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_SERIES_STM32F3X=y CONFIG_SOC_STM32F302X8=y diff --git a/boards/arm/nucleo_f334r8/CMakeLists.txt b/boards/arm/nucleo_f334r8/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/nucleo_f334r8/CMakeLists.txt +++ b/boards/arm/nucleo_f334r8/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nucleo_f334r8/board.cmake b/boards/arm/nucleo_f334r8/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/nucleo_f334r8/board.cmake +++ b/boards/arm/nucleo_f334r8/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/nucleo_f334r8/nucleo_f334r8_defconfig b/boards/arm/nucleo_f334r8/nucleo_f334r8_defconfig index 717dd5a8cae1..4ba3bce10201 100644 --- a/boards/arm/nucleo_f334r8/nucleo_f334r8_defconfig +++ b/boards/arm/nucleo_f334r8/nucleo_f334r8_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Zephyr Kernel Configuration CONFIG_ARM=y CONFIG_SOC_SERIES_STM32F3X=y diff --git a/boards/arm/nucleo_f401re/CMakeLists.txt b/boards/arm/nucleo_f401re/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/nucleo_f401re/CMakeLists.txt +++ b/boards/arm/nucleo_f401re/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nucleo_f401re/board.cmake b/boards/arm/nucleo_f401re/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/nucleo_f401re/board.cmake +++ b/boards/arm/nucleo_f401re/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/nucleo_f401re/nucleo_f401re_defconfig b/boards/arm/nucleo_f401re/nucleo_f401re_defconfig index 4d3b13df124a..0421776653d8 100644 --- a/boards/arm/nucleo_f401re/nucleo_f401re_defconfig +++ b/boards/arm/nucleo_f401re/nucleo_f401re_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_NUCLEO_F401RE=y CONFIG_SOC_SERIES_STM32F4X=y diff --git a/boards/arm/nucleo_f411re/CMakeLists.txt b/boards/arm/nucleo_f411re/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/nucleo_f411re/CMakeLists.txt +++ b/boards/arm/nucleo_f411re/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nucleo_f411re/board.cmake b/boards/arm/nucleo_f411re/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/nucleo_f411re/board.cmake +++ b/boards/arm/nucleo_f411re/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/nucleo_f411re/nucleo_f411re_defconfig b/boards/arm/nucleo_f411re/nucleo_f411re_defconfig index cdfbd77a312b..777b83b660cc 100644 --- a/boards/arm/nucleo_f411re/nucleo_f411re_defconfig +++ b/boards/arm/nucleo_f411re/nucleo_f411re_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_NUCLEO_F411RE=y CONFIG_SOC_SERIES_STM32F4X=y diff --git a/boards/arm/nucleo_f412zg/CMakeLists.txt b/boards/arm/nucleo_f412zg/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/nucleo_f412zg/CMakeLists.txt +++ b/boards/arm/nucleo_f412zg/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nucleo_f412zg/board.cmake b/boards/arm/nucleo_f412zg/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/nucleo_f412zg/board.cmake +++ b/boards/arm/nucleo_f412zg/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/nucleo_f412zg/nucleo_f412zg_defconfig b/boards/arm/nucleo_f412zg/nucleo_f412zg_defconfig index 2409f68dab14..a3d11f540671 100644 --- a/boards/arm/nucleo_f412zg/nucleo_f412zg_defconfig +++ b/boards/arm/nucleo_f412zg/nucleo_f412zg_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_NUCLEO_F412ZG=y CONFIG_SOC_SERIES_STM32F4X=y diff --git a/boards/arm/nucleo_f413zh/CMakeLists.txt b/boards/arm/nucleo_f413zh/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/nucleo_f413zh/CMakeLists.txt +++ b/boards/arm/nucleo_f413zh/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nucleo_f413zh/board.cmake b/boards/arm/nucleo_f413zh/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/nucleo_f413zh/board.cmake +++ b/boards/arm/nucleo_f413zh/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/nucleo_f413zh/nucleo_f413zh_defconfig b/boards/arm/nucleo_f413zh/nucleo_f413zh_defconfig index 50e2cd878c6d..717f3f1b8334 100644 --- a/boards/arm/nucleo_f413zh/nucleo_f413zh_defconfig +++ b/boards/arm/nucleo_f413zh/nucleo_f413zh_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_NUCLEO_F413ZH=y CONFIG_SOC_SERIES_STM32F4X=y diff --git a/boards/arm/nucleo_f429zi/CMakeLists.txt b/boards/arm/nucleo_f429zi/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/nucleo_f429zi/CMakeLists.txt +++ b/boards/arm/nucleo_f429zi/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nucleo_f429zi/board.cmake b/boards/arm/nucleo_f429zi/board.cmake index 6d4bae77003d..e0f969632ffe 100644 --- a/boards/arm/nucleo_f429zi/board.cmake +++ b/boards/arm/nucleo_f429zi/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(STLINK_FW stlink) if(STLINK_FW STREQUAL jlink) diff --git a/boards/arm/nucleo_f429zi/nucleo_f429zi_defconfig b/boards/arm/nucleo_f429zi/nucleo_f429zi_defconfig index dac466807572..f8c51af96fb7 100644 --- a/boards/arm/nucleo_f429zi/nucleo_f429zi_defconfig +++ b/boards/arm/nucleo_f429zi/nucleo_f429zi_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_SERIES_STM32F4X=y CONFIG_SOC_STM32F429XI=y diff --git a/boards/arm/nucleo_f446re/CMakeLists.txt b/boards/arm/nucleo_f446re/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/nucleo_f446re/CMakeLists.txt +++ b/boards/arm/nucleo_f446re/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nucleo_f446re/board.cmake b/boards/arm/nucleo_f446re/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/nucleo_f446re/board.cmake +++ b/boards/arm/nucleo_f446re/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/nucleo_f446re/nucleo_f446re_defconfig b/boards/arm/nucleo_f446re/nucleo_f446re_defconfig index 072694a98bcd..cd5fea8d0fbd 100644 --- a/boards/arm/nucleo_f446re/nucleo_f446re_defconfig +++ b/boards/arm/nucleo_f446re/nucleo_f446re_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_NUCLEO_F446RE=y CONFIG_SOC_SERIES_STM32F4X=y diff --git a/boards/arm/nucleo_f746zg/CMakeLists.txt b/boards/arm/nucleo_f746zg/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/nucleo_f746zg/CMakeLists.txt +++ b/boards/arm/nucleo_f746zg/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nucleo_f746zg/board.cmake b/boards/arm/nucleo_f746zg/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/nucleo_f746zg/board.cmake +++ b/boards/arm/nucleo_f746zg/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/nucleo_f746zg/nucleo_f746zg_defconfig b/boards/arm/nucleo_f746zg/nucleo_f746zg_defconfig index 72fa43de9cb6..1ac8d467d8e9 100644 --- a/boards/arm/nucleo_f746zg/nucleo_f746zg_defconfig +++ b/boards/arm/nucleo_f746zg/nucleo_f746zg_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_NUCLEO_F746ZG=y CONFIG_SOC_SERIES_STM32F7X=y diff --git a/boards/arm/nucleo_f756zg/CMakeLists.txt b/boards/arm/nucleo_f756zg/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/nucleo_f756zg/CMakeLists.txt +++ b/boards/arm/nucleo_f756zg/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nucleo_f756zg/board.cmake b/boards/arm/nucleo_f756zg/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/nucleo_f756zg/board.cmake +++ b/boards/arm/nucleo_f756zg/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/nucleo_f756zg/nucleo_f756zg_defconfig b/boards/arm/nucleo_f756zg/nucleo_f756zg_defconfig index b8a5742e6340..37caa30e85eb 100644 --- a/boards/arm/nucleo_f756zg/nucleo_f756zg_defconfig +++ b/boards/arm/nucleo_f756zg/nucleo_f756zg_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_NUCLEO_F756ZG=y CONFIG_SOC_SERIES_STM32F7X=y diff --git a/boards/arm/nucleo_l053r8/CMakeLists.txt b/boards/arm/nucleo_l053r8/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/nucleo_l053r8/CMakeLists.txt +++ b/boards/arm/nucleo_l053r8/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nucleo_l053r8/board.cmake b/boards/arm/nucleo_l053r8/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/nucleo_l053r8/board.cmake +++ b/boards/arm/nucleo_l053r8/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/nucleo_l053r8/nucleo_l053r8_defconfig b/boards/arm/nucleo_l053r8/nucleo_l053r8_defconfig index 5cfb99cadd95..26e808b80681 100644 --- a/boards/arm/nucleo_l053r8/nucleo_l053r8_defconfig +++ b/boards/arm/nucleo_l053r8/nucleo_l053r8_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Zephyr Kernel Configuration CONFIG_ARM=y CONFIG_SOC_SERIES_STM32L0X=y diff --git a/boards/arm/nucleo_l073rz/CMakeLists.txt b/boards/arm/nucleo_l073rz/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/nucleo_l073rz/CMakeLists.txt +++ b/boards/arm/nucleo_l073rz/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nucleo_l073rz/board.cmake b/boards/arm/nucleo_l073rz/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/nucleo_l073rz/board.cmake +++ b/boards/arm/nucleo_l073rz/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/nucleo_l073rz/nucleo_l073rz_defconfig b/boards/arm/nucleo_l073rz/nucleo_l073rz_defconfig index 303ca685fc50..df5a76fbeb27 100644 --- a/boards/arm/nucleo_l073rz/nucleo_l073rz_defconfig +++ b/boards/arm/nucleo_l073rz/nucleo_l073rz_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Zephyr Kernel Configuration CONFIG_ARM=y CONFIG_SOC_SERIES_STM32L0X=y diff --git a/boards/arm/nucleo_l432kc/CMakeLists.txt b/boards/arm/nucleo_l432kc/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/nucleo_l432kc/CMakeLists.txt +++ b/boards/arm/nucleo_l432kc/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nucleo_l432kc/board.cmake b/boards/arm/nucleo_l432kc/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/nucleo_l432kc/board.cmake +++ b/boards/arm/nucleo_l432kc/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/nucleo_l432kc/nucleo_l432kc_defconfig b/boards/arm/nucleo_l432kc/nucleo_l432kc_defconfig index 31789de27208..2d97514338bd 100644 --- a/boards/arm/nucleo_l432kc/nucleo_l432kc_defconfig +++ b/boards/arm/nucleo_l432kc/nucleo_l432kc_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_SERIES_STM32L4X=y CONFIG_SOC_STM32L432XC=y diff --git a/boards/arm/nucleo_l476rg/CMakeLists.txt b/boards/arm/nucleo_l476rg/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/nucleo_l476rg/CMakeLists.txt +++ b/boards/arm/nucleo_l476rg/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nucleo_l476rg/board.cmake b/boards/arm/nucleo_l476rg/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/nucleo_l476rg/board.cmake +++ b/boards/arm/nucleo_l476rg/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/nucleo_l476rg/nucleo_l476rg_defconfig b/boards/arm/nucleo_l476rg/nucleo_l476rg_defconfig index 579a8915df4d..5ce259e8f5d0 100644 --- a/boards/arm/nucleo_l476rg/nucleo_l476rg_defconfig +++ b/boards/arm/nucleo_l476rg/nucleo_l476rg_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_SERIES_STM32L4X=y CONFIG_SOC_STM32L476XG=y diff --git a/boards/arm/nucleo_l496zg/CMakeLists.txt b/boards/arm/nucleo_l496zg/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/nucleo_l496zg/CMakeLists.txt +++ b/boards/arm/nucleo_l496zg/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/nucleo_l496zg/board.cmake b/boards/arm/nucleo_l496zg/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/nucleo_l496zg/board.cmake +++ b/boards/arm/nucleo_l496zg/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/nucleo_l496zg/nucleo_l496zg_defconfig b/boards/arm/nucleo_l496zg/nucleo_l496zg_defconfig index f778c80b1c7a..019638170abb 100644 --- a/boards/arm/nucleo_l496zg/nucleo_l496zg_defconfig +++ b/boards/arm/nucleo_l496zg/nucleo_l496zg_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_SERIES_STM32L4X=y CONFIG_SOC_STM32L496XG=y diff --git a/boards/arm/nucleo_l4r5zi/CMakeLists.txt b/boards/arm/nucleo_l4r5zi/CMakeLists.txt index a700f3c235d0..b32b6144e133 100644 --- a/boards/arm/nucleo_l4r5zi/CMakeLists.txt +++ b/boards/arm/nucleo_l4r5zi/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${PROJECT_SOURCE_DIR}/drivers) diff --git a/boards/arm/nucleo_l4r5zi/board.cmake b/boards/arm/nucleo_l4r5zi/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/nucleo_l4r5zi/board.cmake +++ b/boards/arm/nucleo_l4r5zi/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/nucleo_l4r5zi/nucleo_l4r5zi_defconfig b/boards/arm/nucleo_l4r5zi/nucleo_l4r5zi_defconfig index 4dd38c39af27..bd7d598476c3 100644 --- a/boards/arm/nucleo_l4r5zi/nucleo_l4r5zi_defconfig +++ b/boards/arm/nucleo_l4r5zi/nucleo_l4r5zi_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_SERIES_STM32L4X=y CONFIG_SOC_STM32L4R5XI=y diff --git a/boards/arm/olimex_stm32_e407/CMakeLists.txt b/boards/arm/olimex_stm32_e407/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/olimex_stm32_e407/CMakeLists.txt +++ b/boards/arm/olimex_stm32_e407/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/olimex_stm32_e407/board.cmake b/boards/arm/olimex_stm32_e407/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/olimex_stm32_e407/board.cmake +++ b/boards/arm/olimex_stm32_e407/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/olimex_stm32_e407/olimex_stm32_e407_defconfig b/boards/arm/olimex_stm32_e407/olimex_stm32_e407_defconfig index a3eee0c01f78..c9b968b0069a 100644 --- a/boards/arm/olimex_stm32_e407/olimex_stm32_e407_defconfig +++ b/boards/arm/olimex_stm32_e407/olimex_stm32_e407_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_OLIMEX_STM32_E407=y CONFIG_SOC_SERIES_STM32F4X=y diff --git a/boards/arm/olimex_stm32_h407/CMakeLists.txt b/boards/arm/olimex_stm32_h407/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/olimex_stm32_h407/CMakeLists.txt +++ b/boards/arm/olimex_stm32_h407/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/olimex_stm32_h407/board.cmake b/boards/arm/olimex_stm32_h407/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/olimex_stm32_h407/board.cmake +++ b/boards/arm/olimex_stm32_h407/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/olimex_stm32_h407/olimex_stm32_h407_defconfig b/boards/arm/olimex_stm32_h407/olimex_stm32_h407_defconfig index 6788257e56f8..5cacf02aa9a0 100644 --- a/boards/arm/olimex_stm32_h407/olimex_stm32_h407_defconfig +++ b/boards/arm/olimex_stm32_h407/olimex_stm32_h407_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_OLIMEX_STM32_H407=y CONFIG_SOC_SERIES_STM32F4X=y diff --git a/boards/arm/olimex_stm32_p405/CMakeLists.txt b/boards/arm/olimex_stm32_p405/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/olimex_stm32_p405/CMakeLists.txt +++ b/boards/arm/olimex_stm32_p405/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/olimex_stm32_p405/board.cmake b/boards/arm/olimex_stm32_p405/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/olimex_stm32_p405/board.cmake +++ b/boards/arm/olimex_stm32_p405/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/olimex_stm32_p405/olimex_stm32_p405_defconfig b/boards/arm/olimex_stm32_p405/olimex_stm32_p405_defconfig index 99901097521f..a42564989515 100644 --- a/boards/arm/olimex_stm32_p405/olimex_stm32_p405_defconfig +++ b/boards/arm/olimex_stm32_p405/olimex_stm32_p405_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_OLIMEX_STM32_P405=y CONFIG_SOC_SERIES_STM32F4X=y diff --git a/boards/arm/olimexino_stm32/CMakeLists.txt b/boards/arm/olimexino_stm32/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/olimexino_stm32/CMakeLists.txt +++ b/boards/arm/olimexino_stm32/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/olimexino_stm32/board.cmake b/boards/arm/olimexino_stm32/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/olimexino_stm32/board.cmake +++ b/boards/arm/olimexino_stm32/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/olimexino_stm32/olimexino_stm32_defconfig b/boards/arm/olimexino_stm32/olimexino_stm32_defconfig index a5827a095919..ac0ba72e75ca 100644 --- a/boards/arm/olimexino_stm32/olimexino_stm32_defconfig +++ b/boards/arm/olimexino_stm32/olimexino_stm32_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_OLIMEXINO_STM32=y CONFIG_SOC_SERIES_STM32F1X=y diff --git a/boards/arm/qemu_cortex_m3/Kconfig.board b/boards/arm/qemu_cortex_m3/Kconfig.board index 00f8bbe04f2f..6322724df892 100644 --- a/boards/arm/qemu_cortex_m3/Kconfig.board +++ b/boards/arm/qemu_cortex_m3/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_QEMU_CORTEX_M3 bool "Cortex-M3 Emulation (QEMU)" depends on SOC_TI_LM3S6965 diff --git a/boards/arm/qemu_cortex_m3/Kconfig.defconfig b/boards/arm/qemu_cortex_m3/Kconfig.defconfig index 86e7183dc9c6..e98aadb356c2 100644 --- a/boards/arm/qemu_cortex_m3/Kconfig.defconfig +++ b/boards/arm/qemu_cortex_m3/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_QEMU_CORTEX_M3 config BUILD_OUTPUT_BIN diff --git a/boards/arm/qemu_cortex_m3/board.cmake b/boards/arm/qemu_cortex_m3/board.cmake index 8aedad6a51f2..d81962f16bf3 100644 --- a/boards/arm/qemu_cortex_m3/board.cmake +++ b/boards/arm/qemu_cortex_m3/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(EMU_PLATFORM qemu) set(QEMU_CPU_TYPE_${ARCH} cortex-m3) diff --git a/boards/arm/qemu_cortex_m3/qemu_cortex_m3.dts b/boards/arm/qemu_cortex_m3/qemu_cortex_m3.dts index cf29656a491e..683da01339e7 100644 --- a/boards/arm/qemu_cortex_m3/qemu_cortex_m3.dts +++ b/boards/arm/qemu_cortex_m3/qemu_cortex_m3.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/arm/qemu_cortex_m3/qemu_cortex_m3_defconfig b/boards/arm/qemu_cortex_m3/qemu_cortex_m3_defconfig index 8d99f28d38bf..a0ddfb892245 100644 --- a/boards/arm/qemu_cortex_m3/qemu_cortex_m3_defconfig +++ b/boards/arm/qemu_cortex_m3/qemu_cortex_m3_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=12000000 CONFIG_SOC_TI_LM3S6965=y diff --git a/boards/arm/quark_se_c1000_ble/quark_se_c1000_ble_defconfig b/boards/arm/quark_se_c1000_ble/quark_se_c1000_ble_defconfig index f5255441fb77..f921c301b348 100644 --- a/boards/arm/quark_se_c1000_ble/quark_se_c1000_ble_defconfig +++ b/boards/arm/quark_se_c1000_ble/quark_se_c1000_ble_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF51X=y diff --git a/boards/arm/reel_board/CMakeLists.txt b/boards/arm/reel_board/CMakeLists.txt index d82183efffc9..a13eb4c19662 100644 --- a/boards/arm/reel_board/CMakeLists.txt +++ b/boards/arm/reel_board/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(board.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/reel_board/board.cmake b/boards/arm/reel_board/board.cmake index b3895225c2b3..4a1a966e7880 100644 --- a/boards/arm/reel_board/board.cmake +++ b/boards/arm/reel_board/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(pyocd "--target=nrf52") board_runner_args(jlink "--device=nrf52" "--speed=4000") include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) diff --git a/boards/arm/reel_board/reel_board_defconfig b/boards/arm/reel_board/reel_board_defconfig index 201aab3b1d1c..da17d446eb0b 100644 --- a/boards/arm/reel_board/reel_board_defconfig +++ b/boards/arm/reel_board/reel_board_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF52X=y diff --git a/boards/arm/sam4s_xplained/board.cmake b/boards/arm/sam4s_xplained/board.cmake index e3d78700f79e..e0129740842e 100644 --- a/boards/arm/sam4s_xplained/board.cmake +++ b/boards/arm/sam4s_xplained/board.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(jlink "--device=atsam4s16c" "--speed=4000") include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) diff --git a/boards/arm/sam4s_xplained/sam4s_xplained_defconfig b/boards/arm/sam4s_xplained/sam4s_xplained_defconfig index 41af698dcf1e..be3eafe6c9ee 100644 --- a/boards/arm/sam4s_xplained/sam4s_xplained_defconfig +++ b/boards/arm/sam4s_xplained/sam4s_xplained_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_SAM=y CONFIG_SOC_SERIES_SAM4S=y diff --git a/boards/arm/sam_e70_xplained/board.cmake b/boards/arm/sam_e70_xplained/board.cmake index 15384cb7c5d3..a394281dcbb9 100644 --- a/boards/arm/sam_e70_xplained/board.cmake +++ b/boards/arm/sam_e70_xplained/board.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(openocd --cmd-post-verify "atsamv gpnvm set 1") include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/sam_e70_xplained/sam_e70_xplained_defconfig b/boards/arm/sam_e70_xplained/sam_e70_xplained_defconfig index 72f33c8288a0..002adebca048 100644 --- a/boards/arm/sam_e70_xplained/sam_e70_xplained_defconfig +++ b/boards/arm/sam_e70_xplained/sam_e70_xplained_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_SAM=y CONFIG_SOC_SERIES_SAME70=y diff --git a/boards/arm/stm3210c_eval/CMakeLists.txt b/boards/arm/stm3210c_eval/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/stm3210c_eval/CMakeLists.txt +++ b/boards/arm/stm3210c_eval/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/stm3210c_eval/board.cmake b/boards/arm/stm3210c_eval/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/stm3210c_eval/board.cmake +++ b/boards/arm/stm3210c_eval/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/stm3210c_eval/stm3210c_eval_defconfig b/boards/arm/stm3210c_eval/stm3210c_eval_defconfig index f7951c291c83..5c8f6373ded2 100644 --- a/boards/arm/stm3210c_eval/stm3210c_eval_defconfig +++ b/boards/arm/stm3210c_eval/stm3210c_eval_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Zephyr Kernel Configuration CONFIG_ARM=y CONFIG_SOC_SERIES_STM32F1X=y diff --git a/boards/arm/stm32373c_eval/CMakeLists.txt b/boards/arm/stm32373c_eval/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/stm32373c_eval/CMakeLists.txt +++ b/boards/arm/stm32373c_eval/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/stm32373c_eval/board.cmake b/boards/arm/stm32373c_eval/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/stm32373c_eval/board.cmake +++ b/boards/arm/stm32373c_eval/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/stm32373c_eval/stm32373c_eval_defconfig b/boards/arm/stm32373c_eval/stm32373c_eval_defconfig index 7622543cb8c5..7d170bf2b82d 100644 --- a/boards/arm/stm32373c_eval/stm32373c_eval_defconfig +++ b/boards/arm/stm32373c_eval/stm32373c_eval_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Zephyr Kernel Configuration CONFIG_ARM=y CONFIG_SOC_SERIES_STM32F3X=y diff --git a/boards/arm/stm32_min_dev/CMakeLists.txt b/boards/arm/stm32_min_dev/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/stm32_min_dev/CMakeLists.txt +++ b/boards/arm/stm32_min_dev/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/stm32_min_dev/board.cmake b/boards/arm/stm32_min_dev/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/stm32_min_dev/board.cmake +++ b/boards/arm/stm32_min_dev/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/stm32_min_dev/stm32_min_dev_defconfig b/boards/arm/stm32_min_dev/stm32_min_dev_defconfig index bf1366fffb8c..0ac0479b5e53 100644 --- a/boards/arm/stm32_min_dev/stm32_min_dev_defconfig +++ b/boards/arm/stm32_min_dev/stm32_min_dev_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_STM32_MIN_DEV=y CONFIG_SOC_SERIES_STM32F1X=y diff --git a/boards/arm/stm32f072_eval/CMakeLists.txt b/boards/arm/stm32f072_eval/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/stm32f072_eval/CMakeLists.txt +++ b/boards/arm/stm32f072_eval/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/stm32f072_eval/board.cmake b/boards/arm/stm32f072_eval/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/stm32f072_eval/board.cmake +++ b/boards/arm/stm32f072_eval/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/stm32f072_eval/stm32f072_eval_defconfig b/boards/arm/stm32f072_eval/stm32f072_eval_defconfig index ec4c88ba7893..f679298d0b40 100644 --- a/boards/arm/stm32f072_eval/stm32f072_eval_defconfig +++ b/boards/arm/stm32f072_eval/stm32f072_eval_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Zephyr Kernel Configuration CONFIG_ARM=y CONFIG_SOC_SERIES_STM32F0X=y diff --git a/boards/arm/stm32f072b_disco/CMakeLists.txt b/boards/arm/stm32f072b_disco/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/stm32f072b_disco/CMakeLists.txt +++ b/boards/arm/stm32f072b_disco/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/stm32f072b_disco/board.cmake b/boards/arm/stm32f072b_disco/board.cmake index 2b06911ef78c..dc46d3376e88 100644 --- a/boards/arm/stm32f072b_disco/board.cmake +++ b/boards/arm/stm32f072b_disco/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include($ENV{ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/stm32f072b_disco/stm32f072b_disco_defconfig b/boards/arm/stm32f072b_disco/stm32f072b_disco_defconfig index 716ef57595f7..493aca39f35a 100644 --- a/boards/arm/stm32f072b_disco/stm32f072b_disco_defconfig +++ b/boards/arm/stm32f072b_disco/stm32f072b_disco_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Zephyr Kernel Configuration CONFIG_ARM=y CONFIG_SOC_SERIES_STM32F0X=y diff --git a/boards/arm/stm32f0_disco/CMakeLists.txt b/boards/arm/stm32f0_disco/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/stm32f0_disco/CMakeLists.txt +++ b/boards/arm/stm32f0_disco/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/stm32f0_disco/board.cmake b/boards/arm/stm32f0_disco/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/stm32f0_disco/board.cmake +++ b/boards/arm/stm32f0_disco/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/stm32f0_disco/stm32f0_disco_defconfig b/boards/arm/stm32f0_disco/stm32f0_disco_defconfig index 25dd94a107bd..d31de29629e5 100644 --- a/boards/arm/stm32f0_disco/stm32f0_disco_defconfig +++ b/boards/arm/stm32f0_disco/stm32f0_disco_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Zephyr Kernel Configuration CONFIG_ARM=y CONFIG_SOC_SERIES_STM32F0X=y diff --git a/boards/arm/stm32f3_disco/CMakeLists.txt b/boards/arm/stm32f3_disco/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/stm32f3_disco/CMakeLists.txt +++ b/boards/arm/stm32f3_disco/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/stm32f3_disco/board.cmake b/boards/arm/stm32f3_disco/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/stm32f3_disco/board.cmake +++ b/boards/arm/stm32f3_disco/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/stm32f3_disco/stm32f3_disco_defconfig b/boards/arm/stm32f3_disco/stm32f3_disco_defconfig index dd720fb789b4..fc5ac88c4305 100644 --- a/boards/arm/stm32f3_disco/stm32f3_disco_defconfig +++ b/boards/arm/stm32f3_disco/stm32f3_disco_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_STM32F3_DISCO=y CONFIG_SOC_SERIES_STM32F3X=y diff --git a/boards/arm/stm32f411e_disco/CMakeLists.txt b/boards/arm/stm32f411e_disco/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/stm32f411e_disco/CMakeLists.txt +++ b/boards/arm/stm32f411e_disco/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/stm32f411e_disco/board.cmake b/boards/arm/stm32f411e_disco/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/stm32f411e_disco/board.cmake +++ b/boards/arm/stm32f411e_disco/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/stm32f411e_disco/stm32f411e_disco_defconfig b/boards/arm/stm32f411e_disco/stm32f411e_disco_defconfig index b672efe5d5bb..4d3b72f7180c 100644 --- a/boards/arm/stm32f411e_disco/stm32f411e_disco_defconfig +++ b/boards/arm/stm32f411e_disco/stm32f411e_disco_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_STM32F411E_DISCO=y CONFIG_SOC_SERIES_STM32F4X=y diff --git a/boards/arm/stm32f412g_disco/CMakeLists.txt b/boards/arm/stm32f412g_disco/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/stm32f412g_disco/CMakeLists.txt +++ b/boards/arm/stm32f412g_disco/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/stm32f412g_disco/board.cmake b/boards/arm/stm32f412g_disco/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/stm32f412g_disco/board.cmake +++ b/boards/arm/stm32f412g_disco/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/stm32f412g_disco/stm32f412g_disco_defconfig b/boards/arm/stm32f412g_disco/stm32f412g_disco_defconfig index a9ba86966014..50b600df9998 100644 --- a/boards/arm/stm32f412g_disco/stm32f412g_disco_defconfig +++ b/boards/arm/stm32f412g_disco/stm32f412g_disco_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_STM32F412G_DISCO=y CONFIG_SOC_SERIES_STM32F4X=y diff --git a/boards/arm/stm32f429i_disc1/CMakeLists.txt b/boards/arm/stm32f429i_disc1/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/stm32f429i_disc1/CMakeLists.txt +++ b/boards/arm/stm32f429i_disc1/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/stm32f429i_disc1/board.cmake b/boards/arm/stm32f429i_disc1/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/stm32f429i_disc1/board.cmake +++ b/boards/arm/stm32f429i_disc1/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/stm32f429i_disc1/stm32f429i_disc1_defconfig b/boards/arm/stm32f429i_disc1/stm32f429i_disc1_defconfig index f79a106cb47b..795c9496ed71 100644 --- a/boards/arm/stm32f429i_disc1/stm32f429i_disc1_defconfig +++ b/boards/arm/stm32f429i_disc1/stm32f429i_disc1_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_STM32F429I_DISC1=y CONFIG_SOC_SERIES_STM32F4X=y diff --git a/boards/arm/stm32f469i_disco/CMakeLists.txt b/boards/arm/stm32f469i_disco/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/stm32f469i_disco/CMakeLists.txt +++ b/boards/arm/stm32f469i_disco/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/stm32f469i_disco/board.cmake b/boards/arm/stm32f469i_disco/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/stm32f469i_disco/board.cmake +++ b/boards/arm/stm32f469i_disco/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/stm32f469i_disco/stm32f469i_disco_defconfig b/boards/arm/stm32f469i_disco/stm32f469i_disco_defconfig index 8981ad580989..91b587d9a202 100644 --- a/boards/arm/stm32f469i_disco/stm32f469i_disco_defconfig +++ b/boards/arm/stm32f469i_disco/stm32f469i_disco_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_STM32F469I_DISCO=y CONFIG_SOC_SERIES_STM32F4X=y diff --git a/boards/arm/stm32f4_disco/CMakeLists.txt b/boards/arm/stm32f4_disco/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/stm32f4_disco/CMakeLists.txt +++ b/boards/arm/stm32f4_disco/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/stm32f4_disco/board.cmake b/boards/arm/stm32f4_disco/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/stm32f4_disco/board.cmake +++ b/boards/arm/stm32f4_disco/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/stm32f4_disco/stm32f4_disco_defconfig b/boards/arm/stm32f4_disco/stm32f4_disco_defconfig index 56db738a4a27..a4498f08ef8b 100644 --- a/boards/arm/stm32f4_disco/stm32f4_disco_defconfig +++ b/boards/arm/stm32f4_disco/stm32f4_disco_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_STM32F4_DISCO=y CONFIG_SOC_SERIES_STM32F4X=y diff --git a/boards/arm/stm32f723e_disco/CMakeLists.txt b/boards/arm/stm32f723e_disco/CMakeLists.txt index a700f3c235d0..b32b6144e133 100644 --- a/boards/arm/stm32f723e_disco/CMakeLists.txt +++ b/boards/arm/stm32f723e_disco/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${PROJECT_SOURCE_DIR}/drivers) diff --git a/boards/arm/stm32f723e_disco/board.cmake b/boards/arm/stm32f723e_disco/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/stm32f723e_disco/board.cmake +++ b/boards/arm/stm32f723e_disco/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/stm32f723e_disco/stm32f723e_disco_defconfig b/boards/arm/stm32f723e_disco/stm32f723e_disco_defconfig index 44b59c907dc2..b54ed6f8f6d4 100644 --- a/boards/arm/stm32f723e_disco/stm32f723e_disco_defconfig +++ b/boards/arm/stm32f723e_disco/stm32f723e_disco_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_STM32F723E_DISCO=y CONFIG_SOC_SERIES_STM32F7X=y diff --git a/boards/arm/stm32f746g_disco/CMakeLists.txt b/boards/arm/stm32f746g_disco/CMakeLists.txt index a700f3c235d0..b32b6144e133 100644 --- a/boards/arm/stm32f746g_disco/CMakeLists.txt +++ b/boards/arm/stm32f746g_disco/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${PROJECT_SOURCE_DIR}/drivers) diff --git a/boards/arm/stm32f746g_disco/board.cmake b/boards/arm/stm32f746g_disco/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/stm32f746g_disco/board.cmake +++ b/boards/arm/stm32f746g_disco/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/stm32f746g_disco/stm32f746g_disco_defconfig b/boards/arm/stm32f746g_disco/stm32f746g_disco_defconfig index c6b37fb545d4..7bb3038f32a1 100644 --- a/boards/arm/stm32f746g_disco/stm32f746g_disco_defconfig +++ b/boards/arm/stm32f746g_disco/stm32f746g_disco_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_STM32F746G_DISCO=y CONFIG_SOC_SERIES_STM32F7X=y diff --git a/boards/arm/stm32f769i_disco/CMakeLists.txt b/boards/arm/stm32f769i_disco/CMakeLists.txt index a700f3c235d0..b32b6144e133 100644 --- a/boards/arm/stm32f769i_disco/CMakeLists.txt +++ b/boards/arm/stm32f769i_disco/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${PROJECT_SOURCE_DIR}/drivers) diff --git a/boards/arm/stm32f769i_disco/board.cmake b/boards/arm/stm32f769i_disco/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/stm32f769i_disco/board.cmake +++ b/boards/arm/stm32f769i_disco/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/stm32f769i_disco/stm32f769i_disco_defconfig b/boards/arm/stm32f769i_disco/stm32f769i_disco_defconfig index 207b0c17096e..43950c2e9319 100644 --- a/boards/arm/stm32f769i_disco/stm32f769i_disco_defconfig +++ b/boards/arm/stm32f769i_disco/stm32f769i_disco_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_STM32F769I_DISCO=y CONFIG_SOC_SERIES_STM32F7X=y diff --git a/boards/arm/stm32l476g_disco/CMakeLists.txt b/boards/arm/stm32l476g_disco/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/stm32l476g_disco/CMakeLists.txt +++ b/boards/arm/stm32l476g_disco/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/stm32l476g_disco/board.cmake b/boards/arm/stm32l476g_disco/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/stm32l476g_disco/board.cmake +++ b/boards/arm/stm32l476g_disco/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/stm32l476g_disco/stm32l476g_disco_defconfig b/boards/arm/stm32l476g_disco/stm32l476g_disco_defconfig index 427d4b75d10d..9559ef955fb9 100644 --- a/boards/arm/stm32l476g_disco/stm32l476g_disco_defconfig +++ b/boards/arm/stm32l476g_disco/stm32l476g_disco_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_STM32L476G_DISCO=y CONFIG_SOC_SERIES_STM32L4X=y diff --git a/boards/arm/stm32l496g_disco/CMakeLists.txt b/boards/arm/stm32l496g_disco/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/arm/stm32l496g_disco/CMakeLists.txt +++ b/boards/arm/stm32l496g_disco/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/stm32l496g_disco/board.cmake b/boards/arm/stm32l496g_disco/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/arm/stm32l496g_disco/board.cmake +++ b/boards/arm/stm32l496g_disco/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/arm/stm32l496g_disco/stm32l496g_disco_defconfig b/boards/arm/stm32l496g_disco/stm32l496g_disco_defconfig index b80b170e0a6e..27cbbef7325f 100644 --- a/boards/arm/stm32l496g_disco/stm32l496g_disco_defconfig +++ b/boards/arm/stm32l496g_disco/stm32l496g_disco_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_BOARD_STM32L496G_DISCO=y CONFIG_SOC_SERIES_STM32L4X=y diff --git a/boards/arm/usb_kw24d512/CMakeLists.txt b/boards/arm/usb_kw24d512/CMakeLists.txt index 9e1c03c43d4d..0849d89e4ee6 100644 --- a/boards/arm/usb_kw24d512/CMakeLists.txt +++ b/boards/arm/usb_kw24d512/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_PINMUX_MCUX) zephyr_library() zephyr_library_sources(pinmux.c) diff --git a/boards/arm/usb_kw24d512/board.cmake b/boards/arm/usb_kw24d512/board.cmake index d0a4621f7e09..c33d56fe40f2 100644 --- a/boards/arm/usb_kw24d512/board.cmake +++ b/boards/arm/usb_kw24d512/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(jlink "--device=MKW24D512xxx5" "--speed=4000") board_runner_args(pyocd "--target=kw24d5") diff --git a/boards/arm/usb_kw24d512/usb_kw24d512.dts b/boards/arm/usb_kw24d512/usb_kw24d512.dts index 74474927e2fe..87dd2ef9a31b 100644 --- a/boards/arm/usb_kw24d512/usb_kw24d512.dts +++ b/boards/arm/usb_kw24d512/usb_kw24d512.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/arm/usb_kw24d512/usb_kw24d512_defconfig b/boards/arm/usb_kw24d512/usb_kw24d512_defconfig index 098d86a9d659..0386400ab8cb 100644 --- a/boards/arm/usb_kw24d512/usb_kw24d512_defconfig +++ b/boards/arm/usb_kw24d512/usb_kw24d512_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_MKW24D5=y CONFIG_SOC_SERIES_KINETIS_KWX=y diff --git a/boards/arm/v2m_beetle/CMakeLists.txt b/boards/arm/v2m_beetle/CMakeLists.txt index 9d9e6e3c4420..13a812f409ab 100644 --- a/boards/arm/v2m_beetle/CMakeLists.txt +++ b/boards/arm/v2m_beetle/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_PINMUX_BEETLE) zephyr_library() zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/arm/v2m_beetle/board.cmake b/boards/arm/v2m_beetle/board.cmake index cf3657fa3329..278da2a17a01 100644 --- a/boards/arm/v2m_beetle/board.cmake +++ b/boards/arm/v2m_beetle/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + set(BOARD_DEBUG_RUNNER openocd) diff --git a/boards/arm/v2m_beetle/v2m_beetle.dts b/boards/arm/v2m_beetle/v2m_beetle.dts index ef8d4bfd842c..276a9aa71240 100644 --- a/boards/arm/v2m_beetle/v2m_beetle.dts +++ b/boards/arm/v2m_beetle/v2m_beetle.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/common/blackmagicprobe.board.cmake b/boards/common/blackmagicprobe.board.cmake index 0bfe40e975e8..0ba4d70807bf 100644 --- a/boards/common/blackmagicprobe.board.cmake +++ b/boards/common/blackmagicprobe.board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(BOARD_FLASH_RUNNER blackmagicprobe) set_ifndef(BOARD_DEBUG_RUNNER blackmagicprobe) board_finalize_runner_args(blackmagicprobe) # No default arguments to provide diff --git a/boards/common/bossac.board.cmake b/boards/common/bossac.board.cmake index ae3fc174fcbf..a978fbf1f6c1 100644 --- a/boards/common/bossac.board.cmake +++ b/boards/common/bossac.board.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(BOARD_FLASH_RUNNER bossac) board_finalize_runner_args(bossac "--bossac=${BOSSAC}") diff --git a/boards/common/dfu-util.board.cmake b/boards/common/dfu-util.board.cmake index f41cf3a90364..8aa846256700 100644 --- a/boards/common/dfu-util.board.cmake +++ b/boards/common/dfu-util.board.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(BOARD_FLASH_RUNNER dfu-util) board_finalize_runner_args(dfu-util) # No default arguments to provide. diff --git a/boards/common/esp32.board.cmake b/boards/common/esp32.board.cmake index 42a5c48fd191..0ac373eb51da 100644 --- a/boards/common/esp32.board.cmake +++ b/boards/common/esp32.board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(BOARD_FLASH_RUNNER esp32) if(NOT DEFINED ESP_IDF_PATH) diff --git a/boards/common/jlink.board.cmake b/boards/common/jlink.board.cmake index bf23178e36fa..3c99fc3b0250 100644 --- a/boards/common/jlink.board.cmake +++ b/boards/common/jlink.board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(BOARD_FLASH_RUNNER jlink) set_ifndef(BOARD_DEBUG_RUNNER jlink) board_finalize_runner_args(jlink "--dt-flash=y") diff --git a/boards/common/nios2.board.cmake b/boards/common/nios2.board.cmake index 950eed652fab..6e59a2a3e705 100644 --- a/boards/common/nios2.board.cmake +++ b/boards/common/nios2.board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(BOARD_FLASH_RUNNER nios2) set_ifndef(BOARD_DEBUG_RUNNER nios2) diff --git a/boards/common/nrfjprog.board.cmake b/boards/common/nrfjprog.board.cmake index f68689636d64..9d251dd46ab6 100644 --- a/boards/common/nrfjprog.board.cmake +++ b/boards/common/nrfjprog.board.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(BOARD_FLASH_RUNNER nrfjprog) board_finalize_runner_args(nrfjprog) # No default arguments to provide. diff --git a/boards/common/openocd.board.cmake b/boards/common/openocd.board.cmake index 2f7c203eeb9c..8fae114275cd 100644 --- a/boards/common/openocd.board.cmake +++ b/boards/common/openocd.board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(BOARD_FLASH_RUNNER openocd) set_ifndef(BOARD_DEBUG_RUNNER openocd) diff --git a/boards/common/pyocd.board.cmake b/boards/common/pyocd.board.cmake index 26b0cc542572..fd823b42b889 100644 --- a/boards/common/pyocd.board.cmake +++ b/boards/common/pyocd.board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(BOARD_FLASH_RUNNER pyocd) set_ifndef(BOARD_DEBUG_RUNNER pyocd) board_finalize_runner_args(pyocd "--dt-flash=y") diff --git a/boards/nios2/altera_max10/Kconfig.board b/boards/nios2/altera_max10/Kconfig.board index 90b6641458e6..90f467915bdd 100644 --- a/boards/nios2/altera_max10/Kconfig.board +++ b/boards/nios2/altera_max10/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_ALTERA_MAX10 bool "Altera MAX10 Board" depends on SOC_NIOS2F_ZEPHYR diff --git a/boards/nios2/altera_max10/Kconfig.defconfig b/boards/nios2/altera_max10/Kconfig.defconfig index b891bfe68347..a23490c34355 100644 --- a/boards/nios2/altera_max10/Kconfig.defconfig +++ b/boards/nios2/altera_max10/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_ALTERA_MAX10 config BOARD diff --git a/boards/nios2/altera_max10/altera_max10.dts b/boards/nios2/altera_max10/altera_max10.dts index 69e2ff770a9b..9cb81ca8ef21 100644 --- a/boards/nios2/altera_max10/altera_max10.dts +++ b/boards/nios2/altera_max10/altera_max10.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/nios2/altera_max10/altera_max10_defconfig b/boards/nios2/altera_max10/altera_max10_defconfig index 024300a93347..cddc6c4652dd 100644 --- a/boards/nios2/altera_max10/altera_max10_defconfig +++ b/boards/nios2/altera_max10/altera_max10_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_NIOS2=y CONFIG_SOC_NIOS2F_ZEPHYR=y CONFIG_BOARD_ALTERA_MAX10=y diff --git a/boards/nios2/altera_max10/board.cmake b/boards/nios2/altera_max10/board.cmake index 2c41da423e7b..9e7a8dd873d5 100644 --- a/boards/nios2/altera_max10/board.cmake +++ b/boards/nios2/altera_max10/board.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(nios2 "--cpu-sof=${ZEPHYR_BASE}/soc/nios2/nios2f-zephyr/cpu/ghrd_10m50da.sof") include(${ZEPHYR_BASE}/boards/common/nios2.board.cmake) diff --git a/boards/nios2/qemu_nios2/Kconfig.board b/boards/nios2/qemu_nios2/Kconfig.board index 879b15ec412b..de59ab26b4ab 100644 --- a/boards/nios2/qemu_nios2/Kconfig.board +++ b/boards/nios2/qemu_nios2/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_QEMU_NIOS2 bool "QEMU NIOS II target" depends on SOC_NIOS2_QEMU diff --git a/boards/nios2/qemu_nios2/Kconfig.defconfig b/boards/nios2/qemu_nios2/Kconfig.defconfig index dd4ae5f58a46..0e6b88136f2a 100644 --- a/boards/nios2/qemu_nios2/Kconfig.defconfig +++ b/boards/nios2/qemu_nios2/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_QEMU_NIOS2 config BUILD_OUTPUT_BIN diff --git a/boards/nios2/qemu_nios2/board.cmake b/boards/nios2/qemu_nios2/board.cmake index c4beaf518e55..b9400d66c95f 100644 --- a/boards/nios2/qemu_nios2/board.cmake +++ b/boards/nios2/qemu_nios2/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(EMU_PLATFORM qemu) set(QEMU_CPU_TYPE_${ARCH} nios2) diff --git a/boards/nios2/qemu_nios2/qemu_nios2.dts b/boards/nios2/qemu_nios2/qemu_nios2.dts index 38d7f1ab33ce..a0752654551e 100644 --- a/boards/nios2/qemu_nios2/qemu_nios2.dts +++ b/boards/nios2/qemu_nios2/qemu_nios2.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/nios2/qemu_nios2/qemu_nios2_defconfig b/boards/nios2/qemu_nios2/qemu_nios2_defconfig index 9cb054b06141..468876de0a6f 100644 --- a/boards/nios2/qemu_nios2/qemu_nios2_defconfig +++ b/boards/nios2/qemu_nios2/qemu_nios2_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_NIOS2=y CONFIG_SOC_NIOS2_QEMU=y CONFIG_BOARD_QEMU_NIOS2=y diff --git a/boards/posix/native_posix/CMakeLists.txt b/boards/posix/native_posix/CMakeLists.txt index 5ec39a8e7412..39ea2f135637 100644 --- a/boards/posix/native_posix/CMakeLists.txt +++ b/boards/posix/native_posix/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_compile_definitions(NO_POSIX_CHEATS) zephyr_library_sources( diff --git a/boards/posix/native_posix/Kconfig b/boards/posix/native_posix/Kconfig index 5825ec979242..1b5b0198c0db 100644 --- a/boards/posix/native_posix/Kconfig +++ b/boards/posix/native_posix/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_NATIVE_POSIX comment "Native POSIX options" diff --git a/boards/posix/native_posix/Kconfig.board b/boards/posix/native_posix/Kconfig.board index ef2293fba88f..381458cf73d1 100644 --- a/boards/posix/native_posix/Kconfig.board +++ b/boards/posix/native_posix/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_NATIVE_POSIX bool "Native POSIX" depends on SOC_POSIX diff --git a/boards/posix/native_posix/Kconfig.defconfig b/boards/posix/native_posix/Kconfig.defconfig index 62e1e3c2b6b3..109c04a66902 100644 --- a/boards/posix/native_posix/Kconfig.defconfig +++ b/boards/posix/native_posix/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_NATIVE_POSIX config BUILD_OUTPUT_BIN diff --git a/boards/posix/native_posix/board.cmake b/boards/posix/native_posix/board.cmake index c4a78fce884e..564667c90998 100644 --- a/boards/posix/native_posix/board.cmake +++ b/boards/posix/native_posix/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + set(EMU_PLATFORM native) diff --git a/boards/posix/native_posix/native_posix_defconfig b/boards/posix/native_posix/native_posix_defconfig index 226cf0da7631..12f02f60749b 100644 --- a/boards/posix/native_posix/native_posix_defconfig +++ b/boards/posix/native_posix/native_posix_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARCH_POSIX=y CONFIG_SOC_POSIX=y CONFIG_BOARD_NATIVE_POSIX=y diff --git a/boards/posix/nrf52_bsim/CMakeLists.txt b/boards/posix/nrf52_bsim/CMakeLists.txt index 8b888f4e29c6..7afdaf6cac90 100644 --- a/boards/posix/nrf52_bsim/CMakeLists.txt +++ b/boards/posix/nrf52_bsim/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if (NOT DEFINED ENV{BSIM_COMPONENTS_PATH}) message(FATAL_ERROR "This board requires the BabbleSim simulator. Please set\ the enviroment variable BSIM_COMPONENTS_PATH to point to its components \ diff --git a/boards/posix/nrf52_bsim/Kconfig b/boards/posix/nrf52_bsim/Kconfig index d0f756c1e373..65618654e50d 100644 --- a/boards/posix/nrf52_bsim/Kconfig +++ b/boards/posix/nrf52_bsim/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_NRF52_BSIM comment "NRF52_BSIM options" diff --git a/boards/posix/nrf52_bsim/Kconfig.board b/boards/posix/nrf52_bsim/Kconfig.board index 44ac12237b5a..4c33c7feef65 100644 --- a/boards/posix/nrf52_bsim/Kconfig.board +++ b/boards/posix/nrf52_bsim/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_NRF52_BSIM bool "NRF52 simulation model" select SOC_SERIES_BSIM_NRFXX diff --git a/boards/posix/nrf52_bsim/Kconfig.defconfig b/boards/posix/nrf52_bsim/Kconfig.defconfig index 3fea7cb22a60..4812b9c54664 100644 --- a/boards/posix/nrf52_bsim/Kconfig.defconfig +++ b/boards/posix/nrf52_bsim/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_NRF52_BSIM config BUILD_OUTPUT_BIN diff --git a/boards/posix/nrf52_bsim/board.cmake b/boards/posix/nrf52_bsim/board.cmake index c4a78fce884e..564667c90998 100644 --- a/boards/posix/nrf52_bsim/board.cmake +++ b/boards/posix/nrf52_bsim/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + set(EMU_PLATFORM native) diff --git a/boards/posix/nrf52_bsim/nrf52_bsim_defconfig b/boards/posix/nrf52_bsim/nrf52_bsim_defconfig index 44cfd0d46a20..b8732fa2c95f 100644 --- a/boards/posix/nrf52_bsim/nrf52_bsim_defconfig +++ b/boards/posix/nrf52_bsim/nrf52_bsim_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARCH_POSIX=y CONFIG_SOC_POSIX=y CONFIG_BOARD_NRF52_BSIM=y diff --git a/boards/riscv32/hifive1/CMakeLists.txt b/boards/riscv32/hifive1/CMakeLists.txt index d78027f97558..572024925103 100644 --- a/boards/riscv32/hifive1/CMakeLists.txt +++ b/boards/riscv32/hifive1/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_sources(clock.c) diff --git a/boards/riscv32/hifive1/Kconfig.board b/boards/riscv32/hifive1/Kconfig.board index de12651856f4..c7ea951b74bb 100644 --- a/boards/riscv32/hifive1/Kconfig.board +++ b/boards/riscv32/hifive1/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_HIFIVE1 bool "HiFive1 target" depends on SOC_RISCV32_SIFIVE_FREEDOM diff --git a/boards/riscv32/hifive1/Kconfig.defconfig b/boards/riscv32/hifive1/Kconfig.defconfig index 41c194fb050a..a8f0f0048040 100644 --- a/boards/riscv32/hifive1/Kconfig.defconfig +++ b/boards/riscv32/hifive1/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_HIFIVE1 config BOARD diff --git a/boards/riscv32/hifive1/board.cmake b/boards/riscv32/hifive1/board.cmake index 8f41c2742845..d0bcec6b1c2f 100644 --- a/boards/riscv32/hifive1/board.cmake +++ b/boards/riscv32/hifive1/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(EMU_PLATFORM qemu) set(QEMU_CPU_TYPE_${ARCH} riscv32) diff --git a/boards/riscv32/hifive1/hifive1.dts b/boards/riscv32/hifive1/hifive1.dts index 6f3638a76ee5..e284cf0cdada 100644 --- a/boards/riscv32/hifive1/hifive1.dts +++ b/boards/riscv32/hifive1/hifive1.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/riscv32/hifive1/hifive1_defconfig b/boards/riscv32/hifive1/hifive1_defconfig index f51a57bf090d..e9928398b061 100644 --- a/boards/riscv32/hifive1/hifive1_defconfig +++ b/boards/riscv32/hifive1/hifive1_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_RISCV32=y CONFIG_SOC_SERIES_RISCV32_SIFIVE_FREEDOM=y CONFIG_SOC_RISCV32_SIFIVE_FREEDOM=y diff --git a/boards/riscv32/m2gl025_miv/CMakeLists.txt b/boards/riscv32/m2gl025_miv/CMakeLists.txt index 5dd35cc6246d..80a15336ca43 100644 --- a/boards/riscv32/m2gl025_miv/CMakeLists.txt +++ b/boards/riscv32/m2gl025_miv/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library_include_directories(${PROJECT_SOURCE_DIR}/drivers) diff --git a/boards/riscv32/m2gl025_miv/Kconfig.board b/boards/riscv32/m2gl025_miv/Kconfig.board index da385ee51fef..9154176ece6f 100644 --- a/boards/riscv32/m2gl025_miv/Kconfig.board +++ b/boards/riscv32/m2gl025_miv/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_M2GL025_MIV bool "Microsemi M2GL025 IGLOO2 dev board with Mi-V CPU" depends on SOC_RISCV32_MIV diff --git a/boards/riscv32/m2gl025_miv/Kconfig.defconfig b/boards/riscv32/m2gl025_miv/Kconfig.defconfig index c152bf1aac3f..c743f128453f 100644 --- a/boards/riscv32/m2gl025_miv/Kconfig.defconfig +++ b/boards/riscv32/m2gl025_miv/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_M2GL025_MIV config BOARD diff --git a/boards/riscv32/m2gl025_miv/board.cmake b/boards/riscv32/m2gl025_miv/board.cmake index 877836610e05..5bc3a7377f24 100644 --- a/boards/riscv32/m2gl025_miv/board.cmake +++ b/boards/riscv32/m2gl025_miv/board.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + set(EMU_PLATFORM renode) set(RENODE_SCRIPT ${CMAKE_CURRENT_LIST_DIR}/support/m2gl025_miv.resc) diff --git a/boards/riscv32/m2gl025_miv/m2gl025_miv_defconfig b/boards/riscv32/m2gl025_miv/m2gl025_miv_defconfig index 484326156cbb..4adf7ba848d5 100644 --- a/boards/riscv32/m2gl025_miv/m2gl025_miv_defconfig +++ b/boards/riscv32/m2gl025_miv/m2gl025_miv_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_RISCV32=y CONFIG_SOC_SERIES_RISCV32_MIV=y CONFIG_SOC_RISCV32_MIV=y diff --git a/boards/riscv32/qemu_riscv32/Kconfig.board b/boards/riscv32/qemu_riscv32/Kconfig.board index b89da0bca3f4..444a16163bf7 100644 --- a/boards/riscv32/qemu_riscv32/Kconfig.board +++ b/boards/riscv32/qemu_riscv32/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_QEMU_RISCV32 bool "QEMU RISCV32 target" depends on SOC_RISCV32_SIFIVE_FREEDOM diff --git a/boards/riscv32/qemu_riscv32/Kconfig.defconfig b/boards/riscv32/qemu_riscv32/Kconfig.defconfig index f11878b18ab8..8afd210c308b 100644 --- a/boards/riscv32/qemu_riscv32/Kconfig.defconfig +++ b/boards/riscv32/qemu_riscv32/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_QEMU_RISCV32 config BUILD_OUTPUT_BIN diff --git a/boards/riscv32/qemu_riscv32/board.cmake b/boards/riscv32/qemu_riscv32/board.cmake index 81845432a5a1..612c872d5c6f 100644 --- a/boards/riscv32/qemu_riscv32/board.cmake +++ b/boards/riscv32/qemu_riscv32/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(EMU_PLATFORM qemu) set(QEMU_CPU_TYPE_${ARCH} riscv32) diff --git a/boards/riscv32/qemu_riscv32/qemu_riscv32.dts b/boards/riscv32/qemu_riscv32/qemu_riscv32.dts index 4dd19d525c17..2465ef497826 100644 --- a/boards/riscv32/qemu_riscv32/qemu_riscv32.dts +++ b/boards/riscv32/qemu_riscv32/qemu_riscv32.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/riscv32/qemu_riscv32/qemu_riscv32_defconfig b/boards/riscv32/qemu_riscv32/qemu_riscv32_defconfig index e9b1e1410763..21cfea5c97fe 100644 --- a/boards/riscv32/qemu_riscv32/qemu_riscv32_defconfig +++ b/boards/riscv32/qemu_riscv32/qemu_riscv32_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_RISCV32=y CONFIG_SOC_SERIES_RISCV32_SIFIVE_FREEDOM=y CONFIG_SOC_RISCV32_SIFIVE_FREEDOM=y diff --git a/boards/riscv32/rv32m1_vega/CMakeLists.txt b/boards/riscv32/rv32m1_vega/CMakeLists.txt index d2830f500529..9bc25bae4c64 100644 --- a/boards/riscv32/rv32m1_vega/CMakeLists.txt +++ b/boards/riscv32/rv32m1_vega/CMakeLists.txt @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) diff --git a/boards/riscv32/rv32m1_vega/Kconfig.board b/boards/riscv32/rv32m1_vega/Kconfig.board index 902e4c106057..1c36ce9cd7e2 100644 --- a/boards/riscv32/rv32m1_vega/Kconfig.board +++ b/boards/riscv32/rv32m1_vega/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_RV32M1_VEGA bool "RV32M1 RISC-V cores" depends on SOC_OPENISA_RV32M1_RISCV32 diff --git a/boards/riscv32/rv32m1_vega/Kconfig.defconfig b/boards/riscv32/rv32m1_vega/Kconfig.defconfig index 4e8acc97162e..5707b060eb89 100644 --- a/boards/riscv32/rv32m1_vega/Kconfig.defconfig +++ b/boards/riscv32/rv32m1_vega/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_RV32M1_VEGA config BOARD diff --git a/boards/riscv32/rv32m1_vega/board.cmake b/boards/riscv32/rv32m1_vega/board.cmake index 6b6ede231a34..e65bc49a33bd 100644 --- a/boards/riscv32/rv32m1_vega/board.cmake +++ b/boards/riscv32/rv32m1_vega/board.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + set(OPENOCD_USE_LOAD_IMAGE NO) include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/riscv32/rv32m1_vega/rv32m1_vega_ri5cy_defconfig b/boards/riscv32/rv32m1_vega/rv32m1_vega_ri5cy_defconfig index 71347a05c301..7b94138c722d 100644 --- a/boards/riscv32/rv32m1_vega/rv32m1_vega_ri5cy_defconfig +++ b/boards/riscv32/rv32m1_vega/rv32m1_vega_ri5cy_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_RISCV32=y CONFIG_SOC_OPENISA_RV32M1_RISCV32=y CONFIG_SOC_OPENISA_RV32M1_RI5CY=y diff --git a/boards/x86/acrn/acrn_defconfig b/boards/x86/acrn/acrn_defconfig index c7b27e621fc8..42349ef7dc35 100644 --- a/boards/x86/acrn/acrn_defconfig +++ b/boards/x86/acrn/acrn_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_SOC_IA32=y CONFIG_BOARD_ACRN=y CONFIG_IA32_LEGACY_IO_PORTS=y diff --git a/boards/x86/arduino_101/CMakeLists.txt b/boards/x86/arduino_101/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/x86/arduino_101/CMakeLists.txt +++ b/boards/x86/arduino_101/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/x86/arduino_101/Kconfig.board b/boards/x86/arduino_101/Kconfig.board index a001f63a2c7e..b722bb31b618 100644 --- a/boards/x86/arduino_101/Kconfig.board +++ b/boards/x86/arduino_101/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_ARDUINO_101 bool "Arduino 101 Board" depends on SOC_SERIES_QUARK_SE diff --git a/boards/x86/arduino_101/Kconfig.defconfig b/boards/x86/arduino_101/Kconfig.defconfig index 3eeb1203d155..aaa092b562e3 100644 --- a/boards/x86/arduino_101/Kconfig.defconfig +++ b/boards/x86/arduino_101/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_ARDUINO_101 config BOARD diff --git a/boards/x86/arduino_101/arduino_101.dts b/boards/x86/arduino_101/arduino_101.dts index 951730255d6d..1cc530328ab8 100644 --- a/boards/x86/arduino_101/arduino_101.dts +++ b/boards/x86/arduino_101/arduino_101.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/x86/arduino_101/arduino_101_defconfig b/boards/x86/arduino_101/arduino_101_defconfig index 77b3fda1bb8f..9956a97f0c7c 100644 --- a/boards/x86/arduino_101/arduino_101_defconfig +++ b/boards/x86/arduino_101/arduino_101_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_X86=y CONFIG_SOC_QUARK_SE_C1000=y CONFIG_SOC_SERIES_QUARK_SE=y diff --git a/boards/x86/arduino_101/arduino_101_mcuboot_defconfig b/boards/x86/arduino_101/arduino_101_mcuboot_defconfig index 63381af6d84f..6843ad3d9187 100644 --- a/boards/x86/arduino_101/arduino_101_mcuboot_defconfig +++ b/boards/x86/arduino_101/arduino_101_mcuboot_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_X86=y CONFIG_SOC_QUARK_SE_C1000=y CONFIG_SOC_SERIES_QUARK_SE=y diff --git a/boards/x86/arduino_101/board.cmake b/boards/x86/arduino_101/board.cmake index 8fd8a8c62c3f..3eb73dece1ce 100644 --- a/boards/x86/arduino_101/board.cmake +++ b/boards/x86/arduino_101/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(DEFINED ENV{ZEPHYR_FLASH_OVER_DFU}) set(BOARD_FLASH_RUNNER dfu-util) endif() diff --git a/boards/x86/galileo/CMakeLists.txt b/boards/x86/galileo/CMakeLists.txt index a20f7d657807..8ea821ac6076 100644 --- a/boards/x86/galileo/CMakeLists.txt +++ b/boards/x86/galileo/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_PINMUX) zephyr_library() zephyr_library_sources(pinmux.c) diff --git a/boards/x86/galileo/Kconfig.board b/boards/x86/galileo/Kconfig.board index 43b494cf4ff5..975fedb67c75 100644 --- a/boards/x86/galileo/Kconfig.board +++ b/boards/x86/galileo/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_GALILEO bool "Galileo Gen2" depends on SOC_SERIES_QUARK_X1000 diff --git a/boards/x86/galileo/Kconfig.defconfig b/boards/x86/galileo/Kconfig.defconfig index dfb67827c9d9..364f1ee03fe4 100644 --- a/boards/x86/galileo/Kconfig.defconfig +++ b/boards/x86/galileo/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_GALILEO config BUILD_OUTPUT_STRIPPED diff --git a/boards/x86/galileo/galileo.dts b/boards/x86/galileo/galileo.dts index 46562442a464..d5fd3f06e019 100644 --- a/boards/x86/galileo/galileo.dts +++ b/boards/x86/galileo/galileo.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/x86/galileo/galileo_defconfig b/boards/x86/galileo/galileo_defconfig index 111860428899..e150a5c7acbc 100644 --- a/boards/x86/galileo/galileo_defconfig +++ b/boards/x86/galileo/galileo_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_X86=y CONFIG_SOC_QUARK_X1000=y CONFIG_SOC_SERIES_QUARK_X1000=y diff --git a/boards/x86/minnowboard/Kconfig.board b/boards/x86/minnowboard/Kconfig.board index 2c8ec27a3017..8b1b89af1e03 100644 --- a/boards/x86/minnowboard/Kconfig.board +++ b/boards/x86/minnowboard/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_MINNOWBOARD bool "MinnowBoard Max" depends on SOC_ATOM diff --git a/boards/x86/minnowboard/Kconfig.defconfig b/boards/x86/minnowboard/Kconfig.defconfig index e66b24269c18..158d8f2a7fd8 100644 --- a/boards/x86/minnowboard/Kconfig.defconfig +++ b/boards/x86/minnowboard/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_MINNOWBOARD config BOARD diff --git a/boards/x86/minnowboard/minnowboard.dts b/boards/x86/minnowboard/minnowboard.dts index 746f6d7f06fb..ac2969f14ab3 100644 --- a/boards/x86/minnowboard/minnowboard.dts +++ b/boards/x86/minnowboard/minnowboard.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/x86/minnowboard/minnowboard_defconfig b/boards/x86/minnowboard/minnowboard_defconfig index c5e8531789aa..d33f54a7fb69 100644 --- a/boards/x86/minnowboard/minnowboard_defconfig +++ b/boards/x86/minnowboard/minnowboard_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_X86=y CONFIG_SOC_ATOM=y CONFIG_BOARD_MINNOWBOARD=y diff --git a/boards/x86/qemu_x86/Kconfig.board b/boards/x86/qemu_x86/Kconfig.board index c81e438799c2..736a40240610 100644 --- a/boards/x86/qemu_x86/Kconfig.board +++ b/boards/x86/qemu_x86/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_QEMU_X86 bool "QEMU x86" depends on SOC_IA32 diff --git a/boards/x86/qemu_x86/Kconfig.defconfig b/boards/x86/qemu_x86/Kconfig.defconfig index 502c8e2225e3..197661d5e35f 100644 --- a/boards/x86/qemu_x86/Kconfig.defconfig +++ b/boards/x86/qemu_x86/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_QEMU_X86 diff --git a/boards/x86/qemu_x86/board.cmake b/boards/x86/qemu_x86/board.cmake index a8cf1c113b56..a07c89199ac3 100644 --- a/boards/x86/qemu_x86/board.cmake +++ b/boards/x86/qemu_x86/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(EMU_PLATFORM qemu) if(NOT CONFIG_REBOOT) diff --git a/boards/x86/qemu_x86/dts_fixup.h b/boards/x86/qemu_x86/dts_fixup.h index d20bad3cfbb2..3ba8075abd6e 100644 --- a/boards/x86/qemu_x86/dts_fixup.h +++ b/boards/x86/qemu_x86/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* Board level DTS fixup file */ #define DT_ETH_E1000_BASE_ADDRESS DT_INTEL_E1000_FEBC0000_BASE_ADDRESS diff --git a/boards/x86/qemu_x86/qemu_x86.dts b/boards/x86/qemu_x86/qemu_x86.dts index 679ec693d321..ab3f45004d81 100644 --- a/boards/x86/qemu_x86/qemu_x86.dts +++ b/boards/x86/qemu_x86/qemu_x86.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/x86/qemu_x86/qemu_x86_defconfig b/boards/x86/qemu_x86/qemu_x86_defconfig index f18d1d9445eb..16fc2c36b6d0 100644 --- a/boards/x86/qemu_x86/qemu_x86_defconfig +++ b/boards/x86/qemu_x86/qemu_x86_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_X86=y CONFIG_SOC_IA32=y CONFIG_BOARD_QEMU_X86=y diff --git a/boards/x86/qemu_x86/qemu_x86_iamcu.dts b/boards/x86/qemu_x86/qemu_x86_iamcu.dts index ebed13076f8e..cac68cd695e1 100644 --- a/boards/x86/qemu_x86/qemu_x86_iamcu.dts +++ b/boards/x86/qemu_x86/qemu_x86_iamcu.dts @@ -1 +1,3 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include "qemu_x86.dts" diff --git a/boards/x86/qemu_x86/qemu_x86_iamcu_defconfig b/boards/x86/qemu_x86/qemu_x86_iamcu_defconfig index fda8d99d1d02..f0e151b7b9fc 100644 --- a/boards/x86/qemu_x86/qemu_x86_iamcu_defconfig +++ b/boards/x86/qemu_x86/qemu_x86_iamcu_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_X86=y CONFIG_SOC_IA32=y CONFIG_BOARD_QEMU_X86_IAMCU=y diff --git a/boards/x86/qemu_x86/qemu_x86_nommu.dts b/boards/x86/qemu_x86/qemu_x86_nommu.dts index ebed13076f8e..cac68cd695e1 100644 --- a/boards/x86/qemu_x86/qemu_x86_nommu.dts +++ b/boards/x86/qemu_x86/qemu_x86_nommu.dts @@ -1 +1,3 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include "qemu_x86.dts" diff --git a/boards/x86/qemu_x86/qemu_x86_nommu_defconfig b/boards/x86/qemu_x86/qemu_x86_nommu_defconfig index b178576f08cf..0aa3c9e4e25d 100644 --- a/boards/x86/qemu_x86/qemu_x86_nommu_defconfig +++ b/boards/x86/qemu_x86/qemu_x86_nommu_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_X86=y CONFIG_SOC_IA32=y CONFIG_BOARD_QEMU_X86=y diff --git a/boards/x86/quark_d2000_crb/CMakeLists.txt b/boards/x86/quark_d2000_crb/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/x86/quark_d2000_crb/CMakeLists.txt +++ b/boards/x86/quark_d2000_crb/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/x86/quark_d2000_crb/Kconfig.board b/boards/x86/quark_d2000_crb/Kconfig.board index 0e1bd67f3026..cc098b86147f 100644 --- a/boards/x86/quark_d2000_crb/Kconfig.board +++ b/boards/x86/quark_d2000_crb/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_QUARK_D2000_CRB bool "Intel Quark D2000 CRB" depends on SOC_SERIES_QUARK_D2000 diff --git a/boards/x86/quark_d2000_crb/Kconfig.defconfig b/boards/x86/quark_d2000_crb/Kconfig.defconfig index c8d20e6eed43..127c6e4dc057 100644 --- a/boards/x86/quark_d2000_crb/Kconfig.defconfig +++ b/boards/x86/quark_d2000_crb/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_QUARK_D2000_CRB config BOARD diff --git a/boards/x86/quark_d2000_crb/board.cmake b/boards/x86/quark_d2000_crb/board.cmake index 5edccfb1a66b..cbeaea2e4564 100644 --- a/boards/x86/quark_d2000_crb/board.cmake +++ b/boards/x86/quark_d2000_crb/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/x86/quark_d2000_crb/quark_d2000_crb.dts b/boards/x86/quark_d2000_crb/quark_d2000_crb.dts index 9e094805d754..748d13d826bf 100644 --- a/boards/x86/quark_d2000_crb/quark_d2000_crb.dts +++ b/boards/x86/quark_d2000_crb/quark_d2000_crb.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/x86/quark_d2000_crb/quark_d2000_crb_defconfig b/boards/x86/quark_d2000_crb/quark_d2000_crb_defconfig index bfc05bc61d05..ab1fd4c677ce 100644 --- a/boards/x86/quark_d2000_crb/quark_d2000_crb_defconfig +++ b/boards/x86/quark_d2000_crb/quark_d2000_crb_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_X86=y CONFIG_SOC_QUARK_D2000=y CONFIG_SOC_SERIES_QUARK_D2000=y diff --git a/boards/x86/quark_se_c1000_devboard/CMakeLists.txt b/boards/x86/quark_se_c1000_devboard/CMakeLists.txt index 59bb43451f73..836442f96cf4 100644 --- a/boards/x86/quark_se_c1000_devboard/CMakeLists.txt +++ b/boards/x86/quark_se_c1000_devboard/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources( pinmux.c diff --git a/boards/x86/quark_se_c1000_devboard/Kconfig.board b/boards/x86/quark_se_c1000_devboard/Kconfig.board index f86b5520b12c..d2b10a8b7d15 100644 --- a/boards/x86/quark_se_c1000_devboard/Kconfig.board +++ b/boards/x86/quark_se_c1000_devboard/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_QUARK_SE_C1000_DEVBOARD bool "Quark SE C1000 Devboard" depends on SOC_SERIES_QUARK_SE diff --git a/boards/x86/quark_se_c1000_devboard/Kconfig.defconfig b/boards/x86/quark_se_c1000_devboard/Kconfig.defconfig index 1b88d3a87607..d8dfbfcc5171 100644 --- a/boards/x86/quark_se_c1000_devboard/Kconfig.defconfig +++ b/boards/x86/quark_se_c1000_devboard/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_QUARK_SE_C1000_DEVBOARD config BOARD diff --git a/boards/x86/quark_se_c1000_devboard/board.cmake b/boards/x86/quark_se_c1000_devboard/board.cmake index 6c509bb0be0f..f0d86376cabb 100644 --- a/boards/x86/quark_se_c1000_devboard/board.cmake +++ b/boards/x86/quark_se_c1000_devboard/board.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(openocd --cmd-pre-load "targets 1") include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) diff --git a/boards/x86/quark_se_c1000_devboard/quark_se_c1000_devboard.dts b/boards/x86/quark_se_c1000_devboard/quark_se_c1000_devboard.dts index 82f003620f0d..8bec6dfc4a17 100644 --- a/boards/x86/quark_se_c1000_devboard/quark_se_c1000_devboard.dts +++ b/boards/x86/quark_se_c1000_devboard/quark_se_c1000_devboard.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/x86/quark_se_c1000_devboard/quark_se_c1000_devboard_defconfig b/boards/x86/quark_se_c1000_devboard/quark_se_c1000_devboard_defconfig index 1f5ec94cd7a1..8a17fa70b2b1 100644 --- a/boards/x86/quark_se_c1000_devboard/quark_se_c1000_devboard_defconfig +++ b/boards/x86/quark_se_c1000_devboard/quark_se_c1000_devboard_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_X86=y CONFIG_SOC_QUARK_SE_C1000=y CONFIG_BOARD_QUARK_SE_C1000_DEVBOARD=y diff --git a/boards/x86/tinytile/CMakeLists.txt b/boards/x86/tinytile/CMakeLists.txt index aa8826b21137..bd78505d38b7 100644 --- a/boards/x86/tinytile/CMakeLists.txt +++ b/boards/x86/tinytile/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/boards/x86/tinytile/Kconfig.board b/boards/x86/tinytile/Kconfig.board index e47b6907295e..1ce0d2798691 100644 --- a/boards/x86/tinytile/Kconfig.board +++ b/boards/x86/tinytile/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_TINYTILE bool "TinyTILE" depends on SOC_SERIES_QUARK_SE diff --git a/boards/x86/tinytile/Kconfig.defconfig b/boards/x86/tinytile/Kconfig.defconfig index 075600f13c78..27c45714de09 100644 --- a/boards/x86/tinytile/Kconfig.defconfig +++ b/boards/x86/tinytile/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_TINYTILE config BOARD diff --git a/boards/x86/tinytile/board.cmake b/boards/x86/tinytile/board.cmake index 8fd8a8c62c3f..3eb73dece1ce 100644 --- a/boards/x86/tinytile/board.cmake +++ b/boards/x86/tinytile/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(DEFINED ENV{ZEPHYR_FLASH_OVER_DFU}) set(BOARD_FLASH_RUNNER dfu-util) endif() diff --git a/boards/x86/tinytile/tinytile.dts b/boards/x86/tinytile/tinytile.dts index ed8970915336..e4e4cf356085 100644 --- a/boards/x86/tinytile/tinytile.dts +++ b/boards/x86/tinytile/tinytile.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/x86/tinytile/tinytile_defconfig b/boards/x86/tinytile/tinytile_defconfig index 1ee8cf4fbf9f..daa77b107bee 100644 --- a/boards/x86/tinytile/tinytile_defconfig +++ b/boards/x86/tinytile/tinytile_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_X86=y CONFIG_SOC_QUARK_SE_C1000=y CONFIG_SOC_SERIES_QUARK_SE=y diff --git a/boards/x86/up_squared/Kconfig.defconfig b/boards/x86/up_squared/Kconfig.defconfig index eea429d2dc2d..2512b7637167 100644 --- a/boards/x86/up_squared/Kconfig.defconfig +++ b/boards/x86/up_squared/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_UP_SQUARED config BOARD diff --git a/boards/x86/up_squared/up_squared_defconfig b/boards/x86/up_squared/up_squared_defconfig index 95eab78b92ff..a55170494d7e 100644 --- a/boards/x86/up_squared/up_squared_defconfig +++ b/boards/x86/up_squared/up_squared_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_X86=y CONFIG_SOC_APOLLO_LAKE=y CONFIG_BOARD_UP_SQUARED=y diff --git a/boards/x86/up_squared/up_squared_sbl_defconfig b/boards/x86/up_squared/up_squared_sbl_defconfig index 2bc01ec908c5..30e99486f4f6 100644 --- a/boards/x86/up_squared/up_squared_sbl_defconfig +++ b/boards/x86/up_squared/up_squared_sbl_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_X86=y CONFIG_SOC_APOLLO_LAKE=y CONFIG_BOARD_UP_SQUARED=y diff --git a/boards/x86/x86_jailhouse/Kconfig.board b/boards/x86/x86_jailhouse/Kconfig.board index b93dde87a0c8..9d96c931ef48 100644 --- a/boards/x86/x86_jailhouse/Kconfig.board +++ b/boards/x86/x86_jailhouse/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_X86_JAILHOUSE bool "QEMU x86 (root cell)" depends on SOC_IA32 diff --git a/boards/x86/x86_jailhouse/Kconfig.defconfig b/boards/x86/x86_jailhouse/Kconfig.defconfig index 199739b55fea..5659f4f97691 100644 --- a/boards/x86/x86_jailhouse/Kconfig.defconfig +++ b/boards/x86/x86_jailhouse/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_X86_JAILHOUSE config BOARD diff --git a/boards/x86/x86_jailhouse/board.cmake b/boards/x86/x86_jailhouse/board.cmake index a27fb7bc693c..cfc7dfcac46d 100644 --- a/boards/x86/x86_jailhouse/board.cmake +++ b/boards/x86/x86_jailhouse/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(EMU_PLATFORM qemu) set(QEMU_binary_suffix x86_64) diff --git a/boards/x86/x86_jailhouse/x86_jailhouse.dts b/boards/x86/x86_jailhouse/x86_jailhouse.dts index 1409faac617b..54173c0f5b7a 100644 --- a/boards/x86/x86_jailhouse/x86_jailhouse.dts +++ b/boards/x86/x86_jailhouse/x86_jailhouse.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include diff --git a/boards/x86/x86_jailhouse/x86_jailhouse_defconfig b/boards/x86/x86_jailhouse/x86_jailhouse_defconfig index 7e7623a41b6f..806fba0cc308 100644 --- a/boards/x86/x86_jailhouse/x86_jailhouse_defconfig +++ b/boards/x86/x86_jailhouse/x86_jailhouse_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_X86=y CONFIG_SOC_IA32=y CONFIG_BOARD_X86_JAILHOUSE=y diff --git a/boards/x86_64/qemu_x86_64/Kconfig.board b/boards/x86_64/qemu_x86_64/Kconfig.board index fa74dacff9a4..45d3b9e7d422 100644 --- a/boards/x86_64/qemu_x86_64/Kconfig.board +++ b/boards/x86_64/qemu_x86_64/Kconfig.board @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config BOARD_QEMU_X86_64 bool "QEMU x86_64" depends on SOC_X86_64 diff --git a/boards/x86_64/qemu_x86_64/Kconfig.defconfig b/boards/x86_64/qemu_x86_64/Kconfig.defconfig index 7cdfe47ee289..4cd04257cc98 100644 --- a/boards/x86_64/qemu_x86_64/Kconfig.defconfig +++ b/boards/x86_64/qemu_x86_64/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if BOARD_QEMU_X86_64 config BUILD_OUTPUT_BIN diff --git a/boards/x86_64/qemu_x86_64/board.cmake b/boards/x86_64/qemu_x86_64/board.cmake index a33665082e1e..59c62118ebbd 100644 --- a/boards/x86_64/qemu_x86_64/board.cmake +++ b/boards/x86_64/qemu_x86_64/board.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + set(EMU_PLATFORM qemu) set(QEMU_FLAGS_${ARCH} -nographic) diff --git a/boards/x86_64/qemu_x86_64/qemu_x86_64_defconfig b/boards/x86_64/qemu_x86_64/qemu_x86_64_defconfig index 5b7b548e22af..19bf7d7ffb98 100644 --- a/boards/x86_64/qemu_x86_64/qemu_x86_64_defconfig +++ b/boards/x86_64/qemu_x86_64/qemu_x86_64_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_X86_64=y CONFIG_SOC_X86_64=y CONFIG_BOARD_QEMU_X86_64=y diff --git a/boards/xtensa/esp32/CMakeLists.txt b/boards/xtensa/esp32/CMakeLists.txt index b07094a12f93..4ac0e9c21c09 100644 --- a/boards/xtensa/esp32/CMakeLists.txt +++ b/boards/xtensa/esp32/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_BOOTLOADER_ESP_IDF) include(ExternalProject) diff --git a/boards/xtensa/esp32/board.cmake b/boards/xtensa/esp32/board.cmake index af503a6d103f..71735daa671e 100644 --- a/boards/xtensa/esp32/board.cmake +++ b/boards/xtensa/esp32/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/boards/common/esp32.board.cmake) diff --git a/boards/xtensa/esp32/esp32_defconfig b/boards/xtensa/esp32/esp32_defconfig index 2b461ec53ae1..47b4ed05876b 100644 --- a/boards/xtensa/esp32/esp32_defconfig +++ b/boards/xtensa/esp32/esp32_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_XTENSA=y CONFIG_XTENSA_RESET_VECTOR=n diff --git a/boards/xtensa/intel_s1000_crb/CMakeLists.txt b/boards/xtensa/intel_s1000_crb/CMakeLists.txt index b7d8a2c30ac5..aa04cf71208c 100644 --- a/boards/xtensa/intel_s1000_crb/CMakeLists.txt +++ b/boards/xtensa/intel_s1000_crb/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_PINMUX_INTEL_S1000) zephyr_library() zephyr_library_sources(pinmux.c) diff --git a/boards/xtensa/intel_s1000_crb/board.cmake b/boards/xtensa/intel_s1000_crb/board.cmake index b838d7cfe8db..f25298154db4 100644 --- a/boards/xtensa/intel_s1000_crb/board.cmake +++ b/boards/xtensa/intel_s1000_crb/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(BOARD_FLASH_RUNNER intel_s1000) set(BOARD_DEBUG_RUNNER intel_s1000) diff --git a/boards/xtensa/intel_s1000_crb/intel_s1000_crb.dts b/boards/xtensa/intel_s1000_crb/intel_s1000_crb.dts index b4047c1d0128..a2f0e56faada 100644 --- a/boards/xtensa/intel_s1000_crb/intel_s1000_crb.dts +++ b/boards/xtensa/intel_s1000_crb/intel_s1000_crb.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /dts-v1/; #include "intel_s1000.dtsi" diff --git a/boards/xtensa/intel_s1000_crb/intel_s1000_crb_defconfig b/boards/xtensa/intel_s1000_crb/intel_s1000_crb_defconfig index 80f4fdaa95bd..64c9be531dc5 100644 --- a/boards/xtensa/intel_s1000_crb/intel_s1000_crb_defconfig +++ b/boards/xtensa/intel_s1000_crb/intel_s1000_crb_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_MAIN_STACK_SIZE=2048 CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=400000000 diff --git a/boards/xtensa/qemu_xtensa/board.cmake b/boards/xtensa/qemu_xtensa/board.cmake index 08992247c49f..a97676a5e215 100644 --- a/boards/xtensa/qemu_xtensa/board.cmake +++ b/boards/xtensa/qemu_xtensa/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(EMU_PLATFORM qemu) set(QEMU_CPU_TYPE_${ARCH} sample_controller) diff --git a/boards/xtensa/qemu_xtensa/qemu_xtensa_defconfig b/boards/xtensa/qemu_xtensa/qemu_xtensa_defconfig index 464abb0379fb..d27120f9dcf5 100644 --- a/boards/xtensa/qemu_xtensa/qemu_xtensa_defconfig +++ b/boards/xtensa/qemu_xtensa/qemu_xtensa_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_MAIN_STACK_SIZE=2048 CONFIG_IPM_CONSOLE_STACK_SIZE=2048 CONFIG_XTENSA=y diff --git a/boards/xtensa/xt-sim/board.cmake b/boards/xtensa/xt-sim/board.cmake index 409a3cbf6979..191de9962923 100644 --- a/boards/xtensa/xt-sim/board.cmake +++ b/boards/xtensa/xt-sim/board.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + set(BOARD_DEBUG_RUNNER xtensa) diff --git a/boards/xtensa/xt-sim/xt-sim_D_108mini_defconfig b/boards/xtensa/xt-sim/xt-sim_D_108mini_defconfig index 461bc05f02b7..228466e5e778 100644 --- a/boards/xtensa/xt-sim/xt-sim_D_108mini_defconfig +++ b/boards/xtensa/xt-sim/xt-sim_D_108mini_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_MAIN_STACK_SIZE=2048 CONFIG_IPM_CONSOLE_STACK_SIZE=2048 CONFIG_XTENSA=y diff --git a/boards/xtensa/xt-sim/xt-sim_D_212GP_defconfig b/boards/xtensa/xt-sim/xt-sim_D_212GP_defconfig index a0a9146ef2be..1f752fef5692 100644 --- a/boards/xtensa/xt-sim/xt-sim_D_212GP_defconfig +++ b/boards/xtensa/xt-sim/xt-sim_D_212GP_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_MAIN_STACK_SIZE=2048 CONFIG_IPM_CONSOLE_STACK_SIZE=2048 CONFIG_XTENSA=y diff --git a/boards/xtensa/xt-sim/xt-sim_D_233L_defconfig b/boards/xtensa/xt-sim/xt-sim_D_233L_defconfig index 932e91f8bc70..18c33f5f5f6c 100644 --- a/boards/xtensa/xt-sim/xt-sim_D_233L_defconfig +++ b/boards/xtensa/xt-sim/xt-sim_D_233L_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_MAIN_STACK_SIZE=2048 CONFIG_IPM_CONSOLE_STACK_SIZE=2048 CONFIG_XTENSA=y diff --git a/boards/xtensa/xt-sim/xt-sim_XRC_FUSION_AON_ALL_LM_defconfig b/boards/xtensa/xt-sim/xt-sim_XRC_FUSION_AON_ALL_LM_defconfig index 4e4d55d9e141..066872ca8379 100644 --- a/boards/xtensa/xt-sim/xt-sim_XRC_FUSION_AON_ALL_LM_defconfig +++ b/boards/xtensa/xt-sim/xt-sim_XRC_FUSION_AON_ALL_LM_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_MAIN_STACK_SIZE=2048 CONFIG_IPM_CONSOLE_STACK_SIZE=2048 CONFIG_XTENSA=y diff --git a/boards/xtensa/xt-sim/xt-sim_defconfig b/boards/xtensa/xt-sim/xt-sim_defconfig index a3a3aa11bd0c..172f1225167c 100644 --- a/boards/xtensa/xt-sim/xt-sim_defconfig +++ b/boards/xtensa/xt-sim/xt-sim_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_MAIN_STACK_SIZE=2048 CONFIG_IPM_CONSOLE_STACK_SIZE=2048 CONFIG_XTENSA=y diff --git a/boards/xtensa/xt-sim/xt-sim_hifi2_std_defconfig b/boards/xtensa/xt-sim/xt-sim_hifi2_std_defconfig index bb8d34a1f0de..3d4904e6a591 100644 --- a/boards/xtensa/xt-sim/xt-sim_hifi2_std_defconfig +++ b/boards/xtensa/xt-sim/xt-sim_hifi2_std_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_MAIN_STACK_SIZE=2048 CONFIG_IPM_CONSOLE_STACK_SIZE=2048 CONFIG_XTENSA=y diff --git a/boards/xtensa/xt-sim/xt-sim_hifi3_bd5_defconfig b/boards/xtensa/xt-sim/xt-sim_hifi3_bd5_defconfig index 6d29c2ae9e6e..15fa8eb2d312 100644 --- a/boards/xtensa/xt-sim/xt-sim_hifi3_bd5_defconfig +++ b/boards/xtensa/xt-sim/xt-sim_hifi3_bd5_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_MAIN_STACK_SIZE=2048 CONFIG_IPM_CONSOLE_STACK_SIZE=2048 CONFIG_XTENSA=y diff --git a/boards/xtensa/xt-sim/xt-sim_intel_s1000_defconfig b/boards/xtensa/xt-sim/xt-sim_intel_s1000_defconfig index ea0833351234..f4ec7d90bad4 100644 --- a/boards/xtensa/xt-sim/xt-sim_intel_s1000_defconfig +++ b/boards/xtensa/xt-sim/xt-sim_intel_s1000_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_MAIN_STACK_SIZE=2048 CONFIG_IPM_CONSOLE_STACK_SIZE=2048 CONFIG_XTENSA=y diff --git a/cmake/app/boilerplate.cmake b/cmake/app/boilerplate.cmake index c8044a5beeaf..89b0888ea892 100644 --- a/cmake/app/boilerplate.cmake +++ b/cmake/app/boilerplate.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # This file must be included into the toplevel CMakeLists.txt file of # Zephyr applications, e.g. zephyr/samples/hello_world/CMakeLists.txt # must start with the line: diff --git a/cmake/ccache.cmake b/cmake/ccache.cmake index 61453b0dbd50..cfe7f91aed74 100644 --- a/cmake/ccache.cmake +++ b/cmake/ccache.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Use ccache if it is installed, unless the user explicitly disables # it by setting USE_CCACHE=0. diff --git a/cmake/cfb.cmake b/cmake/cfb.cmake index 1fdff732ce82..e0263adae264 100644 --- a/cmake/cfb.cmake +++ b/cmake/cfb.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # These functions can be used to generate a CFB font include file from # a TrueType/OpenType font file or an image file. function(generate_cfb_font diff --git a/cmake/compiler/clang/generic.cmake b/cmake/compiler/clang/generic.cmake index aa75ead07f46..b5ea7833e134 100644 --- a/cmake/compiler/clang/generic.cmake +++ b/cmake/compiler/clang/generic.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + find_program(CMAKE_C_COMPILER clang PATH ${TOOLCHAIN_HOME} NO_DEFAULT_PATH) diff --git a/cmake/compiler/clang/target.cmake b/cmake/compiler/clang/target.cmake index a399f3a344db..545913c127a4 100644 --- a/cmake/compiler/clang/target.cmake +++ b/cmake/compiler/clang/target.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Configuration for host installed llvm # diff --git a/cmake/compiler/gcc/generic.cmake b/cmake/compiler/gcc/generic.cmake index 7f405bc68298..be84aea9c399 100644 --- a/cmake/compiler/gcc/generic.cmake +++ b/cmake/compiler/gcc/generic.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(CC gcc) find_program(CMAKE_C_COMPILER ${CROSS_COMPILE}${CC} PATH ${TOOLCHAIN_HOME} NO_DEFAULT_PATH) diff --git a/cmake/compiler/gcc/target.cmake b/cmake/compiler/gcc/target.cmake index 4c1d2e564c41..a4030c08ef70 100644 --- a/cmake/compiler/gcc/target.cmake +++ b/cmake/compiler/gcc/target.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(C++ g++) # Configures CMake for using GCC, this script is re-used by several diff --git a/cmake/compiler/gcc/target_asm.cmake b/cmake/compiler/gcc/target_asm.cmake index c942d37b03e2..b3c3d090f791 100644 --- a/cmake/compiler/gcc/target_asm.cmake +++ b/cmake/compiler/gcc/target_asm.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # See root CMakeLists.txt for description and expectations of this macro macro(toolchain_cc_asm_base_flags dest_var_name) diff --git a/cmake/compiler/gcc/target_baremetal.cmake b/cmake/compiler/gcc/target_baremetal.cmake index 0ed28e6f8953..d26860443508 100644 --- a/cmake/compiler/gcc/target_baremetal.cmake +++ b/cmake/compiler/gcc/target_baremetal.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + macro(toolchain_cc_nostdinc) diff --git a/cmake/compiler/gcc/target_cpp.cmake b/cmake/compiler/gcc/target_cpp.cmake index 0f73a7bd74e6..1fd03c38a95c 100644 --- a/cmake/compiler/gcc/target_cpp.cmake +++ b/cmake/compiler/gcc/target_cpp.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # See root CMakeLists.txt for description and expectations of these macros macro(toolchain_cc_cpp_base_flags dest_list_name) diff --git a/cmake/compiler/gcc/target_optimizations.cmake b/cmake/compiler/gcc/target_optimizations.cmake index 583bb13d17b5..e884299b0dd2 100644 --- a/cmake/compiler/gcc/target_optimizations.cmake +++ b/cmake/compiler/gcc/target_optimizations.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # See root CMakeLists.txt for description and expectations of this macro # # NOTE: Some GNU toolchains break with plain '-Os' or '-Og', but is fixable diff --git a/cmake/compiler/gcc/target_security_canaries.cmake b/cmake/compiler/gcc/target_security_canaries.cmake index 5979fc2e8737..8db8d4856efb 100644 --- a/cmake/compiler/gcc/target_security_canaries.cmake +++ b/cmake/compiler/gcc/target_security_canaries.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # See root CMakeLists.txt for description and expectations of this macro macro(toolchain_cc_security_canaries) diff --git a/cmake/compiler/gcc/target_security_fortify.cmake b/cmake/compiler/gcc/target_security_fortify.cmake index ec682b47fe39..3aa09440c04a 100644 --- a/cmake/compiler/gcc/target_security_fortify.cmake +++ b/cmake/compiler/gcc/target_security_fortify.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # See root CMakeLists.txt for description and expectations of this macro macro(toolchain_cc_security_fortify) diff --git a/cmake/compiler/host-gcc/generic.cmake b/cmake/compiler/host-gcc/generic.cmake index 0a44a1aa68d5..3f889564ca9f 100644 --- a/cmake/compiler/host-gcc/generic.cmake +++ b/cmake/compiler/host-gcc/generic.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Configures CMake for using GCC find_program(CMAKE_C_COMPILER gcc) diff --git a/cmake/compiler/host-gcc/target.cmake b/cmake/compiler/host-gcc/target.cmake index 67db7e91601b..8dc58dd3a63f 100644 --- a/cmake/compiler/host-gcc/target.cmake +++ b/cmake/compiler/host-gcc/target.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Configures CMake for using GCC find_program(CMAKE_C_COMPILER gcc ) diff --git a/cmake/compiler/xcc/generic.cmake b/cmake/compiler/xcc/generic.cmake index 7f405bc68298..be84aea9c399 100644 --- a/cmake/compiler/xcc/generic.cmake +++ b/cmake/compiler/xcc/generic.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(CC gcc) find_program(CMAKE_C_COMPILER ${CROSS_COMPILE}${CC} PATH ${TOOLCHAIN_HOME} NO_DEFAULT_PATH) diff --git a/cmake/compiler/xcc/target.cmake b/cmake/compiler/xcc/target.cmake index 202713a7488b..a4c19607beeb 100644 --- a/cmake/compiler/xcc/target.cmake +++ b/cmake/compiler/xcc/target.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(C++ g++) # Configures CMake for using GCC, this script is re-used by several diff --git a/cmake/dts.cmake b/cmake/dts.cmake index 9aaa68821653..58e44b9a3324 100644 --- a/cmake/dts.cmake +++ b/cmake/dts.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/include/generated) # Zephyr code can configure itself based on a KConfig'uration with the diff --git a/cmake/emu/native.cmake b/cmake/emu/native.cmake index 77c165d341e6..d6d7f481fffe 100644 --- a/cmake/emu/native.cmake +++ b/cmake/emu/native.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + add_custom_target(run COMMAND ${APPLICATION_BINARY_DIR}/zephyr/${KERNEL_EXE_NAME} diff --git a/cmake/emu/nsim.cmake b/cmake/emu/nsim.cmake index a2baf2f8990c..bffa6153fbcb 100644 --- a/cmake/emu/nsim.cmake +++ b/cmake/emu/nsim.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + find_program( NSIM nsimdrv diff --git a/cmake/emu/qemu.cmake b/cmake/emu/qemu.cmake index e4bec37ab2e3..a68b09f60068 100644 --- a/cmake/emu/qemu.cmake +++ b/cmake/emu/qemu.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if("${ARCH}" STREQUAL "x86") set_ifndef(QEMU_binary_suffix i386) else() diff --git a/cmake/emu/renode.cmake b/cmake/emu/renode.cmake index 7a4158ccf65d..6f1c5923979f 100644 --- a/cmake/emu/renode.cmake +++ b/cmake/emu/renode.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + find_program( RENODE renode diff --git a/cmake/extensions.cmake b/cmake/extensions.cmake index f63ba8b4200e..58d9fe3e4a87 100644 --- a/cmake/extensions.cmake +++ b/cmake/extensions.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + ######################################################## # Table of contents ######################################################## diff --git a/cmake/extra_flags.cmake b/cmake/extra_flags.cmake index e04e640d5a1e..c669b04baff3 100644 --- a/cmake/extra_flags.cmake +++ b/cmake/extra_flags.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + separate_arguments(EXTRA_CPPFLAGS_AS_LIST UNIX_COMMAND ${EXTRA_CPPFLAGS}) separate_arguments(EXTRA_LDFLAGS_AS_LIST UNIX_COMMAND ${EXTRA_LDFLAGS}) separate_arguments(EXTRA_CFLAGS_AS_LIST UNIX_COMMAND ${EXTRA_CFLAGS}) diff --git a/cmake/flash/CMakeLists.txt b/cmake/flash/CMakeLists.txt index a0743ff8eb0b..be1e3b8acbf7 100644 --- a/cmake/flash/CMakeLists.txt +++ b/cmake/flash/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + assert_not(FLASH_SCRIPT "FLASH_SCRIPT has been removed; use BOARD_FLASH_RUNNER") assert_not(DEBUG_SCRIPT "DEBUG_SCRIPT has been removed; use BOARD_DEBUG_RUNNER") diff --git a/cmake/fpu-for-gcc-m-cpu.cmake b/cmake/fpu-for-gcc-m-cpu.cmake index 76562ad4ff03..3c2bacd58c67 100644 --- a/cmake/fpu-for-gcc-m-cpu.cmake +++ b/cmake/fpu-for-gcc-m-cpu.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Defines a mapping from GCC_M_CPU to FPU if(CONFIG_CPU_HAS_FPU_DOUBLE_PRECISION) diff --git a/cmake/gcc-m-cpu.cmake b/cmake/gcc-m-cpu.cmake index cabd8dbd2c0b..b925de4f896b 100644 --- a/cmake/gcc-m-cpu.cmake +++ b/cmake/gcc-m-cpu.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Determines what argument to give to -mcpu= based on the # KConfig'uration and sets this to GCC_M_CPU diff --git a/cmake/generic_toolchain.cmake b/cmake/generic_toolchain.cmake index 50fb8452978a..83843a1300e2 100644 --- a/cmake/generic_toolchain.cmake +++ b/cmake/generic_toolchain.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(NOT TOOLCHAIN_ROOT) if(DEFINED ENV{TOOLCHAIN_ROOT}) # Support for out-of-tree toolchain diff --git a/cmake/git.cmake b/cmake/git.cmake index 7b046e78c28d..a0506e85f820 100644 --- a/cmake/git.cmake +++ b/cmake/git.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Use git if it is installed, to set BUILD_VERSION # https://cmake.org/cmake/help/latest/module/FindGit.html diff --git a/cmake/hex.cmake b/cmake/hex.cmake index 012172431a51..5823dc9109be 100644 --- a/cmake/hex.cmake +++ b/cmake/hex.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # from https://gist.github.com/korzo89/71a6de0f388f7cf8b349101b0134060c function(from_hex HEX DEC) string(SUBSTRING "${HEX}" 2 -1 HEX) diff --git a/cmake/host-tools.cmake b/cmake/host-tools.cmake index cc376941237f..adf635a440a6 100644 --- a/cmake/host-tools.cmake +++ b/cmake/host-tools.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/cmake/toolchain/zephyr/host-tools.cmake) # west is optional diff --git a/cmake/ide/eclipse_cdt4_generator_amendment.cmake b/cmake/ide/eclipse_cdt4_generator_amendment.cmake index 2b5283f1c0b4..1bad729118e3 100644 --- a/cmake/ide/eclipse_cdt4_generator_amendment.cmake +++ b/cmake/ide/eclipse_cdt4_generator_amendment.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # cmake: Eclipse CDT4 generator amendment # #1. The generator handles just the COMPILE_DEFINITIONS. diff --git a/cmake/kconfig.cmake b/cmake/kconfig.cmake index f78979716ff1..002e87dc7e79 100644 --- a/cmake/kconfig.cmake +++ b/cmake/kconfig.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Folders needed for conf/mconf files (kconfig has no method of redirecting all output files). # conf/mconf needs to be run from a different directory because of: GH-3408 file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/kconfig/include/generated) diff --git a/cmake/kobj.cmake b/cmake/kobj.cmake index 77866a212b72..b8cdc53ba6bb 100644 --- a/cmake/kobj.cmake +++ b/cmake/kobj.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + function(gen_kobj gen_dir_out) if (PROJECT_BINARY_DIR) set(gen_dir ${PROJECT_BINARY_DIR}/include/generated) diff --git a/cmake/pristine.cmake b/cmake/pristine.cmake index 8855db2d88e9..4e56c05ea6c7 100644 --- a/cmake/pristine.cmake +++ b/cmake/pristine.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # NB: This could be dangerous to execute, it is assuming the user is # checking that the build is out-of-source with code like this: # diff --git a/cmake/python.cmake b/cmake/python.cmake index 28cda5819dd2..923bdae0ca80 100644 --- a/cmake/python.cmake +++ b/cmake/python.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # The 'FindPythonInterp' that is distributed with CMake 3.8 has a bug # that we need to work around until we upgrade to 3.13. Until then we # maintain a patched copy in our repo. Bug: diff --git a/cmake/reports/CMakeLists.txt b/cmake/reports/CMakeLists.txt index fac24117e1e1..7c2140dc828f 100644 --- a/cmake/reports/CMakeLists.txt +++ b/cmake/reports/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(flag_for_ram_report -r) set(flag_for_rom_report -F) diff --git a/cmake/target_toolchain.cmake b/cmake/target_toolchain.cmake index 43333f331c0a..92674bfb5614 100644 --- a/cmake/target_toolchain.cmake +++ b/cmake/target_toolchain.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # No official documentation exists for the "Generic" value, except their wiki. # # https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/CrossCompiling: diff --git a/cmake/toolchain/cross-compile/generic.cmake b/cmake/toolchain/cross-compile/generic.cmake index c35d8be2dd6f..4656d75229c9 100644 --- a/cmake/toolchain/cross-compile/generic.cmake +++ b/cmake/toolchain/cross-compile/generic.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # CROSS_COMPILE is a KBuild mechanism for specifying an external # toolchain with a single environment variable. # diff --git a/cmake/toolchain/cross-compile/target.cmake b/cmake/toolchain/cross-compile/target.cmake index 218d8921e515..5a1a0e51313a 100644 --- a/cmake/toolchain/cross-compile/target.cmake +++ b/cmake/toolchain/cross-compile/target.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + # This file intentionally left blank. diff --git a/cmake/toolchain/espressif/generic.cmake b/cmake/toolchain/espressif/generic.cmake index b2b74e4c3d21..d70cdcf7efee 100644 --- a/cmake/toolchain/espressif/generic.cmake +++ b/cmake/toolchain/espressif/generic.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(ESPRESSIF_TOOLCHAIN_PATH "$ENV{ESPRESSIF_TOOLCHAIN_PATH}") set( ESPRESSIF_TOOLCHAIN_PATH ${ESPRESSIF_TOOLCHAIN_PATH} CACHE PATH "") assert( ESPRESSIF_TOOLCHAIN_PATH "ESPRESSIF_TOOLCHAIN_PATH is not set") diff --git a/cmake/toolchain/espressif/target.cmake b/cmake/toolchain/espressif/target.cmake index 218d8921e515..5a1a0e51313a 100644 --- a/cmake/toolchain/espressif/target.cmake +++ b/cmake/toolchain/espressif/target.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + # This file intentionally left blank. diff --git a/cmake/toolchain/gnuarmemb/generic.cmake b/cmake/toolchain/gnuarmemb/generic.cmake index db2ece96c5a5..9113b3f7d4a7 100644 --- a/cmake/toolchain/gnuarmemb/generic.cmake +++ b/cmake/toolchain/gnuarmemb/generic.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Until we completely deprecate it if(NOT DEFINED ENV{GNUARMEMB_TOOLCHAIN_PATH}) if(DEFINED ENV{GCCARMEMB_TOOLCHAIN_PATH}) diff --git a/cmake/toolchain/gnuarmemb/target.cmake b/cmake/toolchain/gnuarmemb/target.cmake index 80a6663b9c64..b970dc3e7d8b 100644 --- a/cmake/toolchain/gnuarmemb/target.cmake +++ b/cmake/toolchain/gnuarmemb/target.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + # Intentionally left blank. diff --git a/cmake/toolchain/host/generic.cmake b/cmake/toolchain/host/generic.cmake index 64bf1ce25235..a4b9452f8534 100644 --- a/cmake/toolchain/host/generic.cmake +++ b/cmake/toolchain/host/generic.cmake @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + set(COMPILER host-gcc) set(TOOLCHAIN_HAS_NEWLIB OFF CACHE BOOL "True if toolchain supports newlib") diff --git a/cmake/toolchain/host/target.cmake b/cmake/toolchain/host/target.cmake index 218d8921e515..5a1a0e51313a 100644 --- a/cmake/toolchain/host/target.cmake +++ b/cmake/toolchain/host/target.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + # This file intentionally left blank. diff --git a/cmake/toolchain/issm/generic.cmake b/cmake/toolchain/issm/generic.cmake index cff38d79e600..4c05a5fd19c7 100644 --- a/cmake/toolchain/issm/generic.cmake +++ b/cmake/toolchain/issm/generic.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # # The ISSM standalone toolchain provides both the x86 IAMCU and elf32 ARC # toolchains. Currently supported version is '2016-05-12': diff --git a/cmake/toolchain/issm/target.cmake b/cmake/toolchain/issm/target.cmake index 80a6663b9c64..b970dc3e7d8b 100644 --- a/cmake/toolchain/issm/target.cmake +++ b/cmake/toolchain/issm/target.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + # Intentionally left blank. diff --git a/cmake/toolchain/llvm/generic.cmake b/cmake/toolchain/llvm/generic.cmake index a49ad2d0f76c..88356a52cdbb 100644 --- a/cmake/toolchain/llvm/generic.cmake +++ b/cmake/toolchain/llvm/generic.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(CLANG_ROOT $ENV{CLANG_ROOT_DIR}) set_ifndef(CLANG_ROOT /usr) diff --git a/cmake/toolchain/llvm/target.cmake b/cmake/toolchain/llvm/target.cmake index 80a6663b9c64..b970dc3e7d8b 100644 --- a/cmake/toolchain/llvm/target.cmake +++ b/cmake/toolchain/llvm/target.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + # Intentionally left blank. diff --git a/cmake/toolchain/xcc/generic.cmake b/cmake/toolchain/xcc/generic.cmake index 9286aee1244e..de8d4cd71ebb 100644 --- a/cmake/toolchain/xcc/generic.cmake +++ b/cmake/toolchain/xcc/generic.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(XTENSA_TOOLCHAIN_PATH "$ENV{XTENSA_TOOLCHAIN_PATH}") set( XTENSA_TOOLCHAIN_PATH ${XTENSA_TOOLCHAIN_PATH} CACHE PATH "xtensa tools install directory") assert( XTENSA_TOOLCHAIN_PATH "XTENSA_TOOLCHAIN_PATH is not set") diff --git a/cmake/toolchain/xcc/target.cmake b/cmake/toolchain/xcc/target.cmake index 80a6663b9c64..b970dc3e7d8b 100644 --- a/cmake/toolchain/xcc/target.cmake +++ b/cmake/toolchain/xcc/target.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + # Intentionally left blank. diff --git a/cmake/toolchain/xtools/generic.cmake b/cmake/toolchain/xtools/generic.cmake index abb052ca0369..32f5c4472682 100644 --- a/cmake/toolchain/xtools/generic.cmake +++ b/cmake/toolchain/xtools/generic.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set_ifndef(XTOOLS_TOOLCHAIN_PATH "$ENV{XTOOLS_TOOLCHAIN_PATH}") set( XTOOLS_TOOLCHAIN_PATH ${XTOOLS_TOOLCHAIN_PATH} CACHE PATH "") assert( XTOOLS_TOOLCHAIN_PATH "XTOOLS_TOOLCHAIN_PATH is not set") diff --git a/cmake/toolchain/xtools/target.cmake b/cmake/toolchain/xtools/target.cmake index 9bcaec2a3b8e..7a5a6f0d9f87 100644 --- a/cmake/toolchain/xtools/target.cmake +++ b/cmake/toolchain/xtools/target.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Determine if we have an IAMCU toolchain or not. if(CONFIG_X86_IAMCU) set(CROSS_COMPILE_TARGET_x86 i586-zephyr-elfiamcu) diff --git a/cmake/toolchain/zephyr/0.10.0/generic.cmake b/cmake/toolchain/zephyr/0.10.0/generic.cmake index b93b58893705..663136b771c6 100644 --- a/cmake/toolchain/zephyr/0.10.0/generic.cmake +++ b/cmake/toolchain/zephyr/0.10.0/generic.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(TOOLCHAIN_HOME ${ZEPHYR_SDK_INSTALL_DIR}) set(COMPILER gcc) diff --git a/cmake/toolchain/zephyr/0.10.0/host-tools.cmake b/cmake/toolchain/zephyr/0.10.0/host-tools.cmake index 9466f94ebe5f..843b2dea75b2 100644 --- a/cmake/toolchain/zephyr/0.10.0/host-tools.cmake +++ b/cmake/toolchain/zephyr/0.10.0/host-tools.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(HOST_TOOLS_HOME ${ZEPHYR_SDK_INSTALL_DIR}/sysroots/${TOOLCHAIN_ARCH}-pokysdk-linux) diff --git a/cmake/toolchain/zephyr/0.10.0/target.cmake b/cmake/toolchain/zephyr/0.10.0/target.cmake index bfc7e2e6f029..56e5e0b8ba9c 100644 --- a/cmake/toolchain/zephyr/0.10.0/target.cmake +++ b/cmake/toolchain/zephyr/0.10.0/target.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Determine if we have an IAMCU toolchain or not. if(CONFIG_X86_IAMCU) set(CROSS_COMPILE_TARGET_x86 i586-zephyr-elfiamcu) diff --git a/cmake/toolchain/zephyr/0.9.5/generic.cmake b/cmake/toolchain/zephyr/0.9.5/generic.cmake index f712010df8b1..17c293ec95f1 100644 --- a/cmake/toolchain/zephyr/0.9.5/generic.cmake +++ b/cmake/toolchain/zephyr/0.9.5/generic.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(COMPILER gcc) set(CROSS_COMPILE_TARGET i586-${TOOLCHAIN_VENDOR}-elf) diff --git a/cmake/toolchain/zephyr/0.9.5/host-tools.cmake b/cmake/toolchain/zephyr/0.9.5/host-tools.cmake index ee1a2bbe965c..68f0761f3c76 100644 --- a/cmake/toolchain/zephyr/0.9.5/host-tools.cmake +++ b/cmake/toolchain/zephyr/0.9.5/host-tools.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(MINGW) set(TOOLCHAIN_HOME ${ZEPHYR_SDK_INSTALL_DIR}/sysroots/i686-pokysdk-mingw32) else() diff --git a/cmake/toolchain/zephyr/0.9.5/target.cmake b/cmake/toolchain/zephyr/0.9.5/target.cmake index 52fe567d4216..3602b513d863 100644 --- a/cmake/toolchain/zephyr/0.9.5/target.cmake +++ b/cmake/toolchain/zephyr/0.9.5/target.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # These defaults work for some targets like RISC-V set(CROSS_COMPILE_TARGET ${ARCH}-${TOOLCHAIN_VENDOR}-elf) set(SYSROOT_TARGET ${ARCH}-${TOOLCHAIN_VENDOR}-elf) diff --git a/cmake/toolchain/zephyr/generic.cmake b/cmake/toolchain/zephyr/generic.cmake index 859fca3bc0ff..1db98b3d9e24 100644 --- a/cmake/toolchain/zephyr/generic.cmake +++ b/cmake/toolchain/zephyr/generic.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/cmake/toolchain/zephyr/${SDK_VERSION}/generic.cmake) diff --git a/cmake/toolchain/zephyr/host-tools.cmake b/cmake/toolchain/zephyr/host-tools.cmake index 80828ce2b810..f2caf43b7e6d 100644 --- a/cmake/toolchain/zephyr/host-tools.cmake +++ b/cmake/toolchain/zephyr/host-tools.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Lots of duplications here. # FIXME: maintain this only in one place. diff --git a/cmake/toolchain/zephyr/target.cmake b/cmake/toolchain/zephyr/target.cmake index 17dbb487e917..1c3b93bb6887 100644 --- a/cmake/toolchain/zephyr/target.cmake +++ b/cmake/toolchain/zephyr/target.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/cmake/toolchain/zephyr/${SDK_VERSION}/target.cmake) diff --git a/cmake/usage/CMakeLists.txt b/cmake/usage/CMakeLists.txt index 9a1001de554a..5b042a47fe4f 100644 --- a/cmake/usage/CMakeLists.txt +++ b/cmake/usage/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + string(REPLACE ";" " " BOARD_ROOT_SPACE_SEPARATED "${BOARD_ROOT}") string(REPLACE ";" " " SHIELD_LIST_SPACE_SEPARATED "${SHIELD_LIST}") diff --git a/cmake/usage/usage.cmake b/cmake/usage/usage.cmake index 1afc2d53d33f..ad9245beeae2 100644 --- a/cmake/usage/usage.cmake +++ b/cmake/usage/usage.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # TODO: Set to make when make is used as a generator set(CMAKE_MAKE_PROGRAM ninja) get_filename_component(generator ${CMAKE_MAKE_PROGRAM} NAME) diff --git a/cmake/util/execute_process.cmake b/cmake/util/execute_process.cmake index 175b06f0f3c1..f0eeb4a52f87 100644 --- a/cmake/util/execute_process.cmake +++ b/cmake/util/execute_process.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Parameter names identical to the execute_process() CMake command, and # "ARGS" for the process command-line arguments. # Use set(ARGS ...) to build the ARGS list and then quote the list diff --git a/cmake/util/fmerge.cmake b/cmake/util/fmerge.cmake index 57fa9df556dc..32b134dfb63f 100644 --- a/cmake/util/fmerge.cmake +++ b/cmake/util/fmerge.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Merges a list of files into a destination file. # Usage: list of files as arguments, first argument is the destination file diff --git a/cmake/version.cmake b/cmake/version.cmake index 3f769c123a86..a6ad77237737 100644 --- a/cmake/version.cmake +++ b/cmake/version.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + include(${ZEPHYR_BASE}/cmake/hex.cmake) file(READ ${ZEPHYR_BASE}/VERSION ver) diff --git a/cmake/zephyr_module.cmake b/cmake/zephyr_module.cmake index e0949295168c..4ce037d2fe10 100644 --- a/cmake/zephyr_module.cmake +++ b/cmake/zephyr_module.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # This cmake file provides functionality to import additional out-of-tree, OoT # CMakeLists.txt and Kconfig files into Zephyr build system. # It uses -DZEPHYR_MODULES=[;] diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 50fc57dbd3ee..79e02e6f6dba 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) project(Zephyr-Kernel-Doc LANGUAGES) diff --git a/doc/application/application-kconfig.include b/doc/application/application-kconfig.include index 0227be64755a..42da0571c6ff 100644 --- a/doc/application/application-kconfig.include +++ b/doc/application/application-kconfig.include @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + mainmenu "Your Application Name" # Your application configuration options go here diff --git a/doc/guides/kconfig/index.rst b/doc/guides/kconfig/index.rst index bf622d648b5e..70719ce1aff3 100644 --- a/doc/guides/kconfig/index.rst +++ b/doc/guides/kconfig/index.rst @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + .. _kconfig_tips_and_tricks: Kconfig - Tips and Best Practices diff --git a/drivers/CMakeLists.txt b/drivers/CMakeLists.txt index ee09c7657889..3da125b8deed 100644 --- a/drivers/CMakeLists.txt +++ b/drivers/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + add_definitions(-D__ZEPHYR_SUPERVISOR__) add_subdirectory(console) diff --git a/drivers/adc/CMakeLists.txt b/drivers/adc/CMakeLists.txt index fb389ada3017..d977310ac0ee 100644 --- a/drivers/adc/CMakeLists.txt +++ b/drivers/adc/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_ADC_MCUX_ADC16 adc_mcux_adc16.c) diff --git a/drivers/aio/CMakeLists.txt b/drivers/aio/CMakeLists.txt index b0743ead7dea..22621d6bfdd7 100644 --- a/drivers/aio/CMakeLists.txt +++ b/drivers/aio/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_AIO_COMPARATOR_QMSI aio_comparator_qmsi.c) diff --git a/drivers/audio/CMakeLists.txt b/drivers/audio/CMakeLists.txt index ffa93bdd1a5e..ce2c51a6e007 100644 --- a/drivers/audio/CMakeLists.txt +++ b/drivers/audio/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_AUDIO_TLV320DAC tlv320dac310x.c) diff --git a/drivers/bluetooth/CMakeLists.txt b/drivers/bluetooth/CMakeLists.txt index 640578a483cc..f990a58d353a 100644 --- a/drivers/bluetooth/CMakeLists.txt +++ b/drivers/bluetooth/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories(${ZEPHYR_BASE}/subsys/bluetooth) add_subdirectory(hci) zephyr_sources_ifdef(CONFIG_BT_NRF51_PM nrf51_pm.c) diff --git a/drivers/bluetooth/hci/CMakeLists.txt b/drivers/bluetooth/hci/CMakeLists.txt index 8c3e3dcfa3af..97309efeca03 100644 --- a/drivers/bluetooth/hci/CMakeLists.txt +++ b/drivers/bluetooth/hci/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_BT_H4 h4.c) zephyr_sources_ifdef(CONFIG_BT_H5 h5.c) zephyr_sources_ifdef(CONFIG_BT_SPI spi.c) diff --git a/drivers/can/CMakeLists.txt b/drivers/can/CMakeLists.txt index 7b683babc3de..3a0866a79bfe 100644 --- a/drivers/can/CMakeLists.txt +++ b/drivers/can/CMakeLists.txt @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_CAN_STM32 stm32_can.c) zephyr_sources_ifdef(CONFIG_USERSPACE can_handlers.c) diff --git a/drivers/clock_control/CMakeLists.txt b/drivers/clock_control/CMakeLists.txt index 3808e8d29c60..d5220c712715 100644 --- a/drivers/clock_control/CMakeLists.txt +++ b/drivers/clock_control/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_CLOCK_CONTROL_BEETLE beetle_clock_control.c) zephyr_sources_ifdef(CONFIG_CLOCK_CONTROL_MCUX_CCM clock_control_mcux_ccm.c) zephyr_sources_ifdef(CONFIG_CLOCK_CONTROL_MCUX_SIM clock_control_mcux_sim.c) diff --git a/drivers/console/CMakeLists.txt b/drivers/console/CMakeLists.txt index 2f9cc373d73e..11ad56703386 100644 --- a/drivers/console/CMakeLists.txt +++ b/drivers/console/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_if_kconfig(uart_console.c) zephyr_sources_if_kconfig(ram_console.c) zephyr_sources_if_kconfig(rtt_console.c) diff --git a/drivers/counter/CMakeLists.txt b/drivers/counter/CMakeLists.txt index 6301c23e8d31..450df500f487 100644 --- a/drivers/counter/CMakeLists.txt +++ b/drivers/counter/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_AON_COUNTER_QMSI counter_qmsi_aon.c) diff --git a/drivers/crypto/CMakeLists.txt b/drivers/crypto/CMakeLists.txt index 3208b52d18ab..d831cf7adc24 100644 --- a/drivers/crypto/CMakeLists.txt +++ b/drivers/crypto/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_link_interface_ifdef(CONFIG_MBEDTLS mbedTLS) zephyr_library() zephyr_library_sources_ifdef(CONFIG_CRYPTO_TINYCRYPT_SHIM crypto_tc_shim.c) diff --git a/drivers/display/CMakeLists.txt b/drivers/display/CMakeLists.txt index bd546671917c..9a90cd9facf1 100644 --- a/drivers/display/CMakeLists.txt +++ b/drivers/display/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_DISPLAY_MCUX_ELCDIF display_mcux_elcdif.c) zephyr_sources_ifdef(CONFIG_GROVE_LCD_RGB grove_lcd_rgb.c) diff --git a/drivers/display/Kconfig.grove b/drivers/display/Kconfig.grove index 594fe8a44bfd..59118fb95e7a 100644 --- a/drivers/display/Kconfig.grove +++ b/drivers/display/Kconfig.grove @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config GROVE_LCD_RGB bool "Enable the Seeed Grove LCD RGB Backlight" help diff --git a/drivers/dma/CMakeLists.txt b/drivers/dma/CMakeLists.txt index eda4cdcab68d..0dfe171ffccf 100644 --- a/drivers/dma/CMakeLists.txt +++ b/drivers/dma/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_DMA_QMSI dma_qmsi.c) diff --git a/drivers/entropy/CMakeLists.txt b/drivers/entropy/CMakeLists.txt index 5e1a321a758d..491dea058bc6 100644 --- a/drivers/entropy/CMakeLists.txt +++ b/drivers/entropy/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_ENTROPY_ESP32_RNG entropy_esp32.c) diff --git a/drivers/entropy/Kconfig.native_posix b/drivers/entropy/Kconfig.native_posix index ae93d6aea384..5e1d87e4766d 100644 --- a/drivers/entropy/Kconfig.native_posix +++ b/drivers/entropy/Kconfig.native_posix @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + menuconfig FAKE_ENTROPY_NATIVE_POSIX bool "Native posix entropy driver" depends on ARCH_POSIX diff --git a/drivers/ethernet/CMakeLists.txt b/drivers/ethernet/CMakeLists.txt index 905ddb01b208..17c7af26f461 100644 --- a/drivers/ethernet/CMakeLists.txt +++ b/drivers/ethernet/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/l2) zephyr_sources_ifdef(CONFIG_ETH_SAM_GMAC diff --git a/drivers/flash/CMakeLists.txt b/drivers/flash/CMakeLists.txt index 188c45fdddc5..0e9389b3d1a0 100644 --- a/drivers/flash/CMakeLists.txt +++ b/drivers/flash/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_SPI_NOR spi_nor.c) diff --git a/drivers/flash/Kconfig.mcux b/drivers/flash/Kconfig.mcux index 76daeedcb52f..5090cd0afb1b 100644 --- a/drivers/flash/Kconfig.mcux +++ b/drivers/flash/Kconfig.mcux @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config SOC_FLASH_MCUX bool "MCUX flash shim driver" depends on HAS_MCUX_FTFX diff --git a/drivers/flash/Kconfig.nios2_qspi b/drivers/flash/Kconfig.nios2_qspi index 2d0b427c69e6..1b5ad9bee2f3 100644 --- a/drivers/flash/Kconfig.nios2_qspi +++ b/drivers/flash/Kconfig.nios2_qspi @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config SOC_FLASH_NIOS2_QSPI bool "Nios-II QSPI flash driver" depends on HAS_ALTERA_HAL diff --git a/drivers/flash/Kconfig.nrf b/drivers/flash/Kconfig.nrf index 5ae519fcae94..3aecea5cc728 100644 --- a/drivers/flash/Kconfig.nrf +++ b/drivers/flash/Kconfig.nrf @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config FLASH_NRF_FORCE_ALT bool depends on SOC_COMPATIBLE_NRF diff --git a/drivers/gpio/CMakeLists.txt b/drivers/gpio/CMakeLists.txt index 2fdb05aa43db..aafe1dcbbde8 100644 --- a/drivers/gpio/CMakeLists.txt +++ b/drivers/gpio/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_GPIO_ALTERA_NIOS2 gpio_altera_nios2.c) diff --git a/drivers/gpio/Kconfig.cc32xx b/drivers/gpio/Kconfig.cc32xx index 399a0eb9e2b5..0d2409817809 100644 --- a/drivers/gpio/Kconfig.cc32xx +++ b/drivers/gpio/Kconfig.cc32xx @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Kconfig.cc32xx- CC32XX GPIO configuration options # diff --git a/drivers/hwinfo/CMakeLists.txt b/drivers/hwinfo/CMakeLists.txt index 076bb69a9c0e..15b3b71f4984 100644 --- a/drivers/hwinfo/CMakeLists.txt +++ b/drivers/hwinfo/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_USERSPACE hwinfo_handlers.c) zephyr_sources_ifdef(CONFIG_HWINFO hwinfo_weak_impl.c) diff --git a/drivers/i2c/CMakeLists.txt b/drivers/i2c/CMakeLists.txt index ffe37921e9f3..7ff22981c58b 100644 --- a/drivers/i2c/CMakeLists.txt +++ b/drivers/i2c/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_I2C_BITBANG i2c_bitbang.c) diff --git a/drivers/i2c/slave/CMakeLists.txt b/drivers/i2c/slave/CMakeLists.txt index 2d3f386379b5..925e0bc27c5d 100644 --- a/drivers/i2c/slave/CMakeLists.txt +++ b/drivers/i2c/slave/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_I2C_EEPROM_SLAVE eeprom_slave.c) diff --git a/drivers/i2s/CMakeLists.txt b/drivers/i2s/CMakeLists.txt index 115b40c9ad21..0c1cda61590d 100644 --- a/drivers/i2s/CMakeLists.txt +++ b/drivers/i2s/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(i2s_common.c) diff --git a/drivers/ieee802154/CMakeLists.txt b/drivers/ieee802154/CMakeLists.txt index ffe199c40a08..6e7f7c39a0a8 100644 --- a/drivers/ieee802154/CMakeLists.txt +++ b/drivers/ieee802154/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_IEEE802154_CC2520 ieee802154_cc2520.c) zephyr_sources_ifdef(CONFIG_IEEE802154_KW41Z ieee802154_kw41z.c) zephyr_sources_ifdef(CONFIG_IEEE802154_UPIPE ieee802154_uart_pipe.c) diff --git a/drivers/ieee802154/Kconfig.cc1200 b/drivers/ieee802154/Kconfig.cc1200 index f7a23708aadb..e337906ec40a 100644 --- a/drivers/ieee802154/Kconfig.cc1200 +++ b/drivers/ieee802154/Kconfig.cc1200 @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Kconfig.cc1200 - TI CC1200 configuration options # diff --git a/drivers/interrupt_controller/CMakeLists.txt b/drivers/interrupt_controller/CMakeLists.txt index b8edafff5ffe..0b4b0ae2377e 100644 --- a/drivers/interrupt_controller/CMakeLists.txt +++ b/drivers/interrupt_controller/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_ARCV2_INTERRUPT_UNIT arcv2_irq_unit.c) zephyr_sources_ifdef(CONFIG_IOAPIC ioapic_intr.c) zephyr_sources_ifdef(CONFIG_LOAPIC loapic_intr.c system_apic.c) diff --git a/drivers/interrupt_controller/Kconfig.multilevel.aggregator_template b/drivers/interrupt_controller/Kconfig.multilevel.aggregator_template index 71da2a56e536..8be3cf61cebe 100644 --- a/drivers/interrupt_controller/Kconfig.multilevel.aggregator_template +++ b/drivers/interrupt_controller/Kconfig.multilevel.aggregator_template @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config $(cur-level)_LVL_INTR_0$(aggregator)_OFFSET int "Level $(prev-level-num) IRQ line for $(cur-level) level aggregator $(aggregator)" default 0 diff --git a/drivers/ipm/CMakeLists.txt b/drivers/ipm/CMakeLists.txt index 8c9b2eeb232f..0a902379cce9 100644 --- a/drivers/ipm/CMakeLists.txt +++ b/drivers/ipm/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_IPM_MCUX ipm_mcux.c) diff --git a/drivers/ipm/Kconfig b/drivers/ipm/Kconfig index 3a14caadb233..902d037ef2a3 100644 --- a/drivers/ipm/Kconfig +++ b/drivers/ipm/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + menuconfig IPM bool "IPM drivers" help diff --git a/drivers/led/CMakeLists.txt b/drivers/led/CMakeLists.txt index 24ba8843f611..b02b34c33dc0 100644 --- a/drivers/led/CMakeLists.txt +++ b/drivers/led/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_LP3943 lp3943.c) zephyr_sources_ifdef(CONFIG_LP5562 lp5562.c) zephyr_sources_ifdef(CONFIG_PCA9633 pca9633.c) diff --git a/drivers/led_strip/CMakeLists.txt b/drivers/led_strip/CMakeLists.txt index ae96ac571602..6bbab5b330cd 100644 --- a/drivers/led_strip/CMakeLists.txt +++ b/drivers/led_strip/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_LPD880X_STRIP lpd880x.c) zephyr_sources_ifdef(CONFIG_WS2812_STRIP ws2812.c) zephyr_sources_ifdef(CONFIG_WS2812B_SW ws2812b_sw.c) diff --git a/drivers/modem/CMakeLists.txt b/drivers/modem/CMakeLists.txt index 1f1827cb6ffa..482698a68af2 100644 --- a/drivers/modem/CMakeLists.txt +++ b/drivers/modem/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_MODEM_RECEIVER modem_receiver.c) zephyr_sources_ifdef(CONFIG_MODEM_SHELL modem_shell.c) diff --git a/drivers/net/CMakeLists.txt b/drivers/net/CMakeLists.txt index 514cd8a71dc4..89738668d95d 100644 --- a/drivers/net/CMakeLists.txt +++ b/drivers/net/CMakeLists.txt @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_SLIP slip.c) zephyr_sources_ifdef(CONFIG_NET_LOOPBACK loopback.c) diff --git a/drivers/neural_net/CMakeLists.txt b/drivers/neural_net/CMakeLists.txt index e46cc4fea26b..4ce3c7f3e269 100644 --- a/drivers/neural_net/CMakeLists.txt +++ b/drivers/neural_net/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_INTEL_GNA intel_gna.c) diff --git a/drivers/pci/CMakeLists.txt b/drivers/pci/CMakeLists.txt index ac683e531048..da73415a867c 100644 --- a/drivers/pci/CMakeLists.txt +++ b/drivers/pci/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources( pci.c pci_config.c diff --git a/drivers/pinmux/CMakeLists.txt b/drivers/pinmux/CMakeLists.txt index c7ff06270259..87945431577a 100644 --- a/drivers/pinmux/CMakeLists.txt +++ b/drivers/pinmux/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Board initialization zephyr_sources_ifdef(CONFIG_PINMUX_CC2650 pinmux_cc2650.c) zephyr_sources_ifdef(CONFIG_PINMUX_ESP32 pinmux_esp32.c) diff --git a/drivers/pwm/CMakeLists.txt b/drivers/pwm/CMakeLists.txt index fe610fc2dbca..c015b9864069 100644 --- a/drivers/pwm/CMakeLists.txt +++ b/drivers/pwm/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_PWM_PCA9685 pwm_pca9685.c) diff --git a/drivers/rtc/CMakeLists.txt b/drivers/rtc/CMakeLists.txt index 6e6836897aa2..b0a9838789c2 100644 --- a/drivers/rtc/CMakeLists.txt +++ b/drivers/rtc/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_RTC_MCUX rtc_mcux.c) diff --git a/drivers/sensor/CMakeLists.txt b/drivers/sensor/CMakeLists.txt index 8cbf1f704cf6..69f73209d205 100644 --- a/drivers/sensor/CMakeLists.txt +++ b/drivers/sensor/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + add_subdirectory_ifdef(CONFIG_ADT7420 adt7420) add_subdirectory_ifdef(CONFIG_ADXL362 adxl362) add_subdirectory_ifdef(CONFIG_ADXL372 adxl372) diff --git a/drivers/sensor/adt7420/CMakeLists.txt b/drivers/sensor/adt7420/CMakeLists.txt index e3199f7843ef..7a5c8064391e 100644 --- a/drivers/sensor/adt7420/CMakeLists.txt +++ b/drivers/sensor/adt7420/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_ADT7420 adt7420.c) diff --git a/drivers/sensor/adxl362/CMakeLists.txt b/drivers/sensor/adxl362/CMakeLists.txt index c0a478d3e25b..a6c75f73be3a 100644 --- a/drivers/sensor/adxl362/CMakeLists.txt +++ b/drivers/sensor/adxl362/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_ADXL362 adxl362.c) diff --git a/drivers/sensor/ak8975/CMakeLists.txt b/drivers/sensor/ak8975/CMakeLists.txt index 0bac197d28af..524f51c7fe30 100644 --- a/drivers/sensor/ak8975/CMakeLists.txt +++ b/drivers/sensor/ak8975/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_AK8975 ak8975.c) diff --git a/drivers/sensor/amg88xx/CMakeLists.txt b/drivers/sensor/amg88xx/CMakeLists.txt index 8db7d983086a..7bed6a5b3cfd 100644 --- a/drivers/sensor/amg88xx/CMakeLists.txt +++ b/drivers/sensor/amg88xx/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_AMG88XX amg88xx.c) diff --git a/drivers/sensor/apds9960/CMakeLists.txt b/drivers/sensor/apds9960/CMakeLists.txt index 682edbf5ac94..f9f628b0eb2f 100644 --- a/drivers/sensor/apds9960/CMakeLists.txt +++ b/drivers/sensor/apds9960/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_APDS9960 apds9960.c) diff --git a/drivers/sensor/bma280/CMakeLists.txt b/drivers/sensor/bma280/CMakeLists.txt index 65e49a432f57..694f11beec42 100644 --- a/drivers/sensor/bma280/CMakeLists.txt +++ b/drivers/sensor/bma280/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_BMA280 bma280.c) diff --git a/drivers/sensor/bmc150_magn/CMakeLists.txt b/drivers/sensor/bmc150_magn/CMakeLists.txt index dc2d6cfa7737..26b0a347b21d 100644 --- a/drivers/sensor/bmc150_magn/CMakeLists.txt +++ b/drivers/sensor/bmc150_magn/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_BMC150_MAGN bmc150_magn.c) diff --git a/drivers/sensor/bme280/CMakeLists.txt b/drivers/sensor/bme280/CMakeLists.txt index 53456485bafe..1e7a24f63073 100644 --- a/drivers/sensor/bme280/CMakeLists.txt +++ b/drivers/sensor/bme280/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_BME280 bme280.c) diff --git a/drivers/sensor/bmg160/CMakeLists.txt b/drivers/sensor/bmg160/CMakeLists.txt index d101fe0c70b2..116eb6ac5cb3 100644 --- a/drivers/sensor/bmg160/CMakeLists.txt +++ b/drivers/sensor/bmg160/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_BMG160 bmg160.c) diff --git a/drivers/sensor/bmi160/CMakeLists.txt b/drivers/sensor/bmi160/CMakeLists.txt index c6102a0ce953..690c3a4fac68 100644 --- a/drivers/sensor/bmi160/CMakeLists.txt +++ b/drivers/sensor/bmi160/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_BMI160 bmi160.c) diff --git a/drivers/sensor/bmm150/CMakeLists.txt b/drivers/sensor/bmm150/CMakeLists.txt index f26d0374394a..4a8405fb2291 100644 --- a/drivers/sensor/bmm150/CMakeLists.txt +++ b/drivers/sensor/bmm150/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_BMM150 bmm150.c) diff --git a/drivers/sensor/ccs811/CMakeLists.txt b/drivers/sensor/ccs811/CMakeLists.txt index e6d027d4ab06..b694cc78ff50 100644 --- a/drivers/sensor/ccs811/CMakeLists.txt +++ b/drivers/sensor/ccs811/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_CCS811 ccs811.c) diff --git a/drivers/sensor/dht/CMakeLists.txt b/drivers/sensor/dht/CMakeLists.txt index 8876eadca358..c0a3a8ed4792 100644 --- a/drivers/sensor/dht/CMakeLists.txt +++ b/drivers/sensor/dht/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_DHT dht.c) diff --git a/drivers/sensor/grove/CMakeLists.txt b/drivers/sensor/grove/CMakeLists.txt index d798c0e01613..38d659d5ca76 100644 --- a/drivers/sensor/grove/CMakeLists.txt +++ b/drivers/sensor/grove/CMakeLists.txt @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_GROVE_LIGHT_SENSOR light_sensor.c) zephyr_sources_ifdef(CONFIG_GROVE_TEMPERATURE_SENSOR temperature_sensor.c) diff --git a/drivers/sensor/hdc1008/CMakeLists.txt b/drivers/sensor/hdc1008/CMakeLists.txt index 69b428d4e359..eb2fbcb5e858 100644 --- a/drivers/sensor/hdc1008/CMakeLists.txt +++ b/drivers/sensor/hdc1008/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_HDC1008 hdc1008.c) diff --git a/drivers/sensor/hmc5883l/CMakeLists.txt b/drivers/sensor/hmc5883l/CMakeLists.txt index 6071656c319d..78b2796d7ea8 100644 --- a/drivers/sensor/hmc5883l/CMakeLists.txt +++ b/drivers/sensor/hmc5883l/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_HMC5883L hmc5883l.c) diff --git a/drivers/sensor/hp206c/CMakeLists.txt b/drivers/sensor/hp206c/CMakeLists.txt index af4b5c2cee9d..6d19f784ba65 100644 --- a/drivers/sensor/hp206c/CMakeLists.txt +++ b/drivers/sensor/hp206c/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_HP206C hp206c.c) diff --git a/drivers/sensor/hts221/CMakeLists.txt b/drivers/sensor/hts221/CMakeLists.txt index 3afa3d9e5741..99be62ff1b47 100644 --- a/drivers/sensor/hts221/CMakeLists.txt +++ b/drivers/sensor/hts221/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_HTS221 hts221.c) diff --git a/drivers/sensor/isl29035/CMakeLists.txt b/drivers/sensor/isl29035/CMakeLists.txt index 1fd56e03108f..490bfd260d52 100644 --- a/drivers/sensor/isl29035/CMakeLists.txt +++ b/drivers/sensor/isl29035/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_ISL29035 isl29035.c) diff --git a/drivers/sensor/lis2dh/CMakeLists.txt b/drivers/sensor/lis2dh/CMakeLists.txt index 04a2363c2bb7..41abacbeacf4 100644 --- a/drivers/sensor/lis2dh/CMakeLists.txt +++ b/drivers/sensor/lis2dh/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_LIS2DH lis2dh.c) diff --git a/drivers/sensor/lis2ds12/CMakeLists.txt b/drivers/sensor/lis2ds12/CMakeLists.txt index 5ffe7dcd2ffc..b84485710e40 100644 --- a/drivers/sensor/lis2ds12/CMakeLists.txt +++ b/drivers/sensor/lis2ds12/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_LIS2DS12 lis2ds12) diff --git a/drivers/sensor/lis3mdl/CMakeLists.txt b/drivers/sensor/lis3mdl/CMakeLists.txt index b12e9e3a4c4f..da663c7238dd 100644 --- a/drivers/sensor/lis3mdl/CMakeLists.txt +++ b/drivers/sensor/lis3mdl/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_LIS3MDL lis3mdl.c) diff --git a/drivers/sensor/lps22hb/CMakeLists.txt b/drivers/sensor/lps22hb/CMakeLists.txt index eecbef0f3652..37b18a0c64d0 100644 --- a/drivers/sensor/lps22hb/CMakeLists.txt +++ b/drivers/sensor/lps22hb/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_LPS22HB lps22hb.c) diff --git a/drivers/sensor/lps25hb/CMakeLists.txt b/drivers/sensor/lps25hb/CMakeLists.txt index faf270ae559a..78c1383ee476 100644 --- a/drivers/sensor/lps25hb/CMakeLists.txt +++ b/drivers/sensor/lps25hb/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_LPS25HB lps25hb.c) diff --git a/drivers/sensor/lsm6ds0/CMakeLists.txt b/drivers/sensor/lsm6ds0/CMakeLists.txt index 9ecf8995e9d9..54e67791bacc 100644 --- a/drivers/sensor/lsm6ds0/CMakeLists.txt +++ b/drivers/sensor/lsm6ds0/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_LSM6DS0 lsm6ds0.c) diff --git a/drivers/sensor/lsm6dsl/CMakeLists.txt b/drivers/sensor/lsm6dsl/CMakeLists.txt index 8269cbf9be07..f599f3d33b30 100644 --- a/drivers/sensor/lsm6dsl/CMakeLists.txt +++ b/drivers/sensor/lsm6dsl/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_LSM6DSL lsm6dsl.c) diff --git a/drivers/sensor/lsm9ds0_gyro/CMakeLists.txt b/drivers/sensor/lsm9ds0_gyro/CMakeLists.txt index 67a4c3b38815..c309b400197b 100644 --- a/drivers/sensor/lsm9ds0_gyro/CMakeLists.txt +++ b/drivers/sensor/lsm9ds0_gyro/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_LSM9DS0_GYRO lsm9ds0_gyro.c) diff --git a/drivers/sensor/lsm9ds0_mfd/CMakeLists.txt b/drivers/sensor/lsm9ds0_mfd/CMakeLists.txt index 16ffe4e01e21..7d12de8babca 100644 --- a/drivers/sensor/lsm9ds0_mfd/CMakeLists.txt +++ b/drivers/sensor/lsm9ds0_mfd/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_LSM9DS0_MFD lsm9ds0_mfd.c) diff --git a/drivers/sensor/max44009/CMakeLists.txt b/drivers/sensor/max44009/CMakeLists.txt index cad52ed4490c..745209467d3f 100644 --- a/drivers/sensor/max44009/CMakeLists.txt +++ b/drivers/sensor/max44009/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_MAX44009 max44009.c) diff --git a/drivers/sensor/mcp9808/CMakeLists.txt b/drivers/sensor/mcp9808/CMakeLists.txt index cf357df213da..0fa2082f6c65 100644 --- a/drivers/sensor/mcp9808/CMakeLists.txt +++ b/drivers/sensor/mcp9808/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_MCP9808 mcp9808.c) diff --git a/drivers/sensor/mpu6050/CMakeLists.txt b/drivers/sensor/mpu6050/CMakeLists.txt index 40f29c01e47e..92e5ee0c1d9d 100644 --- a/drivers/sensor/mpu6050/CMakeLists.txt +++ b/drivers/sensor/mpu6050/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_MPU6050 mpu6050.c) diff --git a/drivers/sensor/nrf5/CMakeLists.txt b/drivers/sensor/nrf5/CMakeLists.txt index 34f726921d49..bded8f5b2516 100644 --- a/drivers/sensor/nrf5/CMakeLists.txt +++ b/drivers/sensor/nrf5/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_TEMP_NRF5 temp_nrf5.c) diff --git a/drivers/sensor/pms7003/CMakeLists.txt b/drivers/sensor/pms7003/CMakeLists.txt index 01332d34a32f..ea749d5e2cc7 100644 --- a/drivers/sensor/pms7003/CMakeLists.txt +++ b/drivers/sensor/pms7003/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_PMS7003 pms7003.c) diff --git a/drivers/sensor/sht3xd/CMakeLists.txt b/drivers/sensor/sht3xd/CMakeLists.txt index fdc8ad0e45e1..a4ee90bc30e9 100644 --- a/drivers/sensor/sht3xd/CMakeLists.txt +++ b/drivers/sensor/sht3xd/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_SHT3XD sht3xd.c) diff --git a/drivers/sensor/sx9500/CMakeLists.txt b/drivers/sensor/sx9500/CMakeLists.txt index 334b715c2788..16bf718c50fe 100644 --- a/drivers/sensor/sx9500/CMakeLists.txt +++ b/drivers/sensor/sx9500/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_SX9500 sx9500.c) diff --git a/drivers/sensor/th02/CMakeLists.txt b/drivers/sensor/th02/CMakeLists.txt index 3ce4ded71a42..959a44522635 100644 --- a/drivers/sensor/th02/CMakeLists.txt +++ b/drivers/sensor/th02/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(th02.c) diff --git a/drivers/sensor/tmp007/CMakeLists.txt b/drivers/sensor/tmp007/CMakeLists.txt index ad8b5d8fb9e3..cd936d1261eb 100644 --- a/drivers/sensor/tmp007/CMakeLists.txt +++ b/drivers/sensor/tmp007/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_TMP007 tmp007.c) diff --git a/drivers/sensor/tmp112/CMakeLists.txt b/drivers/sensor/tmp112/CMakeLists.txt index 8c7b385dac49..660cb168cd28 100644 --- a/drivers/sensor/tmp112/CMakeLists.txt +++ b/drivers/sensor/tmp112/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_TMP112 tmp112.c) diff --git a/drivers/sensor/vl53l0x/CMakeLists.txt b/drivers/sensor/vl53l0x/CMakeLists.txt index 7d9994375476..d2dc5776f47f 100644 --- a/drivers/sensor/vl53l0x/CMakeLists.txt +++ b/drivers/sensor/vl53l0x/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources( diff --git a/drivers/serial/CMakeLists.txt b/drivers/serial/CMakeLists.txt index 2ea5335a1d42..35cc8f013db7 100644 --- a/drivers/serial/CMakeLists.txt +++ b/drivers/serial/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_UART_ALTERA_JTAG uart_altera_jtag_hal.c) zephyr_library_sources_if_kconfig(uart_imx.c) diff --git a/drivers/serial/Kconfig.altera_jtag b/drivers/serial/Kconfig.altera_jtag index 904bde75acf0..643bff09e22a 100644 --- a/drivers/serial/Kconfig.altera_jtag +++ b/drivers/serial/Kconfig.altera_jtag @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + menuconfig UART_ALTERA_JTAG bool "Nios II JTAG UART driver" select SERIAL_HAS_DRIVER diff --git a/drivers/serial/Kconfig.cc32xx b/drivers/serial/Kconfig.cc32xx index 4ea4573d57c1..ef33ae73d132 100644 --- a/drivers/serial/Kconfig.cc32xx +++ b/drivers/serial/Kconfig.cc32xx @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + menuconfig UART_CC32XX depends on SOC_SERIES_CC32XX bool "CC32XX UART driver" diff --git a/drivers/serial/Kconfig.esp32 b/drivers/serial/Kconfig.esp32 index 346c301fc098..bca547d99df6 100644 --- a/drivers/serial/Kconfig.esp32 +++ b/drivers/serial/Kconfig.esp32 @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + menuconfig UART_ESP32 bool "ESP32 UART driver" select SERIAL_HAS_DRIVER diff --git a/drivers/serial/Kconfig.miv b/drivers/serial/Kconfig.miv index 6da9dec62fc9..535cd86b7346 100644 --- a/drivers/serial/Kconfig.miv +++ b/drivers/serial/Kconfig.miv @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Kconfig.miv - Mi-V UART configuration option # # Copyright (c) 2018 Antmicro diff --git a/drivers/serial/Kconfig.msp432p4xx b/drivers/serial/Kconfig.msp432p4xx index 5a884f346e9c..86f14d7c32ae 100644 --- a/drivers/serial/Kconfig.msp432p4xx +++ b/drivers/serial/Kconfig.msp432p4xx @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + menuconfig UART_MSP432P4XX depends on SOC_SERIES_MSP432P4XX bool "MSP432P4XX UART driver" diff --git a/drivers/serial/Kconfig.native_posix b/drivers/serial/Kconfig.native_posix index adf18f42d20f..450e2c9ac95a 100644 --- a/drivers/serial/Kconfig.native_posix +++ b/drivers/serial/Kconfig.native_posix @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config UART_NATIVE_POSIX bool "UART driver for native_posix" select SERIAL_HAS_DRIVER diff --git a/drivers/serial/Kconfig.ns16550 b/drivers/serial/Kconfig.ns16550 index b865ca687123..07d6714216e4 100644 --- a/drivers/serial/Kconfig.ns16550 +++ b/drivers/serial/Kconfig.ns16550 @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + menuconfig UART_NS16550 bool "NS16550 serial driver" select SERIAL_HAS_DRIVER diff --git a/drivers/serial/Kconfig.nsim b/drivers/serial/Kconfig.nsim index 507ea4f3bbc2..16e12ceaa52e 100644 --- a/drivers/serial/Kconfig.nsim +++ b/drivers/serial/Kconfig.nsim @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config UART_NSIM bool "UART driver for MetaWare nSim" select SERIAL_HAS_DRIVER diff --git a/drivers/serial/Kconfig.qmsi b/drivers/serial/Kconfig.qmsi index b4def5c341de..77372d38e51e 100644 --- a/drivers/serial/Kconfig.qmsi +++ b/drivers/serial/Kconfig.qmsi @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + menuconfig UART_QMSI depends on QMSI bool "QMSI UART driver" diff --git a/drivers/serial/Kconfig.stellaris b/drivers/serial/Kconfig.stellaris index e707b4dc9172..4cbfe3d6e5bb 100644 --- a/drivers/serial/Kconfig.stellaris +++ b/drivers/serial/Kconfig.stellaris @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + menuconfig UART_STELLARIS bool "Stellaris serial driver" depends on SOC_TI_LM3S6965 || SOC_CC2650 diff --git a/drivers/spi/CMakeLists.txt b/drivers/spi/CMakeLists.txt index ce339d6bf458..55270b78d85c 100644 --- a/drivers/spi/CMakeLists.txt +++ b/drivers/spi/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_SPI_DW spi_dw.c) diff --git a/drivers/timer/CMakeLists.txt b/drivers/timer/CMakeLists.txt index a2ab62fb8042..b2e12098e830 100644 --- a/drivers/timer/CMakeLists.txt +++ b/drivers/timer/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources( sys_clock_init.c) zephyr_sources_ifdef(CONFIG_HPET_TIMER hpet.c) zephyr_sources_ifdef(CONFIG_ARCV2_TIMER arcv2_timer0.c) diff --git a/drivers/timer/legacy_api.h b/drivers/timer/legacy_api.h index f38a1a6b15d2..4f3c2309185f 100644 --- a/drivers/timer/legacy_api.h +++ b/drivers/timer/legacy_api.h @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2018 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ #ifndef ZEPHYR_LEGACY_SET_TIME_H__ #define ZEPHYR_LEGACY_SET_TIME_H__ diff --git a/drivers/usb/CMakeLists.txt b/drivers/usb/CMakeLists.txt index 69f8ef7aab47..197bb1e35e21 100644 --- a/drivers/usb/CMakeLists.txt +++ b/drivers/usb/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + add_subdirectory_ifdef(CONFIG_USB device) diff --git a/drivers/usb/device/CMakeLists.txt b/drivers/usb/device/CMakeLists.txt index 65a5d4e529b2..8cfdf3e26b52 100644 --- a/drivers/usb/device/CMakeLists.txt +++ b/drivers/usb/device/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_USB_DW usb_dc_dw.c) zephyr_sources_ifdef(CONFIG_USB_DC_STM32 usb_dc_stm32.c) zephyr_sources_ifdef(CONFIG_USB_DC_SAM0 usb_dc_sam0.c) diff --git a/drivers/watchdog/CMakeLists.txt b/drivers/watchdog/CMakeLists.txt index df701b6740b9..94a2c2ba0a13 100644 --- a/drivers/watchdog/CMakeLists.txt +++ b/drivers/watchdog/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_WDT_QMSI wdt_qmsi.c) zephyr_sources_ifdef(CONFIG_IWDG_STM32 iwdg_stm32.c) zephyr_sources_ifdef(CONFIG_WDOG_CMSDK_APB wdog_cmsdk_apb.c) diff --git a/drivers/wifi/CMakeLists.txt b/drivers/wifi/CMakeLists.txt index 796d915d877d..015902c68289 100644 --- a/drivers/wifi/CMakeLists.txt +++ b/drivers/wifi/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + add_subdirectory_ifdef(CONFIG_WIFI_WINC1500 winc1500) add_subdirectory_ifdef(CONFIG_WIFI_SIMPLELINK simplelink) add_subdirectory_ifdef(CONFIG_WIFI_ESWIFI eswifi) diff --git a/drivers/wifi/eswifi/CMakeLists.txt b/drivers/wifi/eswifi/CMakeLists.txt index af44655382c3..9147380416f3 100644 --- a/drivers/wifi/eswifi/CMakeLists.txt +++ b/drivers/wifi/eswifi/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_WIFI_ESWIFI) zephyr_include_directories(./) diff --git a/drivers/wifi/simplelink/CMakeLists.txt b/drivers/wifi/simplelink/CMakeLists.txt index d884c9ce5f7b..c4ba3dd1705d 100644 --- a/drivers/wifi/simplelink/CMakeLists.txt +++ b/drivers/wifi/simplelink/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_WIFI_SIMPLELINK) zephyr_include_directories( . diff --git a/drivers/wifi/winc1500/CMakeLists.txt b/drivers/wifi/winc1500/CMakeLists.txt index a97b419ee23a..a3a8ae518f89 100644 --- a/drivers/wifi/winc1500/CMakeLists.txt +++ b/drivers/wifi/winc1500/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_WIFI_WINC1500) zephyr_include_directories(./) diff --git a/dts/Kconfig b/dts/Kconfig index 5d607385f9d9..930a0e7f257d 100644 --- a/dts/Kconfig +++ b/dts/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config HAS_DTS bool help diff --git a/dts/arm/armv6-m.dtsi b/dts/arm/armv6-m.dtsi index 3060da5adc12..27f8c0ae001a 100644 --- a/dts/arm/armv6-m.dtsi +++ b/dts/arm/armv6-m.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include "skeleton.dtsi" / { diff --git a/dts/arm/armv7-m.dtsi b/dts/arm/armv7-m.dtsi index 8ad68d2fd6a7..5e2d92a0a75c 100644 --- a/dts/arm/armv7-m.dtsi +++ b/dts/arm/armv7-m.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include "skeleton.dtsi" / { diff --git a/dts/arm/armv8-m.dtsi b/dts/arm/armv8-m.dtsi index 8c4437d62b2d..7b3b73e41047 100644 --- a/dts/arm/armv8-m.dtsi +++ b/dts/arm/armv8-m.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include "skeleton.dtsi" / { diff --git a/dts/arm/nordic/nrf51822.dtsi b/dts/arm/nordic/nrf51822.dtsi index 9e60e90a5a5b..7a8dbd6fe79b 100644 --- a/dts/arm/nordic/nrf51822.dtsi +++ b/dts/arm/nordic/nrf51822.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include #include #include diff --git a/dts/arm/nordic/nrf52810.dtsi b/dts/arm/nordic/nrf52810.dtsi index 54c77a8f57f4..86234570a55d 100644 --- a/dts/arm/nordic/nrf52810.dtsi +++ b/dts/arm/nordic/nrf52810.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include #include #include diff --git a/dts/arm/nordic/nrf52832.dtsi b/dts/arm/nordic/nrf52832.dtsi index 67371416f05b..743a92803553 100644 --- a/dts/arm/nordic/nrf52832.dtsi +++ b/dts/arm/nordic/nrf52832.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include #include #include diff --git a/dts/arm/nordic/nrf52840.dtsi b/dts/arm/nordic/nrf52840.dtsi index 4bebec92e7ef..5cce6fab0c46 100644 --- a/dts/arm/nordic/nrf52840.dtsi +++ b/dts/arm/nordic/nrf52840.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include #include #include diff --git a/dts/arm/nordic/nrf5_common.dtsi b/dts/arm/nordic/nrf5_common.dtsi index d592a2959a8a..35b73258d0f1 100644 --- a/dts/arm/nordic/nrf5_common.dtsi +++ b/dts/arm/nordic/nrf5_common.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + / { sw_pwm: sw-pwm { diff --git a/dts/arm/nxp/nxp_k6x.dtsi b/dts/arm/nxp/nxp_k6x.dtsi index d3191e3c5be3..9febd7940155 100644 --- a/dts/arm/nxp/nxp_k6x.dtsi +++ b/dts/arm/nxp/nxp_k6x.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include #include #include diff --git a/dts/arm/nxp/nxp_kl25z.dtsi b/dts/arm/nxp/nxp_kl25z.dtsi index e45e0466a5bb..5d9be7264e54 100644 --- a/dts/arm/nxp/nxp_kl25z.dtsi +++ b/dts/arm/nxp/nxp_kl25z.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include "armv6-m.dtsi" #include #include diff --git a/dts/arm/nxp/nxp_kw2xd.dtsi b/dts/arm/nxp/nxp_kw2xd.dtsi index daec06893805..c88080b17c34 100644 --- a/dts/arm/nxp/nxp_kw2xd.dtsi +++ b/dts/arm/nxp/nxp_kw2xd.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include #include #include diff --git a/dts/arm/nxp/nxp_kw40z.dtsi b/dts/arm/nxp/nxp_kw40z.dtsi index aab99282e91a..d66f7ace6424 100644 --- a/dts/arm/nxp/nxp_kw40z.dtsi +++ b/dts/arm/nxp/nxp_kw40z.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include "armv6-m.dtsi" #include #include diff --git a/dts/arm/nxp/nxp_kw41z.dtsi b/dts/arm/nxp/nxp_kw41z.dtsi index 159b8f50ae83..eb53bac237f8 100644 --- a/dts/arm/nxp/nxp_kw41z.dtsi +++ b/dts/arm/nxp/nxp_kw41z.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include #include #include diff --git a/dts/arm/silabs/efm32hg.dtsi b/dts/arm/silabs/efm32hg.dtsi index 8cbfbf318f12..86879bebfce4 100644 --- a/dts/arm/silabs/efm32hg.dtsi +++ b/dts/arm/silabs/efm32hg.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include #include #include diff --git a/dts/arm/silabs/efm32wg.dtsi b/dts/arm/silabs/efm32wg.dtsi index 3a915d76a92d..347296e3b810 100644 --- a/dts/arm/silabs/efm32wg.dtsi +++ b/dts/arm/silabs/efm32wg.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include #include #include diff --git a/dts/arm/silabs/efr32fg1p.dtsi b/dts/arm/silabs/efr32fg1p.dtsi index 90a5dba5efe0..c279f37284f2 100644 --- a/dts/arm/silabs/efr32fg1p.dtsi +++ b/dts/arm/silabs/efr32fg1p.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include #include #include diff --git a/dts/arm/silabs/efr32mg.dtsi b/dts/arm/silabs/efr32mg.dtsi index 722e7062fe2c..aea9f146cf15 100644 --- a/dts/arm/silabs/efr32mg.dtsi +++ b/dts/arm/silabs/efr32mg.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include #include #include diff --git a/dts/arm/ti/cc32xx.dtsi b/dts/arm/ti/cc32xx.dtsi index a9d4d45413e0..5179d5e65141 100644 --- a/dts/arm/ti/cc32xx.dtsi +++ b/dts/arm/ti/cc32xx.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include #include diff --git a/dts/arm/ti/lm3s6965.dtsi b/dts/arm/ti/lm3s6965.dtsi index 0cb748c89782..309f2d58283e 100644 --- a/dts/arm/ti/lm3s6965.dtsi +++ b/dts/arm/ti/lm3s6965.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include / { diff --git a/dts/arm/ti/msp432p4xx.dtsi b/dts/arm/ti/msp432p4xx.dtsi index 9d0c0ce616d3..fcd8bf34e184 100644 --- a/dts/arm/ti/msp432p4xx.dtsi +++ b/dts/arm/ti/msp432p4xx.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include / { diff --git a/dts/common/common.dts b/dts/common/common.dts index 4dacf79149d9..6d01c4d860bf 100644 --- a/dts/common/common.dts +++ b/dts/common/common.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* * Common Device Tree source, used for pulling in features and * additions by the build system. diff --git a/dts/common/skeleton.dtsi b/dts/common/skeleton.dtsi index 1938419b8e74..ef2671c9e7ef 100644 --- a/dts/common/skeleton.dtsi +++ b/dts/common/skeleton.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* * Skeleton device tree; the bare minimum needed to boot; just include and * add a compatible value. The bootloader will typically populate the memory diff --git a/dts/nios2/nios2-qemu.dtsi b/dts/nios2/nios2-qemu.dtsi index 34f94b5de606..e749e31d7d77 100644 --- a/dts/nios2/nios2-qemu.dtsi +++ b/dts/nios2/nios2-qemu.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include "skeleton.dtsi" / { diff --git a/dts/nios2/nios2f.dtsi b/dts/nios2/nios2f.dtsi index 2d429fcedec4..066492dc20e9 100644 --- a/dts/nios2/nios2f.dtsi +++ b/dts/nios2/nios2f.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include "skeleton.dtsi" #include diff --git a/dts/riscv32/riscv32-fe310.dtsi b/dts/riscv32/riscv32-fe310.dtsi index e0bd27971c81..99e8717c5b2a 100644 --- a/dts/riscv32/riscv32-fe310.dtsi +++ b/dts/riscv32/riscv32-fe310.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include / { diff --git a/dts/xtensa/intel_s1000.dtsi b/dts/xtensa/intel_s1000.dtsi index e019536983ab..1feed8633664 100644 --- a/dts/xtensa/intel_s1000.dtsi +++ b/dts/xtensa/intel_s1000.dtsi @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #include "skeleton.dtsi" #include #include diff --git a/include/app_memory/app_memdomain.h b/include/app_memory/app_memdomain.h index 381482b3b1b3..62ef4d93611f 100644 --- a/include/app_memory/app_memdomain.h +++ b/include/app_memory/app_memdomain.h @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2019 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ #ifndef ZEPHYR_INCLUDE_APP_MEMORY_APP_MEMDOMAIN_H_ #define ZEPHYR_INCLUDE_APP_MEMORY_APP_MEMDOMAIN_H_ diff --git a/include/linker/app_smem.ld b/include/linker/app_smem.ld index 6e3fbd17efe3..7b3eead393d8 100644 --- a/include/linker/app_smem.ld +++ b/include/linker/app_smem.ld @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* * This hackish way of including files is due to CMake issues: * https://gitlab.kitware.com/cmake/cmake/issues/11985 diff --git a/include/linker/app_smem_aligned.ld b/include/linker/app_smem_aligned.ld index 513d7abe8c55..4325b16a68a1 100644 --- a/include/linker/app_smem_aligned.ld +++ b/include/linker/app_smem_aligned.ld @@ -1,2 +1,4 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* space holder */ APP_SMEM_SECTION() diff --git a/include/linker/app_smem_unaligned.ld b/include/linker/app_smem_unaligned.ld index 513d7abe8c55..4325b16a68a1 100644 --- a/include/linker/app_smem_unaligned.ld +++ b/include/linker/app_smem_unaligned.ld @@ -1,2 +1,4 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* space holder */ APP_SMEM_SECTION() diff --git a/include/linker/common-ram.ld b/include/linker/common-ram.ld index 9e44626a3771..856188ac79a5 100644 --- a/include/linker/common-ram.ld +++ b/include/linker/common-ram.ld @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + SECTION_DATA_PROLOGUE(initlevel,,) { DEVICE_INIT_SECTIONS() diff --git a/include/linker/common-rom.ld b/include/linker/common-rom.ld index 6adccaa9dd57..86e1bef2e98e 100644 --- a/include/linker/common-rom.ld +++ b/include/linker/common-rom.ld @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #if defined(CONFIG_GEN_ISR_TABLES) && !defined(CONFIG_DYNAMIC_INTERRUPTS) SECTION_PROLOGUE(sw_isr_table,,) { diff --git a/include/linker/debug-sections.ld b/include/linker/debug-sections.ld index e0eaf7f7cec9..e0e14baa0864 100644 --- a/include/linker/debug-sections.ld +++ b/include/linker/debug-sections.ld @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* following sections are obtained via 'ld --verbose' */ /* Stabs debugging sections. */ diff --git a/include/linker/kobject-text.ld b/include/linker/kobject-text.ld index a733eebe718e..f730c7780303 100644 --- a/include/linker/kobject-text.ld +++ b/include/linker/kobject-text.ld @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #ifdef CONFIG_USERSPACE /* We need to reserve room for the gperf generated hash functions. * Fortunately, unlike the data tables, the size of the code is diff --git a/include/linker/rel-sections.ld b/include/linker/rel-sections.ld index 48174e2778d8..952e2317f2a7 100644 --- a/include/linker/rel-sections.ld +++ b/include/linker/rel-sections.ld @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* * .rel.* are for relocation. * These are being produced by compiler/linker. diff --git a/kernel/CMakeLists.txt b/kernel/CMakeLists.txt index 7090c032c7c2..1f04d1dae6fc 100644 --- a/kernel/CMakeLists.txt +++ b/kernel/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # kernel is a normal CMake library and not a zephyr_library because it # should not be --whole-archive'd add_library(kernel diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 3101afc9f894..cce7d4a5ab86 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(NOT CONFIG_NATIVE_APPLICATION) add_subdirectory(libc) endif() diff --git a/lib/cmsis_rtos_v1/CMakeLists.txt b/lib/cmsis_rtos_v1/CMakeLists.txt index 8318284b7f25..f099845f0909 100644 --- a/lib/cmsis_rtos_v1/CMakeLists.txt +++ b/lib/cmsis_rtos_v1/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + add_library(CMSIS INTERFACE) diff --git a/lib/cmsis_rtos_v2/CMakeLists.txt b/lib/cmsis_rtos_v2/CMakeLists.txt index c411a25966ed..984d885c704e 100644 --- a/lib/cmsis_rtos_v2/CMakeLists.txt +++ b/lib/cmsis_rtos_v2/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + add_library(CMSIS INTERFACE) diff --git a/lib/gui/CMakeLists.txt b/lib/gui/CMakeLists.txt index 51eadedd1ab7..42bf3755800f 100644 --- a/lib/gui/CMakeLists.txt +++ b/lib/gui/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + add_subdirectory_if_kconfig(lvgl) diff --git a/lib/gui/lvgl/CMakeLists.txt b/lib/gui/lvgl/CMakeLists.txt index c873757ce94f..d63be70da4f0 100644 --- a/lib/gui/lvgl/CMakeLists.txt +++ b/lib/gui/lvgl/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + include(FetchContent) set(lv_name lvgl) diff --git a/lib/libc/CMakeLists.txt b/lib/libc/CMakeLists.txt index e72a848ce058..fbba2a07cdb7 100644 --- a/lib/libc/CMakeLists.txt +++ b/lib/libc/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_NEWLIB_LIBC) add_subdirectory(newlib) else() diff --git a/lib/libc/minimal/CMakeLists.txt b/lib/libc/minimal/CMakeLists.txt index e06c723748dc..c6698c7ac0e8 100644 --- a/lib/libc/minimal/CMakeLists.txt +++ b/lib/libc/minimal/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories(include) zephyr_library() diff --git a/lib/libc/newlib/CMakeLists.txt b/lib/libc/newlib/CMakeLists.txt index d97e3a38f96b..fd29879e7127 100644 --- a/lib/libc/newlib/CMakeLists.txt +++ b/lib/libc/newlib/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(libc-hooks.c) diff --git a/lib/os/CMakeLists.txt b/lib/os/CMakeLists.txt index 07ea0ad41f2c..d5aad76c7cd1 100644 --- a/lib/os/CMakeLists.txt +++ b/lib/os/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_if_kconfig(base64.c) zephyr_sources( diff --git a/lib/posix/CMakeLists.txt b/lib/posix/CMakeLists.txt index 919f3887e37e..a83dff929605 100644 --- a/lib/posix/CMakeLists.txt +++ b/lib/posix/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + add_library(PTHREAD INTERFACE) diff --git a/misc/generated/CMakeLists.txt b/misc/generated/CMakeLists.txt index 8f5d8663feed..7264e6f20b9d 100644 --- a/misc/generated/CMakeLists.txt +++ b/misc/generated/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(CONFIGS_C ${CMAKE_CURRENT_BINARY_DIR}/misc/generated/configs.c) file(STRINGS diff --git a/samples/application_development/code_relocation/CMakeLists.txt b/samples/application_development/code_relocation/CMakeLists.txt index 8487ea7e8ea6..e2c6c9dd70ef 100644 --- a/samples/application_development/code_relocation/CMakeLists.txt +++ b/samples/application_development/code_relocation/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/application_development/code_relocation/custom-sections.ld b/samples/application_development/code_relocation/custom-sections.ld index 9f5084253913..b3bfb819f17d 100644 --- a/samples/application_development/code_relocation/custom-sections.ld +++ b/samples/application_development/code_relocation/custom-sections.ld @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + SECTION_DATA_PROLOGUE(_CUSTOM_SECTION_NAME2,,) { KEEP(*(".custom_section.*")); diff --git a/samples/application_development/external_lib/CMakeLists.txt b/samples/application_development/external_lib/CMakeLists.txt index d67856ad53e5..dda90e95db7e 100644 --- a/samples/application_development/external_lib/CMakeLists.txt +++ b/samples/application_development/external_lib/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(external_lib) diff --git a/samples/application_development/out_of_tree_board/CMakeLists.txt b/samples/application_development/out_of_tree_board/CMakeLists.txt index dfecf8c17539..1ef7e0c0efda 100644 --- a/samples/application_development/out_of_tree_board/CMakeLists.txt +++ b/samples/application_development/out_of_tree_board/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) # Re-direct the directory where the 'boards' directory is found from # $ZEPHYR_BASE to this directory. diff --git a/samples/application_development/out_of_tree_board/boards/arm/nrf52840_pca10056/board.cmake b/samples/application_development/out_of_tree_board/boards/arm/nrf52840_pca10056/board.cmake index 1181243fbfe5..ddd57ab8839a 100644 --- a/samples/application_development/out_of_tree_board/boards/arm/nrf52840_pca10056/board.cmake +++ b/samples/application_development/out_of_tree_board/boards/arm/nrf52840_pca10056/board.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + board_runner_args(nrfjprog "--nrf-family=NRF52") board_runner_args(jlink "--device=nrf52" "--speed=4000") include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) diff --git a/samples/application_development/out_of_tree_board/boards/arm/nrf52840_pca10056/nrf52840_pca10056_defconfig b/samples/application_development/out_of_tree_board/boards/arm/nrf52840_pca10056/nrf52840_pca10056_defconfig index e069915b5e86..bc439df5c671 100644 --- a/samples/application_development/out_of_tree_board/boards/arm/nrf52840_pca10056/nrf52840_pca10056_defconfig +++ b/samples/application_development/out_of_tree_board/boards/arm/nrf52840_pca10056/nrf52840_pca10056_defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + CONFIG_ARM=y CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_SERIES_NRF52X=y diff --git a/samples/basic/blink_led/CMakeLists.txt b/samples/basic/blink_led/CMakeLists.txt index e20cd52dca83..a5afd776d638 100644 --- a/samples/basic/blink_led/CMakeLists.txt +++ b/samples/basic/blink_led/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(blink_led) diff --git a/samples/basic/blinky/CMakeLists.txt b/samples/basic/blinky/CMakeLists.txt index 1e2397389e14..37015fe428ee 100644 --- a/samples/basic/blinky/CMakeLists.txt +++ b/samples/basic/blinky/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(blinky) diff --git a/samples/basic/button/CMakeLists.txt b/samples/basic/button/CMakeLists.txt index b9e1e1b35bf4..25bcdb6c51ad 100644 --- a/samples/basic/button/CMakeLists.txt +++ b/samples/basic/button/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(button) diff --git a/samples/basic/disco/CMakeLists.txt b/samples/basic/disco/CMakeLists.txt index c6ac1551b040..b1a146165b21 100644 --- a/samples/basic/disco/CMakeLists.txt +++ b/samples/basic/disco/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(disco) diff --git a/samples/basic/fade_led/CMakeLists.txt b/samples/basic/fade_led/CMakeLists.txt index 0f7f23756754..11bbaadb760d 100644 --- a/samples/basic/fade_led/CMakeLists.txt +++ b/samples/basic/fade_led/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(fade_led) diff --git a/samples/basic/rgb_led/CMakeLists.txt b/samples/basic/rgb_led/CMakeLists.txt index bb566de092d8..f69650afa10d 100644 --- a/samples/basic/rgb_led/CMakeLists.txt +++ b/samples/basic/rgb_led/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(rgb_led) diff --git a/samples/basic/servo_motor/CMakeLists.txt b/samples/basic/servo_motor/CMakeLists.txt index e5079ec8103e..4225ca38ef52 100644 --- a/samples/basic/servo_motor/CMakeLists.txt +++ b/samples/basic/servo_motor/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(servo_motor) diff --git a/samples/basic/servo_motor/bbc_microbit.overlay b/samples/basic/servo_motor/bbc_microbit.overlay index 9ecaf0bed44d..faca1ccb8001 100644 --- a/samples/basic/servo_motor/bbc_microbit.overlay +++ b/samples/basic/servo_motor/bbc_microbit.overlay @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + &sw_pwm { clock-prescaler = <3>; diff --git a/samples/basic/threads/CMakeLists.txt b/samples/basic/threads/CMakeLists.txt index 2e80ee234975..03e58faab324 100644 --- a/samples/basic/threads/CMakeLists.txt +++ b/samples/basic/threads/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(threads) diff --git a/samples/bluetooth/beacon/CMakeLists.txt b/samples/bluetooth/beacon/CMakeLists.txt index 9ae7afd285e5..d4df3dece766 100644 --- a/samples/bluetooth/beacon/CMakeLists.txt +++ b/samples/bluetooth/beacon/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(beacon) diff --git a/samples/bluetooth/central/CMakeLists.txt b/samples/bluetooth/central/CMakeLists.txt index 36b86255b3a6..dec4bb36bccd 100644 --- a/samples/bluetooth/central/CMakeLists.txt +++ b/samples/bluetooth/central/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(central) diff --git a/samples/bluetooth/central_hr/CMakeLists.txt b/samples/bluetooth/central_hr/CMakeLists.txt index 96eb9e73bbe9..45b3987e07d9 100644 --- a/samples/bluetooth/central_hr/CMakeLists.txt +++ b/samples/bluetooth/central_hr/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(central_hr) diff --git a/samples/bluetooth/eddystone/CMakeLists.txt b/samples/bluetooth/eddystone/CMakeLists.txt index 8ea4dba4e9fb..980c3ec62c70 100644 --- a/samples/bluetooth/eddystone/CMakeLists.txt +++ b/samples/bluetooth/eddystone/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(eddystone) diff --git a/samples/bluetooth/handsfree/CMakeLists.txt b/samples/bluetooth/handsfree/CMakeLists.txt index 6134708b7d9a..5e05995df5d0 100644 --- a/samples/bluetooth/handsfree/CMakeLists.txt +++ b/samples/bluetooth/handsfree/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(handsfree) diff --git a/samples/bluetooth/hci_spi/CMakeLists.txt b/samples/bluetooth/hci_spi/CMakeLists.txt index 5e6e27b0a35f..51c8f47e3bbe 100644 --- a/samples/bluetooth/hci_spi/CMakeLists.txt +++ b/samples/bluetooth/hci_spi/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(hci_spi) diff --git a/samples/bluetooth/hci_uart/96b_nitrogen.overlay b/samples/bluetooth/hci_uart/96b_nitrogen.overlay index 4113eafe1d36..d2b9c0d4fb45 100644 --- a/samples/bluetooth/hci_uart/96b_nitrogen.overlay +++ b/samples/bluetooth/hci_uart/96b_nitrogen.overlay @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + &uart0 { compatible = "nordic,nrf-uart"; current-speed = <1000000>; diff --git a/samples/bluetooth/hci_uart/CMakeLists.txt b/samples/bluetooth/hci_uart/CMakeLists.txt index 42a699f07f93..5c3c0ef85c71 100644 --- a/samples/bluetooth/hci_uart/CMakeLists.txt +++ b/samples/bluetooth/hci_uart/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) if(BOARD STREQUAL bbc_microbit) set(CONF_FILE microbit.conf) diff --git a/samples/bluetooth/hci_uart/nrf51_blenano.overlay b/samples/bluetooth/hci_uart/nrf51_blenano.overlay index 4113eafe1d36..d2b9c0d4fb45 100644 --- a/samples/bluetooth/hci_uart/nrf51_blenano.overlay +++ b/samples/bluetooth/hci_uart/nrf51_blenano.overlay @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + &uart0 { compatible = "nordic,nrf-uart"; current-speed = <1000000>; diff --git a/samples/bluetooth/hci_uart/nrf51_pca10028.overlay b/samples/bluetooth/hci_uart/nrf51_pca10028.overlay index 4113eafe1d36..d2b9c0d4fb45 100644 --- a/samples/bluetooth/hci_uart/nrf51_pca10028.overlay +++ b/samples/bluetooth/hci_uart/nrf51_pca10028.overlay @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + &uart0 { compatible = "nordic,nrf-uart"; current-speed = <1000000>; diff --git a/samples/bluetooth/hci_uart/nrf52840_pca10056.overlay b/samples/bluetooth/hci_uart/nrf52840_pca10056.overlay index 4113eafe1d36..d2b9c0d4fb45 100644 --- a/samples/bluetooth/hci_uart/nrf52840_pca10056.overlay +++ b/samples/bluetooth/hci_uart/nrf52840_pca10056.overlay @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + &uart0 { compatible = "nordic,nrf-uart"; current-speed = <1000000>; diff --git a/samples/bluetooth/hci_uart/nrf52840_pca10090.overlay b/samples/bluetooth/hci_uart/nrf52840_pca10090.overlay index d0c2b5849556..b068b6bcb953 100644 --- a/samples/bluetooth/hci_uart/nrf52840_pca10090.overlay +++ b/samples/bluetooth/hci_uart/nrf52840_pca10090.overlay @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + / { chosen { zephyr,bt-uart=&uart1; diff --git a/samples/bluetooth/hci_uart/nrf52_blenano2.overlay b/samples/bluetooth/hci_uart/nrf52_blenano2.overlay index 4113eafe1d36..d2b9c0d4fb45 100644 --- a/samples/bluetooth/hci_uart/nrf52_blenano2.overlay +++ b/samples/bluetooth/hci_uart/nrf52_blenano2.overlay @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + &uart0 { compatible = "nordic,nrf-uart"; current-speed = <1000000>; diff --git a/samples/bluetooth/hci_uart/nrf52_pca10040.overlay b/samples/bluetooth/hci_uart/nrf52_pca10040.overlay index 4113eafe1d36..d2b9c0d4fb45 100644 --- a/samples/bluetooth/hci_uart/nrf52_pca10040.overlay +++ b/samples/bluetooth/hci_uart/nrf52_pca10040.overlay @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + &uart0 { compatible = "nordic,nrf-uart"; current-speed = <1000000>; diff --git a/samples/bluetooth/hci_usb/CMakeLists.txt b/samples/bluetooth/hci_usb/CMakeLists.txt index a2bf5d7c18fb..a7462ee718a3 100644 --- a/samples/bluetooth/hci_usb/CMakeLists.txt +++ b/samples/bluetooth/hci_usb/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(hci_usb) diff --git a/samples/bluetooth/ibeacon/CMakeLists.txt b/samples/bluetooth/ibeacon/CMakeLists.txt index 9945608862ac..adf97d5f8731 100644 --- a/samples/bluetooth/ibeacon/CMakeLists.txt +++ b/samples/bluetooth/ibeacon/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(ibeacon) diff --git a/samples/bluetooth/ipsp/CMakeLists.txt b/samples/bluetooth/ipsp/CMakeLists.txt index f56029e67762..f5aef63ef3f3 100644 --- a/samples/bluetooth/ipsp/CMakeLists.txt +++ b/samples/bluetooth/ipsp/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(ipsp) diff --git a/samples/bluetooth/mesh/CMakeLists.txt b/samples/bluetooth/mesh/CMakeLists.txt index 38e7a6d37923..c7ead201423b 100644 --- a/samples/bluetooth/mesh/CMakeLists.txt +++ b/samples/bluetooth/mesh/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) set(QEMU_EXTRA_FLAGS -s) diff --git a/samples/bluetooth/mesh_demo/CMakeLists.txt b/samples/bluetooth/mesh_demo/CMakeLists.txt index 249092b7512f..f746d1d45f20 100644 --- a/samples/bluetooth/mesh_demo/CMakeLists.txt +++ b/samples/bluetooth/mesh_demo/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) set(QEMU_EXTRA_FLAGS -s) diff --git a/samples/bluetooth/peripheral/CMakeLists.txt b/samples/bluetooth/peripheral/CMakeLists.txt index 6197899f71a8..bf3bd2d8b0ce 100644 --- a/samples/bluetooth/peripheral/CMakeLists.txt +++ b/samples/bluetooth/peripheral/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(peripheral) diff --git a/samples/bluetooth/peripheral_csc/CMakeLists.txt b/samples/bluetooth/peripheral_csc/CMakeLists.txt index 0e970e1d3cad..61c853debf1c 100644 --- a/samples/bluetooth/peripheral_csc/CMakeLists.txt +++ b/samples/bluetooth/peripheral_csc/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(peripheral_csc) diff --git a/samples/bluetooth/peripheral_dis/CMakeLists.txt b/samples/bluetooth/peripheral_dis/CMakeLists.txt index 6d040949d80c..2b77f8a7540a 100644 --- a/samples/bluetooth/peripheral_dis/CMakeLists.txt +++ b/samples/bluetooth/peripheral_dis/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(peripheral_dis) diff --git a/samples/bluetooth/peripheral_esp/CMakeLists.txt b/samples/bluetooth/peripheral_esp/CMakeLists.txt index 2e88ee177c3f..9054260c11a6 100644 --- a/samples/bluetooth/peripheral_esp/CMakeLists.txt +++ b/samples/bluetooth/peripheral_esp/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(peripheral_esp) diff --git a/samples/bluetooth/peripheral_hids/CMakeLists.txt b/samples/bluetooth/peripheral_hids/CMakeLists.txt index 705fd689f282..c72d55ae2148 100644 --- a/samples/bluetooth/peripheral_hids/CMakeLists.txt +++ b/samples/bluetooth/peripheral_hids/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(peripheral_hids) diff --git a/samples/bluetooth/peripheral_hr/CMakeLists.txt b/samples/bluetooth/peripheral_hr/CMakeLists.txt index 532bfa700246..801210f2d026 100644 --- a/samples/bluetooth/peripheral_hr/CMakeLists.txt +++ b/samples/bluetooth/peripheral_hr/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/bluetooth/peripheral_sc_only/CMakeLists.txt b/samples/bluetooth/peripheral_sc_only/CMakeLists.txt index 8dcfd602a777..dbcad42e4c1c 100644 --- a/samples/bluetooth/peripheral_sc_only/CMakeLists.txt +++ b/samples/bluetooth/peripheral_sc_only/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(peripheral_sc_only) diff --git a/samples/bluetooth/scan_adv/CMakeLists.txt b/samples/bluetooth/scan_adv/CMakeLists.txt index be2dcb2ddcc0..9ec769641e14 100644 --- a/samples/bluetooth/scan_adv/CMakeLists.txt +++ b/samples/bluetooth/scan_adv/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(scan_adv) diff --git a/samples/boards/altera_max10/pio/CMakeLists.txt b/samples/boards/altera_max10/pio/CMakeLists.txt index b05d129b39ac..c18c200d0ede 100644 --- a/samples/boards/altera_max10/pio/CMakeLists.txt +++ b/samples/boards/altera_max10/pio/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(pio) diff --git a/samples/boards/arduino_101/environmental_sensing/ap/CMakeLists.txt b/samples/boards/arduino_101/environmental_sensing/ap/CMakeLists.txt index dcc95cb0d4a6..8d3bb8c18cc6 100644 --- a/samples/boards/arduino_101/environmental_sensing/ap/CMakeLists.txt +++ b/samples/boards/arduino_101/environmental_sensing/ap/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(environmental_sensing_ap) diff --git a/samples/boards/arduino_101/environmental_sensing/sensor/CMakeLists.txt b/samples/boards/arduino_101/environmental_sensing/sensor/CMakeLists.txt index 27cdb7da38ba..712ed2c4f5ca 100644 --- a/samples/boards/arduino_101/environmental_sensing/sensor/CMakeLists.txt +++ b/samples/boards/arduino_101/environmental_sensing/sensor/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(environmental_sensing_sensor) diff --git a/samples/boards/bbc_microbit/display/CMakeLists.txt b/samples/boards/bbc_microbit/display/CMakeLists.txt index b63aebc0822e..7a1be91ead04 100644 --- a/samples/boards/bbc_microbit/display/CMakeLists.txt +++ b/samples/boards/bbc_microbit/display/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/boards/bbc_microbit/pong/CMakeLists.txt b/samples/boards/bbc_microbit/pong/CMakeLists.txt index 7e71ede152a6..21099aa308e3 100644 --- a/samples/boards/bbc_microbit/pong/CMakeLists.txt +++ b/samples/boards/bbc_microbit/pong/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/boards/bbc_microbit/sound/CMakeLists.txt b/samples/boards/bbc_microbit/sound/CMakeLists.txt index 1e69f7d485e1..c72daaf9ecd4 100644 --- a/samples/boards/bbc_microbit/sound/CMakeLists.txt +++ b/samples/boards/bbc_microbit/sound/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/boards/intel_s1000_crb/audio/CMakeLists.txt b/samples/boards/intel_s1000_crb/audio/CMakeLists.txt index c1be13983cea..6c47b0fe4ad5 100644 --- a/samples/boards/intel_s1000_crb/audio/CMakeLists.txt +++ b/samples/boards/intel_s1000_crb/audio/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(BOARD intel_s1000_crb) cmake_minimum_required(VERSION 3.8.2) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/boards/intel_s1000_crb/dmic/CMakeLists.txt b/samples/boards/intel_s1000_crb/dmic/CMakeLists.txt index 8000750d9a96..cc217b726c0c 100644 --- a/samples/boards/intel_s1000_crb/dmic/CMakeLists.txt +++ b/samples/boards/intel_s1000_crb/dmic/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(BOARD intel_s1000_crb) cmake_minimum_required(VERSION 3.8.2) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/boards/intel_s1000_crb/i2s/CMakeLists.txt b/samples/boards/intel_s1000_crb/i2s/CMakeLists.txt index e10121ff234c..15abecaa9324 100644 --- a/samples/boards/intel_s1000_crb/i2s/CMakeLists.txt +++ b/samples/boards/intel_s1000_crb/i2s/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(BOARD intel_s1000_crb) cmake_minimum_required(VERSION 3.8.2) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/boards/nrf52/mesh/onoff-app/CMakeLists.txt b/samples/boards/nrf52/mesh/onoff-app/CMakeLists.txt index 8baa1c95a1de..929e30bbadd7 100644 --- a/samples/boards/nrf52/mesh/onoff-app/CMakeLists.txt +++ b/samples/boards/nrf52/mesh/onoff-app/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) set(QEMU_EXTRA_FLAGS -s) diff --git a/samples/boards/nrf52/mesh/onoff_level_lighting_vnd_app/CMakeLists.txt b/samples/boards/nrf52/mesh/onoff_level_lighting_vnd_app/CMakeLists.txt index 00be92fe0c3f..777e56d30c5a 100644 --- a/samples/boards/nrf52/mesh/onoff_level_lighting_vnd_app/CMakeLists.txt +++ b/samples/boards/nrf52/mesh/onoff_level_lighting_vnd_app/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) set(QEMU_EXTRA_FLAGS -s) diff --git a/samples/boards/nrf52/power_mgr/CMakeLists.txt b/samples/boards/nrf52/power_mgr/CMakeLists.txt index 719b1369e83e..71e73086e5e2 100644 --- a/samples/boards/nrf52/power_mgr/CMakeLists.txt +++ b/samples/boards/nrf52/power_mgr/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(nrf52_power_mgr) diff --git a/samples/boards/nrf52/power_mgr/Kconfig b/samples/boards/nrf52/power_mgr/Kconfig index b9d39006350a..42f4b8ff2739 100644 --- a/samples/boards/nrf52/power_mgr/Kconfig +++ b/samples/boards/nrf52/power_mgr/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config NRF5_POWER_MGMT_EXAMPLE bool default y diff --git a/samples/boards/olimex_stm32_e407/ccm/CMakeLists.txt b/samples/boards/olimex_stm32_e407/ccm/CMakeLists.txt index 06dc078ce742..aa8bc7c25583 100644 --- a/samples/boards/olimex_stm32_e407/ccm/CMakeLists.txt +++ b/samples/boards/olimex_stm32_e407/ccm/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(ccm) diff --git a/samples/boards/reel_board/mesh_badge/CMakeLists.txt b/samples/boards/reel_board/mesh_badge/CMakeLists.txt index d2b0b8299588..aa56b8beb420 100644 --- a/samples/boards/reel_board/mesh_badge/CMakeLists.txt +++ b/samples/boards/reel_board/mesh_badge/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mesh_badge) diff --git a/samples/boards/up_squared/gpio_counter/CMakeLists.txt b/samples/boards/up_squared/gpio_counter/CMakeLists.txt index 2e96afece262..2e3d9187ae65 100644 --- a/samples/boards/up_squared/gpio_counter/CMakeLists.txt +++ b/samples/boards/up_squared/gpio_counter/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/cpp_synchronization/CMakeLists.txt b/samples/cpp_synchronization/CMakeLists.txt index 8bc5f872ff9d..fdc8b90bbb92 100644 --- a/samples/cpp_synchronization/CMakeLists.txt +++ b/samples/cpp_synchronization/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(cpp_synchronization) diff --git a/samples/display/cfb/CMakeLists.txt b/samples/display/cfb/CMakeLists.txt index 9709b54fe20b..44a8910dcd83 100644 --- a/samples/display/cfb/CMakeLists.txt +++ b/samples/display/cfb/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/display/cfb/frdm_k64f.overlay b/samples/display/cfb/frdm_k64f.overlay index f82770a5ac1d..b17f2da2ca92 100644 --- a/samples/display/cfb/frdm_k64f.overlay +++ b/samples/display/cfb/frdm_k64f.overlay @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + &i2c0 { status = "ok"; diff --git a/samples/display/cfb_custom_font/CMakeLists.txt b/samples/display/cfb_custom_font/CMakeLists.txt index 86abd5cad25f..c273eea761c7 100644 --- a/samples/display/cfb_custom_font/CMakeLists.txt +++ b/samples/display/cfb_custom_font/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/display/cfb_shell/CMakeLists.txt b/samples/display/cfb_shell/CMakeLists.txt index 9709b54fe20b..44a8910dcd83 100644 --- a/samples/display/cfb_shell/CMakeLists.txt +++ b/samples/display/cfb_shell/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/display/grove_display/CMakeLists.txt b/samples/display/grove_display/CMakeLists.txt index ae49742239f1..cc55ea14c66d 100644 --- a/samples/display/grove_display/CMakeLists.txt +++ b/samples/display/grove_display/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(grove_display) diff --git a/samples/display/ili9340/CMakeLists.txt b/samples/display/ili9340/CMakeLists.txt index bbe265f837ec..72a5c16a54b6 100644 --- a/samples/display/ili9340/CMakeLists.txt +++ b/samples/display/ili9340/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(ili9340) diff --git a/samples/display/ili9340/nucleo_l476rg.overlay b/samples/display/ili9340/nucleo_l476rg.overlay index 8214bf15be06..1fe54c868a0d 100644 --- a/samples/display/ili9340/nucleo_l476rg.overlay +++ b/samples/display/ili9340/nucleo_l476rg.overlay @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + &spi1 { status = "ok"; diff --git a/samples/drivers/CAN/CMakeLists.txt b/samples/drivers/CAN/CMakeLists.txt index 862b3e19a1bd..1ec55878dce9 100644 --- a/samples/drivers/CAN/CMakeLists.txt +++ b/samples/drivers/CAN/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) diff --git a/samples/drivers/counter/alarm/CMakeLists.txt b/samples/drivers/counter/alarm/CMakeLists.txt index 9204c53cf2ab..86280f765bcf 100644 --- a/samples/drivers/counter/alarm/CMakeLists.txt +++ b/samples/drivers/counter/alarm/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(counter) diff --git a/samples/drivers/crypto/CMakeLists.txt b/samples/drivers/crypto/CMakeLists.txt index ea470094497e..95f669b4f23f 100644 --- a/samples/drivers/crypto/CMakeLists.txt +++ b/samples/drivers/crypto/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(crypto) diff --git a/samples/drivers/current_sensing/CMakeLists.txt b/samples/drivers/current_sensing/CMakeLists.txt index b9befd16eff1..29f03a911451 100644 --- a/samples/drivers/current_sensing/CMakeLists.txt +++ b/samples/drivers/current_sensing/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(current_sensing) diff --git a/samples/drivers/entropy/CMakeLists.txt b/samples/drivers/entropy/CMakeLists.txt index 1184792992ea..5aeaa86fe326 100644 --- a/samples/drivers/entropy/CMakeLists.txt +++ b/samples/drivers/entropy/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(entropy) diff --git a/samples/drivers/flash_shell/CMakeLists.txt b/samples/drivers/flash_shell/CMakeLists.txt index c806247d8d29..fe1e0bdc73a6 100644 --- a/samples/drivers/flash_shell/CMakeLists.txt +++ b/samples/drivers/flash_shell/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(flash_shell) diff --git a/samples/drivers/gpio/CMakeLists.txt b/samples/drivers/gpio/CMakeLists.txt index 681692b6779c..9a291db2f6e6 100644 --- a/samples/drivers/gpio/CMakeLists.txt +++ b/samples/drivers/gpio/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(gpio) diff --git a/samples/drivers/i2c_fujitsu_fram/CMakeLists.txt b/samples/drivers/i2c_fujitsu_fram/CMakeLists.txt index f81df13cfdae..1aa9ac5c7434 100644 --- a/samples/drivers/i2c_fujitsu_fram/CMakeLists.txt +++ b/samples/drivers/i2c_fujitsu_fram/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(i2c_fujitsu_fram) diff --git a/samples/drivers/i2c_scanner/CMakeLists.txt b/samples/drivers/i2c_scanner/CMakeLists.txt index 8314085bbf6e..905a71e2f2a6 100644 --- a/samples/drivers/i2c_scanner/CMakeLists.txt +++ b/samples/drivers/i2c_scanner/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(i2c_scanner) diff --git a/samples/drivers/lcd_hd44780/CMakeLists.txt b/samples/drivers/lcd_hd44780/CMakeLists.txt index bc6815436248..67260c3f7b23 100644 --- a/samples/drivers/lcd_hd44780/CMakeLists.txt +++ b/samples/drivers/lcd_hd44780/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(lcd_hd44780) diff --git a/samples/drivers/led_apa102/CMakeLists.txt b/samples/drivers/led_apa102/CMakeLists.txt index c8c00f3b829b..4c30a007bf7a 100644 --- a/samples/drivers/led_apa102/CMakeLists.txt +++ b/samples/drivers/led_apa102/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/drivers/led_apa102c_bitbang/CMakeLists.txt b/samples/drivers/led_apa102c_bitbang/CMakeLists.txt index 92c9f35f59e6..62621bdc56f8 100644 --- a/samples/drivers/led_apa102c_bitbang/CMakeLists.txt +++ b/samples/drivers/led_apa102c_bitbang/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(led_apa102c) diff --git a/samples/drivers/led_lp3943/CMakeLists.txt b/samples/drivers/led_lp3943/CMakeLists.txt index 5aab4aea7dbc..c5d0a683314a 100644 --- a/samples/drivers/led_lp3943/CMakeLists.txt +++ b/samples/drivers/led_lp3943/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/drivers/led_lp5562/CMakeLists.txt b/samples/drivers/led_lp5562/CMakeLists.txt index 43c1a2b22557..8a317ac2bcb5 100644 --- a/samples/drivers/led_lp5562/CMakeLists.txt +++ b/samples/drivers/led_lp5562/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/drivers/led_lp5562/nrf52840_pca10056.overlay b/samples/drivers/led_lp5562/nrf52840_pca10056.overlay index 4d7e73beaeec..5088499a257b 100644 --- a/samples/drivers/led_lp5562/nrf52840_pca10056.overlay +++ b/samples/drivers/led_lp5562/nrf52840_pca10056.overlay @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + &i2c0 { status = "ok"; clock-frequency = ; diff --git a/samples/drivers/led_lpd8806/CMakeLists.txt b/samples/drivers/led_lpd8806/CMakeLists.txt index 662e7faf8b14..f446e696e7d7 100644 --- a/samples/drivers/led_lpd8806/CMakeLists.txt +++ b/samples/drivers/led_lpd8806/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/drivers/led_pca9633/CMakeLists.txt b/samples/drivers/led_pca9633/CMakeLists.txt index ad4122a5154e..5c9cab625bfe 100644 --- a/samples/drivers/led_pca9633/CMakeLists.txt +++ b/samples/drivers/led_pca9633/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/drivers/led_pca9633/stm32373c_eval.overlay b/samples/drivers/led_pca9633/stm32373c_eval.overlay index 861047fd8f10..e1391f3306ea 100644 --- a/samples/drivers/led_pca9633/stm32373c_eval.overlay +++ b/samples/drivers/led_pca9633/stm32373c_eval.overlay @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + &i2c1 { status = "ok"; clock-frequency = ; diff --git a/samples/drivers/led_ws2812/CMakeLists.txt b/samples/drivers/led_ws2812/CMakeLists.txt index d328e9167a31..b73895884aa5 100644 --- a/samples/drivers/led_ws2812/CMakeLists.txt +++ b/samples/drivers/led_ws2812/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/drivers/random/CMakeLists.txt b/samples/drivers/random/CMakeLists.txt index eb4d133e6090..5e8215bec398 100644 --- a/samples/drivers/random/CMakeLists.txt +++ b/samples/drivers/random/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(random) diff --git a/samples/drivers/rtc/CMakeLists.txt b/samples/drivers/rtc/CMakeLists.txt index 35d54b638a4c..484cf3372363 100644 --- a/samples/drivers/rtc/CMakeLists.txt +++ b/samples/drivers/rtc/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(rtc) diff --git a/samples/drivers/soc_flash_nrf/CMakeLists.txt b/samples/drivers/soc_flash_nrf/CMakeLists.txt index bcf29126aaf1..e9a61408fe75 100644 --- a/samples/drivers/soc_flash_nrf/CMakeLists.txt +++ b/samples/drivers/soc_flash_nrf/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(soc_flash_nrf) diff --git a/samples/drivers/spi_flash/CMakeLists.txt b/samples/drivers/spi_flash/CMakeLists.txt index c5134b8fa108..6d5bc319e14f 100644 --- a/samples/drivers/spi_flash/CMakeLists.txt +++ b/samples/drivers/spi_flash/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(spi_flash) diff --git a/samples/drivers/spi_fujitsu_fram/CMakeLists.txt b/samples/drivers/spi_fujitsu_fram/CMakeLists.txt index 54f04463c6fb..99f3d81fff21 100644 --- a/samples/drivers/spi_fujitsu_fram/CMakeLists.txt +++ b/samples/drivers/spi_fujitsu_fram/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(spi_fujitsu_fram) diff --git a/samples/drivers/watchdog/CMakeLists.txt b/samples/drivers/watchdog/CMakeLists.txt index 76074a73de1f..88cfc29bd71a 100644 --- a/samples/drivers/watchdog/CMakeLists.txt +++ b/samples/drivers/watchdog/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(watchdog) diff --git a/samples/gui/lvgl/CMakeLists.txt b/samples/gui/lvgl/CMakeLists.txt index f16c0ffdd255..7191f7f069f6 100644 --- a/samples/gui/lvgl/CMakeLists.txt +++ b/samples/gui/lvgl/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.8.2) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/hello_world/CMakeLists.txt b/samples/hello_world/CMakeLists.txt index bdb96e06810d..628615f49197 100644 --- a/samples/hello_world/CMakeLists.txt +++ b/samples/hello_world/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/mpu/mem_domain_apis_test/CMakeLists.txt b/samples/mpu/mem_domain_apis_test/CMakeLists.txt index f262532be5d9..db81e27d82e7 100644 --- a/samples/mpu/mem_domain_apis_test/CMakeLists.txt +++ b/samples/mpu/mem_domain_apis_test/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/mpu/mpu_test/CMakeLists.txt b/samples/mpu/mpu_test/CMakeLists.txt index acc5a1015b0f..c61f4eee77b6 100644 --- a/samples/mpu/mpu_test/CMakeLists.txt +++ b/samples/mpu/mpu_test/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/net/common/common.cmake b/samples/net/common/common.cmake index 902385920584..b17d6493819a 100644 --- a/samples/net/common/common.cmake +++ b/samples/net/common/common.cmake @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + # Common routines used in net samples diff --git a/samples/net/dhcpv4_client/CMakeLists.txt b/samples/net/dhcpv4_client/CMakeLists.txt index 62ac2da5920a..353cc3f1fb20 100644 --- a/samples/net/dhcpv4_client/CMakeLists.txt +++ b/samples/net/dhcpv4_client/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(dhcpv4_client) diff --git a/samples/net/dns_resolve/CMakeLists.txt b/samples/net/dns_resolve/CMakeLists.txt index df2e0ebcce1e..ba524e45da84 100644 --- a/samples/net/dns_resolve/CMakeLists.txt +++ b/samples/net/dns_resolve/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(dns_resolve) diff --git a/samples/net/eth_native_posix/CMakeLists.txt b/samples/net/eth_native_posix/CMakeLists.txt index 90fc5607cdf9..ff61f3fc2f98 100644 --- a/samples/net/eth_native_posix/CMakeLists.txt +++ b/samples/net/eth_native_posix/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(eth_native_posix) diff --git a/samples/net/google_iot_mqtt/CMakeLists.txt b/samples/net/google_iot_mqtt/CMakeLists.txt index 2fca37133dab..2bbed1b706e8 100644 --- a/samples/net/google_iot_mqtt/CMakeLists.txt +++ b/samples/net/google_iot_mqtt/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.8.2) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/net/gptp/CMakeLists.txt b/samples/net/gptp/CMakeLists.txt index 47758e26f67a..720e52347804 100644 --- a/samples/net/gptp/CMakeLists.txt +++ b/samples/net/gptp/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/net/ipv4_autoconf/CMakeLists.txt b/samples/net/ipv4_autoconf/CMakeLists.txt index 474e81f96043..002808356dd0 100644 --- a/samples/net/ipv4_autoconf/CMakeLists.txt +++ b/samples/net/ipv4_autoconf/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(ipv4_autoconf) diff --git a/samples/net/lldp/CMakeLists.txt b/samples/net/lldp/CMakeLists.txt index f109c2c2ac8d..48a4865dd53a 100644 --- a/samples/net/lldp/CMakeLists.txt +++ b/samples/net/lldp/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/net/lwm2m_client/CMakeLists.txt b/samples/net/lwm2m_client/CMakeLists.txt index dbacf0f450b5..fde12308e3cf 100644 --- a/samples/net/lwm2m_client/CMakeLists.txt +++ b/samples/net/lwm2m_client/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(lwm2m_client) diff --git a/samples/net/mdns_responder/CMakeLists.txt b/samples/net/mdns_responder/CMakeLists.txt index 6b40238c7656..8bef7eb52f48 100644 --- a/samples/net/mdns_responder/CMakeLists.txt +++ b/samples/net/mdns_responder/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mdns_responder) diff --git a/samples/net/mqtt_publisher/CMakeLists.txt b/samples/net/mqtt_publisher/CMakeLists.txt index 86d97281b098..7e249417429b 100644 --- a/samples/net/mqtt_publisher/CMakeLists.txt +++ b/samples/net/mqtt_publisher/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/net/nats/CMakeLists.txt b/samples/net/nats/CMakeLists.txt index ef4968bde27d..0eff05642afe 100644 --- a/samples/net/nats/CMakeLists.txt +++ b/samples/net/nats/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(nats) diff --git a/samples/net/promiscuous_mode/CMakeLists.txt b/samples/net/promiscuous_mode/CMakeLists.txt index 0bcfd7bd2e5b..4b5f7f926645 100644 --- a/samples/net/promiscuous_mode/CMakeLists.txt +++ b/samples/net/promiscuous_mode/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(promiscuous_mode) diff --git a/samples/net/sockets/big_http_download/CMakeLists.txt b/samples/net/sockets/big_http_download/CMakeLists.txt index 121a3d84a720..34d5752548ea 100644 --- a/samples/net/sockets/big_http_download/CMakeLists.txt +++ b/samples/net/sockets/big_http_download/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(big_http_download) diff --git a/samples/net/sockets/can/CMakeLists.txt b/samples/net/sockets/can/CMakeLists.txt index c1740216756a..806608ab5e6b 100644 --- a/samples/net/sockets/can/CMakeLists.txt +++ b/samples/net/sockets/can/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/net/sockets/coap_client/CMakeLists.txt b/samples/net/sockets/coap_client/CMakeLists.txt index c724a12f8306..7eff6a9b63b4 100644 --- a/samples/net/sockets/coap_client/CMakeLists.txt +++ b/samples/net/sockets/coap_client/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(NONE) diff --git a/samples/net/sockets/coap_server/CMakeLists.txt b/samples/net/sockets/coap_server/CMakeLists.txt index c724a12f8306..7eff6a9b63b4 100644 --- a/samples/net/sockets/coap_server/CMakeLists.txt +++ b/samples/net/sockets/coap_server/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(NONE) diff --git a/samples/net/sockets/dumb_http_server/CMakeLists.txt b/samples/net/sockets/dumb_http_server/CMakeLists.txt index 915f156ed397..f0f8bace41a3 100644 --- a/samples/net/sockets/dumb_http_server/CMakeLists.txt +++ b/samples/net/sockets/dumb_http_server/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(dumb_http_server) diff --git a/samples/net/sockets/echo/CMakeLists.txt b/samples/net/sockets/echo/CMakeLists.txt index c88247dc46bd..9850f543ae73 100644 --- a/samples/net/sockets/echo/CMakeLists.txt +++ b/samples/net/sockets/echo/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/net/sockets/echo_async/CMakeLists.txt b/samples/net/sockets/echo_async/CMakeLists.txt index baea08aa3d5d..7868a0883630 100644 --- a/samples/net/sockets/echo_async/CMakeLists.txt +++ b/samples/net/sockets/echo_async/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(sockets_echo_async) diff --git a/samples/net/sockets/echo_async_select/CMakeLists.txt b/samples/net/sockets/echo_async_select/CMakeLists.txt index 6eb83604017f..a9003d8498c7 100644 --- a/samples/net/sockets/echo_async_select/CMakeLists.txt +++ b/samples/net/sockets/echo_async_select/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(sockets_echo_async_select) diff --git a/samples/net/sockets/echo_client/CMakeLists.txt b/samples/net/sockets/echo_client/CMakeLists.txt index af4315916bba..1bdaa611e735 100644 --- a/samples/net/sockets/echo_client/CMakeLists.txt +++ b/samples/net/sockets/echo_client/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/net/sockets/echo_server/CMakeLists.txt b/samples/net/sockets/echo_server/CMakeLists.txt index f87e43dc5f1f..98ed79391153 100644 --- a/samples/net/sockets/echo_server/CMakeLists.txt +++ b/samples/net/sockets/echo_server/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/net/sockets/http_get/CMakeLists.txt b/samples/net/sockets/http_get/CMakeLists.txt index a0bc3c618209..36680ad7610b 100644 --- a/samples/net/sockets/http_get/CMakeLists.txt +++ b/samples/net/sockets/http_get/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/net/sockets/packet/CMakeLists.txt b/samples/net/sockets/packet/CMakeLists.txt index b2b0edaadb0f..97b4ea7fccf4 100644 --- a/samples/net/sockets/packet/CMakeLists.txt +++ b/samples/net/sockets/packet/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/net/sockets/sntp_client/CMakeLists.txt b/samples/net/sockets/sntp_client/CMakeLists.txt index c9c88c446c50..fdd95f744477 100644 --- a/samples/net/sockets/sntp_client/CMakeLists.txt +++ b/samples/net/sockets/sntp_client/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(sntp_client) diff --git a/samples/net/stats/CMakeLists.txt b/samples/net/stats/CMakeLists.txt index fc37734a34ef..3dc146666799 100644 --- a/samples/net/stats/CMakeLists.txt +++ b/samples/net/stats/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/net/syslog_net/CMakeLists.txt b/samples/net/syslog_net/CMakeLists.txt index a62dd1791f8d..7ac5982e37dd 100644 --- a/samples/net/syslog_net/CMakeLists.txt +++ b/samples/net/syslog_net/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/net/telnet/CMakeLists.txt b/samples/net/telnet/CMakeLists.txt index 9b09222f7e07..e76b97fcaf08 100644 --- a/samples/net/telnet/CMakeLists.txt +++ b/samples/net/telnet/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(telnet) diff --git a/samples/net/vlan/CMakeLists.txt b/samples/net/vlan/CMakeLists.txt index 30d631726714..3fa4a26fb7a8 100644 --- a/samples/net/vlan/CMakeLists.txt +++ b/samples/net/vlan/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/net/wifi/CMakeLists.txt b/samples/net/wifi/CMakeLists.txt index 27414e180aea..0864eb6937b6 100644 --- a/samples/net/wifi/CMakeLists.txt +++ b/samples/net/wifi/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/net/wifi/quark_se_c1000_devboard.overlay b/samples/net/wifi/quark_se_c1000_devboard.overlay index b59d7383b58e..ba67fd050d85 100644 --- a/samples/net/wifi/quark_se_c1000_devboard.overlay +++ b/samples/net/wifi/quark_se_c1000_devboard.overlay @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + &spi1 { status = "ok"; diff --git a/samples/net/wpan_serial/CMakeLists.txt b/samples/net/wpan_serial/CMakeLists.txt index ce1eaab5123b..dfa31b25836c 100644 --- a/samples/net/wpan_serial/CMakeLists.txt +++ b/samples/net/wpan_serial/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(wpan_serial) diff --git a/samples/net/wpanusb/CMakeLists.txt b/samples/net/wpanusb/CMakeLists.txt index 9e49ad5a2abb..4465d8a5da14 100644 --- a/samples/net/wpanusb/CMakeLists.txt +++ b/samples/net/wpanusb/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(wpanusb) diff --git a/samples/net/zperf/CMakeLists.txt b/samples/net/zperf/CMakeLists.txt index f58c410e64f2..1cee7bf9a2d0 100644 --- a/samples/net/zperf/CMakeLists.txt +++ b/samples/net/zperf/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/nfc/nfc_hello/CMakeLists.txt b/samples/nfc/nfc_hello/CMakeLists.txt index 27343d762686..e40534cbafbe 100644 --- a/samples/nfc/nfc_hello/CMakeLists.txt +++ b/samples/nfc/nfc_hello/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) list(APPEND QEMU_EXTRA_FLAGS -serial tcp:localhost:8888) diff --git a/samples/philosophers/CMakeLists.txt b/samples/philosophers/CMakeLists.txt index 589a8a1d4e8c..8554aab2ee92 100644 --- a/samples/philosophers/CMakeLists.txt +++ b/samples/philosophers/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(philosophers) diff --git a/samples/portability/cmsis_rtos_v1/philosophers/CMakeLists.txt b/samples/portability/cmsis_rtos_v1/philosophers/CMakeLists.txt index 8639c2c52fec..57044853b8f5 100644 --- a/samples/portability/cmsis_rtos_v1/philosophers/CMakeLists.txt +++ b/samples/portability/cmsis_rtos_v1/philosophers/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(philosophers_cmsis_rtos_v1) diff --git a/samples/portability/cmsis_rtos_v1/timer_synchronization/CMakeLists.txt b/samples/portability/cmsis_rtos_v1/timer_synchronization/CMakeLists.txt index 95f1f778ad01..3403fdbe53ed 100644 --- a/samples/portability/cmsis_rtos_v1/timer_synchronization/CMakeLists.txt +++ b/samples/portability/cmsis_rtos_v1/timer_synchronization/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(cmsis_rtos_v1_synchronization) diff --git a/samples/portability/cmsis_rtos_v2/philosophers/CMakeLists.txt b/samples/portability/cmsis_rtos_v2/philosophers/CMakeLists.txt index 6d30cf669445..25ec2b8c3077 100644 --- a/samples/portability/cmsis_rtos_v2/philosophers/CMakeLists.txt +++ b/samples/portability/cmsis_rtos_v2/philosophers/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(philosophers) diff --git a/samples/portability/cmsis_rtos_v2/timer_synchronization/CMakeLists.txt b/samples/portability/cmsis_rtos_v2/timer_synchronization/CMakeLists.txt index e89d4600bf39..f9a7307e738c 100644 --- a/samples/portability/cmsis_rtos_v2/timer_synchronization/CMakeLists.txt +++ b/samples/portability/cmsis_rtos_v2/timer_synchronization/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(cpp_synchronization) diff --git a/samples/sensor/adt7420/CMakeLists.txt b/samples/sensor/adt7420/CMakeLists.txt index b68406c85b72..749a4c2b9b0e 100644 --- a/samples/sensor/adt7420/CMakeLists.txt +++ b/samples/sensor/adt7420/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(adt7420) diff --git a/samples/sensor/amg88xx/CMakeLists.txt b/samples/sensor/amg88xx/CMakeLists.txt index 898c9f25b15a..8447f8ec7239 100644 --- a/samples/sensor/amg88xx/CMakeLists.txt +++ b/samples/sensor/amg88xx/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(amg88xx) diff --git a/samples/sensor/apds9960/CMakeLists.txt b/samples/sensor/apds9960/CMakeLists.txt index 162f4a8fe0d0..dea999037f95 100644 --- a/samples/sensor/apds9960/CMakeLists.txt +++ b/samples/sensor/apds9960/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(apds9960) diff --git a/samples/sensor/bme280/CMakeLists.txt b/samples/sensor/bme280/CMakeLists.txt index 86069994956c..b4ea0cf818f5 100644 --- a/samples/sensor/bme280/CMakeLists.txt +++ b/samples/sensor/bme280/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(bme280) diff --git a/samples/sensor/bmg160/CMakeLists.txt b/samples/sensor/bmg160/CMakeLists.txt index 50f0ef86e42d..2913ea46c945 100644 --- a/samples/sensor/bmg160/CMakeLists.txt +++ b/samples/sensor/bmg160/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(bmg160) diff --git a/samples/sensor/bmi160/CMakeLists.txt b/samples/sensor/bmi160/CMakeLists.txt index ef8d989549d1..3d17c57ac2f7 100644 --- a/samples/sensor/bmi160/CMakeLists.txt +++ b/samples/sensor/bmi160/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(bmi160) diff --git a/samples/sensor/bmm150/CMakeLists.txt b/samples/sensor/bmm150/CMakeLists.txt index e0c67b46f4df..aeb1a716a8bb 100644 --- a/samples/sensor/bmm150/CMakeLists.txt +++ b/samples/sensor/bmm150/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(bmm150) diff --git a/samples/sensor/ccs811/CMakeLists.txt b/samples/sensor/ccs811/CMakeLists.txt index 7048dc9c0b4c..de557f5c0dd1 100644 --- a/samples/sensor/ccs811/CMakeLists.txt +++ b/samples/sensor/ccs811/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(ccs811) diff --git a/samples/sensor/fxas21002/CMakeLists.txt b/samples/sensor/fxas21002/CMakeLists.txt index 50d6e4697119..77858c3dccfd 100644 --- a/samples/sensor/fxas21002/CMakeLists.txt +++ b/samples/sensor/fxas21002/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(fxas21002) diff --git a/samples/sensor/fxos8700-hid/CMakeLists.txt b/samples/sensor/fxos8700-hid/CMakeLists.txt index 0ec4b1a36edf..21496abbd021 100644 --- a/samples/sensor/fxos8700-hid/CMakeLists.txt +++ b/samples/sensor/fxos8700-hid/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(fxos8700-hid) diff --git a/samples/sensor/fxos8700/CMakeLists.txt b/samples/sensor/fxos8700/CMakeLists.txt index 510cabfca295..61f735c2da73 100644 --- a/samples/sensor/fxos8700/CMakeLists.txt +++ b/samples/sensor/fxos8700/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(fxos8700) diff --git a/samples/sensor/grove_light/CMakeLists.txt b/samples/sensor/grove_light/CMakeLists.txt index b16a59b95e59..a33f987199ed 100644 --- a/samples/sensor/grove_light/CMakeLists.txt +++ b/samples/sensor/grove_light/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(grove_light) diff --git a/samples/sensor/grove_temperature/CMakeLists.txt b/samples/sensor/grove_temperature/CMakeLists.txt index 735acca1bbce..8aaa96795c32 100644 --- a/samples/sensor/grove_temperature/CMakeLists.txt +++ b/samples/sensor/grove_temperature/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(grove_temperature) diff --git a/samples/sensor/hts221/CMakeLists.txt b/samples/sensor/hts221/CMakeLists.txt index 6127c6026b52..f4c633f206f8 100644 --- a/samples/sensor/hts221/CMakeLists.txt +++ b/samples/sensor/hts221/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(hts221) diff --git a/samples/sensor/lsm6dsl/CMakeLists.txt b/samples/sensor/lsm6dsl/CMakeLists.txt index 8e3f8f0e5f61..87a799b20350 100644 --- a/samples/sensor/lsm6dsl/CMakeLists.txt +++ b/samples/sensor/lsm6dsl/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.8.2) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(lsm6dsl) diff --git a/samples/sensor/magn_polling/CMakeLists.txt b/samples/sensor/magn_polling/CMakeLists.txt index e9b9ba7f3910..467287ed16d8 100644 --- a/samples/sensor/magn_polling/CMakeLists.txt +++ b/samples/sensor/magn_polling/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(magn_polling) diff --git a/samples/sensor/max30101/CMakeLists.txt b/samples/sensor/max30101/CMakeLists.txt index 26c7097898f4..91f79b1cd55f 100644 --- a/samples/sensor/max30101/CMakeLists.txt +++ b/samples/sensor/max30101/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(max30101) diff --git a/samples/sensor/max44009/CMakeLists.txt b/samples/sensor/max44009/CMakeLists.txt index 7a2034d9621a..0a7780b572a1 100644 --- a/samples/sensor/max44009/CMakeLists.txt +++ b/samples/sensor/max44009/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(max44009) diff --git a/samples/sensor/mcp9808/CMakeLists.txt b/samples/sensor/mcp9808/CMakeLists.txt index 056196c6b2b8..97590d1a8b7f 100644 --- a/samples/sensor/mcp9808/CMakeLists.txt +++ b/samples/sensor/mcp9808/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mcp9808) diff --git a/samples/sensor/ms5837/CMakeLists.txt b/samples/sensor/ms5837/CMakeLists.txt index ff2352f3a542..8684185d3afd 100644 --- a/samples/sensor/ms5837/CMakeLists.txt +++ b/samples/sensor/ms5837/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(ms5837) diff --git a/samples/sensor/sx9500/CMakeLists.txt b/samples/sensor/sx9500/CMakeLists.txt index 20d5b06dfe37..4e98406bdd55 100644 --- a/samples/sensor/sx9500/CMakeLists.txt +++ b/samples/sensor/sx9500/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(sx9500) diff --git a/samples/sensor/th02/CMakeLists.txt b/samples/sensor/th02/CMakeLists.txt index d73d2674e675..361e8505e4a8 100644 --- a/samples/sensor/th02/CMakeLists.txt +++ b/samples/sensor/th02/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(th02) diff --git a/samples/sensor/thermometer/CMakeLists.txt b/samples/sensor/thermometer/CMakeLists.txt index 22832757f860..a62cbe76ebe1 100644 --- a/samples/sensor/thermometer/CMakeLists.txt +++ b/samples/sensor/thermometer/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(thermometer) diff --git a/samples/sensor/tmp112/CMakeLists.txt b/samples/sensor/tmp112/CMakeLists.txt index 561b67d1369e..c689c1fd09c6 100644 --- a/samples/sensor/tmp112/CMakeLists.txt +++ b/samples/sensor/tmp112/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(tmp112) diff --git a/samples/sensor/vl53l0x/CMakeLists.txt b/samples/sensor/vl53l0x/CMakeLists.txt index c2aceb983aa4..4b7440d4616a 100644 --- a/samples/sensor/vl53l0x/CMakeLists.txt +++ b/samples/sensor/vl53l0x/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(vl53l0x) diff --git a/samples/shields/x_nucleo_iks01a1/CMakeLists.txt b/samples/shields/x_nucleo_iks01a1/CMakeLists.txt index d4242783e014..5800e5205c40 100644 --- a/samples/shields/x_nucleo_iks01a1/CMakeLists.txt +++ b/samples/shields/x_nucleo_iks01a1/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) # This sample is specific to x_nucleo_iks01a1 shield. Enforce -DSHIELD option diff --git a/samples/shields/x_nucleo_iks01a2/CMakeLists.txt b/samples/shields/x_nucleo_iks01a2/CMakeLists.txt index 8aaff7dc9d51..0b38281cc582 100644 --- a/samples/shields/x_nucleo_iks01a2/CMakeLists.txt +++ b/samples/shields/x_nucleo_iks01a2/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) # This sample is specific to x_nucleo_iks01a2 shield. Enforce -DSHIELD option diff --git a/samples/subsys/console/echo/CMakeLists.txt b/samples/subsys/console/echo/CMakeLists.txt index e2836b711d7a..788ae6001adf 100644 --- a/samples/subsys/console/echo/CMakeLists.txt +++ b/samples/subsys/console/echo/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(echo) diff --git a/samples/subsys/console/getchar/CMakeLists.txt b/samples/subsys/console/getchar/CMakeLists.txt index e561fe5a16fd..af23ab52ecc2 100644 --- a/samples/subsys/console/getchar/CMakeLists.txt +++ b/samples/subsys/console/getchar/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(getchar) diff --git a/samples/subsys/console/getline/CMakeLists.txt b/samples/subsys/console/getline/CMakeLists.txt index 127e4a57873d..6a28d192283b 100644 --- a/samples/subsys/console/getline/CMakeLists.txt +++ b/samples/subsys/console/getline/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(getline) diff --git a/samples/subsys/fs/CMakeLists.txt b/samples/subsys/fs/CMakeLists.txt index c35d89c6a829..d4acefd1c31f 100644 --- a/samples/subsys/fs/CMakeLists.txt +++ b/samples/subsys/fs/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mass) diff --git a/samples/subsys/ipc/ipm_imx/CMakeLists.txt b/samples/subsys/ipc/ipm_imx/CMakeLists.txt index ffdb80a5d92d..2a69a798be83 100644 --- a/samples/subsys/ipc/ipm_imx/CMakeLists.txt +++ b/samples/subsys/ipc/ipm_imx/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/subsys/ipc/ipm_mailbox/ap/CMakeLists.txt b/samples/subsys/ipc/ipm_mailbox/ap/CMakeLists.txt index 5db3b15f7771..11305d369c6b 100644 --- a/samples/subsys/ipc/ipm_mailbox/ap/CMakeLists.txt +++ b/samples/subsys/ipc/ipm_mailbox/ap/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(ipm_mailbox_ap) diff --git a/samples/subsys/ipc/ipm_mailbox/sensor/CMakeLists.txt b/samples/subsys/ipc/ipm_mailbox/sensor/CMakeLists.txt index c01abbbc8d14..bdf270a29c26 100644 --- a/samples/subsys/ipc/ipm_mailbox/sensor/CMakeLists.txt +++ b/samples/subsys/ipc/ipm_mailbox/sensor/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(ipm_mailbox_sensor) diff --git a/samples/subsys/logging/logger/CMakeLists.txt b/samples/subsys/logging/logger/CMakeLists.txt index 68377a237e2f..ba32b68a7ab8 100644 --- a/samples/subsys/logging/logger/CMakeLists.txt +++ b/samples/subsys/logging/logger/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) diff --git a/samples/subsys/nvs/CMakeLists.txt b/samples/subsys/nvs/CMakeLists.txt index b1f55275aae0..b67cf8a2d12c 100644 --- a/samples/subsys/nvs/CMakeLists.txt +++ b/samples/subsys/nvs/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(nvs) diff --git a/samples/subsys/power/device_pm/CMakeLists.txt b/samples/subsys/power/device_pm/CMakeLists.txt index 9c27f925754d..9cd2477bc5f1 100644 --- a/samples/subsys/power/device_pm/CMakeLists.txt +++ b/samples/subsys/power/device_pm/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(device) diff --git a/samples/subsys/shell/shell_module/CMakeLists.txt b/samples/subsys/shell/shell_module/CMakeLists.txt index a2fd8620da6b..966df095fa71 100644 --- a/samples/subsys/shell/shell_module/CMakeLists.txt +++ b/samples/subsys/shell/shell_module/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(shell_module) diff --git a/samples/subsys/usb/cdc_acm/CMakeLists.txt b/samples/subsys/usb/cdc_acm/CMakeLists.txt index 99fd151ad68f..2361894765ac 100644 --- a/samples/subsys/usb/cdc_acm/CMakeLists.txt +++ b/samples/subsys/usb/cdc_acm/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(cdc_acm) diff --git a/samples/subsys/usb/cdc_acm_composite/CMakeLists.txt b/samples/subsys/usb/cdc_acm_composite/CMakeLists.txt index 99fd151ad68f..2361894765ac 100644 --- a/samples/subsys/usb/cdc_acm_composite/CMakeLists.txt +++ b/samples/subsys/usb/cdc_acm_composite/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(cdc_acm) diff --git a/samples/subsys/usb/console/CMakeLists.txt b/samples/subsys/usb/console/CMakeLists.txt index 2dc1a87775b0..12d871208c03 100644 --- a/samples/subsys/usb/console/CMakeLists.txt +++ b/samples/subsys/usb/console/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(console) diff --git a/samples/subsys/usb/dfu/CMakeLists.txt b/samples/subsys/usb/dfu/CMakeLists.txt index 8a0230194031..85be4acaa5ab 100644 --- a/samples/subsys/usb/dfu/CMakeLists.txt +++ b/samples/subsys/usb/dfu/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(dfu) diff --git a/samples/subsys/usb/hid-cdc/CMakeLists.txt b/samples/subsys/usb/hid-cdc/CMakeLists.txt index df7b502d3cf9..b096e7821bf2 100644 --- a/samples/subsys/usb/hid-cdc/CMakeLists.txt +++ b/samples/subsys/usb/hid-cdc/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(hid-cdc) diff --git a/samples/subsys/usb/hid-mouse/CMakeLists.txt b/samples/subsys/usb/hid-mouse/CMakeLists.txt index a1aeaab76de2..9886790db005 100644 --- a/samples/subsys/usb/hid-mouse/CMakeLists.txt +++ b/samples/subsys/usb/hid-mouse/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(hid-mouse) diff --git a/samples/subsys/usb/hid/CMakeLists.txt b/samples/subsys/usb/hid/CMakeLists.txt index f731c463a01b..97204734745a 100644 --- a/samples/subsys/usb/hid/CMakeLists.txt +++ b/samples/subsys/usb/hid/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(hid) diff --git a/samples/subsys/usb/mass/CMakeLists.txt b/samples/subsys/usb/mass/CMakeLists.txt index 82569d7587ba..ffe80802e4bd 100644 --- a/samples/subsys/usb/mass/CMakeLists.txt +++ b/samples/subsys/usb/mass/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mass) diff --git a/samples/subsys/usb/testusb/CMakeLists.txt b/samples/subsys/usb/testusb/CMakeLists.txt index d57ad7c23c58..87c408393866 100644 --- a/samples/subsys/usb/testusb/CMakeLists.txt +++ b/samples/subsys/usb/testusb/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(testusb) diff --git a/samples/subsys/usb/webusb/CMakeLists.txt b/samples/subsys/usb/webusb/CMakeLists.txt index 2feff2c18d87..2ffc57cbaee9 100644 --- a/samples/subsys/usb/webusb/CMakeLists.txt +++ b/samples/subsys/usb/webusb/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(webusb) diff --git a/samples/synchronization/CMakeLists.txt b/samples/synchronization/CMakeLists.txt index 0f903aa39009..4fcb72afca6b 100644 --- a/samples/synchronization/CMakeLists.txt +++ b/samples/synchronization/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/samples/testing/integration/CMakeLists.txt b/samples/testing/integration/CMakeLists.txt index 53eda259cece..445aaf129642 100644 --- a/samples/testing/integration/CMakeLists.txt +++ b/samples/testing/integration/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(integration) diff --git a/samples/userspace/shared_mem/CMakeLists.txt b/samples/userspace/shared_mem/CMakeLists.txt index bdcd3ef485c4..8bd9eb3a2020 100644 --- a/samples/userspace/shared_mem/CMakeLists.txt +++ b/samples/userspace/shared_mem/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(shared_mem) diff --git a/samples/xtensa_asm2/CMakeLists.txt b/samples/xtensa_asm2/CMakeLists.txt index 8e42040f714f..f9d9095a09fa 100644 --- a/samples/xtensa_asm2/CMakeLists.txt +++ b/samples/xtensa_asm2/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(xtensa_asm2) diff --git a/scripts/ci/get_modified_boards.py b/scripts/ci/get_modified_boards.py index 4e53314876cd..d9f9793c212b 100755 --- a/scripts/ci/get_modified_boards.py +++ b/scripts/ci/get_modified_boards.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 # A script to generate a list of boards that have changed or added and create an # arguemnts file for sanitycheck to allow running more tests for those boards. diff --git a/scripts/ci/get_modified_tests.py b/scripts/ci/get_modified_tests.py index c7790c8ae108..dcf250d68a25 100755 --- a/scripts/ci/get_modified_tests.py +++ b/scripts/ci/get_modified_tests.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 # A script to generate a list of tests that have changed or added and create an # arguemnts file for sanitycheck to allow running those tests with --all diff --git a/scripts/ci/run_ci.sh b/scripts/ci/run_ci.sh index 23e14d01dad0..ae9b6fc260a8 100755 --- a/scripts/ci/run_ci.sh +++ b/scripts/ci/run_ci.sh @@ -1,5 +1,6 @@ #!/bin/bash # Copyright (c) 2017 Linaro Limited +# Copyright (c) 2018 Intel Corporation # # SPDX-License-Identifier: Apache-2.0 # diff --git a/scripts/dir_is_writeable.py b/scripts/dir_is_writeable.py index b087b0c7b5e7..14cde3fb2d76 100644 --- a/scripts/dir_is_writeable.py +++ b/scripts/dir_is_writeable.py @@ -1,3 +1,5 @@ + +# SPDX-License-Identifier: Apache-2.0 import os import sys diff --git a/scripts/footprint/compare_footprint b/scripts/footprint/compare_footprint index 5f7a8fff44ba..993c9697d3c9 100755 --- a/scripts/footprint/compare_footprint +++ b/scripts/footprint/compare_footprint @@ -1,5 +1,6 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 """ This script help you to compare footprint results with previous commits in git. If you don't have a git repository, it will compare your current tree diff --git a/scripts/gitlint/zephyr_commit_rules.py b/scripts/gitlint/zephyr_commit_rules.py index f625ac104429..be2a410f7900 100644 --- a/scripts/gitlint/zephyr_commit_rules.py +++ b/scripts/gitlint/zephyr_commit_rules.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + """ The classes below are examples of user-defined CommitRules. Commit rules are gitlint rules that act on the entire commit at once. Once the rules are discovered, gitlint will automatically take care of applying them diff --git a/scripts/kconfig/checkconfig.py b/scripts/kconfig/checkconfig.py index a12a3ca4b99a..604019785cb7 100755 --- a/scripts/kconfig/checkconfig.py +++ b/scripts/kconfig/checkconfig.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 # NOTE: This script has not been updated for Kconfiglib 2 and will not run diff --git a/scripts/kconfig/diffconfig b/scripts/kconfig/diffconfig index 94c3f83399de..dc184fa7741d 100755 --- a/scripts/kconfig/diffconfig +++ b/scripts/kconfig/diffconfig @@ -1,5 +1,7 @@ #!/usr/bin/env python3 # +# SPDX-License-Identifier: Apache-2.0 +# # diffconfig - a tool to compare .config files. # # originally written in 2006 by Matt Mackall diff --git a/scripts/qemu-machine-hack.py b/scripts/qemu-machine-hack.py index bff8c296e2a4..8ff035fc9d69 100755 --- a/scripts/qemu-machine-hack.py +++ b/scripts/qemu-machine-hack.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 import sys diff --git a/scripts/sanity_chk/harness.py b/scripts/sanity_chk/harness.py index 90f50483016d..d230b8864833 100644 --- a/scripts/sanity_chk/harness.py +++ b/scripts/sanity_chk/harness.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 import re from collections import OrderedDict diff --git a/scripts/sanity_chk/ini2yaml.py b/scripts/sanity_chk/ini2yaml.py index f7ef971405eb..bf3e6ce02a1a 100755 --- a/scripts/sanity_chk/ini2yaml.py +++ b/scripts/sanity_chk/ini2yaml.py @@ -1,5 +1,5 @@ #!/usr/bin/env python - +# SPDX-License-Identifier: Apache-2.0 import ConfigParser, os import yaml import sys diff --git a/scripts/sanity_chk/scl.py b/scripts/sanity_chk/scl.py index f716a2954dca..6c730354d39f 100644 --- a/scripts/sanity_chk/scl.py +++ b/scripts/sanity_chk/scl.py @@ -1,5 +1,6 @@ #! /usr/bin/python # +# SPDX-License-Identifier: Apache-2.0 # Zephyr's Sanity Check library # # Set of code that other projects can also import to do things on diff --git a/scripts/sanitycheck b/scripts/sanitycheck index a27eed6a51af..361b5209f436 100755 --- a/scripts/sanitycheck +++ b/scripts/sanitycheck @@ -1,5 +1,6 @@ #!/usr/bin/env python3 # vim: set syntax=python ts=4 : +# SPDX-License-Identifier: Apache-2.0 """Zephyr Sanity Tests This script scans for the set of unit test applications in the git diff --git a/scripts/subfolder_list.py b/scripts/subfolder_list.py index 10aa98433ce2..76927fbb7858 100644 --- a/scripts/subfolder_list.py +++ b/scripts/subfolder_list.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 import os import argparse diff --git a/scripts/support/quartus-flash.py b/scripts/support/quartus-flash.py index 5ae7dcf914a0..f4aadf0ddd6a 100755 --- a/scripts/support/quartus-flash.py +++ b/scripts/support/quartus-flash.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 import subprocess import tempfile import argparse diff --git a/soc/Kconfig b/soc/Kconfig index 726bce00ca6b..7ad402682d3b 100644 --- a/soc/Kconfig +++ b/soc/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + choice prompt "SoC/CPU/Configuration Selection" diff --git a/soc/arc/quark_se_c1000_ss/CMakeLists.txt b/soc/arc/quark_se_c1000_ss/CMakeLists.txt index 4ca6d7bca56a..afe37d5f8287 100644 --- a/soc/arc/quark_se_c1000_ss/CMakeLists.txt +++ b/soc/arc/quark_se_c1000_ss/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) zephyr_include_directories(${ZEPHYR_BASE}/soc/x86/intel_quark) diff --git a/soc/arc/quark_se_c1000_ss/Kconfig.soc b/soc/arc/quark_se_c1000_ss/Kconfig.soc index b3365c1c48c2..2d1ebd4073c4 100644 --- a/soc/arc/quark_se_c1000_ss/Kconfig.soc +++ b/soc/arc/quark_se_c1000_ss/Kconfig.soc @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config SOC_QUARK_SE_C1000_SS bool "Intel Quark SE C1000- Sensor Sub System" select HAS_SYS_POWER_STATE_SLEEP_1 diff --git a/soc/arc/quark_se_c1000_ss/dts_fixup.h b/soc/arc/quark_se_c1000_ss/dts_fixup.h index 9f5c62b41051..ad76b400370f 100644 --- a/soc/arc/quark_se_c1000_ss/dts_fixup.h +++ b/soc/arc/quark_se_c1000_ss/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_UART_QMSI_0_BAUDRATE DT_INTEL_QMSI_UART_B0002000_CURRENT_SPEED diff --git a/soc/arc/snps_arc_iot/CMakeLists.txt b/soc/arc/snps_arc_iot/CMakeLists.txt index 4621a3cdef43..41beaa124928 100644 --- a/soc/arc/snps_arc_iot/CMakeLists.txt +++ b/soc/arc/snps_arc_iot/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) zephyr_cc_option(-mcpu=${GCC_M_CPU}) diff --git a/soc/arc/snps_emsk/CMakeLists.txt b/soc/arc/snps_emsk/CMakeLists.txt index 7981b30d5549..c67558cbdeb5 100644 --- a/soc/arc/snps_emsk/CMakeLists.txt +++ b/soc/arc/snps_emsk/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) zephyr_cc_option(-mcpu=${GCC_M_CPU}) diff --git a/soc/arc/snps_emsk/dts_fixup.h b/soc/arc/snps_emsk/dts_fixup.h index a8c2db1d1a09..50d1013e9bea 100644 --- a/soc/arc/snps_emsk/dts_fixup.h +++ b/soc/arc/snps_emsk/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ /* CCM configuration */ diff --git a/soc/arc/snps_nsim/CMakeLists.txt b/soc/arc/snps_nsim/CMakeLists.txt index 3427adb7128c..75d9be5e5930 100644 --- a/soc/arc/snps_nsim/CMakeLists.txt +++ b/soc/arc/snps_nsim/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) zephyr_cc_option(-mcpu=${GCC_M_CPU}) diff --git a/soc/arc/snps_nsim/dts_fixup.h b/soc/arc/snps_nsim/dts_fixup.h index cdf24e704572..a021dfdfc603 100644 --- a/soc/arc/snps_nsim/dts_fixup.h +++ b/soc/arc/snps_nsim/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ /* CCM configuration */ diff --git a/soc/arm/CMakeLists.txt b/soc/arm/CMakeLists.txt index 52e85a562c50..b42e9be88637 100644 --- a/soc/arm/CMakeLists.txt +++ b/soc/arm/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(SOC_FAMILY) add_subdirectory(${SOC_FAMILY}) else() diff --git a/soc/arm/arm/CMakeLists.txt b/soc/arm/arm/CMakeLists.txt index ac7ce7faba73..226f3bd626f6 100644 --- a/soc/arm/arm/CMakeLists.txt +++ b/soc/arm/arm/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + add_subdirectory(${SOC_SERIES}) diff --git a/soc/arm/arm/beetle/CMakeLists.txt b/soc/arm/arm/beetle/CMakeLists.txt index 2b8ae1e38e27..a16e7981d140 100644 --- a/soc/arm/arm/beetle/CMakeLists.txt +++ b/soc/arm/arm/beetle/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources( soc.c power.c diff --git a/soc/arm/arm/beetle/dts_fixup.h b/soc/arm/arm/beetle/dts_fixup.h index a7e453e91eec..5423d8602e38 100644 --- a/soc/arm/arm/beetle/dts_fixup.h +++ b/soc/arm/arm/beetle/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS diff --git a/soc/arm/arm/mps2/CMakeLists.txt b/soc/arm/arm/mps2/CMakeLists.txt index 250e7835445f..5231a57f6ca5 100644 --- a/soc/arm/arm/mps2/CMakeLists.txt +++ b/soc/arm/arm/mps2/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources( soc.c arm_mpu_regions.c diff --git a/soc/arm/atmel_sam/common/CMakeLists.txt b/soc/arm/atmel_sam/common/CMakeLists.txt index 34c5b3be361d..b77a388860db 100644 --- a/soc/arm/atmel_sam/common/CMakeLists.txt +++ b/soc/arm/atmel_sam/common/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories(.) zephyr_sources( soc_pmc.c diff --git a/soc/arm/atmel_sam/sam3x/CMakeLists.txt b/soc/arm/atmel_sam/sam3x/CMakeLists.txt index b304980e28fe..332416ba43b0 100644 --- a/soc/arm/atmel_sam/sam3x/CMakeLists.txt +++ b/soc/arm/atmel_sam/sam3x/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources( soc.c ) diff --git a/soc/arm/atmel_sam/sam3x/dts_fixup.h b/soc/arm/atmel_sam/sam3x/dts_fixup.h index 36a74ce0a212..3ebb82bc412a 100644 --- a/soc/arm/atmel_sam/sam3x/dts_fixup.h +++ b/soc/arm/atmel_sam/sam3x/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* This file is a temporary workaround for mapping of the generated information * to the current driver definitions. This will be removed when the drivers * are modified to handle the generated information, or the mapping of diff --git a/soc/arm/atmel_sam/sam4s/CMakeLists.txt b/soc/arm/atmel_sam/sam4s/CMakeLists.txt index b304980e28fe..332416ba43b0 100644 --- a/soc/arm/atmel_sam/sam4s/CMakeLists.txt +++ b/soc/arm/atmel_sam/sam4s/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources( soc.c ) diff --git a/soc/arm/atmel_sam/sam4s/dts_fixup.h b/soc/arm/atmel_sam/sam4s/dts_fixup.h index 6701696eedd2..2704e48501e7 100644 --- a/soc/arm/atmel_sam/sam4s/dts_fixup.h +++ b/soc/arm/atmel_sam/sam4s/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* This file is a temporary workaround for mapping of the generated information * to the current driver definitions. This will be removed when the drivers * are modified to handle the generated information, or the mapping of diff --git a/soc/arm/atmel_sam/same70/CMakeLists.txt b/soc/arm/atmel_sam/same70/CMakeLists.txt index 6584adb07b36..0ad494174ddc 100644 --- a/soc/arm/atmel_sam/same70/CMakeLists.txt +++ b/soc/arm/atmel_sam/same70/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources( soc.c soc_config.c diff --git a/soc/arm/atmel_sam/same70/dts_fixup.h b/soc/arm/atmel_sam/same70/dts_fixup.h index 75d4db549770..453197e8b07e 100644 --- a/soc/arm/atmel_sam/same70/dts_fixup.h +++ b/soc/arm/atmel_sam/same70/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* This file is a temporary workaround for mapping of the generated information * to the current driver definitions. This will be removed when the drivers * are modified to handle the generated information, or the mapping of diff --git a/soc/arm/atmel_sam0/common/Kconfig.samd2x b/soc/arm/atmel_sam0/common/Kconfig.samd2x index d9642afcdb32..1cb5fa1f93a7 100644 --- a/soc/arm/atmel_sam0/common/Kconfig.samd2x +++ b/soc/arm/atmel_sam0/common/Kconfig.samd2x @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if SOC_SERIES_SAMD20 || SOC_SERIES_SAMD21 config SOC_ATMEL_SAMD_XOSC32K diff --git a/soc/arm/atmel_sam0/samd20/dts_fixup.h b/soc/arm/atmel_sam0/samd20/dts_fixup.h index e760b6a8a65c..0857913f2456 100644 --- a/soc/arm/atmel_sam0/samd20/dts_fixup.h +++ b/soc/arm/atmel_sam0/samd20/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_FLASH_DEV_BASE_ADDRESS DT_ATMEL_SAM0_NVMCTRL_41004000_BASE_ADDRESS_0 diff --git a/soc/arm/atmel_sam0/samd21/dts_fixup.h b/soc/arm/atmel_sam0/samd21/dts_fixup.h index a506edee0433..7b9cf88bcfbb 100644 --- a/soc/arm/atmel_sam0/samd21/dts_fixup.h +++ b/soc/arm/atmel_sam0/samd21/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_FLASH_DEV_BASE_ADDRESS DT_ATMEL_SAM0_NVMCTRL_41004000_BASE_ADDRESS diff --git a/soc/arm/cypress/psoc6/soc-noinit.ld b/soc/arm/cypress/psoc6/soc-noinit.ld index 8b22d4ed0e64..aa01a4d6f75a 100644 --- a/soc/arm/cypress/psoc6/soc-noinit.ld +++ b/soc/arm/cypress/psoc6/soc-noinit.ld @@ -1,7 +1,10 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* + * SPDX-License-Identifier: Apache-2.0 + * * Extracted from: * ext/hal/cypress/.../devices/psoc6/linker/gcc/cy8c6xx6_cm0plus.ld - * * Size of sections are calculated in the startup scripts, * so they don't have to be specified here. */ diff --git a/soc/arm/cypress/psoc6/soc-rwdata.ld b/soc/arm/cypress/psoc6/soc-rwdata.ld index 49169cdcdd91..b971d81c7d4e 100644 --- a/soc/arm/cypress/psoc6/soc-rwdata.ld +++ b/soc/arm/cypress/psoc6/soc-rwdata.ld @@ -1,4 +1,7 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* + * SPDX-License-Identifier: Apache-2.0 * Extracted from: * ext/hal/cypress/.../devices/psoc6/linker/gcc/cy8c6xx6_cm0plus.ld */ diff --git a/soc/arm/microchip_mec/CMakeLists.txt b/soc/arm/microchip_mec/CMakeLists.txt index ac7ce7faba73..226f3bd626f6 100644 --- a/soc/arm/microchip_mec/CMakeLists.txt +++ b/soc/arm/microchip_mec/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + add_subdirectory(${SOC_SERIES}) diff --git a/soc/arm/microchip_mec/Kconfig.defconfig b/soc/arm/microchip_mec/Kconfig.defconfig index a987bfcc841c..f23bddaa1eda 100644 --- a/soc/arm/microchip_mec/Kconfig.defconfig +++ b/soc/arm/microchip_mec/Kconfig.defconfig @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + source "soc/arm/microchip_mec/*/Kconfig.defconfig.series" diff --git a/soc/arm/microchip_mec/mec1701/CMakeLists.txt b/soc/arm/microchip_mec/mec1701/CMakeLists.txt index b304980e28fe..332416ba43b0 100644 --- a/soc/arm/microchip_mec/mec1701/CMakeLists.txt +++ b/soc/arm/microchip_mec/mec1701/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources( soc.c ) diff --git a/soc/arm/microchip_mec/mec1701/dts_fixup.h b/soc/arm/microchip_mec/mec1701/dts_fixup.h index 1e0699ff89e4..1e42b4d2679a 100644 --- a/soc/arm/microchip_mec/mec1701/dts_fixup.h +++ b/soc/arm/microchip_mec/mec1701/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* This file is a temporary workaround for mapping of the generated information * to the current driver definitions. This will be removed when the drivers * are modified to handle the generated information, or the mapping of diff --git a/soc/arm/nordic_nrf/CMakeLists.txt b/soc/arm/nordic_nrf/CMakeLists.txt index 06227a516848..34a4749b13ae 100644 --- a/soc/arm/nordic_nrf/CMakeLists.txt +++ b/soc/arm/nordic_nrf/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories( include ) diff --git a/soc/arm/nordic_nrf/nrf51/CMakeLists.txt b/soc/arm/nordic_nrf/nrf51/CMakeLists.txt index b0afd7494562..9dd6e2d818b9 100644 --- a/soc/arm/nordic_nrf/nrf51/CMakeLists.txt +++ b/soc/arm/nordic_nrf/nrf51/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources( soc.c ) diff --git a/soc/arm/nordic_nrf/nrf51/dts_fixup.h b/soc/arm/nordic_nrf/nrf51/dts_fixup.h index a76ffc49511f..fff365485e10 100644 --- a/soc/arm/nordic_nrf/nrf51/dts_fixup.h +++ b/soc/arm/nordic_nrf/nrf51/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V6M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS diff --git a/soc/arm/nordic_nrf/nrf52/CMakeLists.txt b/soc/arm/nordic_nrf/nrf52/CMakeLists.txt index 83f42cdabfdd..e08acdf99804 100644 --- a/soc/arm/nordic_nrf/nrf52/CMakeLists.txt +++ b/soc/arm/nordic_nrf/nrf52/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources( soc.c ) diff --git a/soc/arm/nordic_nrf/nrf52/dts_fixup.h b/soc/arm/nordic_nrf/nrf52/dts_fixup.h index 7fd1c2e6028b..7bf05aa9e910 100644 --- a/soc/arm/nordic_nrf/nrf52/dts_fixup.h +++ b/soc/arm/nordic_nrf/nrf52/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS diff --git a/soc/arm/nordic_nrf/nrf91/CMakeLists.txt b/soc/arm/nordic_nrf/nrf91/CMakeLists.txt index 91c6c9faf4b4..f9e41e299767 100644 --- a/soc/arm/nordic_nrf/nrf91/CMakeLists.txt +++ b/soc/arm/nordic_nrf/nrf91/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources( soc.c ) diff --git a/soc/arm/nxp_kinetis/CMakeLists.txt b/soc/arm/nxp_kinetis/CMakeLists.txt index ac7ce7faba73..226f3bd626f6 100644 --- a/soc/arm/nxp_kinetis/CMakeLists.txt +++ b/soc/arm/nxp_kinetis/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + add_subdirectory(${SOC_SERIES}) diff --git a/soc/arm/nxp_kinetis/Kconfig.defconfig b/soc/arm/nxp_kinetis/Kconfig.defconfig index b708ebee28e9..fd6f6f29edaa 100644 --- a/soc/arm/nxp_kinetis/Kconfig.defconfig +++ b/soc/arm/nxp_kinetis/Kconfig.defconfig @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + source "soc/arm/nxp_kinetis/*/Kconfig.defconfig.series" diff --git a/soc/arm/nxp_kinetis/k6x/CMakeLists.txt b/soc/arm/nxp_kinetis/k6x/CMakeLists.txt index 7cb1ea80f0f5..211ca5f45f76 100644 --- a/soc/arm/nxp_kinetis/k6x/CMakeLists.txt +++ b/soc/arm/nxp_kinetis/k6x/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources( soc.c wdog.S diff --git a/soc/arm/nxp_kinetis/k6x/dts_fixup.h b/soc/arm/nxp_kinetis/k6x/dts_fixup.h index a664ec32beb0..84a86c0e454e 100644 --- a/soc/arm/nxp_kinetis/k6x/dts_fixup.h +++ b/soc/arm/nxp_kinetis/k6x/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS diff --git a/soc/arm/nxp_kinetis/kl2x/CMakeLists.txt b/soc/arm/nxp_kinetis/kl2x/CMakeLists.txt index 74945fd994c4..9486f2559126 100644 --- a/soc/arm/nxp_kinetis/kl2x/CMakeLists.txt +++ b/soc/arm/nxp_kinetis/kl2x/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources(soc.c) diff --git a/soc/arm/nxp_kinetis/kl2x/dts_fixup.h b/soc/arm/nxp_kinetis/kl2x/dts_fixup.h index e64ef958b045..f227306ae3bc 100644 --- a/soc/arm/nxp_kinetis/kl2x/dts_fixup.h +++ b/soc/arm/nxp_kinetis/kl2x/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V6M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS #define DT_UART_MCUX_LPSCI_0_NAME DT_NXP_KINETIS_LPSCI_4006A000_LABEL diff --git a/soc/arm/nxp_kinetis/kwx/CMakeLists.txt b/soc/arm/nxp_kinetis/kwx/CMakeLists.txt index 59c7a62a4949..7e5a7b59d125 100644 --- a/soc/arm/nxp_kinetis/kwx/CMakeLists.txt +++ b/soc/arm/nxp_kinetis/kwx/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_SOC_MKW24D5 wdog.S soc_kw2xd.c) zephyr_sources_ifdef(CONFIG_SOC_MKW22D5 wdog.S soc_kw2xd.c) zephyr_sources_ifdef(CONFIG_SOC_MKW41Z4 soc_kw4xz.c) diff --git a/soc/arm/nxp_kinetis/kwx/dts_fixup.h b/soc/arm/nxp_kinetis/kwx/dts_fixup.h index 03f24e12cf96..ccdfab35be91 100644 --- a/soc/arm/nxp_kinetis/kwx/dts_fixup.h +++ b/soc/arm/nxp_kinetis/kwx/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_ADC_0_BASE_ADDRESS DT_NXP_KINETIS_ADC16_4003B000_BASE_ADDRESS diff --git a/soc/arm/silabs_exx32/CMakeLists.txt b/soc/arm/silabs_exx32/CMakeLists.txt index e4717b2d6719..1a7c03d378e7 100644 --- a/soc/arm/silabs_exx32/CMakeLists.txt +++ b/soc/arm/silabs_exx32/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + add_subdirectory(common) diff --git a/soc/arm/silabs_exx32/Kconfig.defconfig b/soc/arm/silabs_exx32/Kconfig.defconfig index 9d1e04511687..413aff4a1171 100644 --- a/soc/arm/silabs_exx32/Kconfig.defconfig +++ b/soc/arm/silabs_exx32/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + source "soc/arm/silabs_exx32/*/Kconfig.defconfig.series" if SYS_POWER_MANAGEMENT diff --git a/soc/arm/silabs_exx32/common/CMakeLists.txt b/soc/arm/silabs_exx32/common/CMakeLists.txt index e0606ccc6199..0436151c4cbd 100644 --- a/soc/arm/silabs_exx32/common/CMakeLists.txt +++ b/soc/arm/silabs_exx32/common/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources(soc.c soc_gpio.c) zephyr_sources_ifdef(CONFIG_SYS_POWER_MANAGEMENT soc_power.c) diff --git a/soc/arm/silabs_exx32/efm32hg/dts_fixup.h b/soc/arm/silabs_exx32/efm32hg/dts_fixup.h index 25e93799039c..c527e9e60bb2 100644 --- a/soc/arm/silabs_exx32/efm32hg/dts_fixup.h +++ b/soc/arm/silabs_exx32/efm32hg/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* This file is a temporary workaround for mapping of the generated information * to the current driver definitions. This will be removed when the drivers * are modified to handle the generated information, or the mapping of diff --git a/soc/arm/silabs_exx32/efm32wg/dts_fixup.h b/soc/arm/silabs_exx32/efm32wg/dts_fixup.h index 9ef7993f6210..83bb2a211ab8 100644 --- a/soc/arm/silabs_exx32/efm32wg/dts_fixup.h +++ b/soc/arm/silabs_exx32/efm32wg/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* This file is a temporary workaround for mapping of the generated information * to the current driver definitions. This will be removed when the drivers * are modified to handle the generated information, or the mapping of diff --git a/soc/arm/silabs_exx32/efr32fg1p/dts_fixup.h b/soc/arm/silabs_exx32/efr32fg1p/dts_fixup.h index 19fc24a77654..b3e22ec1b6f4 100644 --- a/soc/arm/silabs_exx32/efr32fg1p/dts_fixup.h +++ b/soc/arm/silabs_exx32/efr32fg1p/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* This file is a temporary workaround for mapping of the generated information * to the current driver definitions. This will be removed when the drivers * are modified to handle the generated information, or the mapping of diff --git a/soc/arm/silabs_exx32/efr32mg12p/dts_fixup.h b/soc/arm/silabs_exx32/efr32mg12p/dts_fixup.h index 728853bc699f..e14dfb877c71 100644 --- a/soc/arm/silabs_exx32/efr32mg12p/dts_fixup.h +++ b/soc/arm/silabs_exx32/efr32mg12p/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* This file is a temporary workaround for mapping of the generated information * to the current driver definitions. This will be removed when the drivers * are modified to handle the generated information, or the mapping of diff --git a/soc/arm/st_stm32/CMakeLists.txt b/soc/arm/st_stm32/CMakeLists.txt index 8bb88661f362..ae6495b7b0a5 100644 --- a/soc/arm/st_stm32/CMakeLists.txt +++ b/soc/arm/st_stm32/CMakeLists.txt @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + add_subdirectory(${SOC_SERIES}) add_subdirectory(common) diff --git a/soc/arm/st_stm32/Kconfig.defconfig b/soc/arm/st_stm32/Kconfig.defconfig index c5238b26c398..b5232ae4579b 100644 --- a/soc/arm/st_stm32/Kconfig.defconfig +++ b/soc/arm/st_stm32/Kconfig.defconfig @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + source "soc/arm/st_stm32/*/Kconfig.defconfig.series" diff --git a/soc/arm/st_stm32/common/CMakeLists.txt b/soc/arm/st_stm32/common/CMakeLists.txt index ab30333fba22..58422985f836 100644 --- a/soc/arm/st_stm32/common/CMakeLists.txt +++ b/soc/arm/st_stm32/common/CMakeLists.txt @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_ARM_MPU arm_mpu_regions.c) zephyr_sources(stm32cube_hal.c) diff --git a/soc/arm/st_stm32/stm32f0/CMakeLists.txt b/soc/arm/st_stm32/stm32f0/CMakeLists.txt index 526bd6ad6d2f..271d71fca166 100644 --- a/soc/arm/st_stm32/stm32f0/CMakeLists.txt +++ b/soc/arm/st_stm32/stm32f0/CMakeLists.txt @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories(${ZEPHYR_BASE}/drivers) zephyr_sources(soc.c) diff --git a/soc/arm/st_stm32/stm32f0/dts_fixup.h b/soc/arm/st_stm32/stm32f0/dts_fixup.h index 849ad4fab518..8ae7889b0cf5 100644 --- a/soc/arm/st_stm32/stm32f0/dts_fixup.h +++ b/soc/arm/st_stm32/stm32f0/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V6M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS diff --git a/soc/arm/st_stm32/stm32f1/CMakeLists.txt b/soc/arm/st_stm32/stm32f1/CMakeLists.txt index 844c52520093..ac3ba70ace6e 100644 --- a/soc/arm/st_stm32/stm32f1/CMakeLists.txt +++ b/soc/arm/st_stm32/stm32f1/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories(${ZEPHYR_BASE}/drivers) zephyr_sources( soc.c diff --git a/soc/arm/st_stm32/stm32f1/dts_fixup.h b/soc/arm/st_stm32/stm32f1/dts_fixup.h index c8ba1bdb5008..a393b4b00ce4 100644 --- a/soc/arm/st_stm32/stm32f1/dts_fixup.h +++ b/soc/arm/st_stm32/stm32f1/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS diff --git a/soc/arm/st_stm32/stm32f2/CMakeLists.txt b/soc/arm/st_stm32/stm32f2/CMakeLists.txt index 844c52520093..ac3ba70ace6e 100644 --- a/soc/arm/st_stm32/stm32f2/CMakeLists.txt +++ b/soc/arm/st_stm32/stm32f2/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories(${ZEPHYR_BASE}/drivers) zephyr_sources( soc.c diff --git a/soc/arm/st_stm32/stm32f2/dts_fixup.h b/soc/arm/st_stm32/stm32f2/dts_fixup.h index 1d6d4bfd5968..bb448443b6ba 100644 --- a/soc/arm/st_stm32/stm32f2/dts_fixup.h +++ b/soc/arm/st_stm32/stm32f2/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS diff --git a/soc/arm/st_stm32/stm32f3/CMakeLists.txt b/soc/arm/st_stm32/stm32f3/CMakeLists.txt index 844c52520093..ac3ba70ace6e 100644 --- a/soc/arm/st_stm32/stm32f3/CMakeLists.txt +++ b/soc/arm/st_stm32/stm32f3/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories(${ZEPHYR_BASE}/drivers) zephyr_sources( soc.c diff --git a/soc/arm/st_stm32/stm32f3/dts_fixup.h b/soc/arm/st_stm32/stm32f3/dts_fixup.h index f87c6d30771a..76d97c1b1af5 100644 --- a/soc/arm/st_stm32/stm32f3/dts_fixup.h +++ b/soc/arm/st_stm32/stm32f3/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS diff --git a/soc/arm/st_stm32/stm32f4/CMakeLists.txt b/soc/arm/st_stm32/stm32f4/CMakeLists.txt index 844c52520093..ac3ba70ace6e 100644 --- a/soc/arm/st_stm32/stm32f4/CMakeLists.txt +++ b/soc/arm/st_stm32/stm32f4/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories(${ZEPHYR_BASE}/drivers) zephyr_sources( soc.c diff --git a/soc/arm/st_stm32/stm32f4/dts_fixup.h b/soc/arm/st_stm32/stm32f4/dts_fixup.h index a186f4e7c702..fb7c4216ef2c 100644 --- a/soc/arm/st_stm32/stm32f4/dts_fixup.h +++ b/soc/arm/st_stm32/stm32f4/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS diff --git a/soc/arm/st_stm32/stm32f7/CMakeLists.txt b/soc/arm/st_stm32/stm32f7/CMakeLists.txt index 844c52520093..ac3ba70ace6e 100644 --- a/soc/arm/st_stm32/stm32f7/CMakeLists.txt +++ b/soc/arm/st_stm32/stm32f7/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories(${ZEPHYR_BASE}/drivers) zephyr_sources( soc.c diff --git a/soc/arm/st_stm32/stm32f7/dts_fixup.h b/soc/arm/st_stm32/stm32f7/dts_fixup.h index ef7b2f6a1f96..720bfb0bb0a7 100644 --- a/soc/arm/st_stm32/stm32f7/dts_fixup.h +++ b/soc/arm/st_stm32/stm32f7/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS diff --git a/soc/arm/st_stm32/stm32l0/CMakeLists.txt b/soc/arm/st_stm32/stm32l0/CMakeLists.txt index 844c52520093..ac3ba70ace6e 100644 --- a/soc/arm/st_stm32/stm32l0/CMakeLists.txt +++ b/soc/arm/st_stm32/stm32l0/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories(${ZEPHYR_BASE}/drivers) zephyr_sources( soc.c diff --git a/soc/arm/st_stm32/stm32l0/dts_fixup.h b/soc/arm/st_stm32/stm32l0/dts_fixup.h index 6ac634bf5088..c5b8ba00166b 100644 --- a/soc/arm/st_stm32/stm32l0/dts_fixup.h +++ b/soc/arm/st_stm32/stm32l0/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V6M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS diff --git a/soc/arm/st_stm32/stm32l4/CMakeLists.txt b/soc/arm/st_stm32/stm32l4/CMakeLists.txt index 844c52520093..ac3ba70ace6e 100644 --- a/soc/arm/st_stm32/stm32l4/CMakeLists.txt +++ b/soc/arm/st_stm32/stm32l4/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories(${ZEPHYR_BASE}/drivers) zephyr_sources( soc.c diff --git a/soc/arm/st_stm32/stm32l4/dts_fixup.h b/soc/arm/st_stm32/stm32l4/dts_fixup.h index 0260faccfa3b..6185902cd236 100644 --- a/soc/arm/st_stm32/stm32l4/dts_fixup.h +++ b/soc/arm/st_stm32/stm32l4/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS diff --git a/soc/arm/ti_lm3s6965/CMakeLists.txt b/soc/arm/ti_lm3s6965/CMakeLists.txt index a54a9962bf6d..3b889a247cb6 100644 --- a/soc/arm/ti_lm3s6965/CMakeLists.txt +++ b/soc/arm/ti_lm3s6965/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources( soc.c soc_config.c diff --git a/soc/arm/ti_lm3s6965/Kconfig.soc b/soc/arm/ti_lm3s6965/Kconfig.soc index c906e28cc9d8..2967d8ebf54f 100644 --- a/soc/arm/ti_lm3s6965/Kconfig.soc +++ b/soc/arm/ti_lm3s6965/Kconfig.soc @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config SOC_TI_LM3S6965 bool "TI LM3S6965" select CPU_CORTEX_M3 diff --git a/soc/arm/ti_lm3s6965/dts_fixup.h b/soc/arm/ti_lm3s6965/dts_fixup.h index a1abf1f5235e..b52e29fa5d64 100644 --- a/soc/arm/ti_lm3s6965/dts_fixup.h +++ b/soc/arm/ti_lm3s6965/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS diff --git a/soc/arm/ti_simplelink/CMakeLists.txt b/soc/arm/ti_simplelink/CMakeLists.txt index ac7ce7faba73..226f3bd626f6 100644 --- a/soc/arm/ti_simplelink/CMakeLists.txt +++ b/soc/arm/ti_simplelink/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + add_subdirectory(${SOC_SERIES}) diff --git a/soc/arm/ti_simplelink/Kconfig b/soc/arm/ti_simplelink/Kconfig index 9c04e297a42c..0cd7b9124218 100644 --- a/soc/arm/ti_simplelink/Kconfig +++ b/soc/arm/ti_simplelink/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Kconfig - Texas Instruments SimpleLink Family # diff --git a/soc/arm/ti_simplelink/Kconfig.defconfig b/soc/arm/ti_simplelink/Kconfig.defconfig index a2d43180b4d0..6e5e652b5a8d 100644 --- a/soc/arm/ti_simplelink/Kconfig.defconfig +++ b/soc/arm/ti_simplelink/Kconfig.defconfig @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + source "soc/arm/ti_simplelink/*/Kconfig.defconfig.series" diff --git a/soc/arm/ti_simplelink/Kconfig.soc b/soc/arm/ti_simplelink/Kconfig.soc index 8fcbb12ab41e..a5f9a604bbcb 100644 --- a/soc/arm/ti_simplelink/Kconfig.soc +++ b/soc/arm/ti_simplelink/Kconfig.soc @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Kconfig - Texas Instruments SimpleLink Family # diff --git a/soc/arm/ti_simplelink/cc2650/CMakeLists.txt b/soc/arm/ti_simplelink/cc2650/CMakeLists.txt index 74945fd994c4..9486f2559126 100644 --- a/soc/arm/ti_simplelink/cc2650/CMakeLists.txt +++ b/soc/arm/ti_simplelink/cc2650/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources(soc.c) diff --git a/soc/arm/ti_simplelink/cc2650/dts_fixup.h b/soc/arm/ti_simplelink/cc2650/dts_fixup.h index 3e71730777c0..4f7fd4793f5e 100644 --- a/soc/arm/ti_simplelink/cc2650/dts_fixup.h +++ b/soc/arm/ti_simplelink/cc2650/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS diff --git a/soc/arm/ti_simplelink/cc32xx/CMakeLists.txt b/soc/arm/ti_simplelink/cc32xx/CMakeLists.txt index 74945fd994c4..9486f2559126 100644 --- a/soc/arm/ti_simplelink/cc32xx/CMakeLists.txt +++ b/soc/arm/ti_simplelink/cc32xx/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources(soc.c) diff --git a/soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.cc3220sf b/soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.cc3220sf index f27e71e2fd48..fd0f43037b8e 100644 --- a/soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.cc3220sf +++ b/soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.cc3220sf @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Kconfig.defconfig.cc3220sf - TI SimpleLink CC3220SF SoC # diff --git a/soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.series b/soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.series index bce0344053d5..be236772d9f1 100644 --- a/soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.series +++ b/soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.series @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Kconfig.defconfig.series - TI SimpleLink Family # diff --git a/soc/arm/ti_simplelink/cc32xx/Kconfig.series b/soc/arm/ti_simplelink/cc32xx/Kconfig.series index d35c9b8a8bcb..bfa13093862b 100644 --- a/soc/arm/ti_simplelink/cc32xx/Kconfig.series +++ b/soc/arm/ti_simplelink/cc32xx/Kconfig.series @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Kconfig.series - TI SimpleLink CC32xx # diff --git a/soc/arm/ti_simplelink/cc32xx/Kconfig.soc b/soc/arm/ti_simplelink/cc32xx/Kconfig.soc index 8a739c58326a..ff787f150d0d 100644 --- a/soc/arm/ti_simplelink/cc32xx/Kconfig.soc +++ b/soc/arm/ti_simplelink/cc32xx/Kconfig.soc @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Kconfig.soc - Texas Instruments CC32XX # diff --git a/soc/arm/ti_simplelink/cc32xx/dts_fixup.h b/soc/arm/ti_simplelink/cc32xx/dts_fixup.h index 85ba24b14ed4..da618758be7e 100644 --- a/soc/arm/ti_simplelink/cc32xx/dts_fixup.h +++ b/soc/arm/ti_simplelink/cc32xx/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS diff --git a/soc/arm/ti_simplelink/cc32xx/linker.ld b/soc/arm/ti_simplelink/cc32xx/linker.ld index c4f825afd37a..ff17e92287e3 100644 --- a/soc/arm/ti_simplelink/cc32xx/linker.ld +++ b/soc/arm/ti_simplelink/cc32xx/linker.ld @@ -1,3 +1,8 @@ -/* linker.ld - Linker command/script file */ +/* SPDX-License-Identifier: Apache-2.0 */ + +/* + * SPDX-License-Identifier: Apache-2.0 + * linker.ld - Linker command/script file + */ #include diff --git a/soc/arm/ti_simplelink/msp432p4xx/CMakeLists.txt b/soc/arm/ti_simplelink/msp432p4xx/CMakeLists.txt index edee2dce39d0..363109a38533 100644 --- a/soc/arm/ti_simplelink/msp432p4xx/CMakeLists.txt +++ b/soc/arm/ti_simplelink/msp432p4xx/CMakeLists.txt @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_compile_definitions(-D__MSP432P401R__) zephyr_sources(soc.c) diff --git a/soc/arm/ti_simplelink/msp432p4xx/dts_fixup.h b/soc/arm/ti_simplelink/msp432p4xx/dts_fixup.h index 41336180b649..7854011f95af 100644 --- a/soc/arm/ti_simplelink/msp432p4xx/dts_fixup.h +++ b/soc/arm/ti_simplelink/msp432p4xx/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* This file is a temporary workaround for mapping of the generated information * to the current driver definitions. This will be removed when the drivers * are modified to handle the generated information, or the mapping of diff --git a/soc/arm/ti_simplelink/msp432p4xx/linker.ld b/soc/arm/ti_simplelink/msp432p4xx/linker.ld index c4f825afd37a..ff17e92287e3 100644 --- a/soc/arm/ti_simplelink/msp432p4xx/linker.ld +++ b/soc/arm/ti_simplelink/msp432p4xx/linker.ld @@ -1,3 +1,8 @@ -/* linker.ld - Linker command/script file */ +/* SPDX-License-Identifier: Apache-2.0 */ + +/* + * SPDX-License-Identifier: Apache-2.0 + * linker.ld - Linker command/script file + */ #include diff --git a/soc/nios2/nios2-qemu/CMakeLists.txt b/soc/nios2/nios2-qemu/CMakeLists.txt index 5ad7fe233df3..1097b991ed2c 100644 --- a/soc/nios2/nios2-qemu/CMakeLists.txt +++ b/soc/nios2/nios2-qemu/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + # intentionally left empty diff --git a/soc/nios2/nios2-qemu/Kconfig.defconfig b/soc/nios2/nios2-qemu/Kconfig.defconfig index 04947bac8d13..b5def1e182a5 100644 --- a/soc/nios2/nios2-qemu/Kconfig.defconfig +++ b/soc/nios2/nios2-qemu/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if SOC_NIOS2_QEMU config SOC diff --git a/soc/nios2/nios2-qemu/Kconfig.soc b/soc/nios2/nios2-qemu/Kconfig.soc index 0ae1a2451002..b5a88a077d5d 100644 --- a/soc/nios2/nios2-qemu/Kconfig.soc +++ b/soc/nios2/nios2-qemu/Kconfig.soc @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config SOC_NIOS2_QEMU bool "Nios II - Experimental QEMU emulation" select HAS_MUL_INSTRUCTION diff --git a/soc/nios2/nios2-qemu/dts_fixup.h b/soc/nios2/nios2-qemu/dts_fixup.h index bbf73a1f15f6..a6b41b5e23a9 100644 --- a/soc/nios2/nios2-qemu/dts_fixup.h +++ b/soc/nios2/nios2-qemu/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #define DT_UART_NS16550_PORT_0_BAUD_RATE DT_NS16550_440000_CURRENT_SPEED #define DT_UART_NS16550_PORT_0_NAME DT_NS16550_440000_LABEL diff --git a/soc/nios2/nios2f-zephyr/CMakeLists.txt b/soc/nios2/nios2f-zephyr/CMakeLists.txt index 5ad7fe233df3..1097b991ed2c 100644 --- a/soc/nios2/nios2f-zephyr/CMakeLists.txt +++ b/soc/nios2/nios2f-zephyr/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + # intentionally left empty diff --git a/soc/nios2/nios2f-zephyr/Kconfig.defconfig b/soc/nios2/nios2f-zephyr/Kconfig.defconfig index 1081a0f5dd97..a729ac3c129a 100644 --- a/soc/nios2/nios2f-zephyr/Kconfig.defconfig +++ b/soc/nios2/nios2f-zephyr/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if SOC_NIOS2F_ZEPHYR config SOC diff --git a/soc/nios2/nios2f-zephyr/Kconfig.soc b/soc/nios2/nios2f-zephyr/Kconfig.soc index 7d62d75c5e95..6a0139c962ef 100644 --- a/soc/nios2/nios2f-zephyr/Kconfig.soc +++ b/soc/nios2/nios2f-zephyr/Kconfig.soc @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config SOC_NIOS2F_ZEPHYR bool "Nios IIf - Zephyr Golden Configuration" select HAS_MUL_INSTRUCTION diff --git a/soc/nios2/nios2f-zephyr/dts_fixup.h b/soc/nios2/nios2f-zephyr/dts_fixup.h index d6a176c1f451..449cb3db8fe5 100644 --- a/soc/nios2/nios2f-zephyr/dts_fixup.h +++ b/soc/nios2/nios2f-zephyr/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #define DT_UART_NS16550_PORT_0_BAUD_RATE DT_NS16550_F0008000_CURRENT_SPEED #define DT_UART_NS16550_PORT_0_NAME DT_NS16550_F0008000_LABEL diff --git a/soc/posix/CMakeLists.txt b/soc/posix/CMakeLists.txt index 52e85a562c50..b42e9be88637 100644 --- a/soc/posix/CMakeLists.txt +++ b/soc/posix/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(SOC_FAMILY) add_subdirectory(${SOC_FAMILY}) else() diff --git a/soc/posix/inf_clock/CMakeLists.txt b/soc/posix/inf_clock/CMakeLists.txt index 861c187692f8..326f584b3f1b 100644 --- a/soc/posix/inf_clock/CMakeLists.txt +++ b/soc/posix/inf_clock/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_compile_definitions(NO_POSIX_CHEATS) zephyr_library_sources( diff --git a/soc/posix/inf_clock/Kconfig.soc b/soc/posix/inf_clock/Kconfig.soc index a600574c4176..96871ef33b18 100644 --- a/soc/posix/inf_clock/Kconfig.soc +++ b/soc/posix/inf_clock/Kconfig.soc @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config SOC_POSIX bool "Native POSIX port" help diff --git a/soc/riscv32/CMakeLists.txt b/soc/riscv32/CMakeLists.txt index 52e85a562c50..b42e9be88637 100644 --- a/soc/riscv32/CMakeLists.txt +++ b/soc/riscv32/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(SOC_FAMILY) add_subdirectory(${SOC_FAMILY}) else() diff --git a/soc/riscv32/riscv-privilege/CMakeLists.txt b/soc/riscv32/riscv-privilege/CMakeLists.txt index 5173eec865c3..c5f97039eb75 100644 --- a/soc/riscv32/riscv-privilege/CMakeLists.txt +++ b/soc/riscv32/riscv-privilege/CMakeLists.txt @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + add_subdirectory(common) add_subdirectory(${SOC_SERIES}) diff --git a/soc/riscv32/riscv-privilege/common/CMakeLists.txt b/soc/riscv32/riscv-privilege/common/CMakeLists.txt index 30dd1522d131..50ee91a2c33b 100644 --- a/soc/riscv32/riscv-privilege/common/CMakeLists.txt +++ b/soc/riscv32/riscv-privilege/common/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories(.) zephyr_sources( diff --git a/soc/riscv32/riscv-privilege/miv/CMakeLists.txt b/soc/riscv32/riscv-privilege/miv/CMakeLists.txt index 7f2f3bc1494a..55fc3999fd7b 100644 --- a/soc/riscv32/riscv-privilege/miv/CMakeLists.txt +++ b/soc/riscv32/riscv-privilege/miv/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources() diff --git a/soc/riscv32/riscv-privilege/miv/Kconfig.defconfig.series b/soc/riscv32/riscv-privilege/miv/Kconfig.defconfig.series index 3ce65cd84274..f49bd6e1eca2 100644 --- a/soc/riscv32/riscv-privilege/miv/Kconfig.defconfig.series +++ b/soc/riscv32/riscv-privilege/miv/Kconfig.defconfig.series @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if SOC_SERIES_RISCV32_MIV config SOC_SERIES diff --git a/soc/riscv32/riscv-privilege/miv/Kconfig.series b/soc/riscv32/riscv-privilege/miv/Kconfig.series index e05bc33f591a..3f0a4fbebeba 100644 --- a/soc/riscv32/riscv-privilege/miv/Kconfig.series +++ b/soc/riscv32/riscv-privilege/miv/Kconfig.series @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Kconfig - RISCV32_MIV implementation # # Copyright (c) 2018 Antmicro diff --git a/soc/riscv32/riscv-privilege/miv/Kconfig.soc b/soc/riscv32/riscv-privilege/miv/Kconfig.soc index a8a003a31db3..781adbc718c1 100644 --- a/soc/riscv32/riscv-privilege/miv/Kconfig.soc +++ b/soc/riscv32/riscv-privilege/miv/Kconfig.soc @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Kconfig - RISCV32_MIV configuration options # # Copyright (c) 2018 Antmicro diff --git a/soc/riscv32/riscv-privilege/miv/dts_fixup.h b/soc/riscv32/riscv-privilege/miv/dts_fixup.h index 69d1d42280a5..6bd4d95944fe 100644 --- a/soc/riscv32/riscv-privilege/miv/dts_fixup.h +++ b/soc/riscv32/riscv-privilege/miv/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* PLIC */ #define DT_PLIC_MAX_PRIORITY \ diff --git a/soc/riscv32/riscv-privilege/miv/soc.h b/soc/riscv32/riscv-privilege/miv/soc.h index 636df020af5d..1381cb89cdc0 100644 --- a/soc/riscv32/riscv-privilege/miv/soc.h +++ b/soc/riscv32/riscv-privilege/miv/soc.h @@ -1,3 +1,6 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + */ #ifndef __RISCV32_MIV_SOC_H_ #define __RISCV32_MIV_SOC_H_ diff --git a/soc/riscv32/riscv-privilege/sifive-freedom/CMakeLists.txt b/soc/riscv32/riscv-privilege/sifive-freedom/CMakeLists.txt index 7f2f3bc1494a..55fc3999fd7b 100644 --- a/soc/riscv32/riscv-privilege/sifive-freedom/CMakeLists.txt +++ b/soc/riscv32/riscv-privilege/sifive-freedom/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources() diff --git a/soc/riscv32/riscv-privilege/sifive-freedom/Kconfig.defconfig.series b/soc/riscv32/riscv-privilege/sifive-freedom/Kconfig.defconfig.series index dd4d89991b29..a90734012324 100644 --- a/soc/riscv32/riscv-privilege/sifive-freedom/Kconfig.defconfig.series +++ b/soc/riscv32/riscv-privilege/sifive-freedom/Kconfig.defconfig.series @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if SOC_SERIES_RISCV32_SIFIVE_FREEDOM config SOC_SERIES diff --git a/soc/x86/apollo_lake/CMakeLists.txt b/soc/x86/apollo_lake/CMakeLists.txt index ed885fbe4086..00787761df1a 100644 --- a/soc/x86/apollo_lake/CMakeLists.txt +++ b/soc/x86/apollo_lake/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/soc/x86/atom/CMakeLists.txt b/soc/x86/atom/CMakeLists.txt index dbae19ed1c16..034adc20938c 100644 --- a/soc/x86/atom/CMakeLists.txt +++ b/soc/x86/atom/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/soc/x86/atom/Kconfig.soc b/soc/x86/atom/Kconfig.soc index 4b45b405dc5b..eee8145c379b 100644 --- a/soc/x86/atom/Kconfig.soc +++ b/soc/x86/atom/Kconfig.soc @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config SOC_ATOM bool "Intel ATOM SoC" select CPU_ATOM diff --git a/soc/x86/atom/dts_fixup.h b/soc/x86/atom/dts_fixup.h index 2bb83f7395b9..1fb3b1e96120 100644 --- a/soc/x86/atom/dts_fixup.h +++ b/soc/x86/atom/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_UART_NS16550_PORT_0_BASE_ADDR DT_NS16550_3F8_BASE_ADDRESS diff --git a/soc/x86/ia32/CMakeLists.txt b/soc/x86/ia32/CMakeLists.txt index 8331ed2b49d1..913a17fe3666 100644 --- a/soc/x86/ia32/CMakeLists.txt +++ b/soc/x86/ia32/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/soc/x86/ia32/Kconfig.soc b/soc/x86/ia32/Kconfig.soc index f39481195909..e1958c91d3d2 100644 --- a/soc/x86/ia32/Kconfig.soc +++ b/soc/x86/ia32/Kconfig.soc @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config SOC_IA32 bool "Generic IA32 SoC" select CPU_MINUTEIA diff --git a/soc/x86/ia32/dts_fixup.h b/soc/x86/ia32/dts_fixup.h index 0ba0da0b322c..aae3e6b85c65 100644 --- a/soc/x86/ia32/dts_fixup.h +++ b/soc/x86/ia32/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_UART_NS16550_PORT_0_BASE_ADDR DT_NS16550_3F8_BASE_ADDRESS diff --git a/soc/x86/intel_quark/Kconfig.defconfig b/soc/x86/intel_quark/Kconfig.defconfig index 791971875ade..ba904cb7b619 100644 --- a/soc/x86/intel_quark/Kconfig.defconfig +++ b/soc/x86/intel_quark/Kconfig.defconfig @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + source "soc/x86/intel_quark/*/Kconfig.defconfig.series" diff --git a/soc/x86/intel_quark/quark_d2000/CMakeLists.txt b/soc/x86/intel_quark/quark_d2000/CMakeLists.txt index cab97631704b..c633f01eb4aa 100644 --- a/soc/x86/intel_quark/quark_d2000/CMakeLists.txt +++ b/soc/x86/intel_quark/quark_d2000/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) zephyr_compile_definitions_ifdef( diff --git a/soc/x86/intel_quark/quark_d2000/Kconfig.soc b/soc/x86/intel_quark/quark_d2000/Kconfig.soc index 41a2233b6ecc..36a3c14a746a 100644 --- a/soc/x86/intel_quark/quark_d2000/Kconfig.soc +++ b/soc/x86/intel_quark/quark_d2000/Kconfig.soc @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config SOC_QUARK_D2000 bool "Intel Quark D2000" depends on SOC_SERIES_QUARK_D2000 diff --git a/soc/x86/intel_quark/quark_d2000/dts_fixup.h b/soc/x86/intel_quark/quark_d2000/dts_fixup.h index 550e9a97f2f9..31ca0ccc6ff1 100644 --- a/soc/x86/intel_quark/quark_d2000/dts_fixup.h +++ b/soc/x86/intel_quark/quark_d2000/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #define DT_UART_QMSI_0_BAUDRATE DT_INTEL_QMSI_UART_B0002000_CURRENT_SPEED #define DT_UART_QMSI_0_NAME DT_INTEL_QMSI_UART_B0002000_LABEL #define DT_UART_QMSI_0_IRQ DT_INTEL_QMSI_UART_B0002000_IRQ_0 diff --git a/soc/x86/intel_quark/quark_se/CMakeLists.txt b/soc/x86/intel_quark/quark_se/CMakeLists.txt index d3aaa5a98f89..f43fa57541dc 100644 --- a/soc/x86/intel_quark/quark_se/CMakeLists.txt +++ b/soc/x86/intel_quark/quark_se/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) zephyr_compile_definitions_ifdef( diff --git a/soc/x86/intel_quark/quark_se/dts_fixup.h b/soc/x86/intel_quark/quark_se/dts_fixup.h index 0e1b475bd058..697484684351 100644 --- a/soc/x86/intel_quark/quark_se/dts_fixup.h +++ b/soc/x86/intel_quark/quark_se/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_UART_QMSI_0_BAUDRATE DT_INTEL_QMSI_UART_B0002000_CURRENT_SPEED diff --git a/soc/x86/intel_quark/quark_x1000/CMakeLists.txt b/soc/x86/intel_quark/quark_x1000/CMakeLists.txt index bf179005b850..d76353d1d85f 100644 --- a/soc/x86/intel_quark/quark_x1000/CMakeLists.txt +++ b/soc/x86/intel_quark/quark_x1000/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) diff --git a/soc/x86/intel_quark/quark_x1000/Kconfig.series b/soc/x86/intel_quark/quark_x1000/Kconfig.series index 2176d213ef74..25637c9a9595 100644 --- a/soc/x86/intel_quark/quark_x1000/Kconfig.series +++ b/soc/x86/intel_quark/quark_x1000/Kconfig.series @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config SOC_SERIES_QUARK_X1000 bool "Intel Quark X1000 Series" select CPU_MINUTEIA diff --git a/soc/x86/intel_quark/quark_x1000/Kconfig.soc b/soc/x86/intel_quark/quark_x1000/Kconfig.soc index 0131b4ef25af..a4cc9c808df2 100644 --- a/soc/x86/intel_quark/quark_x1000/Kconfig.soc +++ b/soc/x86/intel_quark/quark_x1000/Kconfig.soc @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config SOC_QUARK_X1000 bool "Quark X1000" select CPU_MINUTEIA diff --git a/soc/x86/intel_quark/quark_x1000/dts_fixup.h b/soc/x86/intel_quark/quark_x1000/dts_fixup.h index 3c9d2586419e..b6b153a117a2 100644 --- a/soc/x86/intel_quark/quark_x1000/dts_fixup.h +++ b/soc/x86/intel_quark/quark_x1000/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #define DT_UART_NS16550_PORT_0_BASE_ADDR DT_NS16550_9000F000_BASE_ADDRESS #define DT_UART_NS16550_PORT_0_BAUD_RATE DT_NS16550_9000F000_CURRENT_SPEED #define DT_UART_NS16550_PORT_0_NAME DT_NS16550_9000F000_LABEL diff --git a/soc/x86_64/x86_64/CMakeLists.txt b/soc/x86_64/x86_64/CMakeLists.txt index e69de29bb2d1..db4392428f55 100644 --- a/soc/x86_64/x86_64/CMakeLists.txt +++ b/soc/x86_64/x86_64/CMakeLists.txt @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: Apache-2.0 + diff --git a/soc/x86_64/x86_64/Kconfig.defconfig b/soc/x86_64/x86_64/Kconfig.defconfig index 0e954bb1ee05..d06967b31278 100644 --- a/soc/x86_64/x86_64/Kconfig.defconfig +++ b/soc/x86_64/x86_64/Kconfig.defconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if SOC_X86_64 config SOC diff --git a/soc/x86_64/x86_64/Kconfig.soc b/soc/x86_64/x86_64/Kconfig.soc index 3c52450b2cb3..94b3b0397070 100644 --- a/soc/x86_64/x86_64/Kconfig.soc +++ b/soc/x86_64/x86_64/Kconfig.soc @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + config SOC_X86_64 bool "Generic x86_64 PC" diff --git a/soc/xtensa/esp32/CMakeLists.txt b/soc/xtensa/esp32/CMakeLists.txt index 2b9846430269..49d6ea768948 100644 --- a/soc/xtensa/esp32/CMakeLists.txt +++ b/soc/xtensa/esp32/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources( soc.c esp32-mp.c diff --git a/soc/xtensa/intel_s1000/CMakeLists.txt b/soc/xtensa/intel_s1000/CMakeLists.txt index 429ad027c54d..5c80ba4047aa 100644 --- a/soc/xtensa/intel_s1000/CMakeLists.txt +++ b/soc/xtensa/intel_s1000/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) zephyr_library_sources(soc.c) diff --git a/soc/xtensa/intel_s1000/dts_fixup.h b/soc/xtensa/intel_s1000/dts_fixup.h index 460394c315ec..7e60b52b583a 100644 --- a/soc/xtensa/intel_s1000/dts_fixup.h +++ b/soc/xtensa/intel_s1000/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + /* SoC level DTS fixup file */ #define DT_UART_NS16550_PORT_0_BASE_ADDR DT_NS16550_80800_BASE_ADDRESS diff --git a/soc/xtensa/sample_controller/CMakeLists.txt b/soc/xtensa/sample_controller/CMakeLists.txt index 5ad7fe233df3..1097b991ed2c 100644 --- a/soc/xtensa/sample_controller/CMakeLists.txt +++ b/soc/xtensa/sample_controller/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + # intentionally left empty diff --git a/subsys/CMakeLists.txt b/subsys/CMakeLists.txt index 47188c01633a..95eec9f24f9f 100644 --- a/subsys/CMakeLists.txt +++ b/subsys/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + add_subdirectory(debug) add_subdirectory(logging) add_subdirectory_ifdef(CONFIG_BT bluetooth) diff --git a/subsys/bluetooth/CMakeLists.txt b/subsys/bluetooth/CMakeLists.txt index 1d45bca5c84b..d9ae78232551 100644 --- a/subsys/bluetooth/CMakeLists.txt +++ b/subsys/bluetooth/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + add_library(subsys__bluetooth INTERFACE) target_include_directories(subsys__bluetooth INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/subsys/bluetooth/common/CMakeLists.txt b/subsys/bluetooth/common/CMakeLists.txt index b0191da26d61..059a0d6ab125 100644 --- a/subsys/bluetooth/common/CMakeLists.txt +++ b/subsys/bluetooth/common/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(dummy.c) diff --git a/subsys/bluetooth/controller/CMakeLists.txt b/subsys/bluetooth/controller/CMakeLists.txt index 1f212656d266..2b75037a833a 100644 --- a/subsys/bluetooth/controller/CMakeLists.txt +++ b/subsys/bluetooth/controller/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources( util/mem.c diff --git a/subsys/bluetooth/host/CMakeLists.txt b/subsys/bluetooth/host/CMakeLists.txt index 13fb3641693f..9930fc095ebe 100644 --- a/subsys/bluetooth/host/CMakeLists.txt +++ b/subsys/bluetooth/host/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_link_libraries(subsys__bluetooth) diff --git a/subsys/bluetooth/host/mesh/CMakeLists.txt b/subsys/bluetooth/host/mesh/CMakeLists.txt index 16ce313da37c..72f5adcbdf29 100644 --- a/subsys/bluetooth/host/mesh/CMakeLists.txt +++ b/subsys/bluetooth/host/mesh/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_link_libraries(subsys__bluetooth) diff --git a/subsys/bluetooth/services/CMakeLists.txt b/subsys/bluetooth/services/CMakeLists.txt index e9d752bea3b6..4b125091d881 100644 --- a/subsys/bluetooth/services/CMakeLists.txt +++ b/subsys/bluetooth/services/CMakeLists.txt @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_BT_GATT_DIS dis.c) diff --git a/subsys/bluetooth/shell/CMakeLists.txt b/subsys/bluetooth/shell/CMakeLists.txt index 773f1e681006..fd36aaaf44b0 100644 --- a/subsys/bluetooth/shell/CMakeLists.txt +++ b/subsys/bluetooth/shell/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources( bt.c diff --git a/subsys/console/CMakeLists.txt b/subsys/console/CMakeLists.txt index 6fd94b81a576..03a1c704a94e 100644 --- a/subsys/console/CMakeLists.txt +++ b/subsys/console/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources(line_fifo.c) zephyr_sources_ifdef(CONFIG_CONSOLE_GETCHAR tty.c getchar.c) zephyr_sources_ifdef(CONFIG_CONSOLE_GETLINE getline.c) diff --git a/subsys/cpp/CMakeLists.txt b/subsys/cpp/CMakeLists.txt index 84046f347de1..eda0b6a61387 100644 --- a/subsys/cpp/CMakeLists.txt +++ b/subsys/cpp/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_CPLUSPLUS cpp_virtual.c cpp_vtable.cpp diff --git a/subsys/debug/CMakeLists.txt b/subsys/debug/CMakeLists.txt index 507bc2a19f3d..b7c29df69779 100644 --- a/subsys/debug/CMakeLists.txt +++ b/subsys/debug/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef( CONFIG_OPENOCD_SUPPORT openocd.c diff --git a/subsys/debug/tracing/CMakeLists.txt b/subsys/debug/tracing/CMakeLists.txt index d1ff52b85de5..96163eb19fc6 100644 --- a/subsys/debug/tracing/CMakeLists.txt +++ b/subsys/debug/tracing/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories_ifdef(CONFIG_TRACING include) zephyr_sources_ifdef( diff --git a/subsys/debug/tracing/ctf/CMakeLists.txt b/subsys/debug/tracing/ctf/CMakeLists.txt index ab6e1615570c..14201044e7c6 100644 --- a/subsys/debug/tracing/ctf/CMakeLists.txt +++ b/subsys/debug/tracing/ctf/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories(.) zephyr_sources(ctf_top.c) diff --git a/subsys/debug/tracing/ctf/bottoms/posix/CMakeLists.txt b/subsys/debug/tracing/ctf/bottoms/posix/CMakeLists.txt index 35b16d66e4f4..6bd04fe560c8 100644 --- a/subsys/debug/tracing/ctf/bottoms/posix/CMakeLists.txt +++ b/subsys/debug/tracing/ctf/bottoms/posix/CMakeLists.txt @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories(.) zephyr_sources(ctf_bottom.c) diff --git a/subsys/dfu/CMakeLists.txt b/subsys/dfu/CMakeLists.txt index d7d4d6ebd03a..af99c950e747 100644 --- a/subsys/dfu/CMakeLists.txt +++ b/subsys/dfu/CMakeLists.txt @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + add_subdirectory(boot) add_subdirectory(img_util) diff --git a/subsys/dfu/boot/CMakeLists.txt b/subsys/dfu/boot/CMakeLists.txt index b3c922014ca5..cf4c6a82d567 100644 --- a/subsys/dfu/boot/CMakeLists.txt +++ b/subsys/dfu/boot/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_MCUBOOT_IMG_MANAGER mcuboot.c) diff --git a/subsys/dfu/img_util/CMakeLists.txt b/subsys/dfu/img_util/CMakeLists.txt index 5f1553ea94d0..2a4c6ec3e94b 100644 --- a/subsys/dfu/img_util/CMakeLists.txt +++ b/subsys/dfu/img_util/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_MCUBOOT_IMG_MANAGER flash_img.c) diff --git a/subsys/disk/CMakeLists.txt b/subsys/disk/CMakeLists.txt index d4fa4e7738f6..85cbe7b9e62f 100644 --- a/subsys/disk/CMakeLists.txt +++ b/subsys/disk/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_DISK_ACCESS disk_access.c) zephyr_sources_ifdef(CONFIG_DISK_ACCESS_FLASH disk_access_flash.c) zephyr_sources_ifdef(CONFIG_DISK_ACCESS_RAM disk_access_ram.c) diff --git a/subsys/fb/CMakeLists.txt b/subsys/fb/CMakeLists.txt index 398a00d9b6b6..2c69219557a5 100644 --- a/subsys/fb/CMakeLists.txt +++ b/subsys/fb/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_CHARACTER_FRAMEBUFFER cfb.c) zephyr_sources_ifdef(CONFIG_CHARACTER_FRAMEBUFFER_USE_DEFAULT_FONTS cfb_fonts.c) zephyr_sources_ifdef(CONFIG_CHARACTER_FRAMEBUFFER_SHELL cfb_shell.c) diff --git a/subsys/fs/CMakeLists.txt b/subsys/fs/CMakeLists.txt index 1cfc30d3adee..5f296d8ee30c 100644 --- a/subsys/fs/CMakeLists.txt +++ b/subsys/fs/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_FILE_SYSTEM) zephyr_interface_library_named(FS) zephyr_link_interface_ifdef(CONFIG_FAT_FILESYSTEM_ELM ELMFAT) diff --git a/subsys/fs/fcb/CMakeLists.txt b/subsys/fs/fcb/CMakeLists.txt index 432d99c1ac80..cdc7530af3c3 100644 --- a/subsys/fs/fcb/CMakeLists.txt +++ b/subsys/fs/fcb/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources( fcb_append.c fcb.c diff --git a/subsys/fs/nvs/CMakeLists.txt b/subsys/fs/nvs/CMakeLists.txt index 43ea3414611d..5d660ea88ad3 100644 --- a/subsys/fs/nvs/CMakeLists.txt +++ b/subsys/fs/nvs/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources( nvs.c ) diff --git a/subsys/jwt/CMakeLists.txt b/subsys/jwt/CMakeLists.txt index e4893b6ff3b7..3a96d8d91405 100644 --- a/subsys/jwt/CMakeLists.txt +++ b/subsys/jwt/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_link_interface_ifdef(CONFIG_MBEDTLS mbedTLS) zephyr_library() zephyr_library_sources(jwt.c) diff --git a/subsys/logging/CMakeLists.txt b/subsys/logging/CMakeLists.txt index dae98605e32b..85f216ec8080 100644 --- a/subsys/logging/CMakeLists.txt +++ b/subsys/logging/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef( CONFIG_LOG log_list.c diff --git a/subsys/logging/Kconfig.template.log_config b/subsys/logging/Kconfig.template.log_config index 0bfe00a6c816..56534a3afa33 100644 --- a/subsys/logging/Kconfig.template.log_config +++ b/subsys/logging/Kconfig.template.log_config @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + choice prompt "Max compiled-in log level for $(module-str)" default $(module)_LOG_LEVEL_INF diff --git a/subsys/mgmt/CMakeLists.txt b/subsys/mgmt/CMakeLists.txt index 6ec59691abcb..afa25258edf3 100644 --- a/subsys/mgmt/CMakeLists.txt +++ b/subsys/mgmt/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources(buf.c) zephyr_library_sources(smp.c) diff --git a/subsys/net/CMakeLists.txt b/subsys/net/CMakeLists.txt index 38e8277de288..642132e4f959 100644 --- a/subsys/net/CMakeLists.txt +++ b/subsys/net/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_ifdef(CONFIG_NET_BUF buf.c) zephyr_library_sources_ifdef(CONFIG_NET_HOSTNAME_ENABLE hostname.c) diff --git a/subsys/net/ip/CMakeLists.txt b/subsys/net/ip/CMakeLists.txt index b2391e819859..bddef438014e 100644 --- a/subsys/net/ip/CMakeLists.txt +++ b/subsys/net/ip/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_include_directories(.) zephyr_library_compile_definitions_ifdef( diff --git a/subsys/net/l2/CMakeLists.txt b/subsys/net/l2/CMakeLists.txt index cefc7b595c34..843c8b57245e 100644 --- a/subsys/net/l2/CMakeLists.txt +++ b/subsys/net/l2/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_NET_L2_BT OR CONFIG_NET_L2_BT_SHELL) add_subdirectory(bluetooth) endif() diff --git a/subsys/net/l2/bluetooth/CMakeLists.txt b/subsys/net/l2/bluetooth/CMakeLists.txt index 3deeca70a93a..d76fd3ce003f 100644 --- a/subsys/net/l2/bluetooth/CMakeLists.txt +++ b/subsys/net/l2/bluetooth/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip) zephyr_library_compile_definitions_ifdef( diff --git a/subsys/net/l2/canbus/CMakeLists.txt b/subsys/net/l2/canbus/CMakeLists.txt index be933842ad1c..b718b07607a7 100644 --- a/subsys/net/l2/canbus/CMakeLists.txt +++ b/subsys/net/l2/canbus/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_compile_definitions_ifdef( CONFIG_NEWLIB_LIBC __LINUX_ERRNO_EXTENSIONS__ diff --git a/subsys/net/l2/dummy/CMakeLists.txt b/subsys/net/l2/dummy/CMakeLists.txt index d6465f61f4e1..dd59557cae4e 100644 --- a/subsys/net/l2/dummy/CMakeLists.txt +++ b/subsys/net/l2/dummy/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_compile_definitions_ifdef( CONFIG_NEWLIB_LIBC __LINUX_ERRNO_EXTENSIONS__ diff --git a/subsys/net/l2/ethernet/CMakeLists.txt b/subsys/net/l2/ethernet/CMakeLists.txt index 0224f80ca387..cb6e5d846696 100644 --- a/subsys/net/l2/ethernet/CMakeLists.txt +++ b/subsys/net/l2/ethernet/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_include_directories(. ${ZEPHYR_BASE}/subsys/net/ip) zephyr_library_compile_definitions_ifdef( diff --git a/subsys/net/l2/ethernet/gptp/CMakeLists.txt b/subsys/net/l2/ethernet/gptp/CMakeLists.txt index b331455b6302..6ca3f5ed5988 100644 --- a/subsys/net/l2/ethernet/gptp/CMakeLists.txt +++ b/subsys/net/l2/ethernet/gptp/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_include_directories(. ${ZEPHYR_BASE}/subsys/net/ip) zephyr_library_compile_definitions_ifdef( diff --git a/subsys/net/l2/ethernet/lldp/CMakeLists.txt b/subsys/net/l2/ethernet/lldp/CMakeLists.txt index 7f95381c633d..233c0d555141 100644 --- a/subsys/net/l2/ethernet/lldp/CMakeLists.txt +++ b/subsys/net/l2/ethernet/lldp/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_include_directories(. ${ZEPHYR_BASE}/subsys/net/ip) diff --git a/subsys/net/l2/ieee802154/CMakeLists.txt b/subsys/net/l2/ieee802154/CMakeLists.txt index 2029329068cb..be15bc8e0992 100644 --- a/subsys/net/l2/ieee802154/CMakeLists.txt +++ b/subsys/net/l2/ieee802154/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_include_directories(. ${ZEPHYR_BASE}/subsys/net/ip) zephyr_library_compile_definitions_ifdef( diff --git a/subsys/net/l2/openthread/CMakeLists.txt b/subsys/net/l2/openthread/CMakeLists.txt index bc4f6ea564f7..d3747118b8ef 100644 --- a/subsys/net/l2/openthread/CMakeLists.txt +++ b/subsys/net/l2/openthread/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library_named(subsys__net__ip__l2__openthread) zephyr_library_include_directories(. ../../lib/openthread/platform ${ZEPHYR_BASE}/subsys/net/ip) diff --git a/subsys/net/l2/wifi/CMakeLists.txt b/subsys/net/l2/wifi/CMakeLists.txt index 99f97611fd14..a88708c3bc67 100644 --- a/subsys/net/l2/wifi/CMakeLists.txt +++ b/subsys/net/l2/wifi/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_compile_definitions_ifdef( CONFIG_NEWLIB_LIBC __LINUX_ERRNO_EXTENSIONS__ diff --git a/subsys/net/lib/CMakeLists.txt b/subsys/net/lib/CMakeLists.txt index 74db8f53ce98..76e3c3754dbe 100644 --- a/subsys/net/lib/CMakeLists.txt +++ b/subsys/net/lib/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + add_subdirectory_if_kconfig(coap) add_subdirectory_if_kconfig(lwm2m) add_subdirectory_if_kconfig(socks) diff --git a/subsys/net/lib/coap/CMakeLists.txt b/subsys/net/lib/coap/CMakeLists.txt index cfedbcc5ddcc..d97d0e30da3e 100644 --- a/subsys/net/lib/coap/CMakeLists.txt +++ b/subsys/net/lib/coap/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories(.) zephyr_sources_ifdef(CONFIG_COAP diff --git a/subsys/net/lib/config/CMakeLists.txt b/subsys/net/lib/config/CMakeLists.txt index 868621950f29..29c65ac00939 100644 --- a/subsys/net/lib/config/CMakeLists.txt +++ b/subsys/net/lib/config/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_compile_definitions_ifdef( CONFIG_NEWLIB_LIBC __LINUX_ERRNO_EXTENSIONS__ diff --git a/subsys/net/lib/dns/CMakeLists.txt b/subsys/net/lib/dns/CMakeLists.txt index a03b483bc690..6605606ff4af 100644 --- a/subsys/net/lib/dns/CMakeLists.txt +++ b/subsys/net/lib/dns/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories(.) zephyr_library() diff --git a/subsys/net/lib/http/CMakeLists.txt b/subsys/net/lib/http/CMakeLists.txt index 43aaf4162e17..e178d62f4faf 100644 --- a/subsys/net/lib/http/CMakeLists.txt +++ b/subsys/net/lib/http/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() if(CONFIG_HTTP_PARSER_STRICT) diff --git a/subsys/net/lib/lwm2m/CMakeLists.txt b/subsys/net/lib/lwm2m/CMakeLists.txt index adf274f2bdfc..4c71869045d2 100644 --- a/subsys/net/lib/lwm2m/CMakeLists.txt +++ b/subsys/net/lib/lwm2m/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_link_interface_ifdef(CONFIG_MBEDTLS mbedTLS) zephyr_library() diff --git a/subsys/net/lib/mqtt/CMakeLists.txt b/subsys/net/lib/mqtt/CMakeLists.txt index 2055005604e5..376e0407a5ed 100644 --- a/subsys/net/lib/mqtt/CMakeLists.txt +++ b/subsys/net/lib/mqtt/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources( diff --git a/subsys/net/lib/openthread/CMakeLists.txt b/subsys/net/lib/openthread/CMakeLists.txt index 49c318de255a..15110bbb97e6 100644 --- a/subsys/net/lib/openthread/CMakeLists.txt +++ b/subsys/net/lib/openthread/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Invoke OpenThread's external autoconf-based build system. include(ExternalProject) diff --git a/subsys/net/lib/openthread/platform/CMakeLists.txt b/subsys/net/lib/openthread/platform/CMakeLists.txt index 3bbd711d4579..c538ce181607 100644 --- a/subsys/net/lib/openthread/platform/CMakeLists.txt +++ b/subsys/net/lib/openthread/platform/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library_named(openthread_platform) zephyr_library_sources( alarm.c diff --git a/subsys/net/lib/sntp/CMakeLists.txt b/subsys/net/lib/sntp/CMakeLists.txt index da2b097d4ea0..5ffac40aba7e 100644 --- a/subsys/net/lib/sntp/CMakeLists.txt +++ b/subsys/net/lib/sntp/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources( sntp.c ) diff --git a/subsys/net/lib/sockets/CMakeLists.txt b/subsys/net/lib/sockets/CMakeLists.txt index c959c263de38..5d4b7de67f7f 100644 --- a/subsys/net/lib/sockets/CMakeLists.txt +++ b/subsys/net/lib/sockets/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories(.) if(NOT CONFIG_NET_SOCKETS_OFFLOAD) diff --git a/subsys/net/lib/socks/CMakeLists.txt b/subsys/net/lib/socks/CMakeLists.txt index 3b3553cfa1ea..17bcd08964c7 100644 --- a/subsys/net/lib/socks/CMakeLists.txt +++ b/subsys/net/lib/socks/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_sources_if_kconfig(socks.c) diff --git a/subsys/net/lib/tls_credentials/CMakeLists.txt b/subsys/net/lib/tls_credentials/CMakeLists.txt index ef3f7abdf1f7..5dabd9da26d3 100644 --- a/subsys/net/lib/tls_credentials/CMakeLists.txt +++ b/subsys/net/lib/tls_credentials/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories(.) zephyr_sources( tls_credentials.c diff --git a/subsys/power/CMakeLists.txt b/subsys/power/CMakeLists.txt index f3e8c3b48f31..86cd632ef9c8 100644 --- a/subsys/power/CMakeLists.txt +++ b/subsys/power/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_SYS_POWER_MANAGEMENT power.c) zephyr_sources_ifdef(CONFIG_DEVICE_POWER_MANAGEMENT device.c) zephyr_sources_ifdef(CONFIG_SYS_PM_STATE_LOCK pm_ctrl.c) diff --git a/subsys/power/Kconfig b/subsys/power/Kconfig index 7391a19c7760..52bfc951fd80 100644 --- a/subsys/power/Kconfig +++ b/subsys/power/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config SYS_PM_STATE_LOCK bool "Enable Power State locking capability" help diff --git a/subsys/power/policy/CMakeLists.txt b/subsys/power/policy/CMakeLists.txt index 2737f1c13904..c335bfc604a0 100644 --- a/subsys/power/policy/CMakeLists.txt +++ b/subsys/power/policy/CMakeLists.txt @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_SYS_PM_POLICY_DUMMY policy_dummy.c) zephyr_sources_ifdef(CONFIG_SYS_PM_POLICY_RESIDENCY policy_residency.c) diff --git a/subsys/power/policy/Kconfig b/subsys/power/policy/Kconfig index e146de42231b..1908fb311b86 100644 --- a/subsys/power/policy/Kconfig +++ b/subsys/power/policy/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + choice prompt "Idle State Power Management Policy" help diff --git a/subsys/random/CMakeLists.txt b/subsys/random/CMakeLists.txt index 25846773d2c4..b0bea8f7130e 100644 --- a/subsys/random/CMakeLists.txt +++ b/subsys/random/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_TIMER_RANDOM_GENERATOR rand32_timer.c) zephyr_sources_ifdef(CONFIG_X86_TSC_RANDOM_GENERATOR rand32_timestamp.c) zephyr_sources_ifdef(CONFIG_ENTROPY_DEVICE_RANDOM_GENERATOR rand32_entropy_device.c) diff --git a/subsys/settings/CMakeLists.txt b/subsys/settings/CMakeLists.txt index 2d4e4e5264de..3e79131f13cc 100644 --- a/subsys/settings/CMakeLists.txt +++ b/subsys/settings/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + add_subdirectory(src) zephyr_include_directories( include diff --git a/subsys/settings/src/CMakeLists.txt b/subsys/settings/src/CMakeLists.txt index c91fe1a8e4ac..69088c702a1d 100644 --- a/subsys/settings/src/CMakeLists.txt +++ b/subsys/settings/src/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources( settings_store.c settings.c diff --git a/subsys/shell/CMakeLists.txt b/subsys/shell/CMakeLists.txt index 3257a64bf259..f911ee3bd264 100644 --- a/subsys/shell/CMakeLists.txt +++ b/subsys/shell/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + add_subdirectory(modules) zephyr_sources_ifdef( diff --git a/subsys/shell/Kconfig.template.shell_log_queue_size b/subsys/shell/Kconfig.template.shell_log_queue_size index 2c67819f78a0..5e579a5837c4 100644 --- a/subsys/shell/Kconfig.template.shell_log_queue_size +++ b/subsys/shell/Kconfig.template.shell_log_queue_size @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config $(module)_LOG_MESSAGE_QUEUE_SIZE int "Log message queue size" default $(default-size) diff --git a/subsys/shell/Kconfig.template.shell_log_queue_timeout b/subsys/shell/Kconfig.template.shell_log_queue_timeout index 8c9ce4808d82..43081ce5ff1e 100644 --- a/subsys/shell/Kconfig.template.shell_log_queue_timeout +++ b/subsys/shell/Kconfig.template.shell_log_queue_timeout @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config $(module)_LOG_MESSAGE_QUEUE_TIMEOUT int "Log message drop timeout (in milliseconds)" default $(default-timeout) diff --git a/subsys/shell/modules/CMakeLists.txt b/subsys/shell/modules/CMakeLists.txt index dec3478f4d87..c16c3387c33b 100644 --- a/subsys/shell/modules/CMakeLists.txt +++ b/subsys/shell/modules/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef( CONFIG_KERNEL_SHELL kernel_service.c diff --git a/subsys/stats/CMakeLists.txt b/subsys/stats/CMakeLists.txt index c4e0ea4656a4..c3d6623a7f48 100644 --- a/subsys/stats/CMakeLists.txt +++ b/subsys/stats/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_if_kconfig(stats.c) diff --git a/subsys/storage/CMakeLists.txt b/subsys/storage/CMakeLists.txt index e19f3a9d0117..99fd0f279286 100644 --- a/subsys/storage/CMakeLists.txt +++ b/subsys/storage/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + add_subdirectory_ifdef(CONFIG_FLASH_MAP flash_map) diff --git a/subsys/storage/flash_map/CMakeLists.txt b/subsys/storage/flash_map/CMakeLists.txt index e9f48b555bfe..ff71e8768b8a 100644 --- a/subsys/storage/flash_map/CMakeLists.txt +++ b/subsys/storage/flash_map/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources(flash_map.c) zephyr_sources_ifndef(CONFIG_FLASH_MAP_CUSTOM flash_map_default.c) diff --git a/subsys/testsuite/CMakeLists.txt b/subsys/testsuite/CMakeLists.txt index 791677671d94..93a304c503fc 100644 --- a/subsys/testsuite/CMakeLists.txt +++ b/subsys/testsuite/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + add_subdirectory_if_kconfig(ztest) zephyr_include_directories_ifdef(CONFIG_TEST diff --git a/subsys/testsuite/coverage/CMakeLists.txt b/subsys/testsuite/coverage/CMakeLists.txt index 4f593aec66a8..6cda8253b336 100644 --- a/subsys/testsuite/coverage/CMakeLists.txt +++ b/subsys/testsuite/coverage/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_COVERAGE_GCOV coverage.c) diff --git a/subsys/testsuite/unittest.cmake b/subsys/testsuite/unittest.cmake index ce79f3daa31b..1a9f7172ee74 100644 --- a/subsys/testsuite/unittest.cmake +++ b/subsys/testsuite/unittest.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) cmake_policy(SET CMP0000 OLD) cmake_policy(SET CMP0002 NEW) diff --git a/subsys/testsuite/ztest/CMakeLists.txt b/subsys/testsuite/ztest/CMakeLists.txt index 1d79cf18f40c..4a5459928dce 100644 --- a/subsys/testsuite/ztest/CMakeLists.txt +++ b/subsys/testsuite/ztest/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_include_directories( $ENV{ZEPHYR_BASE}/subsys/testsuite/include $ENV{ZEPHYR_BASE}/subsys/testsuite/ztest/include diff --git a/subsys/testsuite/ztest/include/arch/cpu.h b/subsys/testsuite/ztest/include/arch/cpu.h index 12ec0a08bbb0..b60b38902e81 100644 --- a/subsys/testsuite/ztest/include/arch/cpu.h +++ b/subsys/testsuite/ztest/include/arch/cpu.h @@ -1 +1,5 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + */ + /* This file exists as a hack around Zephyr's dependencies */ diff --git a/subsys/testsuite/ztest/include/offsets.h b/subsys/testsuite/ztest/include/offsets.h index 2cfaadd2d857..7c7c8ee57a6f 100644 --- a/subsys/testsuite/ztest/include/offsets.h +++ b/subsys/testsuite/ztest/include/offsets.h @@ -1,3 +1,6 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + */ #ifndef __GEN_OFFSETS_H__ #define __GEN_OFFSETS_H__ diff --git a/subsys/testsuite/ztest/include/syscall_list.h b/subsys/testsuite/ztest/include/syscall_list.h index e69de29bb2d1..1cfdde31e137 100644 --- a/subsys/testsuite/ztest/include/syscall_list.h +++ b/subsys/testsuite/ztest/include/syscall_list.h @@ -0,0 +1,3 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + */ diff --git a/subsys/testsuite/ztest/include/syscall_macros.h b/subsys/testsuite/ztest/include/syscall_macros.h index e69de29bb2d1..1cfdde31e137 100644 --- a/subsys/testsuite/ztest/include/syscall_macros.h +++ b/subsys/testsuite/ztest/include/syscall_macros.h @@ -0,0 +1,3 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + */ diff --git a/subsys/testsuite/ztest/include/syscalls/kernel.h b/subsys/testsuite/ztest/include/syscalls/kernel.h index e69de29bb2d1..1cfdde31e137 100644 --- a/subsys/testsuite/ztest/include/syscalls/kernel.h +++ b/subsys/testsuite/ztest/include/syscalls/kernel.h @@ -0,0 +1,3 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + */ diff --git a/subsys/usb/CMakeLists.txt b/subsys/usb/CMakeLists.txt index d55259fc3ca6..47fbc104f4a0 100644 --- a/subsys/usb/CMakeLists.txt +++ b/subsys/usb/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + if(CONFIG_USB_DEVICE_STACK) zephyr_sources( usb_device.c diff --git a/subsys/usb/class/CMakeLists.txt b/subsys/usb/class/CMakeLists.txt index d2026bf1c474..cea28d9cd20d 100644 --- a/subsys/usb/class/CMakeLists.txt +++ b/subsys/usb/class/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/usb) zephyr_sources_ifdef(CONFIG_USB_CDC_ACM cdc_acm.c) diff --git a/subsys/usb/class/hid/CMakeLists.txt b/subsys/usb/class/hid/CMakeLists.txt index c7d5adabc6c0..9a3ac8d7edb3 100644 --- a/subsys/usb/class/hid/CMakeLists.txt +++ b/subsys/usb/class/hid/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_include_directories( diff --git a/subsys/usb/class/netusb/CMakeLists.txt b/subsys/usb/class/netusb/CMakeLists.txt index f0b93c45be4f..0f8b99b21ae1 100644 --- a/subsys/usb/class/netusb/CMakeLists.txt +++ b/subsys/usb/class/netusb/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_library() zephyr_library_include_directories( diff --git a/tests/application_development/cpp/CMakeLists.txt b/tests/application_development/cpp/CMakeLists.txt index bfec83ae346b..4fcc2391b6dd 100644 --- a/tests/application_development/cpp/CMakeLists.txt +++ b/tests/application_development/cpp/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(cpp) diff --git a/tests/application_development/gen_inc_file/CMakeLists.txt b/tests/application_development/gen_inc_file/CMakeLists.txt index 86007f029cd2..8649318da6c6 100644 --- a/tests/application_development/gen_inc_file/CMakeLists.txt +++ b/tests/application_development/gen_inc_file/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(gen_inc_file) diff --git a/tests/benchmarks/app_kernel/CMakeLists.txt b/tests/benchmarks/app_kernel/CMakeLists.txt index 1731dee3fc9c..d99d01e8e821 100644 --- a/tests/benchmarks/app_kernel/CMakeLists.txt +++ b/tests/benchmarks/app_kernel/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) if(BOARD STREQUAL "minnowboard") set(CONF_FILE prj_fp.conf) diff --git a/tests/benchmarks/boot_time/CMakeLists.txt b/tests/benchmarks/boot_time/CMakeLists.txt index 1a460d7a5982..260f4615bab6 100644 --- a/tests/benchmarks/boot_time/CMakeLists.txt +++ b/tests/benchmarks/boot_time/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(boot_time) diff --git a/tests/benchmarks/latency_measure/CMakeLists.txt b/tests/benchmarks/latency_measure/CMakeLists.txt index 1235ed5e24a1..a2646d873f3c 100644 --- a/tests/benchmarks/latency_measure/CMakeLists.txt +++ b/tests/benchmarks/latency_measure/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) set(small_freq_divider_frdm_k64f TRUE) set(small_freq_divider_arduino_due TRUE) diff --git a/tests/benchmarks/mbedtls/CMakeLists.txt b/tests/benchmarks/mbedtls/CMakeLists.txt index 254e8be5594a..2d204f3f1a5f 100644 --- a/tests/benchmarks/mbedtls/CMakeLists.txt +++ b/tests/benchmarks/mbedtls/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mbedtls_benchmark) diff --git a/tests/benchmarks/sched/CMakeLists.txt b/tests/benchmarks/sched/CMakeLists.txt index 1ca97f62ba1f..282e113d860c 100644 --- a/tests/benchmarks/sched/CMakeLists.txt +++ b/tests/benchmarks/sched/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(sched_bench) diff --git a/tests/benchmarks/sys_kernel/CMakeLists.txt b/tests/benchmarks/sys_kernel/CMakeLists.txt index eb9e4e14f17f..26b826667419 100644 --- a/tests/benchmarks/sys_kernel/CMakeLists.txt +++ b/tests/benchmarks/sys_kernel/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(sys_kernel) diff --git a/tests/benchmarks/timing_info/CMakeLists.txt b/tests/benchmarks/timing_info/CMakeLists.txt index 72872e2c5fac..610987674077 100644 --- a/tests/benchmarks/timing_info/CMakeLists.txt +++ b/tests/benchmarks/timing_info/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(timing_info) diff --git a/tests/bluetooth/bluetooth/CMakeLists.txt b/tests/bluetooth/bluetooth/CMakeLists.txt index 7cbf41ec1447..8d910f208a30 100644 --- a/tests/bluetooth/bluetooth/CMakeLists.txt +++ b/tests/bluetooth/bluetooth/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) set(NO_QEMU_SERIAL_BT_SERVER 1) diff --git a/tests/bluetooth/bsim_bt/bsim_test_app/CMakeLists.txt b/tests/bluetooth/bsim_bt/bsim_test_app/CMakeLists.txt index 424acff5e4b5..2ca0eb21897e 100644 --- a/tests/bluetooth/bsim_bt/bsim_test_app/CMakeLists.txt +++ b/tests/bluetooth/bsim_bt/bsim_test_app/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) if (NOT DEFINED ENV{BSIM_COMPONENTS_PATH}) diff --git a/tests/bluetooth/init/CMakeLists.txt b/tests/bluetooth/init/CMakeLists.txt index 4c556670b00c..690b5a58bc57 100644 --- a/tests/bluetooth/init/CMakeLists.txt +++ b/tests/bluetooth/init/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(bluetooth_init) diff --git a/tests/bluetooth/mesh/CMakeLists.txt b/tests/bluetooth/mesh/CMakeLists.txt index 0e0c34b24215..48284bfccbca 100644 --- a/tests/bluetooth/mesh/CMakeLists.txt +++ b/tests/bluetooth/mesh/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mesh) diff --git a/tests/bluetooth/mesh_shell/CMakeLists.txt b/tests/bluetooth/mesh_shell/CMakeLists.txt index 3e660f5062eb..67a91a2a888e 100644 --- a/tests/bluetooth/mesh_shell/CMakeLists.txt +++ b/tests/bluetooth/mesh_shell/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mesh_shell) diff --git a/tests/bluetooth/shell/CMakeLists.txt b/tests/bluetooth/shell/CMakeLists.txt index c563284966c4..03f97e2d8aa1 100644 --- a/tests/bluetooth/shell/CMakeLists.txt +++ b/tests/bluetooth/shell/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(bluetooth_shell) diff --git a/tests/bluetooth/tester/CMakeLists.txt b/tests/bluetooth/tester/CMakeLists.txt index d752f6b21c2e..12c62103ee65 100644 --- a/tests/bluetooth/tester/CMakeLists.txt +++ b/tests/bluetooth/tester/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) if(BOARD STREQUAL "qemu_cortex_m3") set(CONF_FILE qemu.conf) diff --git a/tests/bluetooth/tester/nrf52840_pca10056.overlay b/tests/bluetooth/tester/nrf52840_pca10056.overlay index 4ff1f6fcb5ef..dfcf0a86a09b 100644 --- a/tests/bluetooth/tester/nrf52840_pca10056.overlay +++ b/tests/bluetooth/tester/nrf52840_pca10056.overlay @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + / { chosen { zephyr,uart-pipe = &uart0; diff --git a/tests/bluetooth/tester/nrf52_pca10040.overlay b/tests/bluetooth/tester/nrf52_pca10040.overlay index 4ff1f6fcb5ef..dfcf0a86a09b 100644 --- a/tests/bluetooth/tester/nrf52_pca10040.overlay +++ b/tests/bluetooth/tester/nrf52_pca10040.overlay @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + / { chosen { zephyr,uart-pipe = &uart0; diff --git a/tests/bluetooth/tester/reel_board.overlay b/tests/bluetooth/tester/reel_board.overlay index 4ff1f6fcb5ef..dfcf0a86a09b 100644 --- a/tests/bluetooth/tester/reel_board.overlay +++ b/tests/bluetooth/tester/reel_board.overlay @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + / { chosen { zephyr,uart-pipe = &uart0; diff --git a/tests/boards/altera_max10/i2c_master/CMakeLists.txt b/tests/boards/altera_max10/i2c_master/CMakeLists.txt index b3f2ab672ba5..8f3401a19aae 100644 --- a/tests/boards/altera_max10/i2c_master/CMakeLists.txt +++ b/tests/boards/altera_max10/i2c_master/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(i2c_master) diff --git a/tests/boards/altera_max10/msgdma/CMakeLists.txt b/tests/boards/altera_max10/msgdma/CMakeLists.txt index f72e7b6708eb..38c813f1abd0 100644 --- a/tests/boards/altera_max10/msgdma/CMakeLists.txt +++ b/tests/boards/altera_max10/msgdma/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(msgdma) diff --git a/tests/boards/altera_max10/qspi/CMakeLists.txt b/tests/boards/altera_max10/qspi/CMakeLists.txt index 249c1c8a6661..12d2b2f0b990 100644 --- a/tests/boards/altera_max10/qspi/CMakeLists.txt +++ b/tests/boards/altera_max10/qspi/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(qspi) diff --git a/tests/boards/altera_max10/sysid/CMakeLists.txt b/tests/boards/altera_max10/sysid/CMakeLists.txt index 5a33d7682d0a..3cd79f155d21 100644 --- a/tests/boards/altera_max10/sysid/CMakeLists.txt +++ b/tests/boards/altera_max10/sysid/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(sysid) diff --git a/tests/boards/board_shell/CMakeLists.txt b/tests/boards/board_shell/CMakeLists.txt index 2a99b67b80d0..65430d56e72e 100644 --- a/tests/boards/board_shell/CMakeLists.txt +++ b/tests/boards/board_shell/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(board_shell) diff --git a/tests/boards/intel_s1000_crb/CMakeLists.txt b/tests/boards/intel_s1000_crb/CMakeLists.txt index e964bb824cf5..3bea69db4cce 100644 --- a/tests/boards/intel_s1000_crb/CMakeLists.txt +++ b/tests/boards/intel_s1000_crb/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(intel_s1000_crb) diff --git a/tests/boards/intel_s1000_crb/cache/CMakeLists.txt b/tests/boards/intel_s1000_crb/cache/CMakeLists.txt index c0efaf1c341c..7413a0bc001b 100644 --- a/tests/boards/intel_s1000_crb/cache/CMakeLists.txt +++ b/tests/boards/intel_s1000_crb/cache/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + set(BOARD intel_s1000_crb) cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/tests/boards/native_posix/native_tasks/CMakeLists.txt b/tests/boards/native_posix/native_tasks/CMakeLists.txt index 2d6abb0e8bcb..c14e9e80a630 100644 --- a/tests/boards/native_posix/native_tasks/CMakeLists.txt +++ b/tests/boards/native_posix/native_tasks/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(native_tasks) diff --git a/tests/boards/native_posix/rtc/CMakeLists.txt b/tests/boards/native_posix/rtc/CMakeLists.txt index acf7b40a38cc..1fc7f6039bd9 100644 --- a/tests/boards/native_posix/rtc/CMakeLists.txt +++ b/tests/boards/native_posix/rtc/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/tests/booting/stub/CMakeLists.txt b/tests/booting/stub/CMakeLists.txt index 242ffb7f5a51..6a499e02e98c 100644 --- a/tests/booting/stub/CMakeLists.txt +++ b/tests/booting/stub/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(stub) diff --git a/tests/cmsis_rtos_v1/CMakeLists.txt b/tests/cmsis_rtos_v1/CMakeLists.txt index d9fd58a6b0b4..99386035c0a8 100644 --- a/tests/cmsis_rtos_v1/CMakeLists.txt +++ b/tests/cmsis_rtos_v1/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(cmsis_rtos_v1) diff --git a/tests/cmsis_rtos_v2/CMakeLists.txt b/tests/cmsis_rtos_v2/CMakeLists.txt index fad904b3f938..f5dd3fb3687a 100644 --- a/tests/cmsis_rtos_v2/CMakeLists.txt +++ b/tests/cmsis_rtos_v2/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(NONE) diff --git a/tests/crypto/mbedtls/CMakeLists.txt b/tests/crypto/mbedtls/CMakeLists.txt index 8ac1b9339720..8ac179f2dbfe 100644 --- a/tests/crypto/mbedtls/CMakeLists.txt +++ b/tests/crypto/mbedtls/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mbedtls) diff --git a/tests/crypto/rand32/CMakeLists.txt b/tests/crypto/rand32/CMakeLists.txt index edd8c294cc2b..ff2278576356 100644 --- a/tests/crypto/rand32/CMakeLists.txt +++ b/tests/crypto/rand32/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(rand32) diff --git a/tests/crypto/tinycrypt/CMakeLists.txt b/tests/crypto/tinycrypt/CMakeLists.txt index 53356ea05458..59f70ea86e2d 100644 --- a/tests/crypto/tinycrypt/CMakeLists.txt +++ b/tests/crypto/tinycrypt/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(tinycrypt) diff --git a/tests/crypto/tinycrypt_hmac_prng/CMakeLists.txt b/tests/crypto/tinycrypt_hmac_prng/CMakeLists.txt index 50e173b35520..a8be4796b3ea 100644 --- a/tests/crypto/tinycrypt_hmac_prng/CMakeLists.txt +++ b/tests/crypto/tinycrypt_hmac_prng/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(tinycrypt_hmac_prng) diff --git a/tests/drivers/adc/adc_api/CMakeLists.txt b/tests/drivers/adc/adc_api/CMakeLists.txt index 47e70f1471d5..32c3ff19ee27 100644 --- a/tests/drivers/adc/adc_api/CMakeLists.txt +++ b/tests/drivers/adc/adc_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/tests/drivers/aio/api/CMakeLists.txt b/tests/drivers/aio/api/CMakeLists.txt index 6c3a550cacd0..b13f54b73b0b 100644 --- a/tests/drivers/aio/api/CMakeLists.txt +++ b/tests/drivers/aio/api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(aio_api) diff --git a/tests/drivers/aio/app/CMakeLists.txt b/tests/drivers/aio/app/CMakeLists.txt index 8766432899cf..fe109a9d07de 100644 --- a/tests/drivers/aio/app/CMakeLists.txt +++ b/tests/drivers/aio/app/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(aio_app) diff --git a/tests/drivers/build_all/CMakeLists.txt b/tests/drivers/build_all/CMakeLists.txt index ef2c2fca9291..ea540a94f82a 100644 --- a/tests/drivers/build_all/CMakeLists.txt +++ b/tests/drivers/build_all/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(build_all) diff --git a/tests/drivers/build_all/dts_fixup.h b/tests/drivers/build_all/dts_fixup.h index b7f3b592c519..4a86380e2790 100644 --- a/tests/drivers/build_all/dts_fixup.h +++ b/tests/drivers/build_all/dts_fixup.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + #if defined(CONFIG_HAS_DTS_I2C) #ifndef DT_ADI_ADT7420_0_LABEL diff --git a/tests/drivers/can/api/CMakeLists.txt b/tests/drivers/can/api/CMakeLists.txt index 53eda259cece..445aaf129642 100644 --- a/tests/drivers/can/api/CMakeLists.txt +++ b/tests/drivers/can/api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(integration) diff --git a/tests/drivers/can/stm32/CMakeLists.txt b/tests/drivers/can/stm32/CMakeLists.txt index 53eda259cece..445aaf129642 100644 --- a/tests/drivers/can/stm32/CMakeLists.txt +++ b/tests/drivers/can/stm32/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(integration) diff --git a/tests/drivers/counter/counter_basic_api/CMakeLists.txt b/tests/drivers/counter/counter_basic_api/CMakeLists.txt index a62dd1791f8d..7ac5982e37dd 100644 --- a/tests/drivers/counter/counter_basic_api/CMakeLists.txt +++ b/tests/drivers/counter/counter_basic_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/tests/drivers/dma/chan_blen_transfer/CMakeLists.txt b/tests/drivers/dma/chan_blen_transfer/CMakeLists.txt index debb4630bb3c..72f9e604b8e0 100644 --- a/tests/drivers/dma/chan_blen_transfer/CMakeLists.txt +++ b/tests/drivers/dma/chan_blen_transfer/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(chan_blen_transfer) diff --git a/tests/drivers/dma/loop_transfer/CMakeLists.txt b/tests/drivers/dma/loop_transfer/CMakeLists.txt index a4b2bf0a1f92..4640df1c3ca8 100644 --- a/tests/drivers/dma/loop_transfer/CMakeLists.txt +++ b/tests/drivers/dma/loop_transfer/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(loop_transfer) diff --git a/tests/drivers/entropy/api/CMakeLists.txt b/tests/drivers/entropy/api/CMakeLists.txt index 575d855bf9e9..1a9b8b8fcd31 100644 --- a/tests/drivers/entropy/api/CMakeLists.txt +++ b/tests/drivers/entropy/api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(entropy_api) diff --git a/tests/drivers/gpio/gpio_basic_api/CMakeLists.txt b/tests/drivers/gpio/gpio_basic_api/CMakeLists.txt index d8168ce3c6ca..66e98a7b2ef5 100644 --- a/tests/drivers/gpio/gpio_basic_api/CMakeLists.txt +++ b/tests/drivers/gpio/gpio_basic_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(gpio_basic_api) diff --git a/tests/drivers/hwinfo/api/CMakeLists.txt b/tests/drivers/hwinfo/api/CMakeLists.txt index 53eda259cece..445aaf129642 100644 --- a/tests/drivers/hwinfo/api/CMakeLists.txt +++ b/tests/drivers/hwinfo/api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(integration) diff --git a/tests/drivers/i2c/i2c_api/CMakeLists.txt b/tests/drivers/i2c/i2c_api/CMakeLists.txt index 78e1c4a89754..b45e1eebe184 100644 --- a/tests/drivers/i2c/i2c_api/CMakeLists.txt +++ b/tests/drivers/i2c/i2c_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(i2c_api) diff --git a/tests/drivers/i2c/i2c_slave_api/CMakeLists.txt b/tests/drivers/i2c/i2c_slave_api/CMakeLists.txt index cb21b4af9176..6f7bdc903248 100644 --- a/tests/drivers/i2c/i2c_slave_api/CMakeLists.txt +++ b/tests/drivers/i2c/i2c_slave_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/tests/drivers/i2c/i2c_slave_api/Kconfig b/tests/drivers/i2c/i2c_slave_api/Kconfig index f8e8686ad741..39fe2bc3ce26 100644 --- a/tests/drivers/i2c/i2c_slave_api/Kconfig +++ b/tests/drivers/i2c/i2c_slave_api/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + mainmenu "I2C Slave API Test" source "Kconfig.zephyr" diff --git a/tests/drivers/i2c/i2c_slave_api/common/CMakeLists.txt b/tests/drivers/i2c/i2c_slave_api/common/CMakeLists.txt index 90b131c50c4c..f3baacf0ae7c 100644 --- a/tests/drivers/i2c/i2c_slave_api/common/CMakeLists.txt +++ b/tests/drivers/i2c/i2c_slave_api/common/CMakeLists.txt @@ -1 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 + zephyr_sources_ifdef(CONFIG_I2C_VIRTUAL i2c_virtual.c) diff --git a/tests/drivers/i2c/i2c_slave_api/nucleo_f091rc.overlay b/tests/drivers/i2c/i2c_slave_api/nucleo_f091rc.overlay index 1ee320428d51..046ef95f070d 100644 --- a/tests/drivers/i2c/i2c_slave_api/nucleo_f091rc.overlay +++ b/tests/drivers/i2c/i2c_slave_api/nucleo_f091rc.overlay @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + &i2c1 { eeprom@54 { compatible = "atmel,at24"; diff --git a/tests/drivers/i2c/i2c_slave_api/stm32f072b_disco.overlay b/tests/drivers/i2c/i2c_slave_api/stm32f072b_disco.overlay index 1ee320428d51..046ef95f070d 100644 --- a/tests/drivers/i2c/i2c_slave_api/stm32f072b_disco.overlay +++ b/tests/drivers/i2c/i2c_slave_api/stm32f072b_disco.overlay @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + &i2c1 { eeprom@54 { compatible = "atmel,at24"; diff --git a/tests/drivers/i2s/i2s_api/CMakeLists.txt b/tests/drivers/i2s/i2s_api/CMakeLists.txt index ab27305efd81..9820950e6e99 100644 --- a/tests/drivers/i2s/i2s_api/CMakeLists.txt +++ b/tests/drivers/i2s/i2s_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(i2s_api) diff --git a/tests/drivers/i2s/i2s_speed/CMakeLists.txt b/tests/drivers/i2s/i2s_speed/CMakeLists.txt index 3b716bbee1ec..a6697b78f047 100644 --- a/tests/drivers/i2s/i2s_speed/CMakeLists.txt +++ b/tests/drivers/i2s/i2s_speed/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(i2s_speed) diff --git a/tests/drivers/ipm/CMakeLists.txt b/tests/drivers/ipm/CMakeLists.txt index 8de4fb9c225f..ba374e41bf18 100644 --- a/tests/drivers/ipm/CMakeLists.txt +++ b/tests/drivers/ipm/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(ipm) diff --git a/tests/drivers/pci_enum/CMakeLists.txt b/tests/drivers/pci_enum/CMakeLists.txt index abf79396d2bd..e380a01c5b27 100644 --- a/tests/drivers/pci_enum/CMakeLists.txt +++ b/tests/drivers/pci_enum/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(pci_enum) diff --git a/tests/drivers/pinmux/pinmux_basic_api/CMakeLists.txt b/tests/drivers/pinmux/pinmux_basic_api/CMakeLists.txt index eba9c7e2c224..f08185114b5f 100644 --- a/tests/drivers/pinmux/pinmux_basic_api/CMakeLists.txt +++ b/tests/drivers/pinmux/pinmux_basic_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(pinmux_basic_api) diff --git a/tests/drivers/pwm/pwm_api/CMakeLists.txt b/tests/drivers/pwm/pwm_api/CMakeLists.txt index 5a7a74bb7101..8fe93aa52869 100644 --- a/tests/drivers/pwm/pwm_api/CMakeLists.txt +++ b/tests/drivers/pwm/pwm_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(pwm_api) diff --git a/tests/drivers/rtc/rtc_basic_api/CMakeLists.txt b/tests/drivers/rtc/rtc_basic_api/CMakeLists.txt index d2a70d169575..b09edb953885 100644 --- a/tests/drivers/rtc/rtc_basic_api/CMakeLists.txt +++ b/tests/drivers/rtc/rtc_basic_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(rtc_basic_api) diff --git a/tests/drivers/spi/spi_loopback/CMakeLists.txt b/tests/drivers/spi/spi_loopback/CMakeLists.txt index c3b689cb1b41..9ac96b473bca 100644 --- a/tests/drivers/spi/spi_loopback/CMakeLists.txt +++ b/tests/drivers/spi/spi_loopback/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/tests/drivers/spi/spi_loopback/Kconfig b/tests/drivers/spi/spi_loopback/Kconfig index 6cf686729cba..00e8ceefd8d2 100644 --- a/tests/drivers/spi/spi_loopback/Kconfig +++ b/tests/drivers/spi/spi_loopback/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + mainmenu "SPI Loopback Test" source "Kconfig.zephyr" diff --git a/tests/drivers/uart/uart_async_api/CMakeLists.txt b/tests/drivers/uart/uart_async_api/CMakeLists.txt index e51ae17046b1..bdfc89bb9de3 100644 --- a/tests/drivers/uart/uart_async_api/CMakeLists.txt +++ b/tests/drivers/uart/uart_async_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.8.2) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/tests/drivers/uart/uart_async_api/nrf52840_pca10056.overlay b/tests/drivers/uart/uart_async_api/nrf52840_pca10056.overlay index f87a262bd5a0..f8386999d569 100644 --- a/tests/drivers/uart/uart_async_api/nrf52840_pca10056.overlay +++ b/tests/drivers/uart/uart_async_api/nrf52840_pca10056.overlay @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + / { chosen { zephyr,console = &uart1; diff --git a/tests/drivers/uart/uart_async_api/nrf9160_pca10090.overlay b/tests/drivers/uart/uart_async_api/nrf9160_pca10090.overlay index 1652bb11102a..3044111a22a4 100644 --- a/tests/drivers/uart/uart_async_api/nrf9160_pca10090.overlay +++ b/tests/drivers/uart/uart_async_api/nrf9160_pca10090.overlay @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + &uart1 { current-speed = <115200>; compatible = "nordic,nrf-uarte"; diff --git a/tests/drivers/uart/uart_basic_api/CMakeLists.txt b/tests/drivers/uart/uart_basic_api/CMakeLists.txt index 46950b57e35b..d7dea1bba0dd 100644 --- a/tests/drivers/uart/uart_basic_api/CMakeLists.txt +++ b/tests/drivers/uart/uart_basic_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(uart_basic_api) diff --git a/tests/drivers/watchdog/wdt_basic_api/CMakeLists.txt b/tests/drivers/watchdog/wdt_basic_api/CMakeLists.txt index 2c562a90d49c..ebd00241c9f4 100644 --- a/tests/drivers/watchdog/wdt_basic_api/CMakeLists.txt +++ b/tests/drivers/watchdog/wdt_basic_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(wdt_basic_api) diff --git a/tests/kernel/arm_irq_vector_table/CMakeLists.txt b/tests/kernel/arm_irq_vector_table/CMakeLists.txt index d59a7167771c..241415c4796a 100644 --- a/tests/kernel/arm_irq_vector_table/CMakeLists.txt +++ b/tests/kernel/arm_irq_vector_table/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/tests/kernel/arm_irq_vector_table/Kconfig b/tests/kernel/arm_irq_vector_table/Kconfig index c79ec6976970..9d231dd4544d 100644 --- a/tests/kernel/arm_irq_vector_table/Kconfig +++ b/tests/kernel/arm_irq_vector_table/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config NUM_IRQS int "Number of IRQs for this test, made overridable in the .conf file" default 3 diff --git a/tests/kernel/arm_runtime_nmi/CMakeLists.txt b/tests/kernel/arm_runtime_nmi/CMakeLists.txt index 39e56ea66fd2..a86430bcb2bb 100644 --- a/tests/kernel/arm_runtime_nmi/CMakeLists.txt +++ b/tests/kernel/arm_runtime_nmi/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(arm_runtime_nmi) diff --git a/tests/kernel/boot_page_table/CMakeLists.txt b/tests/kernel/boot_page_table/CMakeLists.txt index 5407fbd19bb2..1d33f6d21876 100644 --- a/tests/kernel/boot_page_table/CMakeLists.txt +++ b/tests/kernel/boot_page_table/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(boot_page_table) diff --git a/tests/kernel/common/CMakeLists.txt b/tests/kernel/common/CMakeLists.txt index cbe224ea2d90..3f909fa522c7 100644 --- a/tests/kernel/common/CMakeLists.txt +++ b/tests/kernel/common/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(kernel_common) diff --git a/tests/kernel/context/CMakeLists.txt b/tests/kernel/context/CMakeLists.txt index 2a426facb4e2..140643a81dee 100644 --- a/tests/kernel/context/CMakeLists.txt +++ b/tests/kernel/context/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(kernel_context) diff --git a/tests/kernel/critical/CMakeLists.txt b/tests/kernel/critical/CMakeLists.txt index 380e2685a909..825c4bd66c3a 100644 --- a/tests/kernel/critical/CMakeLists.txt +++ b/tests/kernel/critical/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(critical) diff --git a/tests/kernel/device/CMakeLists.txt b/tests/kernel/device/CMakeLists.txt index 9c27f925754d..9cd2477bc5f1 100644 --- a/tests/kernel/device/CMakeLists.txt +++ b/tests/kernel/device/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(device) diff --git a/tests/kernel/early_sleep/CMakeLists.txt b/tests/kernel/early_sleep/CMakeLists.txt index 5caf8cc5c359..0718c9984f8d 100644 --- a/tests/kernel/early_sleep/CMakeLists.txt +++ b/tests/kernel/early_sleep/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(early_sleep) diff --git a/tests/kernel/fatal/CMakeLists.txt b/tests/kernel/fatal/CMakeLists.txt index b0232e1f551b..2282a0c8c8f1 100644 --- a/tests/kernel/fatal/CMakeLists.txt +++ b/tests/kernel/fatal/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(fatal) diff --git a/tests/kernel/fifo/fifo_api/CMakeLists.txt b/tests/kernel/fifo/fifo_api/CMakeLists.txt index f494fe41e5b3..b98d2fa8a0b1 100644 --- a/tests/kernel/fifo/fifo_api/CMakeLists.txt +++ b/tests/kernel/fifo/fifo_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(fifo_api) diff --git a/tests/kernel/fifo/fifo_timeout/CMakeLists.txt b/tests/kernel/fifo/fifo_timeout/CMakeLists.txt index 047f049a0488..345401c0136f 100644 --- a/tests/kernel/fifo/fifo_timeout/CMakeLists.txt +++ b/tests/kernel/fifo/fifo_timeout/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(fifo_timeout) diff --git a/tests/kernel/fifo/fifo_usage/CMakeLists.txt b/tests/kernel/fifo/fifo_usage/CMakeLists.txt index c95b419ff6cd..1c742414d1b2 100644 --- a/tests/kernel/fifo/fifo_usage/CMakeLists.txt +++ b/tests/kernel/fifo/fifo_usage/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(fifo_usage) diff --git a/tests/kernel/fp_sharing/CMakeLists.txt b/tests/kernel/fp_sharing/CMakeLists.txt index f1d98d97b5fa..4db2447e9888 100644 --- a/tests/kernel/fp_sharing/CMakeLists.txt +++ b/tests/kernel/fp_sharing/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(fp_sharing) diff --git a/tests/kernel/gen_isr_table/CMakeLists.txt b/tests/kernel/gen_isr_table/CMakeLists.txt index 1e09ac3fa980..c5590572f517 100644 --- a/tests/kernel/gen_isr_table/CMakeLists.txt +++ b/tests/kernel/gen_isr_table/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(gen_isr_table) diff --git a/tests/kernel/interrupt/CMakeLists.txt b/tests/kernel/interrupt/CMakeLists.txt index 7764aa777a09..523be953f695 100644 --- a/tests/kernel/interrupt/CMakeLists.txt +++ b/tests/kernel/interrupt/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(interrupt) diff --git a/tests/kernel/lifo/lifo_api/CMakeLists.txt b/tests/kernel/lifo/lifo_api/CMakeLists.txt index c5b9fa7d33b6..674939aa8249 100644 --- a/tests/kernel/lifo/lifo_api/CMakeLists.txt +++ b/tests/kernel/lifo/lifo_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(lifo_api) diff --git a/tests/kernel/lifo/lifo_usage/CMakeLists.txt b/tests/kernel/lifo/lifo_usage/CMakeLists.txt index fe04e4605039..e50cd6648176 100644 --- a/tests/kernel/lifo/lifo_usage/CMakeLists.txt +++ b/tests/kernel/lifo/lifo_usage/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(lifo_usage) diff --git a/tests/kernel/mbox/mbox_api/CMakeLists.txt b/tests/kernel/mbox/mbox_api/CMakeLists.txt index d9043ec11fb1..7648eb5245d2 100644 --- a/tests/kernel/mbox/mbox_api/CMakeLists.txt +++ b/tests/kernel/mbox/mbox_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mbox_api) diff --git a/tests/kernel/mbox/mbox_usage/CMakeLists.txt b/tests/kernel/mbox/mbox_usage/CMakeLists.txt index 790127a80951..15f80db408e8 100644 --- a/tests/kernel/mbox/mbox_usage/CMakeLists.txt +++ b/tests/kernel/mbox/mbox_usage/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mbox_usage) diff --git a/tests/kernel/mem_heap/mheap_api_concept/CMakeLists.txt b/tests/kernel/mem_heap/mheap_api_concept/CMakeLists.txt index 7e31e22f6b40..ac2a475aab44 100644 --- a/tests/kernel/mem_heap/mheap_api_concept/CMakeLists.txt +++ b/tests/kernel/mem_heap/mheap_api_concept/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mheap_api_concept) diff --git a/tests/kernel/mem_pool/mem_pool/CMakeLists.txt b/tests/kernel/mem_pool/mem_pool/CMakeLists.txt index c5e28e4524dc..0de29bda7094 100644 --- a/tests/kernel/mem_pool/mem_pool/CMakeLists.txt +++ b/tests/kernel/mem_pool/mem_pool/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mem_pool) diff --git a/tests/kernel/mem_pool/mem_pool_api/CMakeLists.txt b/tests/kernel/mem_pool/mem_pool_api/CMakeLists.txt index 0221f03f4927..b0658f422ca1 100644 --- a/tests/kernel/mem_pool/mem_pool_api/CMakeLists.txt +++ b/tests/kernel/mem_pool/mem_pool_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mem_pool_api) diff --git a/tests/kernel/mem_pool/mem_pool_concept/CMakeLists.txt b/tests/kernel/mem_pool/mem_pool_concept/CMakeLists.txt index 7b99ed368b89..ddde548c1097 100644 --- a/tests/kernel/mem_pool/mem_pool_concept/CMakeLists.txt +++ b/tests/kernel/mem_pool/mem_pool_concept/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mem_pool_concept) diff --git a/tests/kernel/mem_pool/mem_pool_threadsafe/CMakeLists.txt b/tests/kernel/mem_pool/mem_pool_threadsafe/CMakeLists.txt index ece29e2277ef..1c8f755fcdb3 100644 --- a/tests/kernel/mem_pool/mem_pool_threadsafe/CMakeLists.txt +++ b/tests/kernel/mem_pool/mem_pool_threadsafe/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mem_pool_threadsafe) diff --git a/tests/kernel/mem_pool/sys_mem_pool/CMakeLists.txt b/tests/kernel/mem_pool/sys_mem_pool/CMakeLists.txt index a82b4cb25d6f..3bc0d26390c0 100644 --- a/tests/kernel/mem_pool/sys_mem_pool/CMakeLists.txt +++ b/tests/kernel/mem_pool/sys_mem_pool/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(sys_mem_pool) diff --git a/tests/kernel/mem_protect/mem_protect/CMakeLists.txt b/tests/kernel/mem_protect/mem_protect/CMakeLists.txt index 64ba9937c924..e6aacee7559d 100644 --- a/tests/kernel/mem_protect/mem_protect/CMakeLists.txt +++ b/tests/kernel/mem_protect/mem_protect/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mem_protect) diff --git a/tests/kernel/mem_protect/obj_validation/CMakeLists.txt b/tests/kernel/mem_protect/obj_validation/CMakeLists.txt index 8c168d615917..038cb3451c43 100644 --- a/tests/kernel/mem_protect/obj_validation/CMakeLists.txt +++ b/tests/kernel/mem_protect/obj_validation/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(obj_validation) diff --git a/tests/kernel/mem_protect/protection/CMakeLists.txt b/tests/kernel/mem_protect/protection/CMakeLists.txt index 36a8705f83d4..07c923bb58b3 100644 --- a/tests/kernel/mem_protect/protection/CMakeLists.txt +++ b/tests/kernel/mem_protect/protection/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(protection) diff --git a/tests/kernel/mem_protect/stack_random/CMakeLists.txt b/tests/kernel/mem_protect/stack_random/CMakeLists.txt index cdeb78ced140..735ca3b4004a 100644 --- a/tests/kernel/mem_protect/stack_random/CMakeLists.txt +++ b/tests/kernel/mem_protect/stack_random/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(stack_random) diff --git a/tests/kernel/mem_protect/stackprot/CMakeLists.txt b/tests/kernel/mem_protect/stackprot/CMakeLists.txt index e5cb6daf217a..d03f315970a2 100644 --- a/tests/kernel/mem_protect/stackprot/CMakeLists.txt +++ b/tests/kernel/mem_protect/stackprot/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(stackprot) diff --git a/tests/kernel/mem_protect/syscalls/CMakeLists.txt b/tests/kernel/mem_protect/syscalls/CMakeLists.txt index 04d95f07058d..13def6b1987f 100644 --- a/tests/kernel/mem_protect/syscalls/CMakeLists.txt +++ b/tests/kernel/mem_protect/syscalls/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(syscalls) diff --git a/tests/kernel/mem_protect/userspace/CMakeLists.txt b/tests/kernel/mem_protect/userspace/CMakeLists.txt index f7e92d1c2b26..bc32021861e3 100644 --- a/tests/kernel/mem_protect/userspace/CMakeLists.txt +++ b/tests/kernel/mem_protect/userspace/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(userspace) diff --git a/tests/kernel/mem_protect/x86_mmu_api/CMakeLists.txt b/tests/kernel/mem_protect/x86_mmu_api/CMakeLists.txt index 3446d78689d2..96b7de648c50 100644 --- a/tests/kernel/mem_protect/x86_mmu_api/CMakeLists.txt +++ b/tests/kernel/mem_protect/x86_mmu_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(x86_mmu_api) diff --git a/tests/kernel/mem_slab/mslab/CMakeLists.txt b/tests/kernel/mem_slab/mslab/CMakeLists.txt index d7c2f8005750..621b3b01da79 100644 --- a/tests/kernel/mem_slab/mslab/CMakeLists.txt +++ b/tests/kernel/mem_slab/mslab/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mslab) diff --git a/tests/kernel/mem_slab/mslab_api/CMakeLists.txt b/tests/kernel/mem_slab/mslab_api/CMakeLists.txt index f667b1ee950a..2cd4fd0741aa 100644 --- a/tests/kernel/mem_slab/mslab_api/CMakeLists.txt +++ b/tests/kernel/mem_slab/mslab_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mslab_api) diff --git a/tests/kernel/mem_slab/mslab_concept/CMakeLists.txt b/tests/kernel/mem_slab/mslab_concept/CMakeLists.txt index 0653b1d718db..468c2d64e35e 100644 --- a/tests/kernel/mem_slab/mslab_concept/CMakeLists.txt +++ b/tests/kernel/mem_slab/mslab_concept/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mslab_concept) diff --git a/tests/kernel/mem_slab/mslab_threadsafe/CMakeLists.txt b/tests/kernel/mem_slab/mslab_threadsafe/CMakeLists.txt index 9badd10601ab..c566e45e153c 100644 --- a/tests/kernel/mem_slab/mslab_threadsafe/CMakeLists.txt +++ b/tests/kernel/mem_slab/mslab_threadsafe/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mslab_threadsafe) diff --git a/tests/kernel/mp/CMakeLists.txt b/tests/kernel/mp/CMakeLists.txt index aa414b94152a..1fc26fee94aa 100644 --- a/tests/kernel/mp/CMakeLists.txt +++ b/tests/kernel/mp/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mp) diff --git a/tests/kernel/msgq/msgq_api/CMakeLists.txt b/tests/kernel/msgq/msgq_api/CMakeLists.txt index 30ad301bb166..c2764fcb6a21 100644 --- a/tests/kernel/msgq/msgq_api/CMakeLists.txt +++ b/tests/kernel/msgq/msgq_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(msgq_api) diff --git a/tests/kernel/mutex/mutex_api/CMakeLists.txt b/tests/kernel/mutex/mutex_api/CMakeLists.txt index 6ffeac564ccc..59842bb1a6ce 100644 --- a/tests/kernel/mutex/mutex_api/CMakeLists.txt +++ b/tests/kernel/mutex/mutex_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mutex_api) diff --git a/tests/kernel/mutex/sys_mutex/CMakeLists.txt b/tests/kernel/mutex/sys_mutex/CMakeLists.txt index dd150b69d981..f136e0b79373 100644 --- a/tests/kernel/mutex/sys_mutex/CMakeLists.txt +++ b/tests/kernel/mutex/sys_mutex/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mutex) diff --git a/tests/kernel/obj_tracing/CMakeLists.txt b/tests/kernel/obj_tracing/CMakeLists.txt index cca3b617931f..09e9f9cb56f4 100644 --- a/tests/kernel/obj_tracing/CMakeLists.txt +++ b/tests/kernel/obj_tracing/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(obj_tracing) diff --git a/tests/kernel/pending/CMakeLists.txt b/tests/kernel/pending/CMakeLists.txt index bd25d40d383c..f5b8859c8a39 100644 --- a/tests/kernel/pending/CMakeLists.txt +++ b/tests/kernel/pending/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(pending) diff --git a/tests/kernel/pipe/pipe/CMakeLists.txt b/tests/kernel/pipe/pipe/CMakeLists.txt index aa82d6dcb447..8ad39e84e76f 100644 --- a/tests/kernel/pipe/pipe/CMakeLists.txt +++ b/tests/kernel/pipe/pipe/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(pipe) diff --git a/tests/kernel/pipe/pipe_api/CMakeLists.txt b/tests/kernel/pipe/pipe_api/CMakeLists.txt index 1b8a6960fb33..4d0b0aa3cb33 100644 --- a/tests/kernel/pipe/pipe_api/CMakeLists.txt +++ b/tests/kernel/pipe/pipe_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(pipe_api) diff --git a/tests/kernel/poll/CMakeLists.txt b/tests/kernel/poll/CMakeLists.txt index f3d480b361ca..c69a34455b87 100644 --- a/tests/kernel/poll/CMakeLists.txt +++ b/tests/kernel/poll/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(poll) diff --git a/tests/kernel/profiling/profiling_api/CMakeLists.txt b/tests/kernel/profiling/profiling_api/CMakeLists.txt index 1d6bb61c1838..438da693b186 100644 --- a/tests/kernel/profiling/profiling_api/CMakeLists.txt +++ b/tests/kernel/profiling/profiling_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(profiling_api) diff --git a/tests/kernel/profiling/profiling_api/Kconfig b/tests/kernel/profiling/profiling_api/Kconfig index b1ffad1310b0..120c361cf211 100644 --- a/tests/kernel/profiling/profiling_api/Kconfig +++ b/tests/kernel/profiling/profiling_api/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + config KERNEL_PROFILING_API_TEST bool default y diff --git a/tests/kernel/queue/CMakeLists.txt b/tests/kernel/queue/CMakeLists.txt index ad2483520c66..f6d678da5293 100644 --- a/tests/kernel/queue/CMakeLists.txt +++ b/tests/kernel/queue/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(queue) diff --git a/tests/kernel/sched/deadline/CMakeLists.txt b/tests/kernel/sched/deadline/CMakeLists.txt index a055694e3b09..a446da8d64e7 100644 --- a/tests/kernel/sched/deadline/CMakeLists.txt +++ b/tests/kernel/sched/deadline/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(deadline) diff --git a/tests/kernel/sched/preempt/CMakeLists.txt b/tests/kernel/sched/preempt/CMakeLists.txt index aa92dbfc3d6d..9196efd7a682 100644 --- a/tests/kernel/sched/preempt/CMakeLists.txt +++ b/tests/kernel/sched/preempt/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(preempt) diff --git a/tests/kernel/sched/schedule_api/CMakeLists.txt b/tests/kernel/sched/schedule_api/CMakeLists.txt index 8d0ce0deb6b2..c0f153598dba 100644 --- a/tests/kernel/sched/schedule_api/CMakeLists.txt +++ b/tests/kernel/sched/schedule_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(schedule_api) diff --git a/tests/kernel/semaphore/sema_api/CMakeLists.txt b/tests/kernel/semaphore/sema_api/CMakeLists.txt index 0822ed7f4c82..21cd27726148 100644 --- a/tests/kernel/semaphore/sema_api/CMakeLists.txt +++ b/tests/kernel/semaphore/sema_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(sema_api) diff --git a/tests/kernel/semaphore/semaphore/CMakeLists.txt b/tests/kernel/semaphore/semaphore/CMakeLists.txt index da84f56ca7bf..abf4a1133800 100644 --- a/tests/kernel/semaphore/semaphore/CMakeLists.txt +++ b/tests/kernel/semaphore/semaphore/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(semaphore) diff --git a/tests/kernel/sleep/CMakeLists.txt b/tests/kernel/sleep/CMakeLists.txt index 28df8b3af7a6..407339d004c0 100644 --- a/tests/kernel/sleep/CMakeLists.txt +++ b/tests/kernel/sleep/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(sleep) diff --git a/tests/kernel/smp/CMakeLists.txt b/tests/kernel/smp/CMakeLists.txt index e7dfba858802..5057011aa122 100644 --- a/tests/kernel/smp/CMakeLists.txt +++ b/tests/kernel/smp/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(smp) diff --git a/tests/kernel/spinlock/CMakeLists.txt b/tests/kernel/spinlock/CMakeLists.txt index 73753de7aab5..b646cd29c433 100644 --- a/tests/kernel/spinlock/CMakeLists.txt +++ b/tests/kernel/spinlock/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(spinlock) diff --git a/tests/kernel/stack/stack_api/CMakeLists.txt b/tests/kernel/stack/stack_api/CMakeLists.txt index 9dd68016ed4b..548179deb258 100644 --- a/tests/kernel/stack/stack_api/CMakeLists.txt +++ b/tests/kernel/stack/stack_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(stack_api) diff --git a/tests/kernel/stack/stack_usage/CMakeLists.txt b/tests/kernel/stack/stack_usage/CMakeLists.txt index fdc6d9a8c068..01f81c59426b 100644 --- a/tests/kernel/stack/stack_usage/CMakeLists.txt +++ b/tests/kernel/stack/stack_usage/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(stack_usage) diff --git a/tests/kernel/static_idt/CMakeLists.txt b/tests/kernel/static_idt/CMakeLists.txt index 11bd696b922d..a5214b0e8b2b 100644 --- a/tests/kernel/static_idt/CMakeLists.txt +++ b/tests/kernel/static_idt/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(static_idt) diff --git a/tests/kernel/threads/dynamic_thread/CMakeLists.txt b/tests/kernel/threads/dynamic_thread/CMakeLists.txt index be3871484eea..8957995cdaec 100644 --- a/tests/kernel/threads/dynamic_thread/CMakeLists.txt +++ b/tests/kernel/threads/dynamic_thread/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(dynamic_thread) diff --git a/tests/kernel/threads/no-multithreading/CMakeLists.txt b/tests/kernel/threads/no-multithreading/CMakeLists.txt index 8086d814f9d8..b827acba2f0c 100644 --- a/tests/kernel/threads/no-multithreading/CMakeLists.txt +++ b/tests/kernel/threads/no-multithreading/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(no-multithreading) diff --git a/tests/kernel/threads/thread_apis/CMakeLists.txt b/tests/kernel/threads/thread_apis/CMakeLists.txt index 018f731c2b3e..f004ae28f33e 100644 --- a/tests/kernel/threads/thread_apis/CMakeLists.txt +++ b/tests/kernel/threads/thread_apis/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(thread_apis) diff --git a/tests/kernel/threads/thread_init/CMakeLists.txt b/tests/kernel/threads/thread_init/CMakeLists.txt index f506e1bc07a4..c93a6a6a60a0 100644 --- a/tests/kernel/threads/thread_init/CMakeLists.txt +++ b/tests/kernel/threads/thread_init/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(thread_init) diff --git a/tests/kernel/tickless/tickless/CMakeLists.txt b/tests/kernel/tickless/tickless/CMakeLists.txt index 93525ae0d14e..4f95bdc978ff 100644 --- a/tests/kernel/tickless/tickless/CMakeLists.txt +++ b/tests/kernel/tickless/tickless/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(tickless) diff --git a/tests/kernel/tickless/tickless_concept/CMakeLists.txt b/tests/kernel/tickless/tickless_concept/CMakeLists.txt index 7b76c5c6e9c6..30f65ac7693f 100644 --- a/tests/kernel/tickless/tickless_concept/CMakeLists.txt +++ b/tests/kernel/tickless/tickless_concept/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(tickless_concept) diff --git a/tests/kernel/timer/timer_api/CMakeLists.txt b/tests/kernel/timer/timer_api/CMakeLists.txt index f9f75a7ef28a..a114d491e7d5 100644 --- a/tests/kernel/timer/timer_api/CMakeLists.txt +++ b/tests/kernel/timer/timer_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(timer_api) diff --git a/tests/kernel/timer/timer_monotonic/CMakeLists.txt b/tests/kernel/timer/timer_monotonic/CMakeLists.txt index 68230dc48f9c..712566b15f2a 100644 --- a/tests/kernel/timer/timer_monotonic/CMakeLists.txt +++ b/tests/kernel/timer/timer_monotonic/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(timer_monotonic) diff --git a/tests/kernel/workq/work_queue/CMakeLists.txt b/tests/kernel/workq/work_queue/CMakeLists.txt index 90eb4c14f320..ac5e06a2abff 100644 --- a/tests/kernel/workq/work_queue/CMakeLists.txt +++ b/tests/kernel/workq/work_queue/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(work_queue) diff --git a/tests/kernel/workq/work_queue_api/CMakeLists.txt b/tests/kernel/workq/work_queue_api/CMakeLists.txt index b9006d272aa2..8d50e4436453 100644 --- a/tests/kernel/workq/work_queue_api/CMakeLists.txt +++ b/tests/kernel/workq/work_queue_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(work_queue_api) diff --git a/tests/kernel/xip/CMakeLists.txt b/tests/kernel/xip/CMakeLists.txt index 527f5f7e6a01..9d4f0cc1c9a7 100644 --- a/tests/kernel/xip/CMakeLists.txt +++ b/tests/kernel/xip/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(xip) diff --git a/tests/lib/base64/CMakeLists.txt b/tests/lib/base64/CMakeLists.txt index 4a6192666527..afdd63f518d9 100644 --- a/tests/lib/base64/CMakeLists.txt +++ b/tests/lib/base64/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(base64) diff --git a/tests/lib/c_lib/CMakeLists.txt b/tests/lib/c_lib/CMakeLists.txt index f1b1eb74903c..76a2cf3e56cc 100644 --- a/tests/lib/c_lib/CMakeLists.txt +++ b/tests/lib/c_lib/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(c_lib) diff --git a/tests/lib/json/CMakeLists.txt b/tests/lib/json/CMakeLists.txt index 50170e5ce4c2..3b839d9233c2 100644 --- a/tests/lib/json/CMakeLists.txt +++ b/tests/lib/json/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(json) diff --git a/tests/lib/mem_alloc/CMakeLists.txt b/tests/lib/mem_alloc/CMakeLists.txt index 6919b026d4b7..bc858c55278a 100644 --- a/tests/lib/mem_alloc/CMakeLists.txt +++ b/tests/lib/mem_alloc/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mem_alloc) diff --git a/tests/lib/rbtree/CMakeLists.txt b/tests/lib/rbtree/CMakeLists.txt index 769f95339a44..3042cbcf1b36 100644 --- a/tests/lib/rbtree/CMakeLists.txt +++ b/tests/lib/rbtree/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(rbtree) diff --git a/tests/lib/ringbuffer/CMakeLists.txt b/tests/lib/ringbuffer/CMakeLists.txt index 3b19ad8d96c2..144fe031bdc8 100644 --- a/tests/lib/ringbuffer/CMakeLists.txt +++ b/tests/lib/ringbuffer/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(ringbuffer) diff --git a/tests/lib/sprintf/CMakeLists.txt b/tests/lib/sprintf/CMakeLists.txt index 977f6b62db0e..12d455fcc96e 100644 --- a/tests/lib/sprintf/CMakeLists.txt +++ b/tests/lib/sprintf/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(sprintf) diff --git a/tests/misc/test_build/CMakeLists.txt b/tests/misc/test_build/CMakeLists.txt index 9e3e71b37123..4ac159a25718 100644 --- a/tests/misc/test_build/CMakeLists.txt +++ b/tests/misc/test_build/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(test_build) diff --git a/tests/misc/util/CMakeLists.txt b/tests/misc/util/CMakeLists.txt index edacd9358ea9..0b1bfc6258bf 100644 --- a/tests/misc/util/CMakeLists.txt +++ b/tests/misc/util/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(util) diff --git a/tests/net/6lo/CMakeLists.txt b/tests/net/6lo/CMakeLists.txt index b677c09aa825..86a0ceda4fb7 100644 --- a/tests/net/6lo/CMakeLists.txt +++ b/tests/net/6lo/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(6lo) diff --git a/tests/net/all/CMakeLists.txt b/tests/net/all/CMakeLists.txt index 4491e40bd90c..fa603b3c27a1 100644 --- a/tests/net/all/CMakeLists.txt +++ b/tests/net/all/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(all) diff --git a/tests/net/arp/CMakeLists.txt b/tests/net/arp/CMakeLists.txt index 60dd9ff609b3..f3ed56cdbcd6 100644 --- a/tests/net/arp/CMakeLists.txt +++ b/tests/net/arp/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(arp) diff --git a/tests/net/buf/CMakeLists.txt b/tests/net/buf/CMakeLists.txt index cf0d64493fa4..8eeb6064e9ab 100644 --- a/tests/net/buf/CMakeLists.txt +++ b/tests/net/buf/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(buf) diff --git a/tests/net/checksum_offload/CMakeLists.txt b/tests/net/checksum_offload/CMakeLists.txt index b40df26d2e33..d3dbcaa59361 100644 --- a/tests/net/checksum_offload/CMakeLists.txt +++ b/tests/net/checksum_offload/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(checksum_offload) diff --git a/tests/net/context/CMakeLists.txt b/tests/net/context/CMakeLists.txt index b36865da65e2..80c32547ffe3 100644 --- a/tests/net/context/CMakeLists.txt +++ b/tests/net/context/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(net_context) diff --git a/tests/net/dhcpv4/CMakeLists.txt b/tests/net/dhcpv4/CMakeLists.txt index c307b74524c8..c394593045cd 100644 --- a/tests/net/dhcpv4/CMakeLists.txt +++ b/tests/net/dhcpv4/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(dhcpv4) diff --git a/tests/net/ethernet_mgmt/CMakeLists.txt b/tests/net/ethernet_mgmt/CMakeLists.txt index 455f00e9ed62..d7466875f5bf 100644 --- a/tests/net/ethernet_mgmt/CMakeLists.txt +++ b/tests/net/ethernet_mgmt/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(ethernet_mgmt) diff --git a/tests/net/icmpv6/CMakeLists.txt b/tests/net/icmpv6/CMakeLists.txt index a6460e03ddd9..75e5a85f2f69 100644 --- a/tests/net/icmpv6/CMakeLists.txt +++ b/tests/net/icmpv6/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(icmpv6) diff --git a/tests/net/ieee802154/crypto/CMakeLists.txt b/tests/net/ieee802154/crypto/CMakeLists.txt index 85420d871bf8..1195a68ef66a 100644 --- a/tests/net/ieee802154/crypto/CMakeLists.txt +++ b/tests/net/ieee802154/crypto/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(crypto) diff --git a/tests/net/ieee802154/fragment/CMakeLists.txt b/tests/net/ieee802154/fragment/CMakeLists.txt index 51c9dda90096..56a7227dac2e 100644 --- a/tests/net/ieee802154/fragment/CMakeLists.txt +++ b/tests/net/ieee802154/fragment/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(fragment) diff --git a/tests/net/ieee802154/l2/CMakeLists.txt b/tests/net/ieee802154/l2/CMakeLists.txt index d01c82454045..92690d0a223f 100644 --- a/tests/net/ieee802154/l2/CMakeLists.txt +++ b/tests/net/ieee802154/l2/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(l2) diff --git a/tests/net/iface/CMakeLists.txt b/tests/net/iface/CMakeLists.txt index 3e5b12f9e4fc..f3704d494136 100644 --- a/tests/net/iface/CMakeLists.txt +++ b/tests/net/iface/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(iface) diff --git a/tests/net/ip-addr/CMakeLists.txt b/tests/net/ip-addr/CMakeLists.txt index dccc41f28ffb..fadf90b23166 100644 --- a/tests/net/ip-addr/CMakeLists.txt +++ b/tests/net/ip-addr/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(ip-addr) diff --git a/tests/net/ipv6/CMakeLists.txt b/tests/net/ipv6/CMakeLists.txt index c262dad64357..1786b8bb0625 100644 --- a/tests/net/ipv6/CMakeLists.txt +++ b/tests/net/ipv6/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(ipv6) diff --git a/tests/net/ipv6_fragment/CMakeLists.txt b/tests/net/ipv6_fragment/CMakeLists.txt index efd24fc83aed..32a4fced8f80 100644 --- a/tests/net/ipv6_fragment/CMakeLists.txt +++ b/tests/net/ipv6_fragment/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(ipv6_fragment) diff --git a/tests/net/lib/coap/CMakeLists.txt b/tests/net/lib/coap/CMakeLists.txt index c724a12f8306..7eff6a9b63b4 100644 --- a/tests/net/lib/coap/CMakeLists.txt +++ b/tests/net/lib/coap/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(NONE) diff --git a/tests/net/lib/dns_packet/CMakeLists.txt b/tests/net/lib/dns_packet/CMakeLists.txt index b618b0f69690..d8b19e9bf7cb 100644 --- a/tests/net/lib/dns_packet/CMakeLists.txt +++ b/tests/net/lib/dns_packet/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(dns_packet) diff --git a/tests/net/lib/dns_resolve/CMakeLists.txt b/tests/net/lib/dns_resolve/CMakeLists.txt index 8f46de0a5f92..121d2c418372 100644 --- a/tests/net/lib/dns_resolve/CMakeLists.txt +++ b/tests/net/lib/dns_resolve/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(dns_resolve) diff --git a/tests/net/lib/http_header_fields/CMakeLists.txt b/tests/net/lib/http_header_fields/CMakeLists.txt index db755b74c462..4a1ae40a1cea 100644 --- a/tests/net/lib/http_header_fields/CMakeLists.txt +++ b/tests/net/lib/http_header_fields/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(http_header_fields) diff --git a/tests/net/lib/mqtt_packet/CMakeLists.txt b/tests/net/lib/mqtt_packet/CMakeLists.txt index 4f5bf58fec33..f3d45ee6ec88 100644 --- a/tests/net/lib/mqtt_packet/CMakeLists.txt +++ b/tests/net/lib/mqtt_packet/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/tests/net/lib/mqtt_publisher/CMakeLists.txt b/tests/net/lib/mqtt_publisher/CMakeLists.txt index f6192d24daf9..fafc64951859 100644 --- a/tests/net/lib/mqtt_publisher/CMakeLists.txt +++ b/tests/net/lib/mqtt_publisher/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/tests/net/lib/mqtt_pubsub/CMakeLists.txt b/tests/net/lib/mqtt_pubsub/CMakeLists.txt index 0635ef6dbc61..afc22ac9d8a2 100644 --- a/tests/net/lib/mqtt_pubsub/CMakeLists.txt +++ b/tests/net/lib/mqtt_pubsub/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/tests/net/lib/mqtt_subscriber/CMakeLists.txt b/tests/net/lib/mqtt_subscriber/CMakeLists.txt index 0635ef6dbc61..afc22ac9d8a2 100644 --- a/tests/net/lib/mqtt_subscriber/CMakeLists.txt +++ b/tests/net/lib/mqtt_subscriber/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/tests/net/lib/tls_credentials/CMakeLists.txt b/tests/net/lib/tls_credentials/CMakeLists.txt index 0842f4d22bf1..4e27e39b0997 100644 --- a/tests/net/lib/tls_credentials/CMakeLists.txt +++ b/tests/net/lib/tls_credentials/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(tls_credentials) diff --git a/tests/net/mgmt/CMakeLists.txt b/tests/net/mgmt/CMakeLists.txt index 07e8eaa05f02..6f1dab1e0ad4 100644 --- a/tests/net/mgmt/CMakeLists.txt +++ b/tests/net/mgmt/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mgmt) diff --git a/tests/net/mld/CMakeLists.txt b/tests/net/mld/CMakeLists.txt index d20cb981ff44..0e84b3365fd5 100644 --- a/tests/net/mld/CMakeLists.txt +++ b/tests/net/mld/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mld) diff --git a/tests/net/neighbor/CMakeLists.txt b/tests/net/neighbor/CMakeLists.txt index 0d0fbddb7ff4..a6c6d25adac4 100644 --- a/tests/net/neighbor/CMakeLists.txt +++ b/tests/net/neighbor/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(neighbor) diff --git a/tests/net/net_pkt/CMakeLists.txt b/tests/net/net_pkt/CMakeLists.txt index 2ae23c46a879..162042cd90c6 100644 --- a/tests/net/net_pkt/CMakeLists.txt +++ b/tests/net/net_pkt/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(net_pkt) diff --git a/tests/net/promiscuous/CMakeLists.txt b/tests/net/promiscuous/CMakeLists.txt index 267517f51b39..2daaf87fa79e 100644 --- a/tests/net/promiscuous/CMakeLists.txt +++ b/tests/net/promiscuous/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(promiscuous) diff --git a/tests/net/ptp/clock/CMakeLists.txt b/tests/net/ptp/clock/CMakeLists.txt index aef2c4d03f1b..05f7711d999a 100644 --- a/tests/net/ptp/clock/CMakeLists.txt +++ b/tests/net/ptp/clock/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(clock) diff --git a/tests/net/route/CMakeLists.txt b/tests/net/route/CMakeLists.txt index d20b1c839960..74b08a177ed8 100644 --- a/tests/net/route/CMakeLists.txt +++ b/tests/net/route/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(route) diff --git a/tests/net/socket/getaddrinfo/CMakeLists.txt b/tests/net/socket/getaddrinfo/CMakeLists.txt index 7e1a93ede1a9..efc66376cdfd 100644 --- a/tests/net/socket/getaddrinfo/CMakeLists.txt +++ b/tests/net/socket/getaddrinfo/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(getaddrinfo) diff --git a/tests/net/socket/getnameinfo/CMakeLists.txt b/tests/net/socket/getnameinfo/CMakeLists.txt index 48d975e9f81f..2ca5bce9563a 100644 --- a/tests/net/socket/getnameinfo/CMakeLists.txt +++ b/tests/net/socket/getnameinfo/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(getnameinfo) diff --git a/tests/net/socket/misc/CMakeLists.txt b/tests/net/socket/misc/CMakeLists.txt index 15c894409fee..f51be36ce91d 100644 --- a/tests/net/socket/misc/CMakeLists.txt +++ b/tests/net/socket/misc/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(socket-misc) diff --git a/tests/net/socket/poll/CMakeLists.txt b/tests/net/socket/poll/CMakeLists.txt index 793a9400b689..03f535dfe85e 100644 --- a/tests/net/socket/poll/CMakeLists.txt +++ b/tests/net/socket/poll/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(socket_poll) diff --git a/tests/net/socket/select/CMakeLists.txt b/tests/net/socket/select/CMakeLists.txt index d984719d0b2a..9173dc8a657d 100644 --- a/tests/net/socket/select/CMakeLists.txt +++ b/tests/net/socket/select/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(select) diff --git a/tests/net/socket/tcp/CMakeLists.txt b/tests/net/socket/tcp/CMakeLists.txt index 953458f37438..ab7c7a1cab1d 100644 --- a/tests/net/socket/tcp/CMakeLists.txt +++ b/tests/net/socket/tcp/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(socket_tcp) diff --git a/tests/net/socket/udp/CMakeLists.txt b/tests/net/socket/udp/CMakeLists.txt index 3e6ecfb31396..06576e141f3e 100644 --- a/tests/net/socket/udp/CMakeLists.txt +++ b/tests/net/socket/udp/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(socket_udp) diff --git a/tests/net/tcp/CMakeLists.txt b/tests/net/tcp/CMakeLists.txt index ee0dbe14e795..3f16364d50ee 100644 --- a/tests/net/tcp/CMakeLists.txt +++ b/tests/net/tcp/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(tcp) diff --git a/tests/net/traffic_class/CMakeLists.txt b/tests/net/traffic_class/CMakeLists.txt index 05844a667c5e..e9a45b75a005 100644 --- a/tests/net/traffic_class/CMakeLists.txt +++ b/tests/net/traffic_class/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(traffic_class) diff --git a/tests/net/trickle/CMakeLists.txt b/tests/net/trickle/CMakeLists.txt index 1beda60300b2..f296e4566d56 100644 --- a/tests/net/trickle/CMakeLists.txt +++ b/tests/net/trickle/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(trickle) diff --git a/tests/net/tx_timestamp/CMakeLists.txt b/tests/net/tx_timestamp/CMakeLists.txt index 028b39f3535b..3a00038e1afe 100644 --- a/tests/net/tx_timestamp/CMakeLists.txt +++ b/tests/net/tx_timestamp/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(tx_timestamp) diff --git a/tests/net/udp/CMakeLists.txt b/tests/net/udp/CMakeLists.txt index 643aa50bfe53..9eef1ebe944b 100644 --- a/tests/net/udp/CMakeLists.txt +++ b/tests/net/udp/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(udp) diff --git a/tests/net/utils/CMakeLists.txt b/tests/net/utils/CMakeLists.txt index 7bc37c06a7bb..b649bf384aa5 100644 --- a/tests/net/utils/CMakeLists.txt +++ b/tests/net/utils/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(utils) diff --git a/tests/net/vlan/CMakeLists.txt b/tests/net/vlan/CMakeLists.txt index e5fa435843ef..56963a2dfe43 100644 --- a/tests/net/vlan/CMakeLists.txt +++ b/tests/net/vlan/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(vlan) diff --git a/tests/posix/common/CMakeLists.txt b/tests/posix/common/CMakeLists.txt index 4550edce1940..dcc43da1ef63 100644 --- a/tests/posix/common/CMakeLists.txt +++ b/tests/posix/common/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(posix_common) diff --git a/tests/posix/fs/CMakeLists.txt b/tests/posix/fs/CMakeLists.txt index b123cc4ddb23..8d7c60607bb6 100644 --- a/tests/posix/fs/CMakeLists.txt +++ b/tests/posix/fs/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(fs) diff --git a/tests/shell/CMakeLists.txt b/tests/shell/CMakeLists.txt index 3d6b87c31f1b..a9863083453a 100644 --- a/tests/shell/CMakeLists.txt +++ b/tests/shell/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(shell) diff --git a/tests/subsys/can/frame/CMakeLists.txt b/tests/subsys/can/frame/CMakeLists.txt index a232ac2349f2..150fb359f6c3 100644 --- a/tests/subsys/can/frame/CMakeLists.txt +++ b/tests/subsys/can/frame/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(can_frame) diff --git a/tests/subsys/dfu/img_util/CMakeLists.txt b/tests/subsys/dfu/img_util/CMakeLists.txt index e445d83890c3..9367a38bda32 100644 --- a/tests/subsys/dfu/img_util/CMakeLists.txt +++ b/tests/subsys/dfu/img_util/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(img_util) diff --git a/tests/subsys/dfu/mcuboot/CMakeLists.txt b/tests/subsys/dfu/mcuboot/CMakeLists.txt index 44a6db14cf58..0e81097c7aab 100644 --- a/tests/subsys/dfu/mcuboot/CMakeLists.txt +++ b/tests/subsys/dfu/mcuboot/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(mcuboot) diff --git a/tests/subsys/fs/fat_fs_api/CMakeLists.txt b/tests/subsys/fs/fat_fs_api/CMakeLists.txt index 7e183fe2ec6c..c4c4b74b0aa3 100644 --- a/tests/subsys/fs/fat_fs_api/CMakeLists.txt +++ b/tests/subsys/fs/fat_fs_api/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(fat_fs_api) diff --git a/tests/subsys/fs/fat_fs_dual_drive/CMakeLists.txt b/tests/subsys/fs/fat_fs_dual_drive/CMakeLists.txt index 447eae9784e5..e977baf6dbe0 100644 --- a/tests/subsys/fs/fat_fs_dual_drive/CMakeLists.txt +++ b/tests/subsys/fs/fat_fs_dual_drive/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(fat_fs_dual_drive) diff --git a/tests/subsys/fs/fcb/CMakeLists.txt b/tests/subsys/fs/fcb/CMakeLists.txt index 21d8e05b8fb7..f96cd15a7a48 100644 --- a/tests/subsys/fs/fcb/CMakeLists.txt +++ b/tests/subsys/fs/fcb/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(fs_fcb) diff --git a/tests/subsys/fs/multi-fs/CMakeLists.txt b/tests/subsys/fs/multi-fs/CMakeLists.txt index 9671f9da0174..9f59fca80083 100644 --- a/tests/subsys/fs/multi-fs/CMakeLists.txt +++ b/tests/subsys/fs/multi-fs/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(multi-fs) diff --git a/tests/subsys/fs/nffs_fs_api/basic/CMakeLists.txt b/tests/subsys/fs/nffs_fs_api/basic/CMakeLists.txt index 3a7cebf9a83b..d2b14fbfa102 100644 --- a/tests/subsys/fs/nffs_fs_api/basic/CMakeLists.txt +++ b/tests/subsys/fs/nffs_fs_api/basic/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) if(BOARD STREQUAL nrf52840_pca10056) set(CONF_FILE nrf5x.conf) diff --git a/tests/subsys/fs/nffs_fs_api/cache/CMakeLists.txt b/tests/subsys/fs/nffs_fs_api/cache/CMakeLists.txt index 4a61590e1ee3..71904d8b8575 100644 --- a/tests/subsys/fs/nffs_fs_api/cache/CMakeLists.txt +++ b/tests/subsys/fs/nffs_fs_api/cache/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) if(BOARD STREQUAL nrf52840_pca10056) set(CONF_FILE nrf5x.conf) diff --git a/tests/subsys/fs/nffs_fs_api/large/CMakeLists.txt b/tests/subsys/fs/nffs_fs_api/large/CMakeLists.txt index 33db317dcf6a..0e8ac768f421 100644 --- a/tests/subsys/fs/nffs_fs_api/large/CMakeLists.txt +++ b/tests/subsys/fs/nffs_fs_api/large/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) if(BOARD STREQUAL nrf52840_pca10056) set(CONF_FILE nrf5x.conf) diff --git a/tests/subsys/fs/nffs_fs_api/performance/CMakeLists.txt b/tests/subsys/fs/nffs_fs_api/performance/CMakeLists.txt index ba86c2d6e8c7..24cea960d53a 100644 --- a/tests/subsys/fs/nffs_fs_api/performance/CMakeLists.txt +++ b/tests/subsys/fs/nffs_fs_api/performance/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) if(BOARD STREQUAL nrf52840_pca10056) set(CONF_FILE nrf5x.conf) diff --git a/tests/subsys/jwt/CMakeLists.txt b/tests/subsys/jwt/CMakeLists.txt index ff28d5e8a9a7..209363fd8f62 100644 --- a/tests/subsys/jwt/CMakeLists.txt +++ b/tests/subsys/jwt/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.8) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) diff --git a/tests/subsys/logging/log_core/CMakeLists.txt b/tests/subsys/logging/log_core/CMakeLists.txt index 44823f0b70ee..00e831d5e5fa 100644 --- a/tests/subsys/logging/log_core/CMakeLists.txt +++ b/tests/subsys/logging/log_core/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(log_core) diff --git a/tests/subsys/logging/log_list/CMakeLists.txt b/tests/subsys/logging/log_list/CMakeLists.txt index 438fae1fd2aa..324967a3d2a3 100644 --- a/tests/subsys/logging/log_list/CMakeLists.txt +++ b/tests/subsys/logging/log_list/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(log_list) diff --git a/tests/subsys/logging/log_msg/CMakeLists.txt b/tests/subsys/logging/log_msg/CMakeLists.txt index 9c487fb7c932..f3cc43f27058 100644 --- a/tests/subsys/logging/log_msg/CMakeLists.txt +++ b/tests/subsys/logging/log_msg/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(log_msg) diff --git a/tests/subsys/logging/log_output/CMakeLists.txt b/tests/subsys/logging/log_output/CMakeLists.txt index 8d3d2daf0542..405f44adc44b 100644 --- a/tests/subsys/logging/log_output/CMakeLists.txt +++ b/tests/subsys/logging/log_output/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(log_output) diff --git a/tests/subsys/settings/fcb/base64/CMakeLists.txt b/tests/subsys/settings/fcb/base64/CMakeLists.txt index 4a4716e32ee0..f2aba3929cb7 100644 --- a/tests/subsys/settings/fcb/base64/CMakeLists.txt +++ b/tests/subsys/settings/fcb/base64/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(settings_fcb) diff --git a/tests/subsys/settings/fcb/raw/CMakeLists.txt b/tests/subsys/settings/fcb/raw/CMakeLists.txt index 7087d98b8556..9bbc952addc0 100644 --- a/tests/subsys/settings/fcb/raw/CMakeLists.txt +++ b/tests/subsys/settings/fcb/raw/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(NONE) diff --git a/tests/subsys/settings/fcb_init/CMakeLists.txt b/tests/subsys/settings/fcb_init/CMakeLists.txt index 5c285c9b0d7c..e7fea73f3de2 100644 --- a/tests/subsys/settings/fcb_init/CMakeLists.txt +++ b/tests/subsys/settings/fcb_init/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(fcb_init) diff --git a/tests/subsys/settings/nffs/base64/CMakeLists.txt b/tests/subsys/settings/nffs/base64/CMakeLists.txt index 72243a9651f9..2a2f04d7c72a 100644 --- a/tests/subsys/settings/nffs/base64/CMakeLists.txt +++ b/tests/subsys/settings/nffs/base64/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(nffs) diff --git a/tests/subsys/settings/nffs/raw/CMakeLists.txt b/tests/subsys/settings/nffs/raw/CMakeLists.txt index 90e7cb111b47..88aed316bab8 100644 --- a/tests/subsys/settings/nffs/raw/CMakeLists.txt +++ b/tests/subsys/settings/nffs/raw/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(NONE) diff --git a/tests/subsys/storage/flash_map/CMakeLists.txt b/tests/subsys/storage/flash_map/CMakeLists.txt index 0d1cacd1c43d..f91381035afc 100644 --- a/tests/subsys/storage/flash_map/CMakeLists.txt +++ b/tests/subsys/storage/flash_map/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(flash_map) diff --git a/tests/subsys/usb/bos/CMakeLists.txt b/tests/subsys/usb/bos/CMakeLists.txt index 1b1ded2e814e..edb6c6898e4f 100644 --- a/tests/subsys/usb/bos/CMakeLists.txt +++ b/tests/subsys/usb/bos/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(bos) diff --git a/tests/subsys/usb/desc_sections/CMakeLists.txt b/tests/subsys/usb/desc_sections/CMakeLists.txt index c22fc0187133..1ef0862a5367 100644 --- a/tests/subsys/usb/desc_sections/CMakeLists.txt +++ b/tests/subsys/usb/desc_sections/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(os_desc) diff --git a/tests/subsys/usb/device/CMakeLists.txt b/tests/subsys/usb/device/CMakeLists.txt index 30e1691e479a..a69ce66e570b 100644 --- a/tests/subsys/usb/device/CMakeLists.txt +++ b/tests/subsys/usb/device/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(usb_device_test) diff --git a/tests/subsys/usb/os_desc/CMakeLists.txt b/tests/subsys/usb/os_desc/CMakeLists.txt index c22fc0187133..1ef0862a5367 100644 --- a/tests/subsys/usb/os_desc/CMakeLists.txt +++ b/tests/subsys/usb/os_desc/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(os_desc) diff --git a/tests/unit/bluetooth/at/CMakeLists.txt b/tests/unit/bluetooth/at/CMakeLists.txt index a80cd21d3d61..acca43cb27b4 100644 --- a/tests/unit/bluetooth/at/CMakeLists.txt +++ b/tests/unit/bluetooth/at/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(at) diff --git a/tests/unit/lib/crc/CMakeLists.txt b/tests/unit/lib/crc/CMakeLists.txt index 20578b805ba0..d25804cf1906 100644 --- a/tests/unit/lib/crc/CMakeLists.txt +++ b/tests/unit/lib/crc/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + project(crc) include($ENV{ZEPHYR_BASE}/subsys/testsuite/unittest.cmake) diff --git a/tests/ztest/base/CMakeLists.txt b/tests/ztest/base/CMakeLists.txt index c5a979494f5a..8ef9a91c3aec 100644 --- a/tests/ztest/base/CMakeLists.txt +++ b/tests/ztest/base/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) if(BOARD STREQUAL unit_testing) list(APPEND SOURCES src/main.c) diff --git a/tests/ztest/mock/CMakeLists.txt b/tests/ztest/mock/CMakeLists.txt index d475ce6f1f2c..46bd8dd8ad3d 100644 --- a/tests/ztest/mock/CMakeLists.txt +++ b/tests/ztest/mock/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + cmake_minimum_required(VERSION 3.13.1) if(BOARD STREQUAL unit_testing) list(APPEND SOURCES src/main.c)