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 e655e68951..85e96b2588 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 6d9d7ebe65..1ffdc3b2f4 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 1685c08a2d..49b2f55524 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 b97eb6f9e6..a2dca8d6ee 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 8fdc3edaaf..a81e4ebdb2 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 3e76e8ba10..456150e1f8 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 0cde3e5ea8..8ff1502c8a 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 adf8e9a281..58d0d84091 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 a8cb69dc28..5d779e8175 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 466ac737f4..5a552e22b6 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 2e6ff46fc3..36fe6123e2 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 1a5f3b5192..59a8a17816 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 ec9eb1ccec..f0424b169b 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 602ec398f0..63ecaaffed 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 fddeb616f7..35110ed448 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 9e052a5ae9..edf13fee5b 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 a902d8f6a9..b4a03b8fb6 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 69c8e2693f..4b67132697 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 c948b5f48b..3b1ecb492d 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 e5b524b752..876ca4bff0 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 7975866fde..ac7ce2c9fd 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 ce96f836f3..c4dc9b90fe 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 9c779afd57..c9200c61cd 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 a9b393f6de..7500666364 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 16e50761c6..3eb4d869f9 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 235b576e64..dd8907f51b 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 83b543333a..133d74331d 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 672d897cd8..c364d3f827 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 e55af6e1f0..c3283d9006 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 e7cdc7eea7..943e52667e 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 b19a284c52..08498c5b76 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 44c599e202..4855396977 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 9a811e5979..7051ecf7c3 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 b08d3623b7..e3699f14e7 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 539ab2fadc..c8211f14d7 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 a249dddc59..cbedaec93c 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 326f6656e2..5b1b4b9b11 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 0493d1d540..f0c7756567 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 02525f205a..c5df901aa1 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 b3ec81b932..ec5ca67932 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 4afa2b29f4..15414a2995 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 2f4d5c5978..0dd02c0bbb 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 ab8c69d833..77ab17a9c6 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 feb150c689..bdbcb53f25 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 ba9f9e45f8..28d0f0d11c 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 6de7c4afa6..e388aab60f 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 02525f205a..c5df901aa1 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 e69de29bb2..0f1a02d021 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 53064480e7..fefe37d7df 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 ba9f9e45f8..28d0f0d11c 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 7e1c0170f5..9b9325ccc8 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 d4234b39ba..e3eddf89b4 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 bb002d3b3b..2398d33c69 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 fe924fa8e3..a977a80424 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 0b95404674..fa97ff7e9a 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 18a7e49f2c..c4bfc88f1d 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 6cf23f085d..d1a90e4d66 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 10416e6706..dcd7933307 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 6c509bb0be..f0d86376ca 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 803d774112..66a138b2aa 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 b7b5abc728..50dc443714 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 e792356e13..0f08a3092f 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 aa8826b211..bd78505d38 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 65aa2422d5..5859b16560 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 aa8826b211..bd78505d38 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 5dbb01e1f1..2e222be114 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 5606b1b2e4..1662ae1807 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 61a2045747..4f57013337 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 aa8826b211..bd78505d38 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 e11aae323b..164bc083b1 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 2c285e42dd..3f94123558 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 69886a4e55..5118a0b2b9 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 96ab6caa78..69ff5e8fbf 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 1e21d77afb..8d68715fc7 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 96ab6caa78..69ff5e8fbf 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 668e91cc06..768cc65a37 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 359f95bf3e..91ce9a3028 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 8e2f7619ab..08e6fcf5f4 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 1694a49d8b..cb4ff22b5c 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 96ab6caa78..69ff5e8fbf 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 6021449d0e..a18a796778 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 96ab6caa78..69ff5e8fbf 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 dc42af7662..6fa51c8778 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 aa8826b211..bd78505d38 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 3fc4739acc..07e6ce28f5 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 5edccfb1a6..cbeaea2e45 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 74cf8d550b..e8cd301a5b 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 3a2049869c..5ff914cd21 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 75b0c07125..d635e45b05 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 1181243fbf..ddd57ab883 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 03d4d4264c..36702abb08 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 1181243fbf..ddd57ab883 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 aa8826b211..bd78505d38 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 e5c8e6975d..04348d1cad 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 6ebecc778d..b2566891a0 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 e7e7aff1c5..9735ce0d19 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 986873096b..a88265eeb2 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 9f98e677f9..6e2b5e9e16 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 acd616ce8f..d708f54e0e 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 b5569570cc..b5455c53bb 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 b166ec66ea..e28c945187 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 73ae7abc2e..f09ebf4741 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 90afb449b0..2d9da2a8f5 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 fedc7e1958..7d93487deb 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 41cfb24ef0..ca970ffdd8 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 0c35d352f4..24a92abf8f 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 28b125c6ff..4cd6f6c236 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 fedc7e1958..7d93487deb 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 63edd59ba8..6d93cac89c 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 0c35d352f4..24a92abf8f 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 cd5addc2d7..3f99de0e26 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 a1f4c731ec..97a2be2439 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 70d2564427..1e2d688ccf 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 fe3635c205..a176e41606 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 de00e2220a..d57ffc9070 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 0025f97b5f..bba773a90c 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 e7f6da074f..d1691d745e 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 664e604910..bdba9539b5 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 fe3635c205..a176e41606 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 7765a63de8..f9f5bf57c7 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 e113e1a6c4..2a942b672a 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 7edec8f904..5d3c9b6b99 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 aa8826b211..bd78505d38 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 6b5718f156..191026c761 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 d1473614ea..058df731c8 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 9a88574c74..6416cf57ec 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 aa8826b211..bd78505d38 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 e21e096815..e8ddbf24f7 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 470b9be50e..fd378ef01e 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 bbc4607aaa..57ea68cb83 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 aa8826b211..bd78505d38 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 e4c9b87725..da6f919ba9 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 e5f410567f..063fb0d75c 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 2feceac105..0e5f44c3fe 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 aa8826b211..bd78505d38 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 2e36f27085..dc565f497c 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 a7e453e91e..5423d8602e 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 b97a58124a..4681680bbe 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 a4d456604c..619a5aaf18 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 ca651fcd14..109e7ae6c3 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 4640eb08bd..59c6ce4037 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 6a60a54a31..ee527568f7 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 417310e39f..a3e5539d32 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 4151cb6f50..a29fa16976 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 3c1bf6d809..557fccd7bc 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 3a2049869c..5ff914cd21 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 b9a3c5a6e5..5541720a13 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 4151cb6f50..a29fa16976 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 223a45ff2f..94177e85d0 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 3a2049869c..5ff914cd21 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 b0800ecf7a..3128a50b2d 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 860756b31c..a6b555e9e7 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 1181243fbf..ddd57ab883 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 9aa0d6316e..7d3bec12db 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 2c285e42dd..3f94123558 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 3b4cef550a..b794da4144 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 8dd1839507..259ebcf07f 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 23517ffe0b..bbf246ec63 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 2c285e42dd..3f94123558 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 6a0225bb90..f35dc109b2 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 8dd1839507..259ebcf07f 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 956c755275..e2389dbbdd 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 1181243fbf..ddd57ab883 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 7f4695a269..90d405dbd7 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 d82183efff..a13eb4c196 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 13ce30af14..7aa4b2f4a5 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 06f3011b95..6cc3d13101 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 7ad4381f65..a4a41e43b4 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 1181243fbf..ddd57ab883 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 fcbf25234b..5f9d8ab43d 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 5ab3318a5c..cf43e8d755 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 785ef9ed1b..a84ddf9cf0 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 2c285e42dd..3f94123558 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 69c25f4070..28ee551ab2 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 1181243fbf..ddd57ab883 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 9bf17690c5..bf5d244c96 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 d82183efff..a13eb4c196 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 e1d56a343e..ceef68ad05 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 eda8d94387..1ebd2f6d93 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 edee615d34..84612c7b73 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 521ecf6b16..3753077135 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 2c285e42dd..3f94123558 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 fe11186f1e..874dbf0561 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 c59fc5aa28..3d655f4e90 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 b6baf46e09..e294ecedbf 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 ecefc497ce..27fc0cbe67 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 e47302bc4e..ed920fb784 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 aa8826b211..bd78505d38 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 348d4cff6a..57dab04923 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 ff26cc3391..6aedc4ae4d 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 3012df76da..af686f35da 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 e51d7cc84d..f52f99b2db 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 a700f3c235..b32b6144e1 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 5edccfb1a6..cbeaea2e45 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 b2cc60f5b3..266ce1149a 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 4fae4d1776..9b2440d9fd 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 717dd5a8ca..4ba3bce102 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 4d3b13df12..0421776653 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 cdfbd77a31..777b83b660 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 2409f68dab..a3d11f5406 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 50e2cd878c..717f3f1b83 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 aa8826b211..bd78505d38 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 6d4bae7700..e0f969632f 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 dac4668075..f8c51af96f 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 072694a98b..cd5fea8d0f 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 72fa43de9c..1ac8d467d8 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 b8a5742e63..37caa30e85 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 5cfb99cadd..26e808b806 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 303ca685fc..df5a76fbeb 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 31789de272..2d97514338 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 579a8915df..5ce259e8f5 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 f778c80b1c..019638170a 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 a700f3c235..b32b6144e1 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 5edccfb1a6..cbeaea2e45 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 4dd38c39af..bd7d598476 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 a3eee0c01f..c9b968b006 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 6788257e56..5cacf02aa9 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 9990109752..a425649895 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 a5827a0959..ac0ba72e75 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 00f8bbe04f..6322724df8 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 86e7183dc9..e98aadb356 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 8aedad6a51..d81962f16b 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 cf29656a49..683da01339 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 8d99f28d38..a0ddfb8922 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 f5255441fb..f921c301b3 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 d82183efff..a13eb4c196 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 b3895225c2..4a1a966e78 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 201aab3b1d..da17d446eb 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 e3d78700f7..e012974084 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 41af698dcf..be3eafe6c9 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 15384cb7c5..a394281dcb 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 72f33c8288..002adebca0 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 f7951c291c..5c8f6373de 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 7622543cb8..7d170bf2b8 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 bf1366fffb..0ac0479b5e 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 ec4c88ba78..f679298d0b 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 aa8826b211..bd78505d38 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 2b06911ef7..dc46d3376e 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 716ef57595..493aca39f3 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 25dd94a107..d31de29629 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 dd720fb789..fc5ac88c43 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 b672efe5d5..4d3b72f718 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 a9ba869660..50b600df99 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 f79a106cb4..795c9496ed 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 8981ad5809..91b587d9a2 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 56db738a4a..a4498f08ef 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 a700f3c235..b32b6144e1 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 5edccfb1a6..cbeaea2e45 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 44b59c907d..b54ed6f8f6 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 a700f3c235..b32b6144e1 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 5edccfb1a6..cbeaea2e45 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 c6b37fb545..7bb3038f32 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 a700f3c235..b32b6144e1 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 5edccfb1a6..cbeaea2e45 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 207b0c1709..43950c2e93 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 427d4b75d1..9559ef955f 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 aa8826b211..bd78505d38 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 5edccfb1a6..cbeaea2e45 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 b80b170e0a..27cbbef732 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 9e1c03c43d..0849d89e4e 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 d0a4621f7e..c33d56fe40 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 74474927e2..87dd2ef9a3 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 098d86a9d6..0386400ab8 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 9d9e6e3c44..13a812f409 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 cf3657fa33..278da2a17a 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 ef8d4bfd84..276a9aa712 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 0bfe40e975..0ba4d70807 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 ae3fc174fc..a978fbf1f6 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 f41cf3a903..8aa8462567 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 42a5c48fd1..0ac373eb51 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 bf23178e36..3c99fc3b02 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 950eed652f..6e59a2a3e7 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 f68689636d..9d251dd46a 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 2f7c203eeb..8fae114275 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 26b0cc5425..fd823b42b8 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 90b6641458..90f467915b 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 b891bfe683..a23490c343 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 69e2ff770a..9cb81ca8ef 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 024300a933..cddc6c4652 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 2c41da423e..9e7a8dd873 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 879b15ec41..de59ab26b4 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 dd4ae5f58a..0e6b88136f 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 c4beaf518e..b9400d66c9 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 38d7f1ab33..a075265455 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 9cb054b061..468876de0a 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 5ec39a8e74..39ea2f1356 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 5825ec9792..1b5b0198c0 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 ef2293fba8..381458cf73 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 62e1e3c2b6..109c04a669 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 c4a78fce88..564667c909 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 226cf0da76..12f02f6074 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 8b888f4e29..7afdaf6cac 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 d0f756c1e3..65618654e5 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 44ac12237b..4c33c7feef 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 3fea7cb22a..4812b9c546 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 c4a78fce88..564667c909 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 44cfd0d46a..b8732fa2c9 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 d78027f975..5720249251 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 de12651856..c7ea951b74 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 41c194fb05..a8f0f00480 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 8f41c27428..d0bcec6b1c 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 6f3638a76e..e284cf0cda 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 f51a57bf09..e9928398b0 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 5dd35cc624..80a15336ca 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 da385ee51f..9154176ece 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 c152bf1aac..c743f12845 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 877836610e..5bc3a7377f 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 484326156c..4adf7ba848 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 b89da0bca3..444a16163b 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 f11878b18a..8afd210c30 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 81845432a5..612c872d5c 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 4dd19d525c..2465ef4978 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 e9b1e14107..21cfea5c97 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 d2830f5005..9bc25bae4c 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 902e4c1060..1c36ce9cd7 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 4e8acc9716..5707b060eb 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 6b6ede231a..e65bc49a33 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 71347a05c3..7b94138c72 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 c7b27e621f..42349ef7dc 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 aa8826b211..bd78505d38 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 a001f63a2c..b722bb31b6 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 3eeb1203d1..aaa092b562 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 951730255d..1cc530328a 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 77b3fda1bb..9956a97f0c 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 63381af6d8..6843ad3d91 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 8fd8a8c62c..3eb73dece1 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 a20f7d6578..8ea821ac60 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 43b494cf4f..975fedb67c 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 dfb67827c9..364f1ee03f 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 46562442a4..d5fd3f06e0 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 1118604288..e150a5c7ac 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 2c8ec27a30..8b1b89af1e 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 e66b24269c..158d8f2a7f 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 746f6d7f06..ac2969f14a 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 c5e8531789..d33f54a7fb 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 c81e438799..736a402406 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 502c8e2225..197661d5e3 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 a8cf1c113b..a07c89199a 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 d20bad3cfb..3ba8075abd 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 679ec693d3..ab3f45004d 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 f18d1d9445..16fc2c36b6 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 ebed13076f..cac68cd695 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 fda8d99d1d..f0e151b7b9 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 ebed13076f..cac68cd695 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 b178576f08..0aa3c9e4e2 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 aa8826b211..bd78505d38 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 0e1bd67f30..cc098b8614 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 c8d20e6eed..127c6e4dc0 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 5edccfb1a6..cbeaea2e45 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 9e094805d7..748d13d826 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 bfc05bc61d..ab1fd4c677 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 59bb43451f..836442f96c 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 f86b5520b1..d2b10a8b7d 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 1b88d3a876..d8dfbfcc51 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 6c509bb0be..f0d86376ca 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 82f003620f..8bec6dfc4a 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 1f5ec94cd7..8a17fa70b2 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 aa8826b211..bd78505d38 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 e47b690729..1ce0d27986 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 075600f13c..27c45714de 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 8fd8a8c62c..3eb73dece1 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 ed89709153..e4e4cf3560 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 1ee8cf4fbf..daa77b107b 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 eea429d2dc..2512b76371 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 95eab78b92..a55170494d 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 2bc01ec908..30e99486f4 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 b93dde87a0..9d96c931ef 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 199739b55f..5659f4f976 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 a27fb7bc69..cfc7dfcac4 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 1409faac61..54173c0f5b 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 7e7623a41b..806fba0cc3 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 fa74dacff9..45d3b9e7d4 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 7cdfe47ee2..4cd04257cc 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 a33665082e..59c62118eb 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 5b7b548e22..19bf7d7ffb 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 b07094a12f..4ac0e9c21c 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 af503a6d10..71735daa67 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 2b461ec53a..47b4ed0587 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 b7d8a2c30a..aa04cf7120 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 b838d7cfe8..f25298154d 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 b4047c1d01..a2f0e56faa 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 80f4fdaa95..64c9be531d 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 08992247c4..a97676a5e2 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 464abb0379..d27120f9dc 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 409a3cbf69..191de99629 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 461bc05f02..228466e5e7 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 a0a9146ef2..1f752fef56 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 932e91f8bc..18c33f5f5f 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 4e4d55d9e1..066872ca83 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 a3a3aa11bd..172f122516 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 bb8d34a1f0..3d4904e6a5 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 6d29c2ae9e..15fa8eb2d3 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 ea08333512..f4ec7d90ba 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 c8044a5bee..89b0888ea8 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 61453b0dbd..cfe7f91aed 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 1fdff732ce..e0263adae2 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 aa75ead07f..b5ea7833e1 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 a399f3a344..545913c127 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 7f405bc682..be84aea9c3 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 4c1d2e564c..a4030c08ef 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 c942d37b03..b3c3d090f7 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 0ed28e6f89..d268604435 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 0f73a7bd74..1fd03c38a9 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 583bb13d17..e884299b0d 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 5979fc2e87..8db8d4856e 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 ec682b47fe..3aa09440c0 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 0a44a1aa68..3f889564ca 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 67db7e9160..8dc58dd3a6 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 7f405bc682..be84aea9c3 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 202713a748..a4c19607be 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 9aaa688216..58e44b9a33 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 77c165d341..d6d7f481ff 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 a2baf2f899..bffa6153fb 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 e4bec37ab2..a68b09f600 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 7a4158ccf6..6f1c592397 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 f63ba8b420..58d9fe3e4a 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 e04e640d5a..c669b04baf 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 a0743ff8eb..be1e3b8acb 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 76562ad4ff..3c2bacd58c 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 cabd8dbd2c..b925de4f89 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 50fb845297..83843a1300 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 7b046e78c2..a0506e85f8 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 012172431a..5823dc9109 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 cc37694123..adf635a440 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 2b5283f1c0..1bad729118 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 f78979716f..002e87dc7e 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 77866a212b..b8cdc53ba6 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 8855db2d88..4e56c05ea6 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 28cda5819d..923bdae0ca 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 fac24117e1..7c2140dc82 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 43333f331c..92674bfb56 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 c35d8be2dd..4656d75229 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 218d8921e5..5a1a0e5131 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 b2b74e4c3d..d70cdcf7ef 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 218d8921e5..5a1a0e5131 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 db2ece96c5..9113b3f7d4 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 80a6663b9c..b970dc3e7d 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 64bf1ce252..a4b9452f85 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 218d8921e5..5a1a0e5131 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 cff38d79e6..4c05a5fd19 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 80a6663b9c..b970dc3e7d 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 a49ad2d0f7..88356a52cd 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 80a6663b9c..b970dc3e7d 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 9286aee124..de8d4cd71e 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 80a6663b9c..b970dc3e7d 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 abb052ca03..32f5c44726 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 9bcaec2a3b..7a5a6f0d9f 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 b93b588937..663136b771 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 9466f94ebe..843b2dea75 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 bfc7e2e6f0..56e5e0b8ba 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 f712010df8..17c293ec95 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 ee1a2bbe96..68f0761f3c 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 52fe567d42..3602b513d8 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 859fca3bc0..1db98b3d9e 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 80828ce2b8..f2caf43b7e 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 17dbb487e9..1c3b93bb68 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 9a1001de55..5b042a47fe 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 1afc2d53d3..ad9245beea 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 175b06f0f3..f0eeb4a52f 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 57fa9df556..32b134dfb6 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 3f769c123a..a6ad772377 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 e094929516..4ce037d2fe 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 50fc57dbd3..79e02e6f6d 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 0227be6475..42da0571c6 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 bf622d648b..70719ce1af 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 ee09c76578..3da125b8de 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 fb389ada30..d977310ac0 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 b0743ead7d..22621d6bfd 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 ffa93bdd1a..ce2c51a6e0 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 640578a483..f990a58d35 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 8c3e3dcfa3..97309efeca 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 7b683babc3..3a0866a79b 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 3808e8d29c..d5220c7127 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 2f9cc373d7..11ad567033 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 6301c23e8d..450df500f4 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 3208b52d18..d831cf7adc 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 bd54667191..9a90cd9fac 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 594fe8a44b..59118fb95e 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 eda4cdcab6..0dfe171ffc 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 5e1a321a75..491dea058b 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 ae93d6aea3..5e1d87e476 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 905ddb01b2..17c7af26f4 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 188c45fddd..0e9389b3d1 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 76daeedcb5..5090cd0afb 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 2d0b427c69..1b5ad9bee2 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 5ae519fcae..3aecea5cc7 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 2fdb05aa43..aafe1dcbbd 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 399a0eb9e2..0d24098178 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 076bb69a9c..15b3b71f49 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 ffe37921e9..7ff22981c5 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 2d3f386379..925e0bc27c 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 115b40c9ad..0c1cda6159 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 ffe199c40a..6e7f7c39a0 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 f7a23708aa..e337906ec4 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 b8edafff5f..0b4b0ae237 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 71da2a56e5..8be3cf61ce 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 8c9b2eeb23..0a902379cc 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 3a14caadb2..902d037ef2 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 24ba8843f6..b02b34c33d 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 ae96ac5716..6bbab5b330 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 1f1827cb6f..482698a68a 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 514cd8a71d..89738668d9 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 e46cc4fea2..4ce3c7f3e2 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 ac683e5310..da73415a86 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 c7ff062702..8794543157 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 fe610fc2db..c015b98640 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 6e6836897a..b0a9838789 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 8cbf1f704c..69f73209d2 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 e3199f7843..7a5c806439 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 c0a478d3e2..a6c75f73be 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 0bac197d28..524f51c7fe 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 8db7d98308..7bed6a5b3c 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 682edbf5ac..f9f628b0eb 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 65e49a432f..694f11beec 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 dc2d6cfa77..26b0a347b2 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 53456485ba..1e7a24f630 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 d101fe0c70..116eb6ac5c 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 c6102a0ce9..690c3a4fac 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 f26d037439..4a8405fb22 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 e6d027d4ab..b694cc78ff 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 8876eadca3..c0a3a8ed47 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 d798c0e016..38d659d5ca 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 69b428d4e3..eb2fbcb5e8 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 6071656c31..78b2796d7e 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 af4b5c2cee..6d19f784ba 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 3afa3d9e57..99be62ff1b 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 1fd56e0310..490bfd260d 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 04a2363c2b..41abacbeac 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 5ffe7dcd2f..b84485710e 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 b12e9e3a4c..da663c7238 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 eecbef0f36..37b18a0c64 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 faf270ae55..78c1383ee4 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 9ecf8995e9..54e67791ba 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 8269cbf9be..f599f3d33b 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 67a4c3b388..c309b40019 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 16ffe4e01e..7d12de8bab 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 cad52ed449..745209467d 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 cf357df213..0fa2082f6c 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 40f29c01e4..92e5ee0c1d 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 34f726921d..bded8f5b25 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 01332d34a3..ea749d5e2c 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 fdc8ad0e45..a4ee90bc30 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 334b715c27..16bf718c50 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 3ce4ded71a..959a445226 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 ad8b5d8fb9..cd936d1261 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 8c7b385dac..660cb168cd 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 7d99943754..d2dc5776f4 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 2ea5335a1d..35cc8f013d 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 904bde75ac..643bff09e2 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 4ea4573d57..ef33ae73d1 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 346c301fc0..bca547d99d 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 6da9dec62f..535cd86b73 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 5a884f346e..86f14d7c32 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 adf18f42d2..450e2c9ac9 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 b865ca6871..07d6714216 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 507ea4f3bb..16e12ceaa5 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 b4def5c341..77372d38e5 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 e707b4dc91..4cbfe3d6e5 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 ce339d6bf4..55270b78d8 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 a2ab62fb80..b2e12098e8 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 f38a1a6b15..4f3c230918 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 69f8ef7aab..197bb1e35e 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 65a5d4e529..8cfdf3e26b 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 df701b6740..94a2c2ba0a 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 796d915d87..015902c682 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 af44655382..9147380416 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 d884c9ce5f..c4ba3dd170 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 a97b419ee2..a3a8ae518f 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 5d607385f9..930a0e7f25 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 3060da5adc..27f8c0ae00 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 8ad68d2fd6..5e2d92a0a7 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 8c4437d62b..7b3b73e410 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 9e60e90a5a..7a8dbd6fe7 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 54c77a8f57..86234570a5 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 67371416f0..743a928035 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 4bebec92e7..5cce6fab0c 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 d592a2959a..35b73258d0 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 d3191e3c5b..9febd79401 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 e45e0466a5..5d9be7264e 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 daec068938..c88080b17c 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 aab99282e9..d66f7ace64 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 159b8f50ae..eb53bac237 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 8cbfbf318f..86879bebfc 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 3a915d76a9..347296e3b8 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 90a5dba5ef..c279f37284 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 722e7062fe..aea9f146cf 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 a9d4d45413..5179d5e651 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 0cb748c897..309f2d5828 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 9d0c0ce616..fcd8bf34e1 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 4dacf79149..6d01c4d860 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 1938419b8e..ef2671c9e7 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 34f94b5de6..e749e31d7d 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 2d429fcede..066492dc20 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 e0bd27971c..99e8717c5b 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 e019536983..1feed86336 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 381482b3b1..62ef4d9361 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 6e3fbd17ef..7b3eead393 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 513d7abe8c..4325b16a68 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 513d7abe8c..4325b16a68 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 9e44626a37..856188ac79 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 6adccaa9dd..86e1bef2e9 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 e0eaf7f7ce..e0e14baa08 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 a733eebe71..f730c77803 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 48174e2778..952e2317f2 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 7090c032c7..1f04d1dae6 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 3101afc9f8..cce7d4a5ab 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 8318284b7f..f099845f09 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 c411a25966..984d885c70 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 51eadedd1a..42bf375580 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 c873757ce9..d63be70da4 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 e72a848ce0..fbba2a07cd 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 e06c723748..c6698c7ac0 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 d97e3a38f9..fd29879e71 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 07ea0ad41f..d5aad76c7c 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 919f3887e3..a83dff9296 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 8f5d8663fe..7264e6f20b 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 8487ea7e8e..e2c6c9dd70 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 9f50842539..b3bfb819f1 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 d67856ad53..dda90e95db 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 dfecf8c175..1ef7e0c0ef 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 1181243fbf..ddd57ab883 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 e069915b5e..bc439df5c6 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 e20cd52dca..a5afd776d6 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 1e2397389e..37015fe428 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 b9e1e1b35b..25bcdb6c51 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 c6ac1551b0..b1a146165b 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 0f7f237567..11bbaadb76 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 bb566de092..f69650afa1 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 e5079ec810..4225ca38ef 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 9ecaf0bed4..faca1ccb80 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 2e80ee2349..03e58faab3 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 9ae7afd285..d4df3dece7 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 36b86255b3..dec4bb36bc 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 96eb9e73bb..45b3987e07 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 8ea4dba4e9..980c3ec62c 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 6134708b7d..5e05995df5 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 5e6e27b0a3..51c8f47e3b 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 4113eafe1d..d2b9c0d4fb 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 42a699f07f..5c3c0ef85c 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 4113eafe1d..d2b9c0d4fb 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 4113eafe1d..d2b9c0d4fb 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 4113eafe1d..d2b9c0d4fb 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 d0c2b58495..b068b6bcb9 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 4113eafe1d..d2b9c0d4fb 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 4113eafe1d..d2b9c0d4fb 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 a2bf5d7c18..a7462ee718 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 9945608862..adf97d5f87 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 f56029e677..f5aef63ef3 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 38e7a6d379..c7ead20142 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 249092b751..f746d1d45f 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 6197899f71..bf3bd2d8b0 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 0e970e1d3c..61c853debf 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 6d040949d8..2b77f8a754 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 2e88ee177c..9054260c11 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 705fd689f2..c72d55ae21 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 532bfa7002..801210f2d0 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 8dcfd602a7..dbcad42e4c 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 be2dcb2ddc..9ec769641e 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 b05d129b39..c18c200d0e 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 dcc95cb0d4..8d3bb8c18c 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 27cdb7da38..712ed2c4f5 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 b63aebc082..7a1be91ead 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 7e71ede152..21099aa308 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 1e69f7d485..c72daaf9ec 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 c1be13983c..6c47b0fe4a 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 8000750d9a..cc217b726c 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 e10121ff23..15abecaa93 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 8baa1c95a1..929e30bbad 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 00be92fe0c..777e56d30c 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 719b1369e8..71e73086e5 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 b9d3900635..42f4b8ff27 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 06dc078ce7..aa8bc7c255 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 d2b0b82995..aa56b8beb4 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 2e96afece2..2e3d9187ae 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 8bc5f872ff..fdc8b90bbb 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 9709b54fe2..44a8910dcd 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 f82770a5ac..b17f2da2ca 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 86abd5cad2..c273eea761 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 9709b54fe2..44a8910dcd 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 ae49742239..cc55ea14c6 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 bbe265f837..72a5c16a54 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 8214bf15be..1fe54c868a 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 862b3e19a1..1ec55878dc 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 9204c53cf2..86280f765b 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 ea47009449..95f669b4f2 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 b9befd16ef..29f03a9114 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 1184792992..5aeaa86fe3 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 c806247d8d..fe1e0bdc73 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 681692b677..9a291db2f6 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 f81df13cfd..1aa9ac5c74 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 8314085bbf..905a71e2f2 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 bc68154362..67260c3f7b 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 c8c00f3b82..4c30a007bf 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 92c9f35f59..62621bdc56 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 5aab4aea7d..c5d0a68331 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 43c1a2b225..8a317ac2bc 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 4d7e73beae..5088499a25 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 662e7faf8b..f446e696e7 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 ad4122a515..5c9cab625b 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 861047fd8f..e1391f3306 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 d328e9167a..b73895884a 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 eb4d133e60..5e8215bec3 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 35d54b638a..484cf33723 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 bcf29126aa..e9a61408fe 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 c5134b8fa1..6d5bc319e1 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 54f04463c6..99f3d81fff 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 76074a73de..88cfc29bd7 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 f16c0ffdd2..7191f7f069 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 bdb96e0681..628615f491 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 f262532be5..db81e27d82 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 acc5a1015b..c61f4eee77 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 9023859205..b17d649381 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 62ac2da592..353cc3f1fb 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 df2e0ebcce..ba524e45da 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 90fc5607cd..ff61f3fc2f 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 2fca37133d..2bbed1b706 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 47758e26f6..720e523478 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 474e81f960..002808356d 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 f109c2c2ac..48a4865dd5 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 dbacf0f450..fde12308e3 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 6b40238c76..8bef7eb52f 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 86d97281b0..7e24941742 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 ef4968bde2..0eff05642a 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 0bcfd7bd2e..4b5f7f9266 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 121a3d84a7..34d5752548 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 c174021675..806608ab5e 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 c724a12f83..7eff6a9b63 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 c724a12f83..7eff6a9b63 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 915f156ed3..f0f8bace41 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 c88247dc46..9850f543ae 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 baea08aa3d..7868a08836 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 6eb8360401..a9003d8498 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 af4315916b..1bdaa611e7 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 f87e43dc5f..98ed793911 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 a0bc3c6182..36680ad761 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 b2b0edaadb..97b4ea7fcc 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 c9c88c446c..fdd95f7444 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 fc37734a34..3dc1466667 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 a62dd1791f..7ac5982e37 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 9b09222f7e..e76b97fcaf 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 30d6317267..3fa4a26fb7 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 27414e180a..0864eb6937 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 b59d7383b5..ba67fd050d 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 ce1eaab512..dfa31b2583 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 9e49ad5a2a..4465d8a5da 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 f58c410e64..1cee7bf9a2 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 27343d7626..e40534cbaf 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 589a8a1d4e..8554aab2ee 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 8639c2c52f..57044853b8 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 95f1f778ad..3403fdbe53 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 6d30cf6694..25ec2b8c30 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 e89d4600bf..f9a7307e73 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 b68406c85b..749a4c2b9b 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 898c9f25b1..8447f8ec72 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 162f4a8fe0..dea999037f 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 8606999495..b4ea0cf818 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 50f0ef86e4..2913ea46c9 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 ef8d989549..3d17c57ac2 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 e0c67b46f4..aeb1a716a8 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 7048dc9c0b..de557f5c0d 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 50d6e46971..77858c3dcc 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 0ec4b1a36e..21496abbd0 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 510cabfca2..61f735c2da 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 b16a59b95e..a33f987199 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 735acca1bb..8aaa96795c 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 6127c6026b..f4c633f206 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 8e3f8f0e5f..87a799b203 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 e9b9ba7f39..467287ed16 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 26c7097898..91f79b1cd5 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 7a2034d962..0a7780b572 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 056196c6b2..97590d1a8b 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 ff2352f3a5..8684185d3a 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 20d5b06dfe..4e98406bdd 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 d73d2674e6..361e8505e4 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 22832757f8..a62cbe76eb 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 561b67d136..c689c1fd09 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 c2aceb983a..4b7440d461 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 d4242783e0..5800e5205c 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 8aaff7dc9d..0b38281cc5 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 e2836b711d..788ae6001a 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 e561fe5a16..af23ab52ec 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 127e4a5787..6a28d19228 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 c35d89c6a8..d4acefd1c3 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 ffdb80a5d9..2a69a798be 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 5db3b15f77..11305d369c 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 c01abbbc8d..bdf270a29c 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 68377a237e..ba32b68a7a 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 b1f55275aa..b67cf8a2d1 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 9c27f92575..9cd2477bc5 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 a2fd8620da..966df095fa 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 99fd151ad6..2361894765 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 99fd151ad6..2361894765 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 2dc1a87775..12d871208c 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 8a02301940..85be4acaa5 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 df7b502d3c..b096e7821b 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 a1aeaab76d..9886790db0 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 f731c463a0..9720473474 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 82569d7587..ffe80802e4 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 d57ad7c23c..87c4083938 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 2feff2c18d..2ffc57cbae 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 0f903aa390..4fcb72afca 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 53eda259ce..445aaf1296 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 bdcd3ef485..8bd9eb3a20 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 8e42040f71..f9d9095a09 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 4e53314876..d9f9793c21 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 c7790c8ae1..dcf250d68a 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 23e14d01da..ae9b6fc260 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 b087b0c7b5..14cde3fb2d 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 5f7a8fff44..993c9697d3 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 f625ac1044..be2a410f79 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 a12a3ca4b9..604019785c 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 94c3f83399..dc184fa774 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 bff8c296e2..8ff035fc9d 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 90f5048301..d230b88648 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 f7ef971405..bf3e6ce02a 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 f716a2954d..6c730354d3 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 a27eed6a51..361b5209f4 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 10aa98433c..76927fbb78 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 5ae7dcf914..f4aadf0ddd 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 726bce00ca..7ad402682d 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 4ca6d7bca5..afe37d5f82 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 b3365c1c48..2d1ebd4073 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 9f5c62b410..ad76b40037 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 4621a3cdef..41beaa1249 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 7981b30d55..c67558cbde 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 a8c2db1d1a..50d1013e9b 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 3427adb712..75d9be5e59 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 cdf24e7045..a021dfdfc6 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 52e85a562c..b42e9be886 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 ac7ce7faba..226f3bd626 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 2b8ae1e38e..a16e7981d1 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 a7e453e91e..5423d8602e 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 250e783544..5231a57f6c 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 34c5b3be36..b77a388860 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 b304980e28..332416ba43 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 36a74ce0a2..3ebb82bc41 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 b304980e28..332416ba43 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 6701696eed..2704e48501 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 6584adb07b..0ad494174d 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 75d4db5497..453197e8b0 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 d9642afcdb..1cb5fa1f93 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 e760b6a8a6..0857913f24 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 a506edee04..7b9cf88bcf 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 8b22d4ed0e..aa01a4d6f7 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 49169cdcdd..b971d81c7d 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 ac7ce7faba..226f3bd626 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 a987bfcc84..f23bddaa1e 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 b304980e28..332416ba43 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 1e0699ff89..1e42b4d267 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 06227a5168..34a4749b13 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 b0afd74945..9dd6e2d818 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 a76ffc4951..fff365485e 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 83f42cdabf..e08acdf998 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 7fd1c2e602..7bf05aa9e9 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 91c6c9faf4..f9e41e2997 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 ac7ce7faba..226f3bd626 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 b708ebee28..fd6f6f29ed 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 7cb1ea80f0..211ca5f45f 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 a664ec32be..84a86c0e45 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 74945fd994..9486f25591 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 e64ef958b0..f227306ae3 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 59c7a62a49..7e5a7b59d1 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 03f24e12cf..ccdfab35be 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 e4717b2d67..1a7c03d378 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 9d1e045116..413aff4a11 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 e0606ccc61..0436151c4c 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 25e9379903..c527e9e60b 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 9ef7993f62..83bb2a211a 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 19fc24a776..b3e22ec1b6 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 728853bc69..e14dfb877c 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 8bb88661f3..ae6495b7b0 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 c5238b26c3..b5232ae457 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 ab30333fba..58422985f8 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 526bd6ad6d..271d71fca1 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 849ad4fab5..8ae7889b0c 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 844c525200..ac3ba70ace 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 c8ba1bdb50..a393b4b00c 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 844c525200..ac3ba70ace 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 1d6d4bfd59..bb448443b6 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 844c525200..ac3ba70ace 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 f87c6d3077..76d97c1b1a 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 844c525200..ac3ba70ace 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 a186f4e7c7..fb7c4216ef 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 844c525200..ac3ba70ace 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 ef7b2f6a1f..720bfb0bb0 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 844c525200..ac3ba70ace 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 6ac634bf50..c5b8ba0016 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 844c525200..ac3ba70ace 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 0260faccfa..6185902cd2 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 a54a9962bf..3b889a247c 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 c906e28cc9..2967d8ebf5 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 a1abf1f523..b52e29fa5d 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 ac7ce7faba..226f3bd626 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 9c04e297a4..0cd7b91242 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 a2d43180b4..6e5e652b5a 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 8fcbb12ab4..a5f9a604bb 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 74945fd994..9486f25591 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 3e71730777..4f7fd4793f 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 74945fd994..9486f25591 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 f27e71e2fd..fd0f43037b 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 bce0344053..be236772d9 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 d35c9b8a8b..bfa1309386 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 8a739c5832..ff787f150d 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 85ba24b14e..da618758be 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 c4f825afd3..ff17e92287 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 edee2dce39..363109a385 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 41336180b6..7854011f95 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 c4f825afd3..ff17e92287 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 5ad7fe233d..1097b991ed 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 04947bac8d..b5def1e182 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 0ae1a24510..b5a88a077d 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 bbf73a1f15..a6b41b5e23 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 5ad7fe233d..1097b991ed 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 1081a0f5dd..a729ac3c12 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 7d62d75c5e..6a0139c962 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 d6a176c1f4..449cb3db8f 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 52e85a562c..b42e9be886 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 861c187692..326f584b3f 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 a600574c41..96871ef33b 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 52e85a562c..b42e9be886 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 5173eec865..c5f97039eb 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 30dd1522d1..50ee91a2c3 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 7f2f3bc149..55fc3999fd 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 3ce65cd842..f49bd6e1ec 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 e05bc33f59..3f0a4fbebe 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 a8a003a31d..781adbc718 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 69d1d42280..6bd4d95944 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 636df020af..1381cb89cd 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 7f2f3bc149..55fc3999fd 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 dd4d89991b..a907340123 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 ed885fbe40..00787761df 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 dbae19ed1c..034adc2093 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 4b45b405dc..eee8145c37 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 2bb83f7395..1fb3b1e961 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 8331ed2b49..913a17fe36 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 f394811959..e1958c91d3 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 0ba0da0b32..aae3e6b85c 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 791971875a..ba904cb7b6 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 cab9763170..c633f01eb4 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 41a2233b6e..36a3c14a74 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 550e9a97f2..31ca0ccc6f 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 d3aaa5a98f..f43fa57541 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 0e1b475bd0..6974846843 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 bf179005b8..d76353d1d8 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 2176d213ef..25637c9a95 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 0131b4ef25..a4cc9c808d 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 3c9d258641..b6b153a117 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 e69de29bb2..db4392428f 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 0e954bb1ee..d06967b312 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 3c52450b2c..94b3b03970 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 2b98464302..49d6ea7689 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 429ad027c5..5c80ba4047 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 460394c315..7e60b52b58 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 5ad7fe233d..1097b991ed 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 47188c0163..95eec9f24f 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 1d45bca5c8..d9ae782325 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 b0191da26d..059a0d6ab1 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 1f212656d2..2b75037a83 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 13fb364169..9930fc095e 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 16ce313da3..72f5adcbdf 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 e9d752bea3..4b125091d8 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 773f1e6810..fd36aaaf44 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 6fd94b81a5..03a1c704a9 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 84046f347d..eda0b6a613 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 507bc2a19f..b7c29df697 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 d1ff52b85d..96163eb19f 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 ab6e161557..14201044e7 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 35b16d66e4..6bd04fe560 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 d7d4d6ebd0..af99c950e7 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 b3c922014c..cf4c6a82d5 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 5f1553ea94..2a4c6ec3e9 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 d4fa4e7738..85cbe7b9e6 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 398a00d9b6..2c69219557 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 1cfc30d3ad..5f296d8ee3 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 432d99c1ac..cdc7530af3 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 43ea341461..5d660ea88a 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 e4893b6ff3..3a96d8d914 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 dae98605e3..85f216ec80 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 0bfe00a6c8..56534a3afa 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 6ec59691ab..afa25258ed 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 38e8277de2..642132e4f9 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 b2391e8198..bddef43801 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 cefc7b595c..843c8b5724 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 3deeca70a9..d76fd3ce00 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 be933842ad..b718b07607 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 d6465f61f4..dd59557cae 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 0224f80ca3..cb6e5d8466 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 b331455b63..6ca3f5ed59 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 7f95381c63..233c0d5551 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 2029329068..be15bc8e09 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 bc4f6ea564..d3747118b8 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 99f97611fd..a88708c3bc 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 74db8f53ce..76e3c3754d 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 cfedbcc5dd..d97d0e30da 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 868621950f..29c65ac009 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 a03b483bc6..6605606ff4 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 43aaf4162e..e178d62f4f 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 adf274f2bd..4c71869045 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 2055005604..376e0407a5 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 49c318de25..15110bbb97 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 3bbd711d45..c538ce1816 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 da2b097d4e..5ffac40aba 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 c959c263de..5d4b7de67f 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 3b3553cfa1..17bcd08964 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 ef3f7abdf1..5dabd9da26 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 f3e8c3b48f..86cd632ef9 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 7391a19c77..52bfc951fd 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 2737f1c139..c335bfc604 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 e146de4223..1908fb311b 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 25846773d2..b0bea8f713 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 2d4e4e5264..3e79131f13 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 c91fe1a8e4..69088c702a 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 3257a64bf2..f911ee3bd2 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 2c67819f78..5e579a5837 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 8c9ce4808d..43081ce5ff 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 dec3478f4d..c16c3387c3 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 c4e0ea4656..c3d6623a7f 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 e19f3a9d01..99fd0f2792 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 e9f48b555b..ff71e8768b 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 791677671d..93a304c503 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 4f593aec66..6cda8253b3 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 ce79f3daa3..1a9f7172ee 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 1d79cf18f4..4a5459928d 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 12ec0a08bb..b60b38902e 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 2cfaadd2d8..7c7c8ee57a 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 e69de29bb2..1cfdde31e1 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 e69de29bb2..1cfdde31e1 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 e69de29bb2..1cfdde31e1 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 d55259fc3c..47fbc104f4 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 d2026bf1c4..cea28d9cd2 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 c7d5adabc6..9a3ac8d7ed 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 f0b93c45be..0f8b99b21a 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 bfec83ae34..4fcc2391b6 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 86007f029c..8649318da6 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 1731dee3fc..d99d01e8e8 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 1a460d7a59..260f4615ba 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 1235ed5e24..a2646d873f 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 254e8be559..2d204f3f1a 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 1ca97f62ba..282e113d86 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 eb9e4e14f1..26b8266674 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 72872e2c5f..6109876740 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 7cbf41ec14..8d910f208a 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 424acff5e4..2ca0eb2189 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 4c556670b0..690b5a58bc 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 0e0c34b242..48284bfccb 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 3e660f5062..67a91a2a88 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 c563284966..03f97e2d8a 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 d752f6b21c..12c62103ee 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 4ff1f6fcb5..dfcf0a86a0 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 4ff1f6fcb5..dfcf0a86a0 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 4ff1f6fcb5..dfcf0a86a0 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 b3f2ab672b..8f3401a19a 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 f72e7b6708..38c813f1ab 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 249c1c8a66..12d2b2f0b9 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 5a33d7682d..3cd79f155d 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 2a99b67b80..65430d56e7 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 e964bb824c..3bea69db4c 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 c0efaf1c34..7413a0bc00 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 2d6abb0e8b..c14e9e80a6 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 acf7b40a38..1fc7f6039b 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 242ffb7f5a..6a499e02e9 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 d9fd58a6b0..99386035c0 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 fad904b3f9..f5dd3fb368 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 8ac1b93397..8ac179f2db 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 edd8c294cc..ff22785763 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 53356ea054..59f70ea86e 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 50e173b355..a8be4796b3 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 47e70f1471..32c3ff19ee 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 6c3a550cac..b13f54b73b 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 8766432899..fe109a9d07 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 ef2c2fca92..ea540a94f8 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 b7f3b592c5..4a86380e27 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 53eda259ce..445aaf1296 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 53eda259ce..445aaf1296 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 a62dd1791f..7ac5982e37 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 debb4630bb..72f9e604b8 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 a4b2bf0a1f..4640df1c3c 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 575d855bf9..1a9b8b8fcd 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 d8168ce3c6..66e98a7b2e 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 53eda259ce..445aaf1296 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 78e1c4a897..b45e1eebe1 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 cb21b4af91..6f7bdc9032 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 f8e8686ad7..39fe2bc3ce 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 90b131c50c..f3baacf0ae 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 1ee320428d..046ef95f07 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 1ee320428d..046ef95f07 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 ab27305efd..9820950e6e 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 3b716bbee1..a6697b78f0 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 8de4fb9c22..ba374e41bf 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 abf79396d2..e380a01c5b 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 eba9c7e2c2..f08185114b 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 5a7a74bb71..8fe93aa528 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 d2a70d1695..b09edb9538 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 c3b689cb1b..9ac96b473b 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 6cf686729c..00e8ceefd8 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 e51ae17046..bdfc89bb9d 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 f87a262bd5..f8386999d5 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 1652bb1110..3044111a22 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 46950b57e3..d7dea1bba0 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 2c562a90d4..ebd00241c9 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 d59a716777..241415c479 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 c79ec69769..9d231dd454 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 39e56ea66f..a86430bcb2 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 5407fbd19b..1d33f6d218 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 cbe224ea2d..3f909fa522 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 2a426facb4..140643a81d 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 380e2685a9..825c4bd66c 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 9c27f92575..9cd2477bc5 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 5caf8cc5c3..0718c9984f 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 b0232e1f55..2282a0c8c8 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 f494fe41e5..b98d2fa8a0 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 047f049a04..345401c013 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 c95b419ff6..1c742414d1 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 f1d98d97b5..4db2447e98 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 1e09ac3fa9..c5590572f5 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 7764aa777a..523be953f6 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 c5b9fa7d33..674939aa82 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 fe04e46050..e50cd66481 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 d9043ec11f..7648eb5245 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 790127a809..15f80db408 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 7e31e22f6b..ac2a475aab 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 c5e28e4524..0de29bda70 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 0221f03f49..b0658f422c 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 7b99ed368b..ddde548c10 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 ece29e2277..1c8f755fcd 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 a82b4cb25d..3bc0d26390 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 64ba9937c9..e6aacee755 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 8c168d6159..038cb3451c 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 36a8705f83..07c923bb58 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 cdeb78ced1..735ca3b400 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 e5cb6daf21..d03f315970 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 04d95f0705..13def6b198 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 f7e92d1c2b..bc32021861 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 3446d78689..96b7de648c 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 d7c2f80057..621b3b01da 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 f667b1ee95..2cd4fd0741 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 0653b1d718..468c2d64e3 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 9badd10601..c566e45e15 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 aa414b9415..1fc26fee94 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 30ad301bb1..c2764fcb6a 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 6ffeac564c..59842bb1a6 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 dd150b69d9..f136e0b793 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 cca3b61793..09e9f9cb56 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 bd25d40d38..f5b8859c8a 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 aa82d6dcb4..8ad39e84e7 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 1b8a6960fb..4d0b0aa3cb 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 f3d480b361..c69a34455b 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 1d6bb61c18..438da693b1 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 b1ffad1310..120c361cf2 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 ad2483520c..f6d678da52 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 a055694e3b..a446da8d64 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 aa92dbfc3d..9196efd7a6 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 8d0ce0deb6..c0f153598d 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 0822ed7f4c..21cd277261 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 da84f56ca7..abf4a11338 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 28df8b3af7..407339d004 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 e7dfba8588..5057011aa1 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 73753de7aa..b646cd29c4 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 9dd68016ed..548179deb2 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 fdc6d9a8c0..01f81c5942 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 11bd696b92..a5214b0e8b 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 be3871484e..8957995cda 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 8086d814f9..b827acba2f 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 018f731c2b..f004ae28f3 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 f506e1bc07..c93a6a6a60 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 93525ae0d1..4f95bdc978 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 7b76c5c6e9..30f65ac769 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 f9f75a7ef2..a114d491e7 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 68230dc48f..712566b15f 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 90eb4c14f3..ac5e06a2ab 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 b9006d272a..8d50e44364 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 527f5f7e6a..9d4f0cc1c9 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 4a61926665..afdd63f518 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 f1b1eb7490..76a2cf3e56 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 50170e5ce4..3b839d9233 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 6919b026d4..bc858c5527 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 769f95339a..3042cbcf1b 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 3b19ad8d96..144fe031bd 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 977f6b62db..12d455fcc9 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 9e3e71b371..4ac159a257 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 edacd9358e..0b1bfc6258 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 b677c09aa8..86a0ceda4f 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 4491e40bd9..fa603b3c27 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 60dd9ff609..f3ed56cdbc 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 cf0d64493f..8eeb6064e9 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 b40df26d2e..d3dbcaa593 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 b36865da65..80c32547ff 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 c307b74524..c394593045 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 455f00e9ed..d7466875f5 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 a6460e03dd..75e5a85f2f 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 85420d871b..1195a68ef6 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 51c9dda900..56a7227dac 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 d01c824540..92690d0a22 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 3e5b12f9e4..f3704d4941 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 dccc41f28f..fadf90b231 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 c262dad643..1786b8bb06 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 efd24fc83a..32a4fced8f 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 c724a12f83..7eff6a9b63 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 b618b0f696..d8b19e9bf7 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 8f46de0a5f..121d2c4183 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 db755b74c4..4a1ae40a1c 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 4f5bf58fec..f3d45ee6ec 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 f6192d24da..fafc649518 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 0635ef6dbc..afc22ac9d8 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 0635ef6dbc..afc22ac9d8 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 0842f4d22b..4e27e39b09 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 07e8eaa05f..6f1dab1e0a 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 d20cb981ff..0e84b3365f 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 0d0fbddb7f..a6c6d25ada 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 2ae23c46a8..162042cd90 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 267517f51b..2daaf87fa7 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 aef2c4d03f..05f7711d99 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 d20b1c8399..74b08a177e 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 7e1a93ede1..efc66376cd 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 48d975e9f8..2ca5bce956 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 15c894409f..f51be36ce9 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 793a9400b6..03f535dfe8 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 d984719d0b..9173dc8a65 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 953458f374..ab7c7a1cab 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 3e6ecfb313..06576e141f 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 ee0dbe14e7..3f16364d50 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 05844a667c..e9a45b75a0 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 1beda60300..f296e4566d 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 028b39f353..3a00038e1a 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 643aa50bfe..9eef1ebe94 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 7bc37c06a7..b649bf384a 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 e5fa435843..56963a2dfe 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 4550edce19..dcc43da1ef 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 b123cc4ddb..8d7c60607b 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 3d6b87c31f..a986308345 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 a232ac2349..150fb359f6 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 e445d83890..9367a38bda 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 44a6db14cf..0e81097c7a 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 7e183fe2ec..c4c4b74b0a 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 447eae9784..e977baf6db 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 21d8e05b8f..f96cd15a7a 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 9671f9da01..9f59fca800 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 3a7cebf9a8..d2b14fbfa1 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 4a61590e1e..71904d8b85 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 33db317dcf..0e8ac768f4 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 ba86c2d6e8..24cea960d5 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 ff28d5e8a9..209363fd8f 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 44823f0b70..00e831d5e5 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 438fae1fd2..324967a3d2 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 9c487fb7c9..f3cc43f270 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 8d3d2daf05..405f44adc4 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 4a4716e32e..f2aba3929c 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 7087d98b85..9bbc952add 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 5c285c9b0d..e7fea73f3d 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 72243a9651..2a2f04d7c7 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 90e7cb111b..88aed316ba 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 0d1cacd1c4..f91381035a 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 1b1ded2e81..edb6c6898e 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 c22fc01871..1ef0862a53 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 30e1691e47..a69ce66e57 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 c22fc01871..1ef0862a53 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 a80cd21d3d..acca43cb27 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 20578b805b..d25804cf19 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 c5a979494f..8ef9a91c3a 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 d475ce6f1f..46bd8dd8ad 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)