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 <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-04-06 09:08:09 -04:00
parent 8287f7c855
commit 3ae52624ff
1332 changed files with 2676 additions and 4 deletions

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
# *DOCUMENTATION* # *DOCUMENTATION*
# #
# Note that this is *NOT* the top-level CMakeLists.txt. That's in the # Note that this is *NOT* the top-level CMakeLists.txt. That's in the

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
add_definitions(-D__ZEPHYR_SUPERVISOR__) add_definitions(-D__ZEPHYR_SUPERVISOR__)
add_subdirectory(common) add_subdirectory(common)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
# Enable debug support in mdb # Enable debug support in mdb
# Dwarf version 2 can be recognized by mdb # Dwarf version 2 can be recognized by mdb
# The default dwarf version in gdb is not recognized by mdb # The default dwarf version in gdb is not recognized by mdb

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_library() zephyr_library()
zephyr_library_sources( zephyr_library_sources(

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_library() zephyr_library()
zephyr_library_sources_if_kconfig(arc_core_mpu.c) zephyr_library_sources_if_kconfig(arc_core_mpu.c)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
set(ARCH_FOR_cortex-m0 armv6s-m ) set(ARCH_FOR_cortex-m0 armv6s-m )
set(ARCH_FOR_cortex-m0plus armv6s-m ) set(ARCH_FOR_cortex-m0plus armv6s-m )
set(ARCH_FOR_cortex-m3 armv7-m ) set(ARCH_FOR_cortex-m3 armv7-m )

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_library() zephyr_library()
zephyr_compile_options_ifdef(CONFIG_COVERAGE_GCOV zephyr_compile_options_ifdef(CONFIG_COVERAGE_GCOV

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_library() zephyr_library()
zephyr_library_sources( zephyr_library_sources(

View file

@ -1 +1,3 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_sources(arm_core_cmse.c) zephyr_sources(arm_core_cmse.c)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_library() zephyr_library()
zephyr_library_sources( arm_core_mpu.c) zephyr_library_sources( arm_core_mpu.c)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
# '-mcmse' enables the generation of code for the Secure state of the ARMv8-M # '-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. # Security Extensions. This option is required when building a Secure firmware.
zephyr_compile_options(-mcmse) zephyr_compile_options(-mcmse)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
# Put functions and data in their own binary sections so that ld can # Put functions and data in their own binary sections so that ld can
# garbage collect them # garbage collect them
zephyr_cc_option(-ffunction-sections -fdata-sections) zephyr_cc_option(-ffunction-sections -fdata-sections)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
if(CONFIG_GP_NONE) if(CONFIG_GP_NONE)
set(gpopt none) set(gpopt none)
elseif(CONFIG_GP_LOCAL) elseif(CONFIG_GP_LOCAL)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_sources( zephyr_sources(
thread.c thread.c
cpu_idle.c cpu_idle.c

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_compile_options( zephyr_compile_options(
-fno-freestanding -fno-freestanding
-m32 -m32

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_library() zephyr_library()
zephyr_library_compile_definitions(NO_POSIX_CHEATS) zephyr_library_compile_definitions(NO_POSIX_CHEATS)
zephyr_library_sources( zephyr_library_sources(

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
add_subdirectory(core) add_subdirectory(core)
set_property(GLOBAL PROPERTY PROPERTY_OUTPUT_FORMAT elf32-littleriscv) set_property(GLOBAL PROPERTY PROPERTY_OUTPUT_FORMAT elf32-littleriscv)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_sources( zephyr_sources(
cpu_idle.c cpu_idle.c
fatal.c fatal.c

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
# Find out if we are optimizing for size # Find out if we are optimizing for size
get_target_property(zephyr_COMPILE_OPTIONS zephyr_interface INTERFACE_COMPILE_OPTIONS) get_target_property(zephyr_COMPILE_OPTIONS zephyr_interface INTERFACE_COMPILE_OPTIONS)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_library() zephyr_library()
if (CMAKE_C_COMPILER_ID STREQUAL "Clang") if (CMAKE_C_COMPILER_ID STREQUAL "Clang")

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
set(X86_64_BASE_CFLAGS set(X86_64_BASE_CFLAGS
-ffreestanding -ffreestanding
-fno-pic -fno-pic

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
config ARCH config ARCH
default "x86_64" default "x86_64"

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_library() zephyr_library()
zephyr_library_sources( zephyr_library_sources(

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
# Any linux host toolchain should work as a default # Any linux host toolchain should work as a default
CC ?= gcc CC ?= gcc
OBJCOPY ?= objcopy OBJCOPY ?= objcopy

View file

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: Apache-2.0 */
ENTRY(_start) ENTRY(_start)
PHDRS { PHDRS {

View file

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: Apache-2.0 */
SECTIONS { SECTIONS {
. = 0x100000; . = 0x100000;

View file

@ -1,2 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
set_property(GLOBAL PROPERTY PROPERTY_OUTPUT_FORMAT elf32-xtensa-le) set_property(GLOBAL PROPERTY PROPERTY_OUTPUT_FORMAT elf32-xtensa-le)
add_subdirectory(core) add_subdirectory(core)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_cc_option(-mlongcalls) zephyr_cc_option(-mlongcalls)
zephyr_sources( zephyr_sources(
cpu_idle.c cpu_idle.c

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
if(CONFIG_XTENSA_RESET_VECTOR) if(CONFIG_XTENSA_RESET_VECTOR)
zephyr_library() zephyr_library()

View file

@ -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 # To avoid a lot of empty CMakeLists.txt files we assume it is not an
# error if it is missing # error if it is missing

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_DEPRECATED config BOARD_DEPRECATED
string string
help help

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_ARDUINO_101_SSS config BOARD_ARDUINO_101_SSS
bool "Arduino 101 Sensor Sub System" bool "Arduino 101 Sensor Sub System"
depends on SOC_QUARK_SE_C1000_SS depends on SOC_QUARK_SE_C1000_SS

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
if BOARD_ARDUINO_101_SSS if BOARD_ARDUINO_101_SSS
config BOARD config BOARD

View file

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: Apache-2.0 */
/dts-v1/; /dts-v1/;
#include <mem.h> #include <mem.h>

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARC=y CONFIG_ARC=y
CONFIG_SOC_QUARK_SE_C1000_SS=y CONFIG_SOC_QUARK_SE_C1000_SS=y
CONFIG_BOARD_ARDUINO_101_SSS=y CONFIG_BOARD_ARDUINO_101_SSS=y

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
if(DEFINED ENV{ZEPHYR_FLASH_OVER_DFU}) if(DEFINED ENV{ZEPHYR_FLASH_OVER_DFU})
set(BOARD_FLASH_RUNNER dfu-util) set(BOARD_FLASH_RUNNER dfu-util)
else() else()

View file

@ -1,2 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_sources(pmodmux.c) zephyr_sources(pmodmux.c)
zephyr_sources_ifdef(CONFIG_ARC_MPU_ENABLE arc_mpu_regions.c) zephyr_sources_ifdef(CONFIG_ARC_MPU_ENABLE arc_mpu_regions.c)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
if BOARD_EM_STARTERKIT if BOARD_EM_STARTERKIT
config BOARD config BOARD

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
# TODO: can this board just use the usual openocd runner? # TODO: can this board just use the usual openocd runner?
set(BOARD_FLASH_RUNNER em-starterkit) set(BOARD_FLASH_RUNNER em-starterkit)
set(BOARD_DEBUG_RUNNER em-starterkit) set(BOARD_DEBUG_RUNNER em-starterkit)

View file

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: Apache-2.0 */
/ { / {
aliases { aliases {
led0 = &led0; led0 = &led0;

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARC=y CONFIG_ARC=y
CONFIG_SOC_EMSK=y CONFIG_SOC_EMSK=y
CONFIG_SOC_EMSK_EM9D=y CONFIG_SOC_EMSK_EM9D=y

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARC=y CONFIG_ARC=y
CONFIG_SOC_EMSK=y CONFIG_SOC_EMSK=y
CONFIG_SOC_EMSK_EM11D=y CONFIG_SOC_EMSK_EM11D=y

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARC=y CONFIG_ARC=y
CONFIG_SOC_EMSK=y CONFIG_SOC_EMSK=y
CONFIG_SOC_EMSK_EM7D=y CONFIG_SOC_EMSK_EM7D=y

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARC=y CONFIG_ARC=y
CONFIG_SOC_EMSK=y CONFIG_SOC_EMSK=y
CONFIG_SOC_EMSK_EM7D=y CONFIG_SOC_EMSK_EM7D=y

View file

@ -1 +1,3 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_sources_ifdef(CONFIG_ARC_MPU_ENABLE arc_mpu_regions.c) zephyr_sources_ifdef(CONFIG_ARC_MPU_ENABLE arc_mpu_regions.c)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
if BOARD_IOTDK if BOARD_IOTDK
config BOARD config BOARD

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
# TODO: can this board just use the usual openocd runner? # TODO: can this board just use the usual openocd runner?
set(BOARD_FLASH_RUNNER em-starterkit) set(BOARD_FLASH_RUNNER em-starterkit)
set(BOARD_DEBUG_RUNNER em-starterkit) set(BOARD_DEBUG_RUNNER em-starterkit)

View file

@ -0,0 +1,2 @@
/* SPDX-License-Identifier: Apache-2.0 */

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARC=y CONFIG_ARC=y
CONFIG_SOC_ARC_IOT=y CONFIG_SOC_ARC_IOT=y
CONFIG_BOARD_IOTDK=y CONFIG_BOARD_IOTDK=y

View file

@ -1 +1,3 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_sources_ifdef(CONFIG_ARC_MPU_ENABLE arc_mpu_regions.c) zephyr_sources_ifdef(CONFIG_ARC_MPU_ENABLE arc_mpu_regions.c)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
if BOARD_NSIM_EM if BOARD_NSIM_EM
config BOARD config BOARD

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
set(EMU_PLATFORM nsim) set(EMU_PLATFORM nsim)
set(BOARD_FLASH_RUNNER arc-nsim) set(BOARD_FLASH_RUNNER arc-nsim)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARC=y CONFIG_ARC=y
CONFIG_SOC_NSIM=y CONFIG_SOC_NSIM=y
CONFIG_SOC_NSIM_EM=y CONFIG_SOC_NSIM_EM=y

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARC=y CONFIG_ARC=y
CONFIG_SOC_NSIM=y CONFIG_SOC_NSIM=y
CONFIG_SOC_NSIM_EM=y CONFIG_SOC_NSIM_EM=y

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARC=y CONFIG_ARC=y
CONFIG_SOC_NSIM=y CONFIG_SOC_NSIM=y
CONFIG_SOC_NSIM_SEM=y CONFIG_SOC_NSIM_SEM=y

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARC=y CONFIG_ARC=y
CONFIG_SOC_NSIM=y CONFIG_SOC_NSIM=y
CONFIG_SOC_NSIM_SEM=y CONFIG_SOC_NSIM_SEM=y

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_QUARK_SE_C1000_DEVBOARD_SS config BOARD_QUARK_SE_C1000_DEVBOARD_SS
bool "Quark SE C1000 - Sensor Sub System" bool "Quark SE C1000 - Sensor Sub System"
depends on SOC_QUARK_SE_C1000_SS depends on SOC_QUARK_SE_C1000_SS

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
if BOARD_QUARK_SE_C1000_DEVBOARD_SS if BOARD_QUARK_SE_C1000_DEVBOARD_SS
config BOARD config BOARD

View file

@ -1,2 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
board_runner_args(openocd --cmd-pre-load "targets 1") board_runner_args(openocd --cmd-pre-load "targets 1")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)

View file

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: Apache-2.0 */
/dts-v1/; /dts-v1/;
#include <mem.h> #include <mem.h>

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARC=y CONFIG_ARC=y
CONFIG_SOC_QUARK_SE_C1000_SS=y CONFIG_SOC_QUARK_SE_C1000_SS=y
CONFIG_BOARD_QUARK_SE_C1000_DEVBOARD_SS=y CONFIG_BOARD_QUARK_SE_C1000_DEVBOARD_SS=y

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_SOC_SERIES_STM32F4X=y CONFIG_SOC_SERIES_STM32F4X=y
CONFIG_SOC_STM32F412CG=y CONFIG_SOC_STM32F412CG=y

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_library() zephyr_library()
zephyr_library_sources(pinmux.c) zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_SOC_SERIES_STM32F4X=y CONFIG_SOC_SERIES_STM32F4X=y
CONFIG_SOC_STM32F401XE=y CONFIG_SOC_STM32F401XE=y

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_library() zephyr_library()
zephyr_library_sources(pinmux.c) zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse") board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse")
include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake) include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_FAMILY_NRF=y
CONFIG_SOC_SERIES_NRF51X=y CONFIG_SOC_SERIES_NRF51X=y

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_SOC_SERIES_STM32F4X=y CONFIG_SOC_SERIES_STM32F4X=y
CONFIG_SOC_STM32F411XE=y CONFIG_SOC_STM32F411XE=y

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_library() zephyr_library()
zephyr_library_sources(pinmux.c) zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_FAMILY_NRF=y
CONFIG_SOC_SERIES_NRF52X=y CONFIG_SOC_SERIES_NRF52X=y

View file

@ -1,2 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
board_runner_args(pyocd "--target=nrf52") board_runner_args(pyocd "--target=nrf52")
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_BOARD_96B_STM32_SENSOR_MEZ=y CONFIG_BOARD_96B_STM32_SENSOR_MEZ=y
CONFIG_SOC_SERIES_STM32F4X=y CONFIG_SOC_SERIES_STM32F4X=y

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_library() zephyr_library()
zephyr_library_sources(pinmux.c) zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)

View file

@ -1 +1,3 @@
# SPDX-License-Identifier: Apache-2.0
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
if(CONFIG_PINMUX_SAM0) if(CONFIG_PINMUX_SAM0)
zephyr_library() zephyr_library()
zephyr_library_sources(pinmux.c) zephyr_library_sources(pinmux.c)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_SOC_FAMILY_SAM0=y CONFIG_SOC_FAMILY_SAM0=y
CONFIG_SOC_SERIES_SAMD21=y CONFIG_SOC_SERIES_SAMD21=y

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
if(CONFIG_PINMUX_SAM0) if(CONFIG_PINMUX_SAM0)
zephyr_library() zephyr_library()
zephyr_library_sources(pinmux.c) zephyr_library_sources(pinmux.c)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_SOC_FAMILY_SAM0=y CONFIG_SOC_FAMILY_SAM0=y
CONFIG_SOC_SERIES_SAMD21=y CONFIG_SOC_SERIES_SAMD21=y

View file

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: Apache-2.0 */
/dts-v1/; /dts-v1/;
#include <atmel/sam3x.dtsi> #include <atmel/sam3x.dtsi>

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_SOC_FAMILY_SAM=y CONFIG_SOC_FAMILY_SAM=y
CONFIG_SOC_SERIES_SAM3X=y CONFIG_SOC_SERIES_SAM3X=y

View file

@ -1 +1,3 @@
# SPDX-License-Identifier: Apache-2.0
include(${ZEPHYR_BASE}/boards/common/bossac.board.cmake) include(${ZEPHYR_BASE}/boards/common/bossac.board.cmake)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
if(CONFIG_PINMUX_SAM0) if(CONFIG_PINMUX_SAM0)
zephyr_library() zephyr_library()
zephyr_library_sources(pinmux.c) zephyr_library_sources(pinmux.c)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_SOC_FAMILY_SAM0=y CONFIG_SOC_FAMILY_SAM0=y
CONFIG_SOC_SERIES_SAMD21=y CONFIG_SOC_SERIES_SAMD21=y

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
if(CONFIG_PINMUX_SAM0) if(CONFIG_PINMUX_SAM0)
zephyr_library() zephyr_library()
zephyr_library_sources(pinmux.c) zephyr_library_sources(pinmux.c)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_SOC_FAMILY_SAM0=y CONFIG_SOC_FAMILY_SAM0=y
CONFIG_SOC_SERIES_SAMD20=y CONFIG_SOC_SERIES_SAMD20=y

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_library() zephyr_library()
zephyr_library_sources(pinmux.c) zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
# Zephyr Kernel Configuration # Zephyr Kernel Configuration
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_SOC_SERIES_STM32L0X=y CONFIG_SOC_SERIES_STM32L0X=y

View file

@ -1 +1,3 @@
# SPDX-License-Identifier: Apache-2.0
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_FAMILY_NRF=y
CONFIG_SOC_SERIES_NRF51X=y CONFIG_SOC_SERIES_NRF51X=y

View file

@ -1,2 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
board_runner_args(pyocd "--target=nrf51") board_runner_args(pyocd "--target=nrf51")
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_FAMILY_NRF=y
CONFIG_SOC_SERIES_NRF52X=y CONFIG_SOC_SERIES_NRF52X=y

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
board_runner_args(nrfjprog "--nrf-family=NRF52") board_runner_args(nrfjprog "--nrf-family=NRF52")
board_runner_args(jlink "--device=nrf52" "--speed=4000") board_runner_args(jlink "--device=nrf52" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_SOC_FAMILY_NRF=y CONFIG_SOC_FAMILY_NRF=y
CONFIG_SOC_SERIES_NRF52X=y CONFIG_SOC_SERIES_NRF52X=y

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
board_runner_args(nrfjprog "--nrf-family=NRF52") board_runner_args(nrfjprog "--nrf-family=NRF52")
board_runner_args(jlink "--device=nrf52" "--speed=4000") board_runner_args(jlink "--device=nrf52" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_library() zephyr_library()
zephyr_library_sources(pinmux.c) zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_library() zephyr_library()
zephyr_library_sources( zephyr_library_sources(
pinmux.c pinmux.c

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
# Kconfig - TI SimpleLink CC3220SF LaunchXL Board # Kconfig - TI SimpleLink CC3220SF LaunchXL Board
# #

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
# Kconfig - TI CC3220SF LaunchXL board configuration # Kconfig - TI CC3220SF LaunchXL board configuration
# #

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
# Use the TI OpenOCD (by default in /usr/local/openocd) # Use the TI OpenOCD (by default in /usr/local/openocd)
# See the Zephyr project CC3220SF_LAUNCHXL documentation on # See the Zephyr project CC3220SF_LAUNCHXL documentation on
# flashing prerequisites. # flashing prerequisites.

View file

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: Apache-2.0 */
/dts-v1/; /dts-v1/;
#include <ti/cc3220sf.dtsi> #include <ti/cc3220sf.dtsi>

Some files were not shown because too many files have changed in this diff Show more