diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/PeripheralPins.h b/targets/TARGET_GigaDevice/TARGET_GD32F30X/PeripheralPins.h index dbc4765591..14fe0e8621 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/PeripheralPins.h +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/PeripheralPins.h @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/PortNames.h b/targets/TARGET_GigaDevice/TARGET_GD32F30X/PortNames.h index 2b0fa3b506..773bed473d 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/PortNames.h +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/PortNames.h @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/PeripheralNames.h b/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/PeripheralNames.h index caceadedad..f0b4879373 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/PeripheralNames.h +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/PeripheralNames.h @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/PeripheralPins.c b/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/PeripheralPins.c index f74acfa9a9..4ab1a73a09 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/PeripheralPins.c +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/PeripheralPins.c @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/PinNames.h b/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/PinNames.h index 6ce3ace621..f870517512 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/PinNames.h +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/PinNames.h @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/device/cmsis.h b/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/device/cmsis.h index f84c8f6187..c7db9cbf17 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/device/cmsis.h +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/device/cmsis.h @@ -1,8 +1,33 @@ -/* mbed Microcontroller Library - CMSIS - * Copyright (C) 2009-2018 ARM Limited. All rights reserved. - * - * A generic CMSIS include header, pulling in GD32F307VG specifics - */ +/* mbed Microcontroller Library + * A generic CMSIS include header + + Copyright (c) 2018, GigaDevice Semiconductor Inc. All rights reserved. + + SPDX-License-Identifier: BSD-3-Clause + + Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + 3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY +OF SUCH DAMAGE. +*/ #ifndef MBED_CMSIS_H #define MBED_CMSIS_H diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/device/cmsis_nvic.h b/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/device/cmsis_nvic.h index d6e638561a..3cea459539 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/device/cmsis_nvic.h +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/device/cmsis_nvic.h @@ -4,6 +4,8 @@ * Copyright (c) 2011 ARM Limited. All rights reserved. * All rights reserved. * + * SPDX-License-Identifier: BSD-3-Clause + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/device/hal_tick.h b/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/device/hal_tick.h index a2ae383c79..e6cdebe6b4 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/device/hal_tick.h +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/device/hal_tick.h @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/analogin_api.c b/targets/TARGET_GigaDevice/TARGET_GD32F30X/analogin_api.c index f68bdc4603..6b61d2286a 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/analogin_api.c +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/analogin_api.c @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/analogout_api.c b/targets/TARGET_GigaDevice/TARGET_GD32F30X/analogout_api.c index b587b4deca..e37eb6e232 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/analogout_api.c +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/analogout_api.c @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/can_api.c b/targets/TARGET_GigaDevice/TARGET_GD32F30X/can_api.c index ac2155490f..b404a05ffd 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/can_api.c +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/can_api.c @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/device.h b/targets/TARGET_GigaDevice/TARGET_GD32F30X/device.h index 88638fe2e3..ceedbdd746 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/device.h +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/device.h @@ -3,6 +3,8 @@ /* mbed Microcontroller Library * Copyright (c) 2006-2018 ARM Limited * +* 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/flash_api.c b/targets/TARGET_GigaDevice/TARGET_GD32F30X/flash_api.c index 783b937f47..dc865d6ce6 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/flash_api.c +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/flash_api.c @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/gpio_api.c b/targets/TARGET_GigaDevice/TARGET_GD32F30X/gpio_api.c index 83fd9e8f7f..18d4f148e0 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/gpio_api.c +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/gpio_api.c @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/gpio_irq_api.c b/targets/TARGET_GigaDevice/TARGET_GD32F30X/gpio_irq_api.c index 90539dda9c..c48633977e 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/gpio_irq_api.c +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/gpio_irq_api.c @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/i2c_api.c b/targets/TARGET_GigaDevice/TARGET_GD32F30X/i2c_api.c index 8f0e64d459..d7fb82c7e2 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/i2c_api.c +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/i2c_api.c @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/mbed_overrides.c b/targets/TARGET_GigaDevice/TARGET_GD32F30X/mbed_overrides.c index 5b186f2550..c2f14a7256 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/mbed_overrides.c +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/mbed_overrides.c @@ -1,5 +1,7 @@ /* mbed Microcontroller Library - * Copyright (c) 2006-2018 ARM Limited + * Copyright (c) 2018 GigaDevice Semiconductor Inc. + * + * 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_GigaDevice/TARGET_GD32F30X/objects.h b/targets/TARGET_GigaDevice/TARGET_GD32F30X/objects.h index 01931bb23c..f2ed68a521 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/objects.h +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/objects.h @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/pinmap.c b/targets/TARGET_GigaDevice/TARGET_GD32F30X/pinmap.c index 18049fb4dd..eeed668420 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/pinmap.c +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/pinmap.c @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/port_api.c b/targets/TARGET_GigaDevice/TARGET_GD32F30X/port_api.c index 0cbc783664..75f959be15 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/port_api.c +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/port_api.c @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/pwmout_api.c b/targets/TARGET_GigaDevice/TARGET_GD32F30X/pwmout_api.c index d039fac919..af380c2974 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/pwmout_api.c +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/pwmout_api.c @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/rtc_api.c b/targets/TARGET_GigaDevice/TARGET_GD32F30X/rtc_api.c index 0fd075cd25..cd42dedcde 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/rtc_api.c +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/rtc_api.c @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/serial_api.c b/targets/TARGET_GigaDevice/TARGET_GD32F30X/serial_api.c index e2b313f028..0289f516f8 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/serial_api.c +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/serial_api.c @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/sleep.c b/targets/TARGET_GigaDevice/TARGET_GD32F30X/sleep.c index 6974556619..94fc71e6dc 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/sleep.c +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/sleep.c @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/spi_api.c b/targets/TARGET_GigaDevice/TARGET_GD32F30X/spi_api.c index c3ea711a0d..469d2376aa 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/spi_api.c +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/spi_api.c @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F30X/us_ticker.c b/targets/TARGET_GigaDevice/TARGET_GD32F30X/us_ticker.c index 049237b268..ae7b017306 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F30X/us_ticker.c +++ b/targets/TARGET_GigaDevice/TARGET_GD32F30X/us_ticker.c @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright (c) 2018 GigaDevice Semiconductor Inc. * + * 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 diff --git a/targets/TARGET_GigaDevice/mbed_rtx.h b/targets/TARGET_GigaDevice/mbed_rtx.h index 881db2e58c..ebc5784a87 100644 --- a/targets/TARGET_GigaDevice/mbed_rtx.h +++ b/targets/TARGET_GigaDevice/mbed_rtx.h @@ -1,5 +1,7 @@ /* mbed Microcontroller Library - * Copyright (c) 2018 ARM Limited + * Copyright (c) 2009-2018 ARM Limited + * + * 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.