From 3ae52624ffa129dfd1b0f5dc337afd1ddd6c4c1c Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sat, 6 Apr 2019 09:08:09 -0400 Subject: [PATCH] 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 e655e689518..85e96b25887 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 6d9d7ebe656..1ffdc3b2f45 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 1685c08a2d0..49b2f555249 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 b97eb6f9e63..a2dca8d6eed 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 8fdc3edaaf8..a81e4ebdb2c 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 3e76e8ba10d..456150e1f8e 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 0cde3e5ea87..8ff1502c8ac 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 adf8e9a281e..58d0d840914 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 a8cb69dc28f..5d779e8175f 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 466ac737f47..5a552e22b62 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 2e6ff46fc3b..36fe6123e20 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 1a5f3b5192a..59a8a178166 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 ec9eb1ccec8..f0424b169b6 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 602ec398f03..63ecaaffed4 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 fddeb616f7c..35110ed4480 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 9e052a5ae9b..edf13fee5b2 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 a902d8f6a9a..b4a03b8fb65 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 69c8e2693f4..4b671326976 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 c948b5f48b5..3b1ecb492d4 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 e5b524b752e..876ca4bff00 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 7975866fdeb..ac7ce2c9fd4 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 ce96f836f33..c4dc9b90fe7 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 9c779afd574..c9200c61cd7 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 a9b393f6dec..7500666364a 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 16e50761c63..3eb4d869f9e 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 235b576e648..dd8907f51bd 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 83b543333ae..133d74331d8 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 672d897cd81..c364d3f8272 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 e55af6e1f0f..c3283d90064 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 e7cdc7eea7d..943e52667e2 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 b19a284c521..08498c5b763 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 44c599e2027..4855396977d 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 9a811e59797..7051ecf7c33 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 b08d3623b7f..e3699f14e7f 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 539ab2fadc7..c8211f14d7a 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 a249dddc593..cbedaec93c3 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 326f6656e23..5b1b4b9b11b 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 0493d1d540f..f0c77565674 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 02525f205af..c5df901aa16 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 b3ec81b9324..ec5ca679322 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 4afa2b29f44..15414a29951 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 2f4d5c5978d..0dd02c0bbb5 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 ab8c69d8339..77ab17a9c6a 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 feb150c6892..bdbcb53f252 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 ba9f9e45f8f..28d0f0d11cc 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 6de7c4afa6e..e388aab60f5 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 02525f205af..c5df901aa16 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 e69de29bb2d..0f1a02d0213 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 53064480e73..fefe37d7dff 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 ba9f9e45f8f..28d0f0d11cc 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 7e1c0170f5f..9b9325ccc8c 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 d4234b39ba3..e3eddf89b42 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 bb002d3b3b2..2398d33c694 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 fe924fa8e3d..a977a804242 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 0b954046746..fa97ff7e9a1 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 18a7e49f2c8..c4bfc88f1d2 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 6cf23f085db..d1a90e4d665 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 10416e67065..dcd79333070 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 6c509bb0be0..f0d86376cab 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 803d774112e..66a138b2aa8 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 b7b5abc728d..50dc443714f 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 e792356e13b..0f08a3092f0 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 aa8826b2113..bd78505d38b 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 65aa2422d56..5859b16560d 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 aa8826b2113..bd78505d38b 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 5dbb01e1f1b..2e222be114c 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 5606b1b2e4c..1662ae18070 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 61a20457470..4f57013337b 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 aa8826b2113..bd78505d38b 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 e11aae323b9..164bc083b19 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 2c285e42dd0..3f941235589 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 69886a4e55c..5118a0b2b9e 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 96ab6caa781..69ff5e8fbf8 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 1e21d77afb4..8d68715fc74 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 96ab6caa781..69ff5e8fbf8 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 668e91cc06a..768cc65a371 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 359f95bf3e9..91ce9a30285 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 8e2f7619abf..08e6fcf5f4d 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 1694a49d8b8..cb4ff22b5cc 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 96ab6caa781..69ff5e8fbf8 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 6021449d0e4..a18a7967782 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 96ab6caa781..69ff5e8fbf8 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 dc42af76622..6fa51c8778e 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 aa8826b2113..bd78505d38b 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 3fc4739acc7..07e6ce28f55 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 5edccfb1a66..cbeaea2e456 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 74cf8d550ba..e8cd301a5ba 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 3a2049869cb..5ff914cd210 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 75b0c07125b..d635e45b05d 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 1181243fbfe..ddd57ab8839 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 03d4d4264c9..36702abb082 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 1181243fbfe..ddd57ab8839 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 aa8826b2113..bd78505d38b 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 e5c8e6975d5..04348d1cad8 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 6ebecc778d6..b2566891a00 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 e7e7aff1c54..9735ce0d19d 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 986873096bb..a88265eeb2c 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 9f98e677f9d..6e2b5e9e168 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 acd616ce8fe..d708f54e0e3 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 b5569570cc2..b5455c53bbe 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 b166ec66eaa..e28c9451878 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 73ae7abc2ee..f09ebf47416 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 90afb449b03..2d9da2a8f5c 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 fedc7e19582..7d93487deb8 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 41cfb24ef04..ca970ffdd85 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 0c35d352f47..24a92abf8fb 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 28b125c6ff7..4cd6f6c2367 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 fedc7e19582..7d93487deb8 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 63edd59ba8b..6d93cac89cc 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 0c35d352f47..24a92abf8fb 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 cd5addc2d73..3f99de0e26e 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 a1f4c731ec9..97a2be24392 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 70d2564427c..1e2d688ccf4 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 fe3635c2050..a176e416064 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 de00e2220ad..d57ffc90708 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 0025f97b5fb..bba773a90cc 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 e7f6da074f1..d1691d745ee 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 664e6049102..bdba9539b59 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 fe3635c2050..a176e416064 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 7765a63de82..f9f5bf57c79 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 e113e1a6c43..2a942b672a6 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 7edec8f9041..5d3c9b6b992 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 aa8826b2113..bd78505d38b 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 6b5718f156c..191026c761c 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 d1473614ea3..058df731c8c 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 9a88574c749..6416cf57ecb 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 aa8826b2113..bd78505d38b 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 e21e0968153..e8ddbf24f76 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 470b9be50e2..fd378ef01ee 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 bbc4607aaa9..57ea68cb834 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 aa8826b2113..bd78505d38b 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 e4c9b877258..da6f919ba93 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 e5f410567f5..063fb0d75cd 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 2feceac1057..0e5f44c3fe3 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 aa8826b2113..bd78505d38b 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 2e36f270856..dc565f497ca 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 a7e453e91ee..5423d8602e3 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 b97a58124aa..4681680bbe2 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 a4d456604cf..619a5aaf18c 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 ca651fcd143..109e7ae6c3e 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 4640eb08bd4..59c6ce40378 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 6a60a54a317..ee527568f75 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 417310e39fe..a3e5539d32c 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 4151cb6f50f..a29fa16976c 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 3c1bf6d809b..557fccd7bcb 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 3a2049869cb..5ff914cd210 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 b9a3c5a6e54..5541720a135 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 4151cb6f50f..a29fa16976c 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 223a45ff2ff..94177e85d07 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 3a2049869cb..5ff914cd210 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 b0800ecf7ac..3128a50b2da 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 860756b31c3..a6b555e9e74 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 1181243fbfe..ddd57ab8839 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 9aa0d6316e9..7d3bec12db0 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 2c285e42dd0..3f941235589 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 3b4cef550a9..b794da41440 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 8dd18395070..259ebcf07f9 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 23517ffe0b4..bbf246ec636 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 2c285e42dd0..3f941235589 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 6a0225bb90f..f35dc109b21 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 8dd18395070..259ebcf07f9 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 956c755275a..e2389dbbdd7 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 1181243fbfe..ddd57ab8839 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 7f4695a2696..90d405dbd79 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 d82183efffc..a13eb4c1966 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 13ce30af143..7aa4b2f4a51 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 06f3011b954..6cc3d13101a 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 7ad4381f652..a4a41e43b44 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 1181243fbfe..ddd57ab8839 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 fcbf25234b5..5f9d8ab43d7 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 5ab3318a5c9..cf43e8d7550 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 785ef9ed1b9..a84ddf9cf0d 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 2c285e42dd0..3f941235589 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 69c25f4070a..28ee551ab25 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 1181243fbfe..ddd57ab8839 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 9bf17690c57..bf5d244c965 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 d82183efffc..a13eb4c1966 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 e1d56a343e7..ceef68ad051 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 eda8d943878..1ebd2f6d93a 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 edee615d34a..84612c7b738 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 521ecf6b165..37530771359 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 2c285e42dd0..3f941235589 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 fe11186f1ea..874dbf05617 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 c59fc5aa28d..3d655f4e90c 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 b6baf46e090..e294ecedbf4 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 ecefc497ce9..27fc0cbe677 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 e47302bc4ee..ed920fb7841 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 aa8826b2113..bd78505d38b 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 348d4cff6a7..57dab04923f 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 ff26cc33913..6aedc4ae4d0 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 3012df76dac..af686f35da6 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 e51d7cc84d7..f52f99b2db3 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 a700f3c235d..b32b6144e13 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 5edccfb1a66..cbeaea2e456 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 b2cc60f5b3c..266ce1149a2 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 4fae4d17764..9b2440d9fd5 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 717dd5a8cae..4ba3bce1020 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 4d3b13df124..0421776653d 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 cdfbd77a312..777b83b660c 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 2409f68dab1..a3d11f54067 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 50e2cd878c6..717f3f1b833 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 aa8826b2113..bd78505d38b 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 6d4bae77003..e0f969632ff 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 dac46680757..f8c51af96fb 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 072694a98bc..cd5fea8d0fb 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 72fa43de9cb..1ac8d467d8e 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 b8a5742e634..37caa30e85e 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 5cfb99cadd9..26e808b8068 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 303ca685fc5..df5a76fbeb2 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 31789de2720..2d97514338b 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 579a8915df4..5ce259e8f5d 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 f778c80b1c7..019638170ab 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 a700f3c235d..b32b6144e13 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 5edccfb1a66..cbeaea2e456 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 4dd38c39af2..bd7d598476c 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 a3eee0c01f7..c9b968b0069 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 6788257e56f..5cacf02aa9a 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 99901097521..a4256498951 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 a5827a09591..ac0ba72e75c 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 00f8bbe04f2..6322724df89 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 86e7183dc9c..e98aadb356c 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 8aedad6a51f..d81962f16bf 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 cf29656a491..683da01339e 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 8d99f28d38b..a0ddfb89224 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 f5255441fb7..f921c301b34 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 d82183efffc..a13eb4c1966 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 b3895225c2b..4a1a966e788 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 201aab3b1d1..da17d446eb0 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 e3d78700f79..e0129740842 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 41af698dcf1..be3eafe6c9e 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 15384cb7c5d..a394281dcbb 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 72f33c8288a..002adebca04 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 f7951c291c8..5c8f6373ded 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 7622543cb8c..7d170bf2b82 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 bf1366fffb8..0ac0479b5e5 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 ec4c88ba789..f679298d0b4 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 aa8826b2113..bd78505d38b 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 2b06911ef78..dc46d3376e8 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 716ef57595f..493aca39f35 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 25dd94a107b..d31de29629e 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 dd720fb789b..fc5ac88c430 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 b672efe5d5b..4d3b72f7180 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 a9ba8696601..50b600df999 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 f79a106cb47..795c9496ed7 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 8981ad58098..91b587d9a20 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 56db738a4a2..a4498f08ef8 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 a700f3c235d..b32b6144e13 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 5edccfb1a66..cbeaea2e456 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 44b59c907dc..b54ed6f8f6d 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 a700f3c235d..b32b6144e13 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 5edccfb1a66..cbeaea2e456 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 c6b37fb545d..7bb3038f32a 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 a700f3c235d..b32b6144e13 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 5edccfb1a66..cbeaea2e456 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 207b0c17096..43950c2e931 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 427d4b75d10..9559ef955fb 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 aa8826b2113..bd78505d38b 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 5edccfb1a66..cbeaea2e456 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 b80b170e0a6..27cbbef7325 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 9e1c03c43d4..0849d89e4ee 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 d0a4621f7e0..c33d56fe40f 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 74474927e2f..87dd2ef9a31 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 098d86a9d65..0386400ab8c 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 9d9e6e3c442..13a812f409a 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 cf3657fa332..278da2a17a0 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 ef8d4bfd842..276a9aa7124 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 0bfe40e975e..0ba4d70807b 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 ae3fc174fcb..a978fbf1f6c 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 f41cf3a9036..8aa84625670 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 42a5c48fd19..0ac373eb51d 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 bf23178e36f..3c99fc3b025 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 950eed652fa..6e59a2a3e70 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 f68689636d6..9d251dd46ab 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 2f7c203eeb9..8fae114275c 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 26b0cc54257..fd823b42b88 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 90b6641458e..90f467915bd 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 b891bfe6834..a23490c3435 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 69e2ff770a9..9cb81ca8ef2 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 024300a9334..cddc6c4652d 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 2c41da423e7..9e7a8dd873d 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 879b15ec412..de59ab26b4a 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 dd4ae5f58a4..0e6b88136f2 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 c4beaf518e5..b9400d66c95 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 38d7f1ab33c..a0752654551 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 9cb054b0614..468876de0a6 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 5ec39a8e741..39ea2f13563 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 5825ec97924..1b5b0198c0d 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 ef2293fba88..381458cf73d 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 62e1e3c2b6b..109c04a6690 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 c4a78fce884..564667c9099 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 226cf0da763..12f02f60749 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 8b888f4e29c..7afdaf6cac9 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 d0f756c1e37..65618654e50 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 44ac12237b5..4c33c7feef6 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 3fea7cb22a6..4812b9c5466 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 c4a78fce884..564667c9099 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 44cfd0d46a2..b8732fa2c95 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 d78027f9755..57202492510 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 de12651856f..c7ea951b74b 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 41c194fb050..a8f0f004804 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 8f41c274284..d0bcec6b1c2 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 6f3638a76ee..e284cf0cdad 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 f51a57bf090..e9928398b06 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 5dd35cc6246..80a15336ca4 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 da385ee51fe..9154176ece6 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 c152bf1aac3..c743f128453 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 877836610e0..5bc3a7377f2 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 484326156cb..4adf7ba848d 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 b89da0bca3f..444a16163bf 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 f11878b18ab..8afd210c308 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 81845432a5a..612c872d5c6 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 4dd19d525c1..2465ef49782 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 e9b1e141076..21cfea5c97f 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 d2830f50052..9bc25bae4c6 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 902e4c10605..1c36ce9cd7e 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 4e8acc97162..5707b060eb8 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 6b6ede231a3..e65bc49a33b 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 71347a05c30..7b94138c722 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 c7b27e621fc..42349ef7dc3 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 aa8826b2113..bd78505d38b 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 a001f63a2c7..b722bb31b61 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 3eeb1203d15..aaa092b562e 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 951730255d6..1cc530328ab 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 77b3fda1bb8..9956a97f0c7 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 63381af6d84..6843ad3d918 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 8fd8a8c62c3..3eb73dece1c 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 a20f7d65780..8ea821ac607 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 43b494cf4ff..975fedb67c7 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 dfb67827c9d..364f1ee03fe 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 46562442a46..d5fd3f06e01 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 11186042889..e150a5c7acb 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 2c8ec27a301..8b1b89af1e0 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 e66b24269c1..158d8f2a7fd 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 746f6d7f06f..ac2969f14ab 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 c5e8531789a..d33f54a7fb6 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 c81e438799c..736a4024061 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 502c8e2225e..197661d5e35 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 a8cf1c113b5..a07c89199ac 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 d20bad3cfbb..3ba8075abd6 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 679ec693d32..ab3f45004d8 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 f18d1d9445e..16fc2c36b6d 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 ebed13076f8..cac68cd695e 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 fda8d99d1d0..f0e151b7b9f 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 ebed13076f8..cac68cd695e 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 b178576f08c..0aa3c9e4e25 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 aa8826b2113..bd78505d38b 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 0e1bd67f302..cc098b86147 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 c8d20e6eed4..127c6e4dc05 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 5edccfb1a66..cbeaea2e456 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 9e094805d75..748d13d826b 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 bfc05bc61d0..ab1fd4c677c 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 59bb43451f7..836442f96cf 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 f86b5520b12..d2b10a8b7d1 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 1b88d3a8760..d8dfbfcc517 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 6c509bb0be0..f0d86376cab 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 82f003620f0..8bec6dfc4a1 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 1f5ec94cd7a..8a17fa70b2b 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 aa8826b2113..bd78505d38b 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 e47b6907295..1ce0d279869 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 075600f13c7..27c45714de0 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 8fd8a8c62c3..3eb73dece1c 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 ed897091533..e4e4cf35608 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 1ee8cf4fbf9..daa77b107be 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 eea429d2dc2..2512b763716 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 95eab78b92f..a55170494d7 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 2bc01ec908c..30e99486f4f 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 b93dde87a0c..9d96c931ef4 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 199739b55fe..5659f4f9769 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 a27fb7bc693..cfc7dfcac46 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 1409faac617..54173c0f5b7 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 7e7623a41b6..806fba0cc30 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 fa74dacff9a..45d3b9e7d42 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 7cdfe47ee28..4cd04257cc9 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 a33665082e1..59c62118ebb 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 5b7b548e22a..19bf7d7ffb9 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 b07094a12f9..4ac0e9c21c0 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 af503a6d103..71735daa671 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 2b461ec53ae..47b4ed05876 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 b7d8a2c30ac..aa04cf71208 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 b838d7cfe8d..f25298154db 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 b4047c1d012..a2f0e56faad 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 80f4fdaa95b..64c9be531dc 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 08992247c49..a97676a5e21 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 464abb0379f..d27120f9dcf 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 409a3cbf697..191de996292 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 461bc05f02b..228466e5e77 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 a0a9146ef2b..1f752fef569 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 932e91f8bc7..18c33f5f5f6 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 4e4d55d9e14..066872ca837 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 a3a3aa11bd0..172f1225167 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 bb8d34a1f0d..3d4904e6a59 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 6d29c2ae9e6..15fa8eb2d31 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 ea083335123..f4ec7d90bad 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 c8044a5beea..89b0888ea89 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 61453b0dbd5..cfe7f91aed7 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 1fdff732ce8..e0263adae26 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 aa75ead07f4..b5ea7833e13 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 a399f3a344d..545913c127a 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 7f405bc6829..be84aea9c39 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 4c1d2e564c4..a4030c08ef7 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 c942d37b03e..b3c3d090f79 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 0ed28e6f895..d2686044350 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 0f73a7bd74e..1fd03c38a95 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 583bb13d17b..e884299b0dd 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 5979fc2e873..8db8d4856ef 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 ec682b47fe3..3aa09440c04 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 0a44a1aa68d..3f889564ca9 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 67db7e91601..8dc58dd3a63 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 7f405bc6829..be84aea9c39 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 202713a7488..a4c19607bee 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 9aaa6882165..58e44b9a332 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 77c165d341e..d6d7f481fff 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 a2baf2f8990..bffa6153fbc 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 e4bec37ab2e..a68b09f6006 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 7a4158ccf65..6f1c5923979 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 f63ba8b4200..58d9fe3e4a8 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 e04e640d5a1..c669b04baff 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 a0743ff8eb0..be1e3b8acbf 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 76562ad4ff0..3c2bacd58c6 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 cabd8dbd2c0..b925de4f896 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 50fb8452978..83843a1300e 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 7b046e78c28..a0506e85f82 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 012172431a5..5823dc9109b 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 cc376941237..adf635a440a 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 2b5283f1c0b..1bad729118e 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 f78979716ff..002e87dc7e7 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 77866a212b7..b8cdc53ba6b 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 8855db2d88e..4e56c05ea6c 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 28cda5819dd..923bdae0ca8 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 fac24117e1e..7c2140dc828 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 43333f331c0..92674bfb561 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 c35d8be2dd6..4656d75229c 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 218d8921e51..5a1a0e51313 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 b2b74e4c3d2..d70cdcf7efe 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 218d8921e51..5a1a0e51313 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 db2ece96c5a..9113b3f7d4a 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 80a6663b9c6..b970dc3e7d8 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 64bf1ce2523..a4b9452f853 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 218d8921e51..5a1a0e51313 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 cff38d79e60..4c05a5fd19c 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 80a6663b9c6..b970dc3e7d8 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 a49ad2d0f76..88356a52cdb 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 80a6663b9c6..b970dc3e7d8 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 9286aee1244..de8d4cd71eb 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 80a6663b9c6..b970dc3e7d8 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 abb052ca036..32f5c447268 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 9bcaec2a3b8..7a5a6f0d9f8 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 b93b5889370..663136b771c 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 9466f94ebe5..843b2dea75b 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 bfc7e2e6f02..56e5e0b8ba9 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 f712010df8b..17c293ec95f 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 ee1a2bbe965..68f0761f3c7 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 52fe567d421..3602b513d86 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 859fca3bc0f..1db98b3d9e2 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 80828ce2b81..f2caf43b7e6 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 17dbb487e91..1c3b93bb688 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 9a1001de554..5b042a47fe4 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 1afc2d53d33..ad9245beeae 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 175b06f0f3c..f0eeb4a52f8 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 57fa9df556d..32b134dfb63 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 3f769c123a8..a6ad7723773 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 e0949295168..4ce037d2fe1 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 50fc57dbd3e..79e02e6f6db 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 0227be64755..42da0571c6f 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 bf622d648b5..70719ce1aff 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 ee09c765788..3da125b8dee 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 fb389ada301..d977310ac0e 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 b0743ead7de..22621d6bfdd 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 ffa93bdd1a5..ce2c51a6e00 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 640578a483c..f990a58d353 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 8c3e3dcfa3a..97309efeca0 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 7b683babc3d..3a0866a79bf 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 3808e8d29c6..d5220c71271 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 2f9cc373d73..11ad5670338 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 6301c23e8d3..450df500f48 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 3208b52d18a..d831cf7adc2 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 bd546671917..9a90cd9facf 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 594fe8a44bf..59118fb95e7 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 eda4cdcab68..0dfe171ffcc 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 5e1a321a758..491dea058bc 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 ae93d6aea38..5e1d87e4766 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 905ddb01b20..17c7af26f46 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 188c45fdddc..0e9389b3d1a 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 76daeedcb52..5090cd0afb1 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 2d0b427c69e..1b5ad9bee2f 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 5ae519fcae9..3aecea5cc72 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 2fdb05aa43d..aafe1dcbbde 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 399a0eb9e2b..0d240981780 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 076bb69a9c0..15b3b71f498 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 ffe37921e9f..7ff22981c58 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 2d3f386379b..925e0bc27c5 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 115b40c9ad2..0c1cda61590 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 ffe199c40a0..6e7f7c39a0a 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 f7a23708aad..e337906ec40 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 b8edafff5ff..0b4b0ae2377 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 71da2a56e53..8be3cf61ceb 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 8c9b2eeb232..0a902379cce 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 3a14caadb23..902d037ef2a 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 24ba8843f61..b02b34c33dc 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 ae96ac57160..6bbab5b330c 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 1f1827cb6ff..482698a68af 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 514cd8a71dc..89738668d95 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 e46cc4fea26..4ce3c7f3e26 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 ac683e53104..da73415a867 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 c7ff0627025..87945431577 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 fe610fc2dbc..c015b986406 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 6e6836897aa..b0a9838789c 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 8cbf1f704cf..69f73209d20 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 e3199f7843e..7a5c8064391 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 c0a478d3e25..a6c75f73be3 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 0bac197d28a..524f51c7fe3 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 8db7d983086..7bed6a5b3cf 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 682edbf5ac9..f9f628b0eb2 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 65e49a432f5..694f11beec4 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 dc2d6cfa773..26b0a347b21 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 53456485baf..1e7a24f6307 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 d101fe0c70b..116eb6ac5cb 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 c6102a0ce95..690c3a4fac6 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 f26d0374394..4a8405fb229 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 e6d027d4ab0..b694cc78ff5 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 8876eadca35..c0a3a8ed479 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 d798c0e0161..38d659d5ca7 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 69b428d4e35..eb2fbcb5e85 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 6071656c319..78b2796d7ea 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 af4b5c2cee9..6d19f784ba6 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 3afa3d9e574..99be62ff1b4 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 1fd56e03108..490bfd260d5 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 04a2363c2bb..41abacbeacf 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 5ffe7dcd2ff..b84485710e4 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 b12e9e3a4c4..da663c7238d 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 eecbef0f365..37b18a0c64d 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 faf270ae559..78c1383ee47 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 9ecf8995e9d..54e67791bac 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 8269cbf9be0..f599f3d33b3 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 67a4c3b3881..c309b400197 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 16ffe4e01e2..7d12de8babc 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 cad52ed4490..745209467d3 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 cf357df213d..0fa2082f6c6 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 40f29c01e47..92e5ee0c1d9 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 34f726921d4..bded8f5b251 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 01332d34a32..ea749d5e2cc 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 fdc8ad0e45e..a4ee90bc30e 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 334b715c278..16bf718c50f 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 3ce4ded71a4..959a4452263 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 ad8b5d8fb9e..cd936d1261e 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 8c7b385dac4..660cb168cd2 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 7d999437547..d2dc5776f47 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 2ea5335a1d4..35cc8f013db 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 904bde75acf..643bff09e22 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 4ea4573d57c..ef33ae73d13 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 346c301fc09..bca547d99df 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 6da9dec62fc..535cd86b734 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 5a884f346e9..86f14d7c32a 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 adf18f42d20..450e2c9ac95 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 b865ca68712..07d6714216e 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 507ea4f3bbc..16e12ceaa52 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 b4def5c341d..77372d38e51 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 e707b4dc917..4cbfe3d6e5b 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 ce339d6bf45..55270b78d85 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 a2ab62fb804..b2e12098e83 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 f38a1a6b15d..4f3c2309185 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 69f8ef7aab4..197bb1e35e2 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 65a5d4e529b..8cfdf3e26b5 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 df701b6740b..94a2c2ba0a1 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 796d915d877..015902c6828 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 af44655382c..9147380416f 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 d884c9ce5f7..c4ba3dd1705 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 a97b419ee23..a3a8ae518f8 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 5d607385f9d..930a0e7f257 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 3060da5adc1..27f8c0ae001 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 8ad68d2fd6a..5e2d92a0a75 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 8c4437d62b2..7b3b73e4104 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 9e60e90a5a5..7a8dbd6fe79 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 54c77a8f57f..86234570a55 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 67371416f05..743a9280355 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 4bebec92e7e..5cce6fab0c4 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 d592a2959a8..35b73258d0f 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 d3191e3c5be..9febd794015 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 e45e0466a5b..5d9be7264e5 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 daec0689380..c88080b17c3 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 aab99282e91..d66f7ace642 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 159b8f50ae8..eb53bac237f 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 8cbfbf318f1..86879bebfce 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 3a915d76a92..347296e3b81 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 90a5dba5efe..c279f37284f 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 722e7062fe2..aea9f146cf1 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 a9d4d45413e..5179d5e6514 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 0cb748c8978..309f2d58283 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 9d0c0ce616d..fcd8bf34e18 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 4dacf79149d..6d01c4d860b 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 1938419b8e7..ef2671c9e7e 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 34f94b5de60..e749e31d7d7 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 2d429fcedec..066492dc20e 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 e0bd27971c8..99e8717c5b2 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 e019536983a..1feed863366 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 381482b3b1b..62ef4d93611 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 6e3fbd17efe..7b3eead393d 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 513d7abe8c5..4325b16a68a 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 513d7abe8c5..4325b16a68a 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 9e44626a377..856188ac79a 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 6adccaa9dd5..86e1bef2e98 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 e0eaf7f7cec..e0e14baa086 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 a733eebe718..f730c778030 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 48174e2778d..952e2317f2a 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 7090c032c7c..1f04d1dae6f 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 3101afc9f89..cce7d4a5ab8 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 8318284b7f2..f099845f090 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 c411a25966e..984d885c704 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 51eadedd1ab..42bf3755800 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 c873757ce94..d63be70da4f 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 e72a848ce05..fbba2a07cdb 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 e06c723748d..c6698c7ac0e 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 d97e3a38f96..fd29879e712 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 07ea0ad41f2..d5aad76c7cd 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 919f3887e37..a83dff92960 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 8f5d8663fee..7264e6f20b9 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 8487ea7e8ea..e2c6c9dd70e 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 9f508425391..b3bfb819f17 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 d67856ad53e..dda90e95db7 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 dfecf8c1753..1ef7e0c0efd 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 1181243fbfe..ddd57ab8839 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 e069915b5e8..bc439df5c67 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 e20cd52dca8..a5afd776d63 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 1e2397389e1..37015fe428e 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 b9e1e1b35bf..25bcdb6c51a 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 c6ac1551b04..b1a146165b2 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 0f7f2375675..11bbaadb760 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 bb566de092d..f69650afa10 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 e5079ec8103..4225ca38ef5 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 9ecaf0bed44..faca1ccb800 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 2e80ee23497..03e58faab32 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 9ae7afd285e..d4df3dece76 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 36b86255b3a..dec4bb36bcc 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 96eb9e73bbe..45b3987e07d 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 8ea4dba4e9f..980c3ec62c7 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 6134708b7d9..5e05995df5d 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 5e6e27b0a35..51c8f47e3bb 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 4113eafe1d3..d2b9c0d4fb4 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 42a699f07f9..5c3c0ef85c7 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 4113eafe1d3..d2b9c0d4fb4 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 4113eafe1d3..d2b9c0d4fb4 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 4113eafe1d3..d2b9c0d4fb4 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 d0c2b584955..b068b6bcb95 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 4113eafe1d3..d2b9c0d4fb4 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 4113eafe1d3..d2b9c0d4fb4 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 a2bf5d7c18f..a7462ee718a 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 9945608862a..adf97d5f873 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 f56029e6776..f5aef63ef3f 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 38e7a6d3792..c7ead201423 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 249092b7512..f746d1d45f2 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 6197899f71a..bf3bd2d8b0c 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 0e970e1d3ca..61c853debf1 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 6d040949d80..2b77f8a7540 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 2e88ee177c3..9054260c11a 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 705fd689f28..c72d55ae214 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 532bfa70024..801210f2d02 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 8dcfd602a77..dbcad42e4c1 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 be2dcb2ddcc..9ec769641e1 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 b05d129b39a..c18c200d0ed 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 dcc95cb0d4a..8d3bb8c18cc 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 27cdb7da38b..712ed2c4f5c 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 b63aebc0822..7a1be91ead0 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 7e71ede152a..21099aa308e 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 1e69f7d485e..c72daaf9ecd 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 c1be13983ce..6c47b0fe4ad 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 8000750d9a9..cc217b726c0 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 e10121ff234..15abecaa932 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 8baa1c95a1d..929e30bbadd 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 00be92fe0c3..777e56d30c5 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 719b1369e83..71e73086e5e 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 b9d39006350..42f4b8ff273 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 06dc078ce74..aa8bc7c2558 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 d2b0b829958..aa56b8beb42 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 2e96afece26..2e3d9187ae6 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 8bc5f872ff9..fdc8b90bbb9 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 9709b54fe20..44a8910dcd8 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 f82770a5ac1..b17f2da2ca9 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 86abd5cad25..c273eea761c 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 9709b54fe20..44a8910dcd8 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 ae49742239f..cc55ea14c66 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 bbe265f837e..72a5c16a54b 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 8214bf15be0..1fe54c868a0 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 862b3e19a1b..1ec55878dce 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 9204c53cf2a..86280f765bc 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 ea470094497..95f669b4f23 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 b9befd16eff..29f03a91145 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 1184792992e..5aeaa86fe32 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 c806247d8d2..fe1e0bdc73a 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 681692b6779..9a291db2f6e 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 f81df13cfda..1aa9ac5c743 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 8314085bbf6..905a71e2f2a 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 bc681543624..67260c3f7b2 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 c8c00f3b829..4c30a007bf7 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 92c9f35f59e..62621bdc56f 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 5aab4aea7db..c5d0a683314 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 43c1a2b2255..8a317ac2bcb 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 4d7e73beaee..5088499a257 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 662e7faf8b1..f446e696e7d 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 ad4122a5154..5c9cab625bf 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 861047fd8f1..e1391f3306e 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 d328e9167a3..b73895884aa 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 eb4d133e609..5e8215bec39 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 35d54b638a4..484cf337236 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 bcf29126aaf..e9a61408fe7 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 c5134b8fa10..6d5bc319e14 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 54f04463c6f..99f3d81fff2 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 76074a73de1..88cfc29bd71 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 f16c0ffdd25..7191f7f069f 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 bdb96e06810..628615f4919 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 f262532be5d..db81e27d82e 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 acc5a1015b0..c61f4eee77b 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 90238592058..b17d6493819 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 62ac2da5920..353cc3f1fb2 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 df2e0ebcce1..ba524e45da8 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 90fc5607cdf..ff61f3fc2f9 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 2fca37133da..2bbed1b706e 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 47758e26f67..720e5234780 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 474e81f9604..002808356dd 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 f109c2c2ac8..48a4865dd53 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 dbacf0f450b..fde12308e3c 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 6b40238c765..8bef7eb52f4 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 86d97281b09..7e249417429 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 ef4968bde27..0eff05642af 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 0bcfd7bd2e5..4b5f7f92664 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 121a3d84a72..34d5752548e 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 c1740216756..806608ab5e6 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 c724a12f830..7eff6a9b63b 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 c724a12f830..7eff6a9b63b 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 915f156ed39..f0f8bace41a 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 c88247dc46b..9850f543ae7 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 baea08aa3d5..7868a088363 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 6eb83604017..a9003d8498c 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 af4315916bb..1bdaa611e73 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 f87e43dc5f1..98ed7939115 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 a0bc3c61820..36680ad7610 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 b2b0edaadb0..97b4ea7fccf 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 c9c88c446c5..fdd95f74447 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 fc37734a34e..3dc14666679 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 a62dd1791f8..7ac5982e37d 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 9b09222f7e0..e76b97fcaf0 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 30d63172671..3fa4a26fb7a 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 27414e180ae..0864eb6937b 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 b59d7383b58..ba67fd050d8 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 ce1eaab5123..dfa31b25836 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 9e49ad5a2ab..4465d8a5da1 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 f58c410e64f..1cee7bf9a2d 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 27343d76268..e40534cbafb 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 589a8a1d4e8..8554aab2ee9 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 8639c2c52fe..57044853b8f 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 95f1f778ad0..3403fdbe53e 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 6d30cf66944..25ec2b8c307 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 e89d4600bf3..f9a7307e738 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 b68406c85b7..749a4c2b9b0 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 898c9f25b15..8447f8ec723 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 162f4a8fe0d..dea999037f9 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 86069994956..b4ea0cf818f 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 50f0ef86e42..2913ea46c94 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 ef8d989549d..3d17c57ac2f 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 e0c67b46f4d..aeb1a716a8b 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 7048dc9c0b4..de557f5c0dd 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 50d6e469711..77858c3dccf 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 0ec4b1a36ed..21496abbd02 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 510cabfca29..61f735c2da7 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 b16a59b95e5..a33f987199e 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 735acca1bbc..8aaa96795c3 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 6127c6026b5..f4c633f206f 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 8e3f8f0e5f6..87a799b2035 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 e9b9ba7f391..467287ed16d 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 26c7097898f..91f79b1cd55 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 7a2034d9621..0a7780b572a 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 056196c6b2b..97590d1a8b7 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 ff2352f3a54..8684185d3af 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 20d5b06dfe3..4e98406bdd5 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 d73d2674e67..361e8505e4a 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 22832757f86..a62cbe76ebe 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 561b67d1369..c689c1fd09c 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 c2aceb983aa..4b7440d4616 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 d4242783e01..5800e5205c4 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 8aaff7dc9d5..0b38281cc58 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 e2836b711d7..788ae6001ad 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 e561fe5a16f..af23ab52ecc 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 127e4a57873..6a28d192283 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 c35d89c6a82..d4acefd1c31 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 ffdb80a5d92..2a69a798be8 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 5db3b15f777..11305d369c6 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 c01abbbc8d1..bdf270a29c2 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 68377a237e2..ba32b68a7ab 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 b1f55275aae..b67cf8a2d12 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 9c27f925754..9cd2477bc5f 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 a2fd8620da6..966df095fa7 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 99fd151ad68..2361894765a 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 99fd151ad68..2361894765a 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 2dc1a87775b..12d871208c0 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 8a023019403..85be4acaa5a 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 df7b502d3cf..b096e7821bf 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 a1aeaab76de..9886790db00 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 f731c463a01..97204734745 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 82569d7587b..ffe80802e4b 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 d57ad7c23c5..87c40839386 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 2feff2c18d8..2ffc57cbaee 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 0f903aa3900..4fcb72afca6 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 53eda259cec..445aaf12964 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 bdcd3ef485c..8bd9eb3a202 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 8e42040f714..f9d9095a09f 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 4e53314876c..d9f9793c212 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 c7790c8ae10..dcf250d68a2 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 23e14d01dad..ae9b6fc260a 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 b087b0c7b5e..14cde3fb2d7 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 5f7a8fff44b..993c9697d3c 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 f625ac10442..be2a410f790 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 a12a3ca4b99..604019785cb 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 94c3f83399d..dc184fa7741 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 bff8c296e2a..8ff035fc9d6 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 90f50483016..d230b886483 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 f7ef971405e..bf3e6ce02a1 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 f716a2954dc..6c730354d39 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 a27eed6a51a..361b5209f43 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 10aa98433ce..76927fbb785 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 5ae7dcf914a..f4aadf0ddd6 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 726bce00ca6..7ad402682d3 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 4ca6d7bca56..afe37d5f828 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 b3365c1c48c..2d1ebd4073c 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 9f5c62b4105..ad76b400370 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 4621a3cdef4..41beaa12492 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 7981b30d554..c67558cbdeb 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 a8c2db1d1a0..50d1013e9be 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 3427adb7128..75d9be5e593 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 cdf24e70457..a021dfdfc60 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 52e85a562c5..b42e9be8863 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 ac7ce7faba7..226f3bd626f 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 2b8ae1e38e2..a16e7981d14 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 a7e453e91ee..5423d8602e3 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 250e7835445..5231a57f6ca 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 34c5b3be361..b77a388860d 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 b304980e28f..332416ba43b 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 36a74ce0a21..3ebb82bc412 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 b304980e28f..332416ba43b 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 6701696eedd..2704e48501e 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 6584adb07b3..0ad494174dd 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 75d4db54977..453197e8b07 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 d9642afcdb3..1cb5fa1f93a 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 e760b6a8a65..0857913f245 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 a506edee043..7b9cf88bcfb 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 8b22d4ed0e6..aa01a4d6f75 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 49169cdcdd9..b971d81c7d4 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 ac7ce7faba7..226f3bd626f 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 a987bfcc841..f23bddaa1ed 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 b304980e28f..332416ba43b 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 1e0699ff89e..1e42b4d2679 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 06227a51684..34a4749b13a 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 b0afd749456..9dd6e2d818b 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 a76ffc49511..fff365485e1 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 83f42cdabfd..e08acdf9980 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 7fd1c2e6028..7bf05aa9e91 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 91c6c9faf4b..f9e41e29976 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 ac7ce7faba7..226f3bd626f 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 b708ebee28e..fd6f6f29eda 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 7cb1ea80f0f..211ca5f45f7 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 a664ec32beb..84a86c0e454 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 74945fd994c..9486f255912 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 e64ef958b04..f227306ae3b 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 59c7a62a494..7e5a7b59d12 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 03f24e12cf9..ccdfab35be9 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 e4717b2d671..1a7c03d378e 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 9d1e0451168..413aff4a117 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 e0606ccc619..0436151c4cb 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 25e93799039..c527e9e60bb 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 9ef7993f621..83bb2a211ab 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 19fc24a7765..b3e22ec1b6f 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 728853bc699..e14dfb877c7 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 8bb88661f36..ae6495b7b0a 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 c5238b26c39..b5232ae4579 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 ab30333fba2..58422985f83 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 526bd6ad6d2..271d71fca16 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 849ad4fab51..8ae7889b0cf 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 844c5252009..ac3ba70ace6 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 c8ba1bdb500..a393b4b00ce 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 844c5252009..ac3ba70ace6 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 1d6d4bfd596..bb448443b6b 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 844c5252009..ac3ba70ace6 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 f87c6d30771..76d97c1b1af 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 844c5252009..ac3ba70ace6 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 a186f4e7c70..fb7c4216ef2 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 844c5252009..ac3ba70ace6 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 ef7b2f6a1f9..720bfb0bb0a 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 844c5252009..ac3ba70ace6 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 6ac634bf508..c5b8ba00166 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 844c5252009..ac3ba70ace6 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 0260faccfa3..6185902cd23 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 a54a9962bf6..3b889a247cb 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 c906e28cc9d..2967d8ebf54 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 a1abf1f5235..b52e29fa5d6 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 ac7ce7faba7..226f3bd626f 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 9c04e297a42..0cd7b912421 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 a2d43180b4d..6e5e652b5a8 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 8fcbb12ab41..a5f9a604bbc 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 74945fd994c..9486f255912 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 3e71730777c..4f7fd4793f5 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 74945fd994c..9486f255912 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 f27e71e2fd4..fd0f43037b8 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 bce0344053d..be236772d9f 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 d35c9b8a8bc..bfa13093862 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 8a739c58326..ff787f150d0 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 85ba24b14ed..da618758be7 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 c4f825afd37..ff17e92287e 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 edee2dce39d..363109a3853 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 41336180b64..7854011f95a 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 c4f825afd37..ff17e92287e 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 5ad7fe233df..1097b991ed2 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 04947bac8d1..b5def1e182a 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 0ae1a245100..b5a88a077d5 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 bbf73a1f15f..a6b41b5e23a 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 5ad7fe233df..1097b991ed2 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 1081a0f5dd9..a729ac3c129 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 7d62d75c5e9..6a0139c962e 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 d6a176c1f45..449cb3db8fe 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 52e85a562c5..b42e9be8863 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 861c187692f..326f584b3f1 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 a600574c417..96871ef33b1 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 52e85a562c5..b42e9be8863 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 5173eec865c..c5f97039eb7 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 30dd1522d13..50ee91a2c33 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 7f2f3bc1494..55fc3999fd7 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 3ce65cd8427..f49bd6e1eca 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 e05bc33f591..3f0a4fbebeb 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 a8a003a31db..781adbc718c 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 69d1d42280a..6bd4d95944f 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 636df020af5..1381cb89cdc 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 7f2f3bc1494..55fc3999fd7 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 dd4d89991b2..a9073401232 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 ed885fbe408..00787761df1 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 dbae19ed1c1..034adc20938 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 4b45b405dc5..eee8145c379 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 2bb83f7395b..1fb3b1e9612 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 8331ed2b49d..913a17fe366 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 f3948119590..e1958c91d3d 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 0ba0da0b322..aae3e6b85c6 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 791971875ad..ba904cb7b61 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 cab97631704..c633f01eb4a 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 41a2233b6ec..36a3c14a746 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 550e9a97f2f..31ca0ccc6ff 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 d3aaa5a98f8..f43fa57541d 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 0e1b475bd05..69748468435 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 bf179005b85..d76353d1d85 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 2176d213ef7..25637c9a959 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 0131b4ef25a..a4cc9c808df 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 3c9d2586419..b6b153a117a 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 e69de29bb2d..db4392428f5 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 0e954bb1ee0..d06967b3127 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 3c52450b2cb..94b3b039707 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 2b984643026..49d6ea76894 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 429ad027c54..5c80ba4047a 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 460394c315e..7e60b52b583 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 5ad7fe233df..1097b991ed2 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 47188c01633..95eec9f24f9 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 1d45bca5c84..d9ae7823255 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 b0191da26d6..059a0d6ab12 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 1f212656d26..2b75037a833 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 13fb3641693..9930fc095eb 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 16ce313da37..72f5adcbdf2 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 e9d752bea3b..4b125091d88 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 773f1e68100..fd36aaaf44b 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 6fd94b81a57..03a1c704a94 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 84046f347de..eda0b6a6138 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 507bc2a19f3..b7c29df6977 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 d1ff52b85de..96163eb19fc 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 ab6e1615570..14201044e7c 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 35b16d66e4f..6bd04fe560c 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 d7d4d6ebd03..af99c950e74 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 b3c922014ca..cf4c6a82d56 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 5f1553ea94d..2a4c6ec3e94 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 d4fa4e7738f..85cbe7b9e62 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 398a00d9b6b..2c69219557a 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 1cfc30d3ade..5f296d8ee30 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 432d99c1ac8..cdc7530af3c 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 43ea3414611..5d660ea88ad 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 e4893b6ff3b..3a96d8d9140 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 dae98605e32..85f216ec808 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 0bfe00a6c81..56534a3afa3 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 6ec59691abc..afa25258edf 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 38e8277de28..642132e4f95 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 b2391e81985..bddef438014 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 cefc7b595c3..843c8b57245 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 3deeca70a93..d76fd3ce003 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 be933842ad1..b718b07607a 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 d6465f61f4e..dd59557cae4 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 0224f80ca38..cb6e5d84669 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 b331455b630..6ca3f5ed598 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 7f95381c633..233c0d55514 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 2029329068c..be15bc8e099 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 bc4f6ea564f..d3747118b8e 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 99f97611fd1..a88708c3bc6 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 74db8f53ce9..76e3c3754db 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 cfedbcc5ddc..d97d0e30da3 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 868621950f2..29c65ac0093 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 a03b483bc69..6605606ff4a 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 43aaf4162e1..e178d62f4fa 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 adf274f2bdf..4c71869045d 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 2055005604e..376e0407a5e 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 49c318de255..15110bbb97e 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 3bbd711d457..c538ce18160 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 da2b097d4ea..5ffac40aba7 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 c959c263de3..5d4b7de67f7 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 3b3553cfa1e..17bcd08964c 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 ef3f7abdf1f..5dabd9da26d 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 f3e8c3b48f3..86cd632ef9c 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 7391a19c776..52bfc951fd8 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 2737f1c1390..c335bfc604a 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 e146de42231..1908fb311b8 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 25846773d2c..b0bea8f7130 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 2d4e4e5264d..3e79131f13c 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 c91fe1a8e4a..69088c702a1 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 3257a64bf25..f911ee3bd26 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 2c67819f78a..5e579a5837c 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 8c9ce4808d8..43081ce5ff1 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 dec3478f4d8..c16c3387c33 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 c4e0ea4656a..c3d6623a7f4 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 e19f3a9d011..99fd0f27928 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 e9f48b555bf..ff71e8768b8 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 791677671d9..93a304c503f 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 4f593aec66a..6cda8253b33 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 ce79f3daa31..1a9f7172ee7 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 1d79cf18f40..4a5459928dc 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 12ec0a08bbb..b60b38902e8 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 2cfaadd2d85..7c7c8ee57a6 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 e69de29bb2d..1cfdde31e13 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 e69de29bb2d..1cfdde31e13 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 e69de29bb2d..1cfdde31e13 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 d55259fc3ca..47fbc104f4a 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 d2026bf1c47..cea28d9cd20 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 c7d5adabc6c..9a3ac8d7edb 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 f0b93c45be4..0f8b99b21ae 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 bfec83ae346..4fcc2391b6d 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 86007f029cd..8649318da6c 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 1731dee3fc9..d99d01e8e82 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 1a460d7a598..260f4615bab 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 1235ed5e24a..a2646d873f3 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 254e8be5594..2d204f3f1a5 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 1ca97f62ba1..282e113d860 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 eb9e4e14f17..26b82666741 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 72872e2c5fa..61098767407 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 7cbf41ec144..8d910f208a3 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 424acff5e4b..2ca0eb21897 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 4c556670b00..690b5a58bc5 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 0e0c34b2421..48284bfccbc 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 3e660f5062e..67a91a2a888 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 c563284966c..03f97e2d8aa 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 d752f6b21c2..12c62103ee6 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 4ff1f6fcb5e..dfcf0a86a09 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 4ff1f6fcb5e..dfcf0a86a09 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 4ff1f6fcb5e..dfcf0a86a09 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 b3f2ab672ba..8f3401a19aa 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 f72e7b6708e..38c813f1abd 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 249c1c8a666..12d2b2f0b99 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 5a33d7682d0..3cd79f155d2 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 2a99b67b80d..65430d56e72 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 e964bb824cf..3bea69db4cc 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 c0efaf1c341..7413a0bc001 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 2d6abb0e8bc..c14e9e80a63 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 acf7b40a38c..1fc7f6039bd 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 242ffb7f5a5..6a499e02e98 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 d9fd58a6b0b..99386035c0a 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 fad904b3f93..f5dd3fb3687 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 8ac1b933972..8ac179f2dbf 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 edd8c294cc2..ff227857635 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 53356ea0545..59f70ea86e2 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 50e173b3552..a8be4796b3e 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 47e70f1471d..32c3ff19ee2 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 6c3a550cacd..b13f54b73b0 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 8766432899c..fe109a9d07d 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 ef2c2fca929..ea540a94f82 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 b7f3b592c51..4a86380e279 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 53eda259cec..445aaf12964 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 53eda259cec..445aaf12964 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 a62dd1791f8..7ac5982e37d 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 debb4630bb3..72f9e604b8e 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 a4b2bf0a1f9..4640df1c3ca 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 575d855bf9e..1a9b8b8fcd3 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 d8168ce3c6c..66e98a7b2ef 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 53eda259cec..445aaf12964 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 78e1c4a8975..b45e1eebe18 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 cb21b4af917..6f7bdc90324 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 f8e8686ad74..39fe2bc3ce2 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 90b131c50c4..f3baacf0ae7 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 1ee320428d5..046ef95f070 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 1ee320428d5..046ef95f070 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 ab27305efd8..9820950e6e9 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 3b716bbee1e..a6697b78f04 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 8de4fb9c225..ba374e41bf1 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 abf79396d2b..e380a01c5b2 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 eba9c7e2c22..f08185114b5 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 5a7a74bb710..8fe93aa5286 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 d2a70d16957..b09edb95388 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 c3b689cb1b4..9ac96b473bc 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 6cf686729cb..00e8ceefd8d 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 e51ae17046b..bdfc89bb9de 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 f87a262bd5a..f8386999d56 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 1652bb11102..3044111a22a 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 46950b57e35..d7dea1bba0d 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 2c562a90d49..ebd00241c9f 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 d59a7167771..241415c4796 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 c79ec697697..9d231dd4544 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 39e56ea66fd..a86430bcb2b 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 5407fbd19bb..1d33f6d2187 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 cbe224ea2d9..3f909fa522c 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 2a426facb4e..140643a81de 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 380e2685a90..825c4bd66c3 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 9c27f925754..9cd2477bc5f 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 5caf8cc5c35..0718c9984f8 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 b0232e1f551..2282a0c8c8f 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 f494fe41e5b..b98d2fa8a0b 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 047f049a048..345401c0136 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 c95b419ff6c..1c742414d1b 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 f1d98d97b5f..4db2447e988 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 1e09ac3fa98..c5590572f51 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 7764aa777a0..523be953f69 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 c5b9fa7d33b..674939aa824 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 fe04e460503..e50cd664817 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 d9043ec11fb..7648eb5245d 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 790127a8095..15f80db408e 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 7e31e22f6b4..ac2a475aab4 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 c5e28e4524d..0de29bda709 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 0221f03f492..b0658f422ca 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 7b99ed368b8..ddde548c109 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 ece29e2277e..1c8f755fcdb 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 a82b4cb25d6..3bc0d26390c 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 64ba9937c92..e6aacee7559 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 8c168d61591..038cb3451c4 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 36a8705f83d..07c923bb58b 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 cdeb78ced14..735ca3b4004 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 e5cb6daf217..d03f315970a 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 04d95f07058..13def6b1987 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 f7e92d1c2b2..bc32021861e 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 3446d78689d..96b7de648c5 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 d7c2f800575..621b3b01da7 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 f667b1ee950..2cd4fd0741a 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 0653b1d718d..468c2d64e35 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 9badd10601a..c566e45e153 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 aa414b94152..1fc26fee94a 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 30ad301bb16..c2764fcb6a2 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 6ffeac564cc..59842bb1a6c 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 dd150b69d98..f136e0b7937 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 cca3b617931..09e9f9cb56f 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 bd25d40d383..f5b8859c8a3 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 aa82d6dcb44..8ad39e84e76 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 1b8a6960fb3..4d0b0aa3cb3 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 f3d480b361c..c69a34455b8 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 1d6bb61c183..438da693b18 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 b1ffad1310b..120c361cf21 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 ad2483520c6..f6d678da529 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 a055694e3b0..a446da8d64e 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 aa92dbfc3d6..9196efd7a68 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 8d0ce0deb6b..c0f153598db 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 0822ed7f4c8..21cd2772614 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 da84f56ca7b..abf4a113380 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 28df8b3af7a..407339d004c 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 e7dfba85880..5057011aa12 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 73753de7aab..b646cd29c43 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 9dd68016ed4..548179deb25 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 fdc6d9a8c06..01f81c59426 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 11bd696b922..a5214b0e8b2 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 be3871484ee..8957995cdae 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 8086d814f9d..b827acba2f0 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 018f731c2b3..f004ae28f33 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 f506e1bc07a..c93a6a6a60a 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 93525ae0d14..4f95bdc978f 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 7b76c5c6e9c..30f65ac7693 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 f9f75a7ef28..a114d491e7d 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 68230dc48f9..712566b15f2 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 90eb4c14f32..ac5e06a2abf 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 b9006d272aa..8d50e443645 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 527f5f7e6a0..9d4f0cc1c9a 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 4a619266652..afdd63f518d 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 f1b1eb74903..76a2cf3e56c 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 50170e5ce4c..3b839d9233c 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 6919b026d4b..bc858c55278 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 769f95339a4..3042cbcf1b3 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 3b19ad8d96c..144fe031bdc 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 977f6b62db0..12d455fcc96 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 9e3e71b3712..4ac159a2571 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 edacd9358ea..0b1bfc6258b 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 b677c09aa82..86a0ceda4fb 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 4491e40bd90..fa603b3c27a 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 60dd9ff609b..f3ed56cdbcd 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 cf0d64493fa..8eeb6064e9a 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 b40df26d2e3..d3dbcaa5936 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 b36865da65e..80c32547ffe 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 c307b74524c..c394593045c 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 455f00e9ed6..d7466875f5b 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 a6460e03ddd..75e5a85f2f6 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 85420d871bf..1195a68ef66 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 51c9dda9009..56a7227dac2 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 d01c8245404..92690d0a223 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 3e5b12f9e4f..f3704d49413 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 dccc41f28ff..fadf90b2316 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 c262dad6435..1786b8bb062 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 efd24fc83ae..32a4fced8f8 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 c724a12f830..7eff6a9b63b 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 b618b0f6969..d8b19e9bf7c 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 8f46de0a5f9..121d2c41837 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 db755b74c46..4a1ae40a1ce 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 4f5bf58fec3..f3d45ee6ec8 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 f6192d24daf..fafc6495185 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 0635ef6dbc6..afc22ac9d8a 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 0635ef6dbc6..afc22ac9d8a 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 0842f4d22bf..4e27e39b099 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 07e8eaa05f0..6f1dab1e0ad 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 d20cb981ff4..0e84b3365fd 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 0d0fbddb7ff..a6c6d25adac 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 2ae23c46a87..162042cd90c 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 267517f51b3..2daaf87fa79 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 aef2c4d03f1..05f7711d999 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 d20b1c83996..74b08a177ed 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 7e1a93ede1a..efc66376cdf 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 48d975e9f81..2ca5bce9563 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 15c894409fe..f51be36ce91 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 793a9400b68..03f535dfe85 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 d984719d0b2..9173dc8a657 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 953458f3743..ab7c7a1cab1 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 3e6ecfb3139..06576e141f3 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 ee0dbe14e79..3f16364d50e 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 05844a667c5..e9a45b75a00 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 1beda60300b..f296e4566d5 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 028b39f3535..3a00038e1af 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 643aa50bfe5..9eef1ebe944 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 7bc37c06a7b..b649bf384aa 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 e5fa435843e..56963a2dfe4 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 4550edce194..dcc43da1ef6 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 b123cc4ddb2..8d7c60607bb 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 3d6b87c31f1..a9863083453 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 a232ac2349f..150fb359f6c 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 e445d83890c..9367a38bda3 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 44a6db14cf5..0e81097c7aa 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 7e183fe2ec6..c4c4b74b0aa 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 447eae9784e..e977baf6dbe 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 21d8e05b8fb..f96cd15a7a4 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 9671f9da017..9f59fca8008 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 3a7cebf9a83..d2b14fbfa10 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 4a61590e1ee..71904d8b857 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 33db317dcf6..0e8ac768f42 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 ba86c2d6e8c..24cea960d53 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 ff28d5e8a9a..209363fd8f6 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 44823f0b70e..00e831d5e5f 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 438fae1fd2a..324967a3d2a 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 9c487fb7c93..f3cc43f2705 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 8d3d2daf054..405f44adc44 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 4a4716e32ee..f2aba3929cb 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 7087d98b855..9bbc952addc 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 5c285c9b0d7..e7fea73f3de 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 72243a9651f..2a2f04d7c72 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 90e7cb111b4..88aed316bab 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 0d1cacd1c43..f91381035af 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 1b1ded2e814..edb6c6898e4 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 c22fc018713..1ef0862a536 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 30e1691e479..a69ce66e570 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 c22fc018713..1ef0862a536 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 a80cd21d3d6..acca43cb27b 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 20578b805ba..d25804cf190 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 c5a979494f5..8ef9a91c3ae 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 d475ce6f1f2..46bd8dd8ad3 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)