diff --git a/.dir-locals.el b/.dir-locals.el index e16a5aa41c846f..d3090a9145b8a2 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -1,3 +1,20 @@ +;; +;; Copyright (c) 2020 Project CHIP Authors +;; All rights reserved. +;; +;; Licensed under the Apache License, Version 2.0 (the "License"); +;; you may not use this file except in compliance with the License. +;; You may obtain a copy of the License at +;; +;; http://www.apache.org/licenses/LICENSE-2.0 +;; +;; Unless required by applicable law or agreed to in writing, software +;; distributed under the License is distributed on an "AS IS" BASIS, +;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +;; See the License for the specific language governing permissions and +;; limitations under the License. +;; + ;; Per-directory local variables for GNU Emacs ;; https://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.html ;; diff --git a/.restyled.yaml b/.restyled.yaml index 8f2476191977ac..06c991894d01cc 100644 --- a/.restyled.yaml +++ b/.restyled.yaml @@ -1,3 +1,19 @@ +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + # Do anything at all enabled: true diff --git a/activate.sh b/activate.sh index 956afd4c7cb6c8..8caab9376e7b8b 100644 --- a/activate.sh +++ b/activate.sh @@ -1,3 +1,19 @@ +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + CHIP_ROOT="$(dirname "$0")" export PW_BRANDING_BANNER="$CHIP_ROOT/.chip-banner.txt" diff --git a/bootstrap.sh b/bootstrap.sh index 389c6d6f76494e..d6776c5f819879 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,3 +1,19 @@ +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + CHIP_ROOT="$(dirname "$0")" export PW_BRANDING_BANNER="$CHIP_ROOT/.chip-banner.txt" diff --git a/config/esp32/components/esp32_mbedtls/hkdf.c b/config/esp32/components/esp32_mbedtls/hkdf.c index 965ad5b6731eef..c480bbf950b203 100644 --- a/config/esp32/components/esp32_mbedtls/hkdf.c +++ b/config/esp32/components/esp32_mbedtls/hkdf.c @@ -1,20 +1,25 @@ -/* - * HKDF implementation -- RFC 5869 +/** * - * Copyright (C) 2016-2018, ARM Limited, All Rights Reserved + * Copyright (c) 2020 Project CHIP Authors + * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * - * Licensed under the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* + * HKDF implementation -- RFC 5869 * * This file is part of mbed TLS (https://tls.mbed.org) */ diff --git a/config/esp32/components/esp32_mbedtls/mbedtls/esp_config.h b/config/esp32/components/esp32_mbedtls/mbedtls/esp_config.h index 4fb71801b639cc..1d67e1ed5f8719 100644 --- a/config/esp32/components/esp32_mbedtls/mbedtls/esp_config.h +++ b/config/esp32/components/esp32_mbedtls/mbedtls/esp_config.h @@ -1,25 +1,30 @@ /** * - * \brief Default mbedTLS configuration options for esp-idf - * - * This set of compile-time options may be used to enable - * or disable features selectively, and reduce the global - * memory footprint. - * + * Copyright (c) 2020 Project CHIP Authors * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * - * Licensed under the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * - * http://www.apache.org/licenses/LICENSE-2.0 + */ + +/** + * + * \brief Default mbedTLS configuration options for esp-idf * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * This set of compile-time options may be used to enable + * or disable features selectively, and reduce the global + * memory footprint. * * This file is part of mbed TLS (https://tls.mbed.org) */ diff --git a/examples/chip-tool/main.cpp b/examples/chip-tool/main.cpp index cf1cbe954c5e9a..c7998b0070f36a 100644 --- a/examples/chip-tool/main.cpp +++ b/examples/chip-tool/main.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + #include #include #include diff --git a/examples/lock-app/efr32/include/FreeRTOSConfig.h b/examples/lock-app/efr32/include/FreeRTOSConfig.h index e2c62d921163d6..52207ff4f501e1 100644 --- a/examples/lock-app/efr32/include/FreeRTOSConfig.h +++ b/examples/lock-app/efr32/include/FreeRTOSConfig.h @@ -1,3 +1,21 @@ +/* + * + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /*************************************************************************** * # License * diff --git a/examples/lock-app/efr32/include/ble-configuration.h b/examples/lock-app/efr32/include/ble-configuration.h index 36b16ed40d1e5a..7168054b516bbf 100644 --- a/examples/lock-app/efr32/include/ble-configuration.h +++ b/examples/lock-app/efr32/include/ble-configuration.h @@ -1,3 +1,21 @@ +/* + * + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /******************************************************************************* * @file * @brief ble-configuration.h diff --git a/examples/lock-app/efr32/include/board_features.h b/examples/lock-app/efr32/include/board_features.h index 442bd1cd37cf18..bf2f91cd42745f 100644 --- a/examples/lock-app/efr32/include/board_features.h +++ b/examples/lock-app/efr32/include/board_features.h @@ -1,3 +1,20 @@ +/* + * + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* * @file * @brief board_features.h diff --git a/examples/lock-app/efr32/include/hal-config-app-common.h b/examples/lock-app/efr32/include/hal-config-app-common.h index db0522db5dda5c..f396a47b8217db 100644 --- a/examples/lock-app/efr32/include/hal-config-app-common.h +++ b/examples/lock-app/efr32/include/hal-config-app-common.h @@ -1,3 +1,21 @@ +/* + * + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /******************************************************************************* * @file * @brief hal-config-app-common.h diff --git a/examples/lock-app/efr32/include/hal-config.h b/examples/lock-app/efr32/include/hal-config.h index c152d11e29cc11..1811f59c7b02fc 100644 --- a/examples/lock-app/efr32/include/hal-config.h +++ b/examples/lock-app/efr32/include/hal-config.h @@ -1,3 +1,21 @@ +/* + * + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef HAL_CONFIG_H #define HAL_CONFIG_H diff --git a/examples/lock-app/efr32/include/init_board.h b/examples/lock-app/efr32/include/init_board.h index b121587cd1c2d8..e8e7f8fc89626e 100644 --- a/examples/lock-app/efr32/include/init_board.h +++ b/examples/lock-app/efr32/include/init_board.h @@ -1,3 +1,20 @@ +/* + * + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* * @file * @brief init_board.h diff --git a/examples/lock-app/efr32/include/init_mcu.h b/examples/lock-app/efr32/include/init_mcu.h index 9cc6d504cdb229..5fe0919b243ef9 100644 --- a/examples/lock-app/efr32/include/init_mcu.h +++ b/examples/lock-app/efr32/include/init_mcu.h @@ -1,3 +1,20 @@ +/* + * + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* * @file * @brief init_mcu.h diff --git a/examples/lock-app/efr32/ldscripts/efr32-lock-example-MG12P.ld b/examples/lock-app/efr32/ldscripts/efr32-lock-example-MG12P.ld index 9394fac19ed177..412d64d27fa62a 100644 --- a/examples/lock-app/efr32/ldscripts/efr32-lock-example-MG12P.ld +++ b/examples/lock-app/efr32/ldscripts/efr32-lock-example-MG12P.ld @@ -1,3 +1,20 @@ +/* + * + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /***************************************************************************//** * Linker script for Silicon Labs EFR32MG12P devices * @version 5.7.2 diff --git a/examples/lock-app/efr32/ldscripts/efr32-lock-example-MG21.ld b/examples/lock-app/efr32/ldscripts/efr32-lock-example-MG21.ld index c03f58ab5483b8..e1a051111288eb 100644 --- a/examples/lock-app/efr32/ldscripts/efr32-lock-example-MG21.ld +++ b/examples/lock-app/efr32/ldscripts/efr32-lock-example-MG21.ld @@ -1,3 +1,20 @@ +/* + * + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /***************************************************************************//** * Linker script for Silicon Labs EFR32MG21 devices * @version 5.7.2 diff --git a/examples/lock-app/efr32/src/init_board.c b/examples/lock-app/efr32/src/init_board.c index 31053f471bc76f..4320ca952267e5 100644 --- a/examples/lock-app/efr32/src/init_board.c +++ b/examples/lock-app/efr32/src/init_board.c @@ -1,3 +1,21 @@ +/* + * + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /******************************************************************************* * @file * @brief init_board.c diff --git a/examples/lock-app/efr32/src/init_mcu.c b/examples/lock-app/efr32/src/init_mcu.c index 90f868668b847e..c6b7524fb9524c 100644 --- a/examples/lock-app/efr32/src/init_mcu.c +++ b/examples/lock-app/efr32/src/init_mcu.c @@ -1,3 +1,20 @@ +/* + * + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /******************************************************************************* * @file * @brief init_mcu.c diff --git a/examples/lock-app/nrf5/main/include/FreeRTOSConfig.h b/examples/lock-app/nrf5/main/include/FreeRTOSConfig.h index 22683417138605..1c271ace9b4ed3 100644 --- a/examples/lock-app/nrf5/main/include/FreeRTOSConfig.h +++ b/examples/lock-app/nrf5/main/include/FreeRTOSConfig.h @@ -1,3 +1,20 @@ +/* + * + * Copyright (c) 2020 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * FreeRTOS Kernel V10.0.0 * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/examples/lock-app/nrf5/start-gdb.sh b/examples/lock-app/nrf5/start-gdb.sh index fe6e67e664792c..799f9db2fbd97a 100755 --- a/examples/lock-app/nrf5/start-gdb.sh +++ b/examples/lock-app/nrf5/start-gdb.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + SCRIPT_ROOT=$(dirname "$0") GNU_INSTALL_ROOT=${GNU_INSTALL_ROOT:-${HOME}/tools/arm/gcc-arm-none-eabi-7-2018-q2-update/bin} GDB=$GNU_INSTALL_ROOT/arm-none-eabi-gdb diff --git a/examples/lock-app/nrf5/start-jlink-gdb-server.sh b/examples/lock-app/nrf5/start-jlink-gdb-server.sh index ba38ca9c4970c2..06871dc8be7047 100755 --- a/examples/lock-app/nrf5/start-jlink-gdb-server.sh +++ b/examples/lock-app/nrf5/start-jlink-gdb-server.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + JLINK_GDB_SERVER=JLinkGDBServer DEVICE_TYPE=NRF52840_XXAA RTT_PORT=19021 diff --git a/integrations/docker/build.sh b/integrations/docker/build.sh index eccb9c55902c98..180ce5b788f1f5 100755 --- a/integrations/docker/build.sh +++ b/integrations/docker/build.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + # build.sh - utility for building (and optionally) tagging and pushing # the a Docker image # diff --git a/integrations/docker/images/build-all.sh b/integrations/docker/images/build-all.sh index 94b22891587c89..3680045d1d8d82 100755 --- a/integrations/docker/images/build-all.sh +++ b/integrations/docker/images/build-all.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + # # temporary wrapper build script until we can build something better # https://github.com/project-chip/connectedhomeip/issues/710 diff --git a/integrations/docker/run.sh b/integrations/docker/run.sh index b0f30ebc5755b9..7c62975738fa9a 100755 --- a/integrations/docker/run.sh +++ b/integrations/docker/run.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + # run.sh - utility for running a Docker image # # This script expects to live in a directory named after the image diff --git a/scripts/build/bootstrap.sh b/scripts/build/bootstrap.sh index 1322f54f3710ec..05bffa81524c79 100755 --- a/scripts/build/bootstrap.sh +++ b/scripts/build/bootstrap.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/build/default.sh b/scripts/build/default.sh index ba9024fce1029c..e22eccb7645a69 100755 --- a/scripts/build/default.sh +++ b/scripts/build/default.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/build/distribution_check.sh b/scripts/build/distribution_check.sh index 727e4f4be1b0a8..dd61a18573a6a9 100755 --- a/scripts/build/distribution_check.sh +++ b/scripts/build/distribution_check.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/examples/esp_echo_app.sh b/scripts/examples/esp_echo_app.sh index 3819c0fc0e1531..192a6a17274143 100755 --- a/scripts/examples/esp_echo_app.sh +++ b/scripts/examples/esp_echo_app.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/examples/nrf_lock_app.sh b/scripts/examples/nrf_lock_app.sh index d2d6c85d326644..edb0a1a94667cd 100755 --- a/scripts/examples/nrf_lock_app.sh +++ b/scripts/examples/nrf_lock_app.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/examples/standalone_echo_client.sh b/scripts/examples/standalone_echo_client.sh index 29eff713fb741d..726cbebefe4a9e 100755 --- a/scripts/examples/standalone_echo_client.sh +++ b/scripts/examples/standalone_echo_client.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/examples/standalone_shell.sh b/scripts/examples/standalone_shell.sh index e03b2618eb76d8..dc977c5af4e370 100755 --- a/scripts/examples/standalone_shell.sh +++ b/scripts/examples/standalone_shell.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/helpers/auto_enforce_code_style.sh b/scripts/helpers/auto_enforce_code_style.sh index 4aab42bb8a16ba..2a2cf30ea59d86 100755 --- a/scripts/helpers/auto_enforce_code_style.sh +++ b/scripts/helpers/auto_enforce_code_style.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/helpers/bloat_check.py b/scripts/helpers/bloat_check.py index 3893bbf4c29fea..de9fa3b0de2dff 100755 --- a/scripts/helpers/bloat_check.py +++ b/scripts/helpers/bloat_check.py @@ -1,5 +1,21 @@ #!/usr/bin/env python3 +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + import argparse import attr import coloredlogs diff --git a/scripts/helpers/ci_fetch_artifacts.py b/scripts/helpers/ci_fetch_artifacts.py index 2965d8491703ef..5cd4f5f7190ffd 100755 --- a/scripts/helpers/ci_fetch_artifacts.py +++ b/scripts/helpers/ci_fetch_artifacts.py @@ -1,5 +1,21 @@ #!/usr/bin/env python3 +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + import argparse import attr import coloredlogs diff --git a/scripts/helpers/clang-format-check.sh b/scripts/helpers/clang-format-check.sh index 874c07d4b34b4d..07dad882c6324d 100755 --- a/scripts/helpers/clang-format-check.sh +++ b/scripts/helpers/clang-format-check.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + # # clang-format does not return a non-zero exit code. This wrapper # exits with a non-zero exit code if clang-format outputs any diff --git a/scripts/helpers/clang-format.sh b/scripts/helpers/clang-format.sh index 3cea2014f734a6..285018f4b79a56 100755 --- a/scripts/helpers/clang-format.sh +++ b/scripts/helpers/clang-format.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + CLANG_FORMAT_VERSION="clang-format version 9.0" die() { diff --git a/scripts/helpers/clean.sh b/scripts/helpers/clean.sh index 33648113028a3b..269996e742c119 100755 --- a/scripts/helpers/clean.sh +++ b/scripts/helpers/clean.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/helpers/clean_tree.sh b/scripts/helpers/clean_tree.sh index b91bc8581df808..f871a932d297c7 100755 --- a/scripts/helpers/clean_tree.sh +++ b/scripts/helpers/clean_tree.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/helpers/code_style_check.sh b/scripts/helpers/code_style_check.sh index 9f08a44ad1a38e..7589f5269d6ab5 100755 --- a/scripts/helpers/code_style_check.sh +++ b/scripts/helpers/code_style_check.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/helpers/restyle_merge.sh b/scripts/helpers/restyle_merge.sh index d970c28695b793..5785ae6d6d8369 100755 --- a/scripts/helpers/restyle_merge.sh +++ b/scripts/helpers/restyle_merge.sh @@ -1,5 +1,20 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# set -x env diff --git a/scripts/helpers/shellcheck_tree.sh b/scripts/helpers/shellcheck_tree.sh index 0e1fc455ae775a..6848e3411cc2e0 100755 --- a/scripts/helpers/shellcheck_tree.sh +++ b/scripts/helpers/shellcheck_tree.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + me=$(basename "$0") # Run shellcheck on all the shell-ish files in the tree diff --git a/scripts/setup/install_packages.sh b/scripts/setup/install_packages.sh index 7b86e9af3165d2..ed4195821f7418 100755 --- a/scripts/setup/install_packages.sh +++ b/scripts/setup/install_packages.sh @@ -1,4 +1,20 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/setup/linux/install_packages.sh b/scripts/setup/linux/install_packages.sh index 451da20948fbd1..f437aab357671e 100755 --- a/scripts/setup/linux/install_packages.sh +++ b/scripts/setup/linux/install_packages.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/tests/all_tests.sh b/scripts/tests/all_tests.sh index 996b97a5bc8d9e..446b3f6203a06e 100755 --- a/scripts/tests/all_tests.sh +++ b/scripts/tests/all_tests.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/tests/crypto_tests.sh b/scripts/tests/crypto_tests.sh index aa39ec73e6a38b..94d20e6ccefeb4 100755 --- a/scripts/tests/crypto_tests.sh +++ b/scripts/tests/crypto_tests.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/tests/mbedtls_tests.sh b/scripts/tests/mbedtls_tests.sh index d9281da5ecf74f..3c7233ba8d49d3 100755 --- a/scripts/tests/mbedtls_tests.sh +++ b/scripts/tests/mbedtls_tests.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/tests/openssl_tests.sh b/scripts/tests/openssl_tests.sh index 78119b0327de59..11e48c3bb07005 100755 --- a/scripts/tests/openssl_tests.sh +++ b/scripts/tests/openssl_tests.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/tests/qrcode_payload_tests.sh b/scripts/tests/qrcode_payload_tests.sh index 9f213f714c44bf..9d5756704c3473 100755 --- a/scripts/tests/qrcode_payload_tests.sh +++ b/scripts/tests/qrcode_payload_tests.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/tests/save_logs.sh b/scripts/tests/save_logs.sh index 95a7d7ca058042..9cf05303118880 100755 --- a/scripts/tests/save_logs.sh +++ b/scripts/tests/save_logs.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/tests/setup_payload_tests.sh b/scripts/tests/setup_payload_tests.sh index 74a14c2ac87872..7a3a628703b313 100755 --- a/scripts/tests/setup_payload_tests.sh +++ b/scripts/tests/setup_payload_tests.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/tools/codecoverage.sh b/scripts/tools/codecoverage.sh index 5bd5d3169b04af..51c2bb5f67d77b 100755 --- a/scripts/tools/codecoverage.sh +++ b/scripts/tools/codecoverage.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x env diff --git a/scripts/tools/flash_image_builder.sh b/scripts/tools/flash_image_builder.sh index 409cc981041d57..8a801b2652b297 100755 --- a/scripts/tools/flash_image_builder.sh +++ b/scripts/tools/flash_image_builder.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# + # # Copyright (c) 2020 Project CHIP Authors # diff --git a/scripts/tools/run_if.sh b/scripts/tools/run_if.sh index 28f6e535211124..a03fdfafba3baa 100755 --- a/scripts/tools/run_if.sh +++ b/scripts/tools/run_if.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + set -x if [[ $1 == *"$2"* ]]; then diff --git a/src/android/CHIPTool/app/CMakeLists.txt b/src/android/CHIPTool/app/CMakeLists.txt index 62c684a9e31874..3588f693a80f4d 100644 --- a/src/android/CHIPTool/app/CMakeLists.txt +++ b/src/android/CHIPTool/app/CMakeLists.txt @@ -1,3 +1,19 @@ +# +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + cmake_minimum_required(VERSION 3.4.1) add_library(native-lib SHARED src/main/cpp/native-lib.cpp) diff --git a/src/android/CHIPTool/app/src/androidTest/java/com/google/chip/chiptool/ExampleInstrumentedTest.java b/src/android/CHIPTool/app/src/androidTest/java/com/google/chip/chiptool/ExampleInstrumentedTest.java index fc471f5d7eace0..0055109b2c7a6e 100644 --- a/src/android/CHIPTool/app/src/androidTest/java/com/google/chip/chiptool/ExampleInstrumentedTest.java +++ b/src/android/CHIPTool/app/src/androidTest/java/com/google/chip/chiptool/ExampleInstrumentedTest.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package com.google.chip.chiptool; import static org.junit.Assert.*; diff --git a/src/android/CHIPTool/app/src/main/cpp/native-lib.cpp b/src/android/CHIPTool/app/src/main/cpp/native-lib.cpp index afe5e6e2a71ff6..bfff95c6617968 100644 --- a/src/android/CHIPTool/app/src/main/cpp/native-lib.cpp +++ b/src/android/CHIPTool/app/src/main/cpp/native-lib.cpp @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + // TODO: Build this out with native code to perform tasks with CHIP stack // QRCode parsing // Echo request/response processing diff --git a/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/BarcodeReaderActivity.java b/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/BarcodeReaderActivity.java index 66728670b1fb29..2f17c82bebed7c 100644 --- a/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/BarcodeReaderActivity.java +++ b/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/BarcodeReaderActivity.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package com.google.chip.chiptool; import android.Manifest; diff --git a/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/CHIPNativeBridge.java b/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/CHIPNativeBridge.java index 13248b4754f171..022b7082223870 100644 --- a/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/CHIPNativeBridge.java +++ b/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/CHIPNativeBridge.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package com.google.chip.chiptool; // Manages a single instance of CHIPDeviceController diff --git a/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/CHIPToolActivity.java b/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/CHIPToolActivity.java index 5dd4c6b211a99e..6ec3c30b47713b 100644 --- a/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/CHIPToolActivity.java +++ b/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/CHIPToolActivity.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package com.google.chip.chiptool; import android.content.Intent; diff --git a/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/CameraSourceView.java b/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/CameraSourceView.java index fdeaeb55162c71..76d6a3d420ae57 100644 --- a/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/CameraSourceView.java +++ b/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/CameraSourceView.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package com.google.chip.chiptool; import android.Manifest; diff --git a/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/ConnectionStatusFragment.java b/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/ConnectionStatusFragment.java index c7646170c69a1c..8578ac729f1e09 100644 --- a/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/ConnectionStatusFragment.java +++ b/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/ConnectionStatusFragment.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package com.google.chip.chiptool; import android.os.Bundle; diff --git a/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/EchoClientActivity.java b/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/EchoClientActivity.java index 4a0b1f1ed882a1..3eddc35898f3bb 100644 --- a/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/EchoClientActivity.java +++ b/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/EchoClientActivity.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package com.google.chip.chiptool; import android.os.Bundle; diff --git a/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/OnOffActivity.java b/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/OnOffActivity.java index a37de0768a8f16..08e58669a77679 100644 --- a/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/OnOffActivity.java +++ b/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/OnOffActivity.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package com.google.chip.chiptool; import android.os.Bundle; diff --git a/src/android/CHIPTool/app/src/test/java/com/google/chip/chiptool/ExampleUnitTest.java b/src/android/CHIPTool/app/src/test/java/com/google/chip/chiptool/ExampleUnitTest.java index 5b17fc76c2138b..3796394afafb88 100644 --- a/src/android/CHIPTool/app/src/test/java/com/google/chip/chiptool/ExampleUnitTest.java +++ b/src/android/CHIPTool/app/src/test/java/com/google/chip/chiptool/ExampleUnitTest.java @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package com.google.chip.chiptool; import static org.junit.Assert.*; diff --git a/src/app/gen/gen-attribute-storage.h b/src/app/gen/gen-attribute-storage.h index b3f463d5e29e64..06db979767fe3d 100644 --- a/src/app/gen/gen-attribute-storage.h +++ b/src/app/gen/gen-attribute-storage.h @@ -1,3 +1,20 @@ +/* + * + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // This file is generated by Simplicity Studio. Please do not edit manually. // // diff --git a/src/app/gen/gen-attribute-type.h b/src/app/gen/gen-attribute-type.h index 58e4775cd66309..6dd96ece3ffd0e 100644 --- a/src/app/gen/gen-attribute-type.h +++ b/src/app/gen/gen-attribute-type.h @@ -1,3 +1,20 @@ +/* + * + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // This file is generated by Simplicity Studio. Please do not edit manually. // // diff --git a/src/app/gen/gen-callback-stubs.c b/src/app/gen/gen-callback-stubs.c index eecedaeed2e3f4..26d3a0d28736af 100644 --- a/src/app/gen/gen-callback-stubs.c +++ b/src/app/gen/gen-callback-stubs.c @@ -1,3 +1,21 @@ +/* + * + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "chip-zcl.h" // Callback implementations diff --git a/src/app/gen/gen-endpoint-config.h b/src/app/gen/gen-endpoint-config.h index d8d7cf208d6a71..d5ec4aef182c26 100644 --- a/src/app/gen/gen-endpoint-config.h +++ b/src/app/gen/gen-endpoint-config.h @@ -1,3 +1,20 @@ +/* + * + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // This file is generated by Simplicity Studio. Please do not edit manually. // // diff --git a/src/darwin/CHIPTool/CHIPTool/OnOffCluster/OnOffViewController.h b/src/darwin/CHIPTool/CHIPTool/OnOffCluster/OnOffViewController.h index 7cf5cc8a984bdf..339f36debb14c8 100644 --- a/src/darwin/CHIPTool/CHIPTool/OnOffCluster/OnOffViewController.h +++ b/src/darwin/CHIPTool/CHIPTool/OnOffCluster/OnOffViewController.h @@ -1,3 +1,20 @@ +/** + * + * Copyright (c) 2020 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + // // OnOffViewController.h // CHIPTool diff --git a/src/darwin/CHIPTool/CHIPTool/OnOffCluster/OnOffViewController.m b/src/darwin/CHIPTool/CHIPTool/OnOffCluster/OnOffViewController.m index 9818c2193c468d..742e44f4e926c0 100644 --- a/src/darwin/CHIPTool/CHIPTool/OnOffCluster/OnOffViewController.m +++ b/src/darwin/CHIPTool/CHIPTool/OnOffCluster/OnOffViewController.m @@ -1,3 +1,20 @@ +/** + * + * Copyright (c) 2020 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + // // OnOffViewController.m // CHIPTool diff --git a/src/darwin/Framework/chip_xcode_build_connector.sh b/src/darwin/Framework/chip_xcode_build_connector.sh index 2033c71ab6ea42..ae5f90d0949350 100755 --- a/src/darwin/Framework/chip_xcode_build_connector.sh +++ b/src/darwin/Framework/chip_xcode_build_connector.sh @@ -1,5 +1,22 @@ #!/usr/bin/env bash +# +# Copyright (c) 2020 Project CHIP Authors +# All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + here=$(cd "${0%/*}" && pwd) me=${0##*/} diff --git a/src/lwip/efr32/arch/cc.h b/src/lwip/efr32/arch/cc.h index 363e8035b8965b..2a07c9c6ab1ace 100644 --- a/src/lwip/efr32/arch/cc.h +++ b/src/lwip/efr32/arch/cc.h @@ -3,6 +3,18 @@ * Copyright (c) 2020 Project CHIP Authors * Copyright (c) 2019 Nest Labs, Inc. * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * */ #ifndef CHIP_LWIP_FREERTOS_ARCH_CC_H diff --git a/src/lwip/efr32/arch/perf.h b/src/lwip/efr32/arch/perf.h index 2df448fc128cc6..2094d6495ff5ba 100644 --- a/src/lwip/efr32/arch/perf.h +++ b/src/lwip/efr32/arch/perf.h @@ -3,6 +3,18 @@ * Copyright (c) 2020 Project CHIP Authors * Copyright (c) 2019 Nest Labs, Inc. * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * */ #ifndef CHIP_LWIP_FREERTOS_ARCH_PERF_H diff --git a/src/lwip/efr32/lwippools.h b/src/lwip/efr32/lwippools.h index 8b137891791fe9..2c42ac043074da 100644 --- a/src/lwip/efr32/lwippools.h +++ b/src/lwip/efr32/lwippools.h @@ -1 +1,17 @@ - +/* + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ diff --git a/src/lwip/nrf5/lwippools.h b/src/lwip/nrf5/lwippools.h index 8b137891791fe9..2c42ac043074da 100644 --- a/src/lwip/nrf5/lwippools.h +++ b/src/lwip/nrf5/lwippools.h @@ -1 +1,17 @@ - +/* + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ diff --git a/src/lwip/standalone/TapInterface.c b/src/lwip/standalone/TapInterface.c index daac89061fef82..4339a58b8e5e80 100644 --- a/src/lwip/standalone/TapInterface.c +++ b/src/lwip/standalone/TapInterface.c @@ -3,7 +3,8 @@ * Copyright (c) 2020 Project CHIP Authors * Copyright (c) 2018 Google LLC. * Copyright (c) 2014-2017 Nest Labs, Inc. - * Copyright (c) 2001-2003 Swedish Institute of Computer Science. + * Copyright (c) 2001-2003 Swedish Institute of Computer Science. + * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/lwip/standalone/TapInterface.h b/src/lwip/standalone/TapInterface.h index 62008bbeb1eab7..67304e7b1ee5c5 100644 --- a/src/lwip/standalone/TapInterface.h +++ b/src/lwip/standalone/TapInterface.h @@ -2,7 +2,8 @@ * * Copyright (c) 2020 Project CHIP Authors * Copyright (c) 2014-2017 Nest Labs, Inc. - * Copyright (c) 2001-2003 Swedish Institute of Computer Science. + * Copyright (c) 2001-2003 Swedish Institute of Computer Science. + * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/lwip/standalone/arch/cc.h b/src/lwip/standalone/arch/cc.h index 013a98900055e6..bb58ba2b24b647 100644 --- a/src/lwip/standalone/arch/cc.h +++ b/src/lwip/standalone/arch/cc.h @@ -2,7 +2,8 @@ * * Copyright (c) 2020 Project CHIP Authors * Copyright (c) 2014-2017 Nest Labs, Inc. - * Copyright (c) 2001-2003 Swedish Institute of Computer Science. + * Copyright (c) 2001-2003 Swedish Institute of Computer Science. + * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/lwip/standalone/arch/perf.h b/src/lwip/standalone/arch/perf.h index f005be741b3bbf..11279c07fac627 100644 --- a/src/lwip/standalone/arch/perf.h +++ b/src/lwip/standalone/arch/perf.h @@ -2,7 +2,8 @@ * * Copyright (c) 2020 Project CHIP Authors * Copyright (c) 2014-2017 Nest Labs, Inc. - * Copyright (c) 2001-2003 Swedish Institute of Computer Science. + * Copyright (c) 2001-2003 Swedish Institute of Computer Science. + * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/lwip/standalone/arch/sys_arch.h b/src/lwip/standalone/arch/sys_arch.h index bda55e17f3f779..77488b26e786c4 100644 --- a/src/lwip/standalone/arch/sys_arch.h +++ b/src/lwip/standalone/arch/sys_arch.h @@ -2,7 +2,8 @@ * * Copyright (c) 2020 Project CHIP Authors * Copyright (c) 2014-2017 Nest Labs, Inc. - * Copyright (c) 2001-2003 Swedish Institute of Computer Science. + * Copyright (c) 2001-2003 Swedish Institute of Computer Science. + * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/lwip/standalone/lwipopts.h b/src/lwip/standalone/lwipopts.h index 62f8459a9034c0..5e9ee66bd09bad 100644 --- a/src/lwip/standalone/lwipopts.h +++ b/src/lwip/standalone/lwipopts.h @@ -3,6 +3,7 @@ * Copyright (c) 2020 Project CHIP Authors * Copyright (c) 2019 Google LLC. * Copyright (c) 2014-2018 Nest Labs, Inc. + * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/lwip/standalone/sys_arch.c b/src/lwip/standalone/sys_arch.c index e157de4857d672..27fda9f341c638 100644 --- a/src/lwip/standalone/sys_arch.c +++ b/src/lwip/standalone/sys_arch.c @@ -2,7 +2,8 @@ * * Copyright (c) 2020 Project CHIP Authors * Copyright (c) 2014-2017 Nest Labs, Inc. - * Copyright (c) 2001-2003 Swedish Institute of Computer Science. + * Copyright (c) 2001-2003 Swedish Institute of Computer Science. + * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.