From 0168304e5b183f707b7972e5e6f0800eb6a30409 Mon Sep 17 00:00:00 2001 From: Chun-Chieh Li Date: Wed, 21 Aug 2019 17:54:08 +0800 Subject: [PATCH] [M252KG] Add BSD-3-Clause license for BSP files --- .../TARGET_NUVOTON/TARGET_M251/device/M251.h | 27 ++++++++++++-- .../TARGET_M251/device/Reg/NuMicro.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/acmp_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/bpwm_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/clk_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/crc_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/crypto_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/dac_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/eadc_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/ebi_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/fmc_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/gpio_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/i2c_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/opa_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/pdma_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/psio_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/pwm_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/qspi_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/rtc_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/sc_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/spi_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/sys_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/timer_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/uart_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/ui2c_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/usbd_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/uspi_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/uuart_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/wdt_reg.h | 26 +++++++++++++- .../TARGET_M251/device/Reg/wwdt_reg.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_acmp.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_bpwm.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_clk.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_crc.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_crypto.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_dac.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_eadc.h | 27 ++++++++++++-- .../device/StdDriver/inc/m251_ebi.h | 36 +++++++++++++++---- .../device/StdDriver/inc/m251_fmc.h | 27 ++++++++++++-- .../device/StdDriver/inc/m251_gpio.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_i2c.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_opa.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_pdma.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_psio.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_pwm.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_qspi.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_rtc.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_sc.h | 27 ++++++++++++-- .../device/StdDriver/inc/m251_scuart.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_spi.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_sys.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_timer.h | 27 ++++++++++++-- .../device/StdDriver/inc/m251_timer_pwm.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_uart.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_usbd.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_usci_i2c.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_usci_spi.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_usci_uart.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_wdt.h | 26 +++++++++++++- .../device/StdDriver/inc/m251_wwdt.h | 26 +++++++++++++- .../device/StdDriver/src/m251_acmp.c | 26 +++++++++++++- .../device/StdDriver/src/m251_bpwm.c | 26 +++++++++++++- .../device/StdDriver/src/m251_clk.c | 26 +++++++++++++- .../device/StdDriver/src/m251_crc.c | 26 +++++++++++++- .../device/StdDriver/src/m251_crypto.c | 26 +++++++++++++- .../device/StdDriver/src/m251_dac.c | 26 +++++++++++++- .../device/StdDriver/src/m251_eadc.c | 27 ++++++++++++-- .../device/StdDriver/src/m251_ebi.c | 26 +++++++++++++- .../device/StdDriver/src/m251_fmc.c | 27 ++++++++++++-- .../device/StdDriver/src/m251_gpio.c | 26 +++++++++++++- .../device/StdDriver/src/m251_i2c.c | 26 +++++++++++++- .../device/StdDriver/src/m251_pdma.c | 27 ++++++++++++-- .../device/StdDriver/src/m251_pwm.c | 26 +++++++++++++- .../device/StdDriver/src/m251_qspi.c | 26 +++++++++++++- .../device/StdDriver/src/m251_rtc.c | 26 +++++++++++++- .../device/StdDriver/src/m251_sc.c | 27 ++++++++++++-- .../device/StdDriver/src/m251_scuart.c | 26 +++++++++++++- .../device/StdDriver/src/m251_spi.c | 26 +++++++++++++- .../device/StdDriver/src/m251_sys.c | 26 +++++++++++++- .../device/StdDriver/src/m251_timer.c | 26 +++++++++++++- .../device/StdDriver/src/m251_timer_pwm.c | 26 +++++++++++++- .../device/StdDriver/src/m251_uart.c | 26 +++++++++++++- .../device/StdDriver/src/m251_usbd.c | 26 +++++++++++++- .../device/StdDriver/src/m251_usci_i2c.c | 26 +++++++++++++- .../device/StdDriver/src/m251_usci_spi.c | 26 +++++++++++++- .../device/StdDriver/src/m251_usci_uart.c | 26 +++++++++++++- .../device/StdDriver/src/m251_wdt.c | 26 +++++++++++++- .../device/StdDriver/src/m251_wwdt.c | 26 +++++++++++++- .../TARGET_M251/device/system_M251.c | 34 +++++++++++++++--- .../TARGET_M251/device/system_M251.h | 34 +++++++++++++++--- 90 files changed, 2263 insertions(+), 112 deletions(-) diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/M251.h b/targets/TARGET_NUVOTON/TARGET_M251/device/M251.h index 42d7ec6c40..194364500e 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/M251.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/M251.h @@ -3,8 +3,31 @@ * @version V1.0 * @brief Peripheral Access Layer Header File * - * @note - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. ******************************************************************************/ /** diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/NuMicro.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/NuMicro.h index 3bfe165844..79aff799d4 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/NuMicro.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/NuMicro.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief NuMicro peripheral access layer header file. * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __NUMICRO_H__ #define __NUMICRO_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/acmp_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/acmp_reg.h index 672695d3ee..023b985b76 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/acmp_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/acmp_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief ACMP register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __ACMP_REG_H__ #define __ACMP_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/bpwm_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/bpwm_reg.h index 4a3411e8a0..dd89a923c6 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/bpwm_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/bpwm_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief BPWM register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __BPWM_REG_H__ #define __BPWM_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/clk_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/clk_reg.h index 06a0251a7e..51fe5581db 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/clk_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/clk_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief CLK register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __CLK_REG_H__ #define __CLK_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/crc_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/crc_reg.h index 3b6ab0a9c5..b8409beab5 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/crc_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/crc_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief CRC register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __CRC_REG_H__ #define __CRC_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/crypto_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/crypto_reg.h index cb934ec4a7..d61d5f0783 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/crypto_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/crypto_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief CRYPTO register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __CRYPTO_REG_H__ #define __CRYPTO_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/dac_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/dac_reg.h index e3f21c9bdf..269cede511 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/dac_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/dac_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief DAC register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __DAC_REG_H__ #define __DAC_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/eadc_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/eadc_reg.h index d06cd6934b..5116245c4c 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/eadc_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/eadc_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief EADC register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __EADC_REG_H__ #define __EADC_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/ebi_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/ebi_reg.h index 07ccca8b9f..27e832702b 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/ebi_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/ebi_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief EBI register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __EBI_REG_H__ #define __EBI_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/fmc_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/fmc_reg.h index 9c3448510e..0e7cffa8c4 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/fmc_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/fmc_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief FMC register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __FMC_REG_H__ #define __FMC_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/gpio_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/gpio_reg.h index eb25013b62..8f6964bc86 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/gpio_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/gpio_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief GPIO register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __GPIO_REG_H__ #define __GPIO_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/i2c_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/i2c_reg.h index 0d17272325..ca1ce41304 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/i2c_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/i2c_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief I2C register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __I2C_REG_H__ #define __I2C_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/opa_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/opa_reg.h index c9616bc162..3ceed15048 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/opa_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/opa_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief OPA register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __OPA_REG_H__ #define __OPA_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/pdma_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/pdma_reg.h index b69eac1b65..a1c6072dda 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/pdma_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/pdma_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief PDMA register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __PDMA_REG_H__ #define __PDMA_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/psio_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/psio_reg.h index ac34f92d7a..5790a7b960 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/psio_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/psio_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief PSIO register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __PSIO_REG_H__ #define __PSIO_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/pwm_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/pwm_reg.h index 99a266e430..a6e9527e81 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/pwm_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/pwm_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief PWM register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __PWM_REG_H__ #define __PWM_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/qspi_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/qspi_reg.h index d8018672f6..0b473de281 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/qspi_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/qspi_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief QSPI register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __QSPI_REG_H__ #define __QSPI_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/rtc_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/rtc_reg.h index 4903da158d..910d67d926 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/rtc_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/rtc_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief RTC register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __RTC_REG_H__ #define __RTC_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/sc_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/sc_reg.h index 1db5c43488..0354744414 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/sc_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/sc_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief SC register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __SC_REG_H__ #define __SC_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/spi_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/spi_reg.h index 67f7cecbf4..e67799d797 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/spi_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/spi_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief SPI register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __SPI_REG_H__ #define __SPI_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/sys_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/sys_reg.h index 7dc71f9049..dd17c229fb 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/sys_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/sys_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief SYS register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __SYS_REG_H__ #define __SYS_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/timer_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/timer_reg.h index 5ae5304b29..77c7c8de63 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/timer_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/timer_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief TIMER register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __TIMER_REG_H__ #define __TIMER_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/uart_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/uart_reg.h index 4666a126f5..17f661a07f 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/uart_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/uart_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief UART register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __UART_REG_H__ #define __UART_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/ui2c_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/ui2c_reg.h index a3cca10497..596e75a3c2 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/ui2c_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/ui2c_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief UI2C register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __UI2C_REG_H__ #define __UI2C_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/usbd_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/usbd_reg.h index 49f925e652..a439cf1bf7 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/usbd_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/usbd_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief USBD register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __USBD_REG_H__ #define __USBD_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/uspi_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/uspi_reg.h index ac38c23acf..55f449b05e 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/uspi_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/uspi_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief USPI register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __USPI_REG_H__ #define __USPI_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/uuart_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/uuart_reg.h index 9a714a8abf..ab10862174 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/uuart_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/uuart_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief UUART register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __UUART_REG_H__ #define __UUART_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/wdt_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/wdt_reg.h index 319e925a53..34da808dd3 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/wdt_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/wdt_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief WDT register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __WDT_REG_H__ #define __WDT_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/wwdt_reg.h b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/wwdt_reg.h index 8f3ab94477..1a4a054f16 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/wwdt_reg.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/Reg/wwdt_reg.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief WWDT register definition header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __WWDT_REG_H__ #define __WWDT_REG_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_acmp.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_acmp.h index 9fbdd163c9..31b28c045a 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_acmp.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_acmp.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief M251 series ACMP Driver Header File * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __ACMP_H__ #define __ACMP_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_bpwm.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_bpwm.h index 39f736e301..e30e51906a 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_bpwm.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_bpwm.h @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series BPWM driver header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __BPWM_H__ #define __BPWM_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_clk.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_clk.h index ec30b02216..efffef8944 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_clk.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_clk.h @@ -3,7 +3,31 @@ * @version V1.10 * @brief M251 series CLK driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __CLK_H__ #define __CLK_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_crc.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_crc.h index 174df2f162..dc20cff964 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_crc.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_crc.h @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series Cyclic Redundancy Check(CRC) driver header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __CRC_H__ #define __CRC_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_crypto.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_crypto.h index 54001442c0..9ce4166855 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_crypto.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_crypto.h @@ -3,7 +3,31 @@ * @version V1.10 * @brief Cryptographic Accelerator driver header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __CRYPTO_H__ #define __CRYPTO_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_dac.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_dac.h index 90a539781c..94485826a8 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_dac.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_dac.h @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series DAC driver header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __DAC_H__ #define __DAC_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_eadc.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_eadc.h index 42d994d331..e94947b36a 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_eadc.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_eadc.h @@ -3,8 +3,31 @@ * @version V0.10 * @brief M251 series EADC driver header file * - * @note - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __EADC_H__ #define __EADC_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_ebi.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_ebi.h index 9ce465b6ca..9babd3cd41 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_ebi.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_ebi.h @@ -1,10 +1,34 @@ /**************************************************************************//** -* @file ebi.h -* @version V0.10 -* @brief M251 series EBI driver source file -* -* @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. -****************************************************************************/ + * @file ebi.h + * @version V0.10 + * @brief M251 series EBI driver source file + * + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __EBI_H__ #define __EBI_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_fmc.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_fmc.h index 5a16f9a03d..6b3a98d93c 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_fmc.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_fmc.h @@ -3,8 +3,31 @@ * @version V3.0 * @brief M251 Series Flash Memory Controller(FMC) driver header file * - * @note - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __FMC_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_gpio.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_gpio.h index 1d0fb529dc..ff529a0a51 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_gpio.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_gpio.h @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series GPIO driver header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __GPIO_H__ #define __GPIO_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_i2c.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_i2c.h index db05e87530..3f90b8ad7d 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_i2c.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_i2c.h @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 Series I2C Driver Header File * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __I2C_H__ #define __I2C_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_opa.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_opa.h index e79574efe3..6b75ffefe9 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_opa.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_opa.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief M251 series OPA driver header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __OPA_H__ #define __OPA_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_pdma.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_pdma.h index 4db0fbb352..2148a8cf8c 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_pdma.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_pdma.h @@ -3,7 +3,31 @@ * @version V3.00 * @brief M251 series PDMA driver header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __PDMA_H__ #define __PDMA_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_psio.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_psio.h index 04b88fdb72..1e8d1339f0 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_psio.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_psio.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief M251 series psio driver header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __PSIO_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_pwm.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_pwm.h index fbbc24f90f..e5246ebdd3 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_pwm.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_pwm.h @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series PWM driver header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __PWM_H__ #define __PWM_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_qspi.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_qspi.h index cb2901791f..2a7386b31b 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_qspi.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_qspi.h @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series QSPI driver header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __QSPI_H__ #define __QSPI_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_rtc.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_rtc.h index 74b2a5fd87..003e5d9e8a 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_rtc.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_rtc.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief M251 series RTC driver header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __RTC_H__ #define __RTC_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_sc.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_sc.h index 7d664a8bda..ce4fe59ec4 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_sc.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_sc.h @@ -3,8 +3,31 @@ * @version V3.00 * @brief Smart Card(SC) driver header file * - * @note - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __SC_H__ #define __SC_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_scuart.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_scuart.h index bff24a7e3c..c1f12373ad 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_scuart.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_scuart.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief M251 Smartcard UART mode (SCUART) driver header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __SCUART_H__ #define __SCUART_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_spi.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_spi.h index 18414f374d..3fb3d2d112 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_spi.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_spi.h @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series SPI driver header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __SPI_H__ #define __SPI_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_sys.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_sys.h index 595a776968..222af74f02 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_sys.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_sys.h @@ -3,7 +3,31 @@ * @version V1.10 * @brief M251 series SYS driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __SYS_H__ #define __SYS_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_timer.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_timer.h index f4d51d80e9..28dc8cb0aa 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_timer.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_timer.h @@ -3,8 +3,31 @@ * @version V1.01 * @brief M251 series Timer driver header file * - * @note - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __TIMER_H__ #define __TIMER_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_timer_pwm.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_timer_pwm.h index 5ee5ca7634..e2758ee7eb 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_timer_pwm.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_timer_pwm.h @@ -3,7 +3,31 @@ * @version V1.01 * @brief M251 series Timer PWM Controller(Timer PWM) driver header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __TIMER_PWM_H__ #define __TIMER_PWM_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_uart.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_uart.h index a983567d9a..18afb191e4 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_uart.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_uart.h @@ -3,7 +3,31 @@ * @version V1.00 * @brief M251 series UART driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __UART_H__ #define __UART_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_usbd.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_usbd.h index e4379de1d1..1dbb1717ad 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_usbd.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_usbd.h @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series USB driver header file * - * @copyrightt (C) 2017 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __USBD_H__ #define __USBD_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_usci_i2c.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_usci_i2c.h index 3d797f66b6..a410759e10 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_usci_i2c.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_usci_i2c.h @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series USCI I2C(UI2C) driver header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __USCI_I2C_H__ #define __USCI_I2C_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_usci_spi.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_usci_spi.h index 22cd40e281..708ec7b306 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_usci_spi.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_usci_spi.h @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series USCI_SPI driver header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __USCI_SPI_H__ #define __USCI_SPI_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_usci_uart.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_usci_uart.h index b5cf4cda10..5f9eb841c8 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_usci_uart.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_usci_uart.h @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series USCI UART (UUART) driver header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __USCI_UART_H__ #define __USCI_UART_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_wdt.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_wdt.h index b73a5465c4..9ff7937a8b 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_wdt.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_wdt.h @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series WDT driver header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __WDT_H__ #define __WDT_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_wwdt.h b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_wwdt.h index 48eb82caee..56c4eb37cb 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_wwdt.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/inc/m251_wwdt.h @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series WWDT driver header file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __WWDT_H__ #define __WWDT_H__ diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_acmp.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_acmp.c index 32cc38ca7d..a7cd684ad7 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_acmp.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_acmp.c @@ -3,7 +3,31 @@ * @version V1.00 * @brief M251 series Analog Comparator(ACMP) driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_bpwm.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_bpwm.c index 879c1c2f23..3ef08af5af 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_bpwm.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_bpwm.c @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series BPWM driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_clk.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_clk.c index cb5f2fa8ff..3b91bd3c59 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_clk.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_clk.c @@ -3,7 +3,31 @@ * @version V1.10 * @brief M251 series CLK driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_crc.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_crc.c index 01c00d61d0..e863aea661 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_crc.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_crc.c @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 CRC driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_crypto.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_crypto.c index 75166a7654..fc4ad0b465 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_crypto.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_crypto.c @@ -3,7 +3,31 @@ * @version V1.10 * @brief Cryptographic Accelerator driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_dac.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_dac.c index 4c67b17a0b..1869f2040d 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_dac.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_dac.c @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series DAC driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_eadc.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_eadc.c index 04ac082c3b..314cbc37d7 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_eadc.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_eadc.c @@ -3,8 +3,31 @@ * @version V0.10 * @brief M251 series EADC driver source file * - * @note - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_ebi.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_ebi.c index a6ec9bf5b2..294cf7fdf4 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_ebi.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_ebi.c @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series EBI driver source file * -* @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. +* SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. ****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_fmc.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_fmc.c index 9b35f46ef4..3f719ccd0e 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_fmc.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_fmc.c @@ -3,8 +3,31 @@ * @version V3.00 * @brief M251 Series Flash Memory Controller(FMC) driver source file * - * @note - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_gpio.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_gpio.c index 9f76941b38..9efbd2a35d 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_gpio.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_gpio.c @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 GPIO driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_i2c.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_i2c.c index 32f4b3381f..27108a6d2d 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_i2c.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_i2c.c @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series I2C driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_pdma.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_pdma.c index f63b24f223..7e5a04c75a 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_pdma.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_pdma.c @@ -3,8 +3,31 @@ * @version V1.00 * @brief M251 series PDMA driver source file * - * @note - * @copyright (C) 2017 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "M251.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_pwm.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_pwm.c index fda96fec3b..abb16e6226 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_pwm.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_pwm.c @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series PWM driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_qspi.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_qspi.c index c7614285a3..10ee27f914 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_qspi.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_qspi.c @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series QSPI driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_rtc.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_rtc.c index 240639571a..11a83e7f53 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_rtc.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_rtc.c @@ -3,7 +3,31 @@ * @version V1.00 * @brief M251 series CLK driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_sc.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_sc.c index cea50f4209..2434f4af34 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_sc.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_sc.c @@ -3,8 +3,31 @@ * @version V3.00 * @brief Smart Card(SC) driver source file * - * @note - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_scuart.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_scuart.c index 9fa722b095..5e42ba1c65 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_scuart.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_scuart.c @@ -2,7 +2,31 @@ * @file scuart.c * @brief M251 Smartcard UART mode (SCUART) driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_spi.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_spi.c index 1887325610..8c9b9c9a55 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_spi.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_spi.c @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series SPI driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_sys.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_sys.c index 28688e66f9..90ae804144 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_sys.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_sys.c @@ -3,7 +3,31 @@ * @version V1.10 * @brief M251 series SYS driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" /** @addtogroup Standard_Driver Standard Driver diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_timer.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_timer.c index 7f97af8e18..7123a9cecf 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_timer.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_timer.c @@ -3,7 +3,31 @@ * @version V3.01 * @brief M251 series Timer Controller(Timer) driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_timer_pwm.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_timer_pwm.c index fac1d98bf0..97a8537181 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_timer_pwm.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_timer_pwm.c @@ -3,7 +3,31 @@ * @version V3.01 * @brief Timer PWM Controller(Timer PWM) driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_uart.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_uart.c index 79c7d90b7d..7599b29bb0 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_uart.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_uart.c @@ -3,7 +3,31 @@ * @version V1.00 * @brief M251 series UART driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_usbd.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_usbd.c index 525c068cce..b044279a47 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_usbd.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_usbd.c @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series USBD driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_usci_i2c.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_usci_i2c.c index 540b2732f6..4001bf6e60 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_usci_i2c.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_usci_i2c.c @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series USCI I2C(UI2C) driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_usci_spi.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_usci_spi.c index cf36b1bdcd..8d04f50654 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_usci_spi.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_usci_spi.c @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series USCI_SPI driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_usci_uart.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_usci_uart.c index 7f60da27ee..194d221c5d 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_usci_uart.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_usci_uart.c @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series USCI UART (UUART) driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_wdt.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_wdt.c index b7c29b38e4..6279886460 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_wdt.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_wdt.c @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series WDT driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_wwdt.c b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_wwdt.c index 8d036b8933..701f8ff8c3 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_wwdt.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/StdDriver/src/m251_wwdt.c @@ -3,7 +3,31 @@ * @version V0.10 * @brief M251 series WWDT driver source file * - * @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. *****************************************************************************/ #include "NuMicro.h" diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/system_M251.c b/targets/TARGET_NUVOTON/TARGET_M251/device/system_M251.c index 9335fe2370..4d04a7f839 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/system_M251.c +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/system_M251.c @@ -1,9 +1,33 @@ /**************************************************************************//** -* @file system_M251.c -* @version V0.10 -* @brief System Setting Source File -* -* @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * @file system_M251.c + * @version V0.10 + * @brief System Setting Source File + * + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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. ****************************************************************************/ #include diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/system_M251.h b/targets/TARGET_NUVOTON/TARGET_M251/device/system_M251.h index 974e1cc748..f15db1a9e1 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/system_M251.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/system_M251.h @@ -1,9 +1,33 @@ /**************************************************************************//** -* @file system_M251.h -* @version V0.10 -* @brief System Setting Header File -* -* @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved. + * @file system_M251.h + * @version V0.10 + * @brief System Setting Header File + * + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2019 Nuvoton Technology Corp. All rights reserved. + * + * 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 Nuvoton Technology Corp. 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 __SYSTEM_M251_H__