From d709c775b487419b4555d65ad50187e5d9a49ae4 Mon Sep 17 00:00:00 2001 From: Chun-Chieh Li Date: Mon, 30 Mar 2020 14:03:50 +0800 Subject: [PATCH] M487: Add SPDX license identifier --- .../TARGET_NUVOTON/TARGET_M480/aes/aes_alt.c | 6 ++++-- .../TARGET_NUVOTON/TARGET_M480/des/des_alt.c | 6 ++++-- .../TARGET_NUVOTON/TARGET_M480/des/des_alt.h | 6 ++++-- .../TARGET_M480/ecp/ecp_internal_alt.c | 6 ++++-- .../TARGET_M480/mbedtls_device.h | 7 +++++-- .../TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.c | 6 ++++-- .../TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.h | 7 +++++-- .../TARGET_M480/sha/sha256_alt.c | 6 ++++-- .../TARGET_M480/sha/sha256_alt.h | 7 +++++-- .../TARGET_M480/sha/sha512_alt.c | 6 ++++-- .../TARGET_M480/sha/sha512_alt.h | 7 +++++-- .../TARGET_M480/sha/sha_alt_hw.c | 6 ++++-- .../TARGET_M480/sha/sha_alt_hw.h | 7 +++++-- .../TARGET_M480/PeripheralNames.h | 6 ++++-- .../TARGET_M480/PeripheralPins.c | 6 ++++-- .../TARGET_M480/PeripheralPins.h | 6 ++++-- .../TARGET_M480/PinNamesCommon.h | 1 + targets/TARGET_NUVOTON/TARGET_M480/PortNames.h | 6 ++++-- .../TARGET_NUMAKER_IOT_M487/PinNames.h | 1 + .../TARGET_NUMAKER_PFM_M487/PinNames.h | 1 + .../TARGET_NUVOTON/TARGET_M480/analogin_api.c | 6 ++++-- .../TARGET_NUVOTON/TARGET_M480/analogout_api.c | 1 + targets/TARGET_NUVOTON/TARGET_M480/can_api.c | 6 ++++-- .../TARGET_M480/crypto/crypto-misc.cpp | 7 ++++--- .../TARGET_M480/crypto/crypto-misc.h | 6 ++++-- targets/TARGET_NUVOTON/TARGET_M480/device.h | 6 ++++-- .../device/TOOLCHAIN_ARM_MICRO/M487.sct | 18 ++++++++++++++++++ .../device/TOOLCHAIN_ARM_STD/M487.sct | 18 ++++++++++++++++++ .../device/TOOLCHAIN_GCC_ARM/M487.ld | 18 ++++++++++++++++++ .../TARGET_M480/device/TOOLCHAIN_IAR/M487.icf | 18 ++++++++++++++++++ .../TARGET_NUVOTON/TARGET_M480/device/cmsis.h | 6 ++++-- .../TARGET_M480/device/cmsis_nvic.h | 6 ++++-- targets/TARGET_NUVOTON/TARGET_M480/dma.h | 6 ++++-- targets/TARGET_NUVOTON/TARGET_M480/dma_api.c | 6 ++++-- targets/TARGET_NUVOTON/TARGET_M480/flash_api.c | 6 ++++-- targets/TARGET_NUVOTON/TARGET_M480/gpio_api.c | 6 ++++-- .../TARGET_NUVOTON/TARGET_M480/gpio_irq_api.c | 6 ++++-- .../TARGET_NUVOTON/TARGET_M480/gpio_object.h | 6 ++++-- targets/TARGET_NUVOTON/TARGET_M480/i2c_api.c | 6 ++++-- targets/TARGET_NUVOTON/TARGET_M480/lp_ticker.c | 6 ++++-- .../TARGET_M480/mbed_overrides.c | 6 ++++-- targets/TARGET_NUVOTON/TARGET_M480/objects.h | 6 ++++-- targets/TARGET_NUVOTON/TARGET_M480/pinmap.c | 6 ++++-- targets/TARGET_NUVOTON/TARGET_M480/port_api.c | 6 ++++-- .../TARGET_NUVOTON/TARGET_M480/pwmout_api.c | 6 ++++-- .../TARGET_NUVOTON/TARGET_M480/reset_reason.c | 6 ++++-- targets/TARGET_NUVOTON/TARGET_M480/rtc_api.c | 6 ++++-- .../TARGET_NUVOTON/TARGET_M480/serial_api.c | 6 ++++-- targets/TARGET_NUVOTON/TARGET_M480/sleep.c | 6 ++++-- targets/TARGET_NUVOTON/TARGET_M480/spi_api.c | 6 ++++-- targets/TARGET_NUVOTON/TARGET_M480/us_ticker.c | 6 ++++-- .../TARGET_NUVOTON/TARGET_M480/watchdog_api.c | 6 ++++-- 52 files changed, 257 insertions(+), 89 deletions(-) diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/aes/aes_alt.c b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/aes/aes_alt.c index 3fe764ae36..09804131a9 100644 --- a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/aes/aes_alt.c +++ b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/aes/aes_alt.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/des/des_alt.c b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/des/des_alt.c index ea6e590fa2..83863ca37b 100644 --- a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/des/des_alt.c +++ b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/des/des_alt.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/des/des_alt.h b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/des/des_alt.h index 09b693c524..a1c99a9bed 100644 --- a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/des/des_alt.h +++ b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/des/des_alt.h @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/ecp/ecp_internal_alt.c b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/ecp/ecp_internal_alt.c index 98cb191b4f..48804e51eb 100644 --- a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/ecp/ecp_internal_alt.c +++ b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/ecp/ecp_internal_alt.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2016-2018 Nuvoton +/* + * Copyright (c) 2016-2018, Nuvoton Technology Corporation + * + * 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. diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/mbedtls_device.h b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/mbedtls_device.h index 902236ded9..6679c76262 100644 --- a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/mbedtls_device.h +++ b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/mbedtls_device.h @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + #ifndef MBEDTLS_DEVICE_H #define MBEDTLS_DEVICE_H diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.c b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.c index 38981bc1ed..b24d35adda 100644 --- a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.c +++ b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.h b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.h index fc6aea2395..2274c48eae 100644 --- a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.h +++ b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.h @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + #ifndef MBEDTLS_SHA1_ALT_H #define MBEDTLS_SHA1_ALT_H diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.c b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.c index b0948e1c63..d3abfc1def 100644 --- a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.c +++ b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.h b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.h index 6845dbde26..6d2a2322b6 100644 --- a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.h +++ b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.h @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + #ifndef MBEDTLS_SHA256_ALT_H #define MBEDTLS_SHA256_ALT_H diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.c b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.c index 4b4a540551..53e2fb314e 100644 --- a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.c +++ b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.h b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.h index 4a8c2c7c21..2a05a1b247 100644 --- a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.h +++ b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.h @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + #ifndef MBEDTLS_SHA512_ALT_H #define MBEDTLS_SHA512_ALT_H diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha_alt_hw.c b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha_alt_hw.c index d61170df52..af10400862 100644 --- a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha_alt_hw.c +++ b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha_alt_hw.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha_alt_hw.h b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha_alt_hw.h index 120a8abdf7..e459e67073 100644 --- a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha_alt_hw.h +++ b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha_alt_hw.h @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + #ifndef MBEDTLS_SHA_ALT_HW_H #define MBEDTLS_SHA_ALT_HW_H diff --git a/targets/TARGET_NUVOTON/TARGET_M480/PeripheralNames.h b/targets/TARGET_NUVOTON/TARGET_M480/PeripheralNames.h index 51a5e5f461..19911b9357 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/PeripheralNames.h +++ b/targets/TARGET_NUVOTON/TARGET_M480/PeripheralNames.h @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/PeripheralPins.c b/targets/TARGET_NUVOTON/TARGET_M480/PeripheralPins.c index cba62c0392..b50b359e4f 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/PeripheralPins.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/PeripheralPins.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/PeripheralPins.h b/targets/TARGET_NUVOTON/TARGET_M480/PeripheralPins.h index 0e6d9a30b1..76ff9d5095 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/PeripheralPins.h +++ b/targets/TARGET_NUVOTON/TARGET_M480/PeripheralPins.h @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/PinNamesCommon.h b/targets/TARGET_NUVOTON/TARGET_M480/PinNamesCommon.h index 00a51d021d..c797619d53 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/PinNamesCommon.h +++ b/targets/TARGET_NUVOTON/TARGET_M480/PinNamesCommon.h @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + #ifndef __PIN_NAME_COMMON_H__ #define __PIN_NAME_COMMON_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M480/PortNames.h b/targets/TARGET_NUVOTON/TARGET_M480/PortNames.h index 053901d3d5..878adb1608 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/PortNames.h +++ b/targets/TARGET_NUVOTON/TARGET_M480/PortNames.h @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/TARGET_NUMAKER_IOT_M487/PinNames.h b/targets/TARGET_NUVOTON/TARGET_M480/TARGET_NUMAKER_IOT_M487/PinNames.h index 64cf630107..a145c86870 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/TARGET_NUMAKER_IOT_M487/PinNames.h +++ b/targets/TARGET_NUVOTON/TARGET_M480/TARGET_NUMAKER_IOT_M487/PinNames.h @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + #ifndef MBED_PINNAMES_H #define MBED_PINNAMES_H diff --git a/targets/TARGET_NUVOTON/TARGET_M480/TARGET_NUMAKER_PFM_M487/PinNames.h b/targets/TARGET_NUVOTON/TARGET_M480/TARGET_NUMAKER_PFM_M487/PinNames.h index ce77e33c99..9e3f3a20ac 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/TARGET_NUMAKER_PFM_M487/PinNames.h +++ b/targets/TARGET_NUVOTON/TARGET_M480/TARGET_NUMAKER_PFM_M487/PinNames.h @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + #ifndef MBED_PINNAMES_H #define MBED_PINNAMES_H diff --git a/targets/TARGET_NUVOTON/TARGET_M480/analogin_api.c b/targets/TARGET_NUVOTON/TARGET_M480/analogin_api.c index b89fc54da9..6212da074c 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/analogin_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/analogin_api.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/analogout_api.c b/targets/TARGET_NUVOTON/TARGET_M480/analogout_api.c index 524b4427cd..6e89cb7799 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/analogout_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/analogout_api.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2018, Nuvoton Technology Corporation + * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/targets/TARGET_NUVOTON/TARGET_M480/can_api.c b/targets/TARGET_NUVOTON/TARGET_M480/can_api.c index 32ff1af0c1..14a31b461c 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/can_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/can_api.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/crypto/crypto-misc.cpp b/targets/TARGET_NUVOTON/TARGET_M480/crypto/crypto-misc.cpp index 63a60e5721..d67058e1c9 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/crypto/crypto-misc.cpp +++ b/targets/TARGET_NUVOTON/TARGET_M480/crypto/crypto-misc.cpp @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. @@ -14,7 +16,6 @@ * limitations under the License. */ - #include "cmsis.h" #include "mbed_assert.h" #include "mbed_atomic.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M480/crypto/crypto-misc.h b/targets/TARGET_NUVOTON/TARGET_M480/crypto/crypto-misc.h index 15c377a48a..e65b43b9c2 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/crypto/crypto-misc.h +++ b/targets/TARGET_NUVOTON/TARGET_M480/crypto/crypto-misc.h @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/device.h b/targets/TARGET_NUVOTON/TARGET_M480/device.h index 2f05e05bec..e43a0170ed 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/device.h +++ b/targets/TARGET_NUVOTON/TARGET_M480/device.h @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_ARM_MICRO/M487.sct b/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_ARM_MICRO/M487.sct index 5c12cea3cb..e800ee76b3 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_ARM_MICRO/M487.sct +++ b/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_ARM_MICRO/M487.sct @@ -1,5 +1,23 @@ #! armcc -E +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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 "../M480_mem.h" #if !defined(MBED_BOOT_STACK_SIZE) diff --git a/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_ARM_STD/M487.sct b/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_ARM_STD/M487.sct index 5c12cea3cb..e800ee76b3 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_ARM_STD/M487.sct +++ b/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_ARM_STD/M487.sct @@ -1,5 +1,23 @@ #! armcc -E +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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 "../M480_mem.h" #if !defined(MBED_BOOT_STACK_SIZE) diff --git a/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_GCC_ARM/M487.ld b/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_GCC_ARM/M487.ld index ce33a3e34d..edd7c1cffa 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_GCC_ARM/M487.ld +++ b/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_GCC_ARM/M487.ld @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. + */ + /* * Nuvoton M487 GCC linker script file */ diff --git a/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_IAR/M487.icf b/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_IAR/M487.icf index ef9845f301..3dfe634894 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_IAR/M487.icf +++ b/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_IAR/M487.icf @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. + */ + /*###ICF### Section handled by ICF editor, don't touch! ****/ /*-Editor annotation file-*/ /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ diff --git a/targets/TARGET_NUVOTON/TARGET_M480/device/cmsis.h b/targets/TARGET_NUVOTON/TARGET_M480/device/cmsis.h index ed737ab6d3..43bb65b508 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/device/cmsis.h +++ b/targets/TARGET_NUVOTON/TARGET_M480/device/cmsis.h @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2020, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/device/cmsis_nvic.h b/targets/TARGET_NUVOTON/TARGET_M480/device/cmsis_nvic.h index ea73d8cb2d..13da846c39 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/device/cmsis_nvic.h +++ b/targets/TARGET_NUVOTON/TARGET_M480/device/cmsis_nvic.h @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2020, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/dma.h b/targets/TARGET_NUVOTON/TARGET_M480/dma.h index 465003246b..3abd02cb56 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/dma.h +++ b/targets/TARGET_NUVOTON/TARGET_M480/dma.h @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/dma_api.c b/targets/TARGET_NUVOTON/TARGET_M480/dma_api.c index 57ce3466e9..51f0e686b4 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/dma_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/dma_api.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/flash_api.c b/targets/TARGET_NUVOTON/TARGET_M480/flash_api.c index 93edf6393d..fc6d20c388 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/flash_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/flash_api.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/gpio_api.c b/targets/TARGET_NUVOTON/TARGET_M480/gpio_api.c index 875256dfc1..029a684b32 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/gpio_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/gpio_api.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/gpio_irq_api.c b/targets/TARGET_NUVOTON/TARGET_M480/gpio_irq_api.c index bb5cd96b9a..0c5b4eb2b4 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/gpio_irq_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/gpio_irq_api.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/gpio_object.h b/targets/TARGET_NUVOTON/TARGET_M480/gpio_object.h index 76d079bf7c..630ce33ee5 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/gpio_object.h +++ b/targets/TARGET_NUVOTON/TARGET_M480/gpio_object.h @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/i2c_api.c b/targets/TARGET_NUVOTON/TARGET_M480/i2c_api.c index 20bc7b3ecd..dbad846269 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/i2c_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/i2c_api.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/lp_ticker.c b/targets/TARGET_NUVOTON/TARGET_M480/lp_ticker.c index 8c36868f8f..56aa796de2 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/lp_ticker.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/lp_ticker.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/mbed_overrides.c b/targets/TARGET_NUVOTON/TARGET_M480/mbed_overrides.c index 5f7c63cdbb..aad469c3e1 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/mbed_overrides.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/mbed_overrides.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/objects.h b/targets/TARGET_NUVOTON/TARGET_M480/objects.h index 85c729e40a..e89de49b3e 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/objects.h +++ b/targets/TARGET_NUVOTON/TARGET_M480/objects.h @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2019 Nuvoton +/* + * Copyright (c) 2015-2019, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/pinmap.c b/targets/TARGET_NUVOTON/TARGET_M480/pinmap.c index 4c49470d3c..7dbf7150cd 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/pinmap.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/pinmap.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/port_api.c b/targets/TARGET_NUVOTON/TARGET_M480/port_api.c index 159f8d1c50..988a2bedeb 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/port_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/port_api.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/pwmout_api.c b/targets/TARGET_NUVOTON/TARGET_M480/pwmout_api.c index 93aca5e3bb..10b22f6a32 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/pwmout_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/pwmout_api.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/reset_reason.c b/targets/TARGET_NUVOTON/TARGET_M480/reset_reason.c index 91c29b6512..6921851429 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/reset_reason.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/reset_reason.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2017-2018 Nuvoton +/* + * Copyright (c) 2017-2018, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/rtc_api.c b/targets/TARGET_NUVOTON/TARGET_M480/rtc_api.c index 147eec51fb..92f49376db 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/rtc_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/rtc_api.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/serial_api.c b/targets/TARGET_NUVOTON/TARGET_M480/serial_api.c index 4c6564bc83..fdf825a4b4 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/serial_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/serial_api.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/sleep.c b/targets/TARGET_NUVOTON/TARGET_M480/sleep.c index ae41314636..208cca5587 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/sleep.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/sleep.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/spi_api.c b/targets/TARGET_NUVOTON/TARGET_M480/spi_api.c index d409f6dee2..953459810d 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/spi_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/spi_api.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/us_ticker.c b/targets/TARGET_NUVOTON/TARGET_M480/us_ticker.c index 85c3e316e8..966b838eec 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/us_ticker.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/us_ticker.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2015-2016 Nuvoton +/* + * Copyright (c) 2015-2016, Nuvoton Technology Corporation + * + * 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. diff --git a/targets/TARGET_NUVOTON/TARGET_M480/watchdog_api.c b/targets/TARGET_NUVOTON/TARGET_M480/watchdog_api.c index a61bb6909e..dfc52bba97 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/watchdog_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/watchdog_api.c @@ -1,5 +1,7 @@ -/* mbed Microcontroller Library - * Copyright (c) 2017-2018 Nuvoton +/* + * Copyright (c) 2017-2018, Nuvoton Technology Corporation + * + * 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.