diff --git a/.github/workflows/compliance_check.yml b/.github/workflows/compliance_check.yml index edacc93f6..b73142abf 100644 --- a/.github/workflows/compliance_check.yml +++ b/.github/workflows/compliance_check.yml @@ -50,9 +50,8 @@ jobs: run: | mkdir repos git clone --depth=1 https://github.com/apache/mynewt-core repos/apache-mynewt-core - wget https://dlcdn.apache.org//creadur/apache-rat-0.15/apache-rat-0.15-bin.tar.gz - tar zxf apache-rat-0.15-bin.tar.gz apache-rat-0.15/apache-rat-0.15.jar - mv apache-rat-0.15/apache-rat-0.15.jar apache-rat.jar + wget https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.16-SNAPSHOT/apache-rat-0.16-20230807.065048-315.jar + mv apache-rat-0.16-20230807.065048-315.jar apache-rat.jar - name: check licensing run: | ./repos/apache-mynewt-core/.github/check_license.py diff --git a/.rat-excludes b/.rat-excludes index a4bcb91b7..f29a97eb1 100644 --- a/.rat-excludes +++ b/.rat-excludes @@ -17,21 +17,19 @@ pts-sm.txt uncrustify.cfg .style_ignored_dirs .mailmap +requirements.txt # tinycrypt - BSD License. tinycrypt -# Bluetooth Mesh - Apache 2.0 License -mesh - # Queue implementation - BSD License queue.h # mbuf implementation - BSD License os_mbuf.c -# Bluetooth Mesh badge sample - Apache 2.0 License -mesh_badge +# Nordic nRF5 SDK - BSD License +system_nrf52.c -#BabbleSim and EDDT - Apache 2.0 License -babblesim +# CMSIS-CORE - BSD License. +cmsis_nvic.h diff --git a/LICENSE b/LICENSE index 08b9b218a..960e8257e 100644 --- a/LICENSE +++ b/LICENSE @@ -215,3 +215,13 @@ under the following license: This product bundles tinycrypt, which is available under the "3-clause BSD" license. For details, and bundled files see: * ext/tinycrypt/LICENSE + +This product bundles and partly derives from parts of the Nordic nRF52 SDK, +which are available under a BSD style license. Relevant files are: + * babblesim/hw/mcu/nordic/nrf52_bsim/src/system_nrf52.c + +This product bundles additional files from CMSIS-CORE, but these files are +missing licensing information. The BSD license was subsequently added to +these files in later releases. These files are: + * babblesim/hw/mcu/nordic/nrf52_bsim/include/mcu/cmsis_nvic.h + diff --git a/nimble/host/mesh/src/light_model.c b/nimble/host/mesh/src/light_model.c index e7199519b..5f0af4857 100644 --- a/nimble/host/mesh/src/light_model.c +++ b/nimble/host/mesh/src/light_model.c @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2017 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ #include "syscfg/syscfg.h" diff --git a/nimble/host/mesh/src/shell.h b/nimble/host/mesh/src/shell.h index 53cc83a27..98d3f8c66 100644 --- a/nimble/host/mesh/src/shell.h +++ b/nimble/host/mesh/src/shell.h @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2017 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + #ifndef __SHELL_H__ #define __SHELL_H__ diff --git a/tools/hci_throughput/targets/nordic_pca10040_boot/pkg.yml b/tools/hci_throughput/targets/nordic_pca10040_boot/pkg.yml index dfcb1b63b..b4f0ee6c1 100644 --- a/tools/hci_throughput/targets/nordic_pca10040_boot/pkg.yml +++ b/tools/hci_throughput/targets/nordic_pca10040_boot/pkg.yml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + pkg.name: targets/nordic_pca10040_boot pkg.type: target pkg.description: diff --git a/tools/hci_throughput/targets/nordic_pca10040_boot/syscfg.yml b/tools/hci_throughput/targets/nordic_pca10040_boot/syscfg.yml deleted file mode 100644 index e69de29bb..000000000 diff --git a/tools/hci_throughput/targets/nordic_pca10040_boot/target.yml b/tools/hci_throughput/targets/nordic_pca10040_boot/target.yml index bbf253147..ad6f05a34 100644 --- a/tools/hci_throughput/targets/nordic_pca10040_boot/target.yml +++ b/tools/hci_throughput/targets/nordic_pca10040_boot/target.yml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + target.app: "@mcuboot/boot/mynewt" target.bsp: "@apache-mynewt-core/hw/bsp/nordic_pca10040" target.build_profile: optimized diff --git a/tools/hci_throughput/targets/nordic_pca10056_boot/pkg.yml b/tools/hci_throughput/targets/nordic_pca10056_boot/pkg.yml index 1b9a6cde1..5546afa89 100644 --- a/tools/hci_throughput/targets/nordic_pca10056_boot/pkg.yml +++ b/tools/hci_throughput/targets/nordic_pca10056_boot/pkg.yml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + pkg.name: targets/nordic_pca10056_boot pkg.type: target pkg.description: diff --git a/tools/hci_throughput/targets/nordic_pca10056_boot/syscfg.yml b/tools/hci_throughput/targets/nordic_pca10056_boot/syscfg.yml deleted file mode 100644 index e69de29bb..000000000 diff --git a/tools/hci_throughput/targets/nordic_pca10056_boot/target.yml b/tools/hci_throughput/targets/nordic_pca10056_boot/target.yml index 9cde39ac0..ff3aec125 100644 --- a/tools/hci_throughput/targets/nordic_pca10056_boot/target.yml +++ b/tools/hci_throughput/targets/nordic_pca10056_boot/target.yml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + target.app: "@mcuboot/boot/mynewt" target.bsp: "@apache-mynewt-core/hw/bsp/nordic_pca10056" target.build_profile: optimized