sjanc closed pull request #1132: License check
URL: https://github.com/apache/mynewt-core/pull/1132
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/.rat-excludes b/.rat-excludes
index aa6c00e5be..2438a7a6e1 100644
--- a/.rat-excludes
+++ b/.rat-excludes
@@ -10,15 +10,11 @@ tags
 RELEASE_NOTES.md
 repository.yml
 .gitignore
-pts-gap.txt
-pts-gatt.txt
-pts-l2cap.txt
-pts-sm.txt
-94654-20170317-085122560.tpg
-94654-20170317-085441153.pts
 00readme.txt
 uncrustify.cfg
 README.md
+.mailmap
+version.txt
 
 # unit tests executables
 bin
@@ -114,6 +110,11 @@ vbluno51_no_boot.ld
 split-vbluno52.ld
 vbluno52_no_boot.ld
 
+# STM32 HAL - BSD License
+stm32_driver_mod_i2c_v1.c
+stm32_driver_mod_i2c_v2.c
+stm32_driver_mod_spi.c
+
 # STM32CubeF4  - BSD License.
 stm32f4xx_hal_conf.h
 system_stm32f4xx.c
@@ -212,6 +213,7 @@ core_cmInstr.h
 cmsis_nvic.c
 cmsis_nvic.h
 HAL_CM0.s
+HAL_CM3.s
 HAL_CM4.s
 SVC_Table.s
 arm_common_tables.h
@@ -331,9 +333,17 @@ stm32f7xx_hal_conf.h
 system_stm32f7xx.c
 startup_stm32f746xx.s
 
+# STM32F3 Discovery BSP - BSD License
+startup_stm32f303xc.s
+
 # STM32F429 BSP - BSD License
 startup_STM32F429x.s
 
+# STM32L152C BSP - BSD License
+stm32l1xx_hal_conf.h
+system_stm32l1xx.c
+startup_stm32l152xc.s
+
 # NUCLEO-F767 BSP - BSD License
 startup_stm32f767xx.s
 
@@ -386,3 +396,31 @@ stm32f3xx_hal_conf.h
 
 # Ignore documentation folder
 docs
+
+# nrfX - BSD License
+nrfx
+nrfx_glue.h
+
+# cmsis-core - Apache License
+cmsis-core
+
+# stm32l1xx - BSD License
+stm32l1xx
+
+# stm32f1xx - BSD License
+stm32f1xx
+
+# ARC - BSD License
+arc
+embarc_emsk
+
+# DWM1001 - BSD Licence
+dwm1001-dev_no_boot.ld
+split-dwm1001-dev.ld
+
+# olimex-p103 - BSD and APL 2.0 License
+olimex-p103
+
+# puckjs - BSD License
+puckjs_no_boot.ld
+split_puckjs.ld
diff --git a/apps/blemesh_light/src/light_model.c 
b/apps/blemesh_light/src/light_model.c
index 06e07fb3cf..8b00e2c044 100644
--- a/apps/blemesh_light/src/light_model.c
+++ b/apps/blemesh_light/src/light_model.c
@@ -1,3 +1,21 @@
+/*
+ * 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.
+ */
 
 #include "syscfg/syscfg.h"
 
diff --git a/apps/blemesh_light/src/light_model.h 
b/apps/blemesh_light/src/light_model.h
index 2c5cd460f2..7fcdd0c329 100644
--- a/apps/blemesh_light/src/light_model.h
+++ b/apps/blemesh_light/src/light_model.h
@@ -1,8 +1,25 @@
 /*
+ * 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.
+ *
  * Copyright (c) 2017 Intel Corporation
  *
- * SPDX-License-Identifier: Apache-2.0
  */
+
 #ifndef __BT_MESH_LIGHT_MODEL_H
 #define __BT_MESH_LIGHT_MODEL_H
 
diff --git a/hw/mcu/nordic/nrf51xxx/include/nrfx_config.h 
b/hw/mcu/nordic/nrf51xxx/include/nrfx_config.h
index 8ac2cb35ba..98e76a0c27 100644
--- a/hw/mcu/nordic/nrf51xxx/include/nrfx_config.h
+++ b/hw/mcu/nordic/nrf51xxx/include/nrfx_config.h
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
 #ifndef NRFX_CONFIG_H__
 #define NRFX_CONFIG_H__
 
diff --git a/hw/mcu/nordic/nrf52xxx/include/nrfx52840_config.h 
b/hw/mcu/nordic/nrf52xxx/include/nrfx52840_config.h
index 80c6399fce..c63c4bb114 100644
--- a/hw/mcu/nordic/nrf52xxx/include/nrfx52840_config.h
+++ b/hw/mcu/nordic/nrf52xxx/include/nrfx52840_config.h
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
 #ifndef NRFX52840_CONFIG_H__
 #define NRFX52840_CONFIG_H__
 
diff --git a/hw/mcu/nordic/nrf52xxx/include/nrfx52_config.h 
b/hw/mcu/nordic/nrf52xxx/include/nrfx52_config.h
index 0c0289f8dd..d6700fcb59 100644
--- a/hw/mcu/nordic/nrf52xxx/include/nrfx52_config.h
+++ b/hw/mcu/nordic/nrf52xxx/include/nrfx52_config.h
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
 #ifndef NRFX52_CONFIG_H__
 #define NRFX52_CONFIG_H__
 
diff --git a/hw/mcu/nordic/nrf52xxx/include/nrfx_config.h 
b/hw/mcu/nordic/nrf52xxx/include/nrfx_config.h
index 180058a61d..0281270185 100644
--- a/hw/mcu/nordic/nrf52xxx/include/nrfx_config.h
+++ b/hw/mcu/nordic/nrf52xxx/include/nrfx_config.h
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
 #ifndef NRFX_CONFIG_H__
 #define NRFX_CONFIG_H__
 
diff --git a/hw/util/button/include/button/button.h 
b/hw/util/button/include/button/button.h
index a5509eab17..902e1b1fff 100644
--- a/hw/util/button/include/button/button.h
+++ b/hw/util/button/include/button/button.h
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
 #ifndef _BUTTON_H_
 #define _BUTTON_H_
 
diff --git a/version.yml b/version.yml
index db103d80e1..13e5152bb2 100644
--- a/version.yml
+++ b/version.yml
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
 # Newt uses this file to determine the version of a checked out repo.
 # This should always be 0.0.0 in the master branch.
 repo.version: 0.0.0


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to