From d1d6bf51b387ef39f97320b2febd5d79231682ba Mon Sep 17 00:00:00 2001 From: Harrison Mutai Date: Tue, 6 Oct 2020 16:21:25 +0100 Subject: [PATCH] Add license notice to Arm copyrighted source files Scancode found missing license notices in our source files. This commit addresses those issues by adding an Apache-2.0 notice to source files highlighted. --- .../libService/unittest/nsnvmhelper/main.cpp | 13 +++++++++++++ .../unittest/nsnvmhelper/nsnvmhelpertest.cpp | 13 +++++++++++++ .../unittest/nsnvmhelper/test_ns_nvm_helper.c | 13 +++++++++++++ .../unittest/nsnvmhelper/test_ns_nvm_helper.h | 13 +++++++++++++ .../source/NanostackEMACInterface.cpp | 13 +++++++++++++ platform/randlib/tests/unit/stubs/random_stub.c | 15 ++++++++++++++- .../TARGET_KLXX/TARGET_KL25Z/device/cmsis.h | 17 +++++++++++++++-- .../TARGET_KLXX/TARGET_KL46Z/device/cmsis.h | 17 +++++++++++++++-- .../TARGET_K66F/device/cmsis.h | 15 ++++++++++++++- .../TARGET_K82F/device/cmsis.h | 15 ++++++++++++++- .../TARGET_KL27Z/device/cmsis.h | 15 ++++++++++++++- .../TARGET_KL43Z/device/cmsis.h | 15 ++++++++++++++- .../TARGET_KW41Z/device/cmsis.h | 15 ++++++++++++++- .../TARGET_MCU_K22F512/device/cmsis.h | 15 ++++++++++++++- .../TARGET_MCU_K64F/device/cmsis.h | 15 ++++++++++++++- .../TARGET_NXP/TARGET_LPC11U6X/device/cmsis.h | 17 +++++++++++++++-- .../TARGET_LPC11XX_11CXX/device/cmsis.h | 17 +++++++++++++++-- .../TARGET_NXP/TARGET_LPC176X/device/cmsis.h | 17 +++++++++++++++-- .../TARGET_LPC54114/device/cmsis.h | 15 ++++++++++++++- .../TARGET_LPC55S69/device/cmsis.h | 15 ++++++++++++++- .../TARGET_MCU_LPC546XX/device/cmsis.h | 15 ++++++++++++++- .../TARGET_MIMXRT1050/device/cmsis.h | 15 ++++++++++++++- .../TARGET_GR_LYCHEE/device/cmsis.h | 15 ++++++++++++++- .../TARGET_RZ_A1XX/TARGET_RZ_A1H/device/cmsis.h | 15 ++++++++++++++- .../TARGET_EFM32/common/cmsis.h | 15 ++++++++++++++- .../TARGET_EFM32/common/cmsis_nvic.h | 15 ++++++++++++++- .../TARGET_TMPM46B/device/cmsis.h | 15 ++++++++++++++- .../TARGET_TMPM46B/device/cmsis_nvic.h | 15 ++++++++++++++- 28 files changed, 392 insertions(+), 28 deletions(-) diff --git a/connectivity/libraries/nanostack-libservice/test/libService/unittest/nsnvmhelper/main.cpp b/connectivity/libraries/nanostack-libservice/test/libService/unittest/nsnvmhelper/main.cpp index 602aa1faac..1d4177e217 100644 --- a/connectivity/libraries/nanostack-libservice/test/libService/unittest/nsnvmhelper/main.cpp +++ b/connectivity/libraries/nanostack-libservice/test/libService/unittest/nsnvmhelper/main.cpp @@ -1,5 +1,18 @@ /* * Copyright (c) 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 + * + * 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 "CppUTest/CommandLineTestRunner.h" diff --git a/connectivity/libraries/nanostack-libservice/test/libService/unittest/nsnvmhelper/nsnvmhelpertest.cpp b/connectivity/libraries/nanostack-libservice/test/libService/unittest/nsnvmhelper/nsnvmhelpertest.cpp index 32c3fc8384..df42b125bf 100644 --- a/connectivity/libraries/nanostack-libservice/test/libService/unittest/nsnvmhelper/nsnvmhelpertest.cpp +++ b/connectivity/libraries/nanostack-libservice/test/libService/unittest/nsnvmhelper/nsnvmhelpertest.cpp @@ -1,5 +1,18 @@ /* * Copyright (c) 2016 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 + * + * 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 "CppUTest/TestHarness.h" #include "test_ns_nvm_helper.h" diff --git a/connectivity/libraries/nanostack-libservice/test/libService/unittest/nsnvmhelper/test_ns_nvm_helper.c b/connectivity/libraries/nanostack-libservice/test/libService/unittest/nsnvmhelper/test_ns_nvm_helper.c index 10b41c87d0..a83eb87723 100644 --- a/connectivity/libraries/nanostack-libservice/test/libService/unittest/nsnvmhelper/test_ns_nvm_helper.c +++ b/connectivity/libraries/nanostack-libservice/test/libService/unittest/nsnvmhelper/test_ns_nvm_helper.c @@ -1,5 +1,18 @@ /* * Copyright (c) 2016 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 + * + * 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 diff --git a/connectivity/libraries/nanostack-libservice/test/libService/unittest/nsnvmhelper/test_ns_nvm_helper.h b/connectivity/libraries/nanostack-libservice/test/libService/unittest/nsnvmhelper/test_ns_nvm_helper.h index 0d0af911e1..408a33f2d4 100644 --- a/connectivity/libraries/nanostack-libservice/test/libService/unittest/nsnvmhelper/test_ns_nvm_helper.h +++ b/connectivity/libraries/nanostack-libservice/test/libService/unittest/nsnvmhelper/test_ns_nvm_helper.h @@ -1,5 +1,18 @@ /* * Copyright (c) 2016 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 + * + * 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 TEST_NS_NVM_HELPER_H #define TEST_NS_NVM_HELPER_H diff --git a/connectivity/nanostack/mbed-mesh-api/source/NanostackEMACInterface.cpp b/connectivity/nanostack/mbed-mesh-api/source/NanostackEMACInterface.cpp index 5c0c3172cd..8d677a4b56 100644 --- a/connectivity/nanostack/mbed-mesh-api/source/NanostackEMACInterface.cpp +++ b/connectivity/nanostack/mbed-mesh-api/source/NanostackEMACInterface.cpp @@ -1,5 +1,18 @@ /* * Copyright (c) 2017 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 + * + * 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 "NanostackEthernetInterface.h" diff --git a/platform/randlib/tests/unit/stubs/random_stub.c b/platform/randlib/tests/unit/stubs/random_stub.c index c271839a6b..5d5a37c4c5 100644 --- a/platform/randlib/tests/unit/stubs/random_stub.c +++ b/platform/randlib/tests/unit/stubs/random_stub.c @@ -1,5 +1,18 @@ /* - * Copyright (c) 2016, ARM Limited, All Rights Reserved + * Copyright (c) 2016 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 + * + * 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 "ns_types.h" diff --git a/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device/cmsis.h b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device/cmsis.h index 82dab2b69c..51c0ea0d11 100644 --- a/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device/cmsis.h +++ b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device/cmsis.h @@ -1,6 +1,19 @@ -/* mbed Microcontroller Library - CMSIS +/* * Copyright (C) 2009-2011 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 + * + * 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. + * * A generic CMSIS include header, pulling in LPC11U24 specifics */ diff --git a/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/device/cmsis.h b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/device/cmsis.h index 553b60775f..cb6877944a 100644 --- a/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/device/cmsis.h +++ b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/device/cmsis.h @@ -1,6 +1,19 @@ -/* mbed Microcontroller Library - CMSIS +/* * Copyright (C) 2009-2011 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 + * + * 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. + * * A generic CMSIS include header, pulling in LPC11U24 specifics */ diff --git a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K66F/device/cmsis.h b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K66F/device/cmsis.h index 7423a125ba..59063cbeba 100644 --- a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K66F/device/cmsis.h +++ b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K66F/device/cmsis.h @@ -1,5 +1,18 @@ -/* mbed Microcontroller Library - CMSIS +/* * Copyright (C) 2009-2011 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 + * + * 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. * * A generic CMSIS include header, pulling in LPC11U24 specifics */ diff --git a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K82F/device/cmsis.h b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K82F/device/cmsis.h index 7423a125ba..59063cbeba 100644 --- a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K82F/device/cmsis.h +++ b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K82F/device/cmsis.h @@ -1,5 +1,18 @@ -/* mbed Microcontroller Library - CMSIS +/* * Copyright (C) 2009-2011 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 + * + * 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. * * A generic CMSIS include header, pulling in LPC11U24 specifics */ diff --git a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL27Z/device/cmsis.h b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL27Z/device/cmsis.h index 7423a125ba..59063cbeba 100644 --- a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL27Z/device/cmsis.h +++ b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL27Z/device/cmsis.h @@ -1,5 +1,18 @@ -/* mbed Microcontroller Library - CMSIS +/* * Copyright (C) 2009-2011 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 + * + * 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. * * A generic CMSIS include header, pulling in LPC11U24 specifics */ diff --git a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL43Z/device/cmsis.h b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL43Z/device/cmsis.h index 7423a125ba..59063cbeba 100644 --- a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL43Z/device/cmsis.h +++ b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL43Z/device/cmsis.h @@ -1,5 +1,18 @@ -/* mbed Microcontroller Library - CMSIS +/* * Copyright (C) 2009-2011 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 + * + * 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. * * A generic CMSIS include header, pulling in LPC11U24 specifics */ diff --git a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KW41Z/device/cmsis.h b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KW41Z/device/cmsis.h index 7423a125ba..59063cbeba 100644 --- a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KW41Z/device/cmsis.h +++ b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KW41Z/device/cmsis.h @@ -1,5 +1,18 @@ -/* mbed Microcontroller Library - CMSIS +/* * Copyright (C) 2009-2011 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 + * + * 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. * * A generic CMSIS include header, pulling in LPC11U24 specifics */ diff --git a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K22F/TARGET_MCU_K22F512/device/cmsis.h b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K22F/TARGET_MCU_K22F512/device/cmsis.h index 7423a125ba..59063cbeba 100644 --- a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K22F/TARGET_MCU_K22F512/device/cmsis.h +++ b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K22F/TARGET_MCU_K22F512/device/cmsis.h @@ -1,5 +1,18 @@ -/* mbed Microcontroller Library - CMSIS +/* * Copyright (C) 2009-2011 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 + * + * 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. * * A generic CMSIS include header, pulling in LPC11U24 specifics */ diff --git a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/device/cmsis.h b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/device/cmsis.h index 7423a125ba..59063cbeba 100644 --- a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/device/cmsis.h +++ b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/device/cmsis.h @@ -1,5 +1,18 @@ -/* mbed Microcontroller Library - CMSIS +/* * Copyright (C) 2009-2011 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 + * + * 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. * * A generic CMSIS include header, pulling in LPC11U24 specifics */ diff --git a/targets/TARGET_NXP/TARGET_LPC11U6X/device/cmsis.h b/targets/TARGET_NXP/TARGET_LPC11U6X/device/cmsis.h index 539e1f32b1..a82568172e 100644 --- a/targets/TARGET_NXP/TARGET_LPC11U6X/device/cmsis.h +++ b/targets/TARGET_NXP/TARGET_LPC11U6X/device/cmsis.h @@ -1,6 +1,19 @@ -/* mbed Microcontroller Library - CMSIS +/* * Copyright (C) 2009-2011 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 + * + * 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. + * * A generic CMSIS include header, pulling in LPC8xx specifics */ diff --git a/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/device/cmsis.h b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/device/cmsis.h index 4b9e4353c6..1e7b09b646 100644 --- a/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/device/cmsis.h +++ b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/device/cmsis.h @@ -1,6 +1,19 @@ -/* mbed Microcontroller Library - CMSIS +/* * Copyright (C) 2009-2011 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 + * + * 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. + * * A generic CMSIS include header, pulling in LPC11U24 specifics */ diff --git a/targets/TARGET_NXP/TARGET_LPC176X/device/cmsis.h b/targets/TARGET_NXP/TARGET_LPC176X/device/cmsis.h index 2e51a087d1..adeb177ccc 100644 --- a/targets/TARGET_NXP/TARGET_LPC176X/device/cmsis.h +++ b/targets/TARGET_NXP/TARGET_LPC176X/device/cmsis.h @@ -1,6 +1,19 @@ -/* mbed Microcontroller Library - CMSIS +/* * Copyright (C) 2009-2011 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 + * + * 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. + * * A generic CMSIS include header, pulling in LPC1768 specifics */ diff --git a/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC54114/device/cmsis.h b/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC54114/device/cmsis.h index ddbfa5ea1e..4cad8ae3c4 100644 --- a/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC54114/device/cmsis.h +++ b/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC54114/device/cmsis.h @@ -1,5 +1,18 @@ -/* mbed Microcontroller Library - CMSIS +/* * Copyright (C) 2009-2011 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 + * + * 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. * * A generic CMSIS include header, pulling in LPC54114 specifics */ diff --git a/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC55S69/device/cmsis.h b/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC55S69/device/cmsis.h index b599d5e8fe..d8e375e532 100644 --- a/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC55S69/device/cmsis.h +++ b/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC55S69/device/cmsis.h @@ -1,5 +1,18 @@ -/* mbed Microcontroller Library - CMSIS +/* * Copyright (C) 2009-2017 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 + * + * 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. * * A generic CMSIS include header, pulling in LPC54608 specifics */ diff --git a/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_MCU_LPC546XX/device/cmsis.h b/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_MCU_LPC546XX/device/cmsis.h index 84dc6cdf58..25a9a1d887 100644 --- a/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_MCU_LPC546XX/device/cmsis.h +++ b/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_MCU_LPC546XX/device/cmsis.h @@ -1,5 +1,18 @@ -/* mbed Microcontroller Library - CMSIS +/* * Copyright (C) 2009-2017 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 + * + * 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. * * A generic CMSIS include header, pulling in LPC54608 specifics */ diff --git a/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_MIMXRT1050/device/cmsis.h b/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_MIMXRT1050/device/cmsis.h index 7423a125ba..59063cbeba 100644 --- a/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_MIMXRT1050/device/cmsis.h +++ b/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_MIMXRT1050/device/cmsis.h @@ -1,5 +1,18 @@ -/* mbed Microcontroller Library - CMSIS +/* * Copyright (C) 2009-2011 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 + * + * 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. * * A generic CMSIS include header, pulling in LPC11U24 specifics */ diff --git a/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_GR_LYCHEE/device/cmsis.h b/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_GR_LYCHEE/device/cmsis.h index 803dc06d92..d7ffa88adc 100644 --- a/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_GR_LYCHEE/device/cmsis.h +++ b/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_GR_LYCHEE/device/cmsis.h @@ -1,5 +1,18 @@ -/* mbed Microcontroller Library - CMSIS +/* * Copyright (C) 2009-2011 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 + * + * 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. * * A generic CMSIS include header, pulling in LPC1768 specifics */ diff --git a/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/cmsis.h b/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/cmsis.h index 5d8b03f68f..0a79b3f884 100644 --- a/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/cmsis.h +++ b/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/cmsis.h @@ -1,5 +1,18 @@ -/* mbed Microcontroller Library - CMSIS +/* * Copyright (C) 2009-2011 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 + * + * 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. * * A generic CMSIS include header, pulling in LPC1768 specifics */ diff --git a/targets/TARGET_Silicon_Labs/TARGET_EFM32/common/cmsis.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/common/cmsis.h index 21b74182e4..ed26251465 100644 --- a/targets/TARGET_Silicon_Labs/TARGET_EFM32/common/cmsis.h +++ b/targets/TARGET_Silicon_Labs/TARGET_EFM32/common/cmsis.h @@ -1,5 +1,18 @@ -/* mbed Microcontroller Library - CMSIS +/* * Copyright (C) 2009-2011 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 + * + * 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. * * A generic CMSIS include header, pulling in EFM32 specifics */ diff --git a/targets/TARGET_Silicon_Labs/TARGET_EFM32/common/cmsis_nvic.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/common/cmsis_nvic.h index d1803b1647..5006434f62 100644 --- a/targets/TARGET_Silicon_Labs/TARGET_EFM32/common/cmsis_nvic.h +++ b/targets/TARGET_Silicon_Labs/TARGET_EFM32/common/cmsis_nvic.h @@ -1,5 +1,18 @@ -/* mbed Microcontroller Library - cmsis_nvic +/* * Copyright (c) 2009-2011 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 + * + * 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 MBED_CMSIS_NVIC_H diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM46B/device/cmsis.h b/targets/TARGET_TOSHIBA/TARGET_TMPM46B/device/cmsis.h index d357205d20..36c6289bf7 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM46B/device/cmsis.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM46B/device/cmsis.h @@ -1,5 +1,18 @@ -/* mbed Microcontroller Library - CMSIS for TMPM46B +/* * Copyright (C) 2011 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 + * + * 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. * * A generic CMSIS include header, pulling in TMPM46B specifics */ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM46B/device/cmsis_nvic.h b/targets/TARGET_TOSHIBA/TARGET_TMPM46B/device/cmsis_nvic.h index 289ce77f59..88bd10869d 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM46B/device/cmsis_nvic.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM46B/device/cmsis_nvic.h @@ -1,5 +1,18 @@ -/* mbed Microcontroller Library - cmsis_nvic for TMPM46B +/* * Copyright (c) 2011 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 + * + * 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. * * CMSIS-style functionality to support dynamic vectors */