diff --git a/bsp/efm32/application.c b/bsp/efm32/application.c index 5f2ad9866c..e1b871bada 100644 --- a/bsp/efm32/application.c +++ b/bsp/efm32/application.c @@ -1,29 +1,22 @@ -/***************************************************************************//** - * @file application.c - * @brief Demo application - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author Bernard, onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs - * Date Author Notes +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: + * Date Author Notes * 2009-01-05 Bernard first version * 2010-12-29 onelife Modify for EFM32 * 2011-05-06 onelife Add SPI Flash DEMO * 2011-07-15 onelife Add accelerometer DEMO * 2011-07-27 onelife Modify Ethernet DEMO * 2011-08-23 onelife Modify Ethernet DEMO according to the changes of - * lwIP API in reversion 1668 + * lwIP API in reversion 1668 * 2011-12-20 onelife Add LCD DEMO * 2012-02-16 onelife Add photo frame DEMO * 2012-xx-xx onelife Add low energy test code - * 2012-05-17 onelife Modify photo frame DEMO according to new version of - * RTGUI - ******************************************************************************/ + * 2012-05-17 onelife Modify photo frame DEMO according to new version of RTGUI + */ /***************************************************************************//** * @addtogroup efm32 diff --git a/bsp/efm32/board.c b/bsp/efm32/board.c index ea8b0640d2..e03afdfa22 100644 --- a/bsp/efm32/board.c +++ b/bsp/efm32/board.c @@ -1,15 +1,9 @@ -/***************************************************************************//** - * @file board.c - * @brief Board support of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2010-12-21 onelife Initial creation for EFM32 * 2011-05-06 onelife Add EFM32 development kit and SPI Flash support @@ -17,15 +11,14 @@ * 2011-12-08 onelife Add giant gecko development kit support * 2011-12-09 onelife Add giant gecko support * 2011-12-09 onelife Add LEUART module support - * 2011-12-14 onelife Add LFXO enabling routine in driver initialization - * function + * 2011-12-14 onelife Add LFXO enabling routine in driver initialization function * 2011-12-15 onelife Add MicroSD initialization routine in driver - * initialization function + * initialization function * 2011-12-29 onelife Add keys and joystick initialization routine in - * driver initialization function + * driver initialization function * 2012-02-15 onelife Modify SWO setup function to support giant gecko * 2012-xx-xx onelife Modify system clock and ticket related code - ******************************************************************************/ + */ /***************************************************************************//** * @addtogroup efm32 diff --git a/bsp/efm32/board.h b/bsp/efm32/board.h index b92e10194b..78f93f4772 100644 --- a/bsp/efm32/board.h +++ b/bsp/efm32/board.h @@ -1,28 +1,22 @@ -/***************************************************************************//** - * @file board.h - * @brief Board support of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2010-12-21 onelife Initial creation for EFM32 * 2011-05-06 onelife Add EFM32 development kit and SPI Flash support * 2011-07-12 onelife Add prototype for SWO output enable and interrupt - * context check functions + * context check functions * 2011-12-08 onelife Add giant gecko development kit support * 2011-12-09 onelife Add giant gecko support * 2011-12-09 onelife Add LEUART module support - * 2011-12-14 onelife Add LFXO enabling routine in driver initialization - * function + * 2011-12-14 onelife Add LFXO enabling routine in driver initialization function * 2011-12-20 onelife Move SPI Auto-CS setting to "rtconfig.h" * 2012-05-15 onelife Modified to compatible with CMSIS v3 - ******************************************************************************/ + */ + #ifndef __BOARD_H__ #define __BOARD_H__ diff --git a/bsp/efm32/dev_accel.c b/bsp/efm32/dev_accel.c index 07fcc25ded..d5b9e0565b 100644 --- a/bsp/efm32/dev_accel.c +++ b/bsp/efm32/dev_accel.c @@ -1,21 +1,15 @@ -/***************************************************************************//** - * @file dev_accel.c - * @brief Accelerometer driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-07-13 onelife Initial creation for using EFM32 ADC module to - * interface the Freescale MMA7361L + * interface the Freescale MMA7361L * 2011-08-02 onelife Add digital interface support of using EFM32 IIC - * module for the Freescale MMA7455L - ******************************************************************************/ + * module for the Freescale MMA7455L + */ /***************************************************************************//** * @addtogroup efm32 diff --git a/bsp/efm32/dev_accel.h b/bsp/efm32/dev_accel.h index cc75631834..5056fa388f 100644 --- a/bsp/efm32/dev_accel.h +++ b/bsp/efm32/dev_accel.h @@ -1,21 +1,16 @@ -/***************************************************************************//** - * @file dev_accel.h - * @brief Accelerometer driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-07-13 onelife Initial creation for using EFM32 ADC module to - * interface the Freescale MMA7361L + * interface the Freescale MMA7361L * 2011-08-02 onelife Add digital interface support of using EFM32 IIC - * module for the Freescale MMA7455L - ******************************************************************************/ + * module for the Freescale MMA7455L + */ + #ifndef __DEV_ACCEL_H__ #define __DEV_ACCEL_H__ diff --git a/bsp/efm32/dev_keys.c b/bsp/efm32/dev_keys.c index 15d306b36b..292c17d285 100644 --- a/bsp/efm32/dev_keys.c +++ b/bsp/efm32/dev_keys.c @@ -1,18 +1,12 @@ -/***************************************************************************//** - * @file dev_keys.c - * @brief Keys driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-12-29 onelife Initial creation for EFM32GG_DK3750 board - ******************************************************************************/ + */ /***************************************************************************//** * @addtogroup EFM32GG_DK3750 diff --git a/bsp/efm32/dev_keys.h b/bsp/efm32/dev_keys.h index 87f8fe95fd..b79a3d88a1 100644 --- a/bsp/efm32/dev_keys.h +++ b/bsp/efm32/dev_keys.h @@ -1,18 +1,13 @@ -/***************************************************************************//** - * @file dev_keys.h - * @brief Keys driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-12-29 onelife Initial creation for EFM32GG_DK3750 board - ******************************************************************************/ + */ + #ifndef __DEV_KEYS_H__ #define __DEV_KEYS_H__ diff --git a/bsp/efm32/dev_lcd.c b/bsp/efm32/dev_lcd.c index c4cbbcce21..f11346cb05 100644 --- a/bsp/efm32/dev_lcd.c +++ b/bsp/efm32/dev_lcd.c @@ -1,20 +1,14 @@ -/***************************************************************************//** - * @file dev_lcd.c - * @brief LCD driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-12-16 onelife Initial creation of address mapped method (pixel - * drive) for EFM32GG_DK3750 board + * drive) for EFM32GG_DK3750 board * 2011-12-29 onelife Add direct drive method (frame buffer) support - ******************************************************************************/ + */ /***************************************************************************//** * @addtogroup EFM32GG_DK3750 diff --git a/bsp/efm32/dev_lcd.h b/bsp/efm32/dev_lcd.h index 4c59286ef6..228693ed3d 100644 --- a/bsp/efm32/dev_lcd.h +++ b/bsp/efm32/dev_lcd.h @@ -1,19 +1,14 @@ -/***************************************************************************//** - * @file dev_lcd.h - * @brief LCD driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-12-16 onelife Initial creation of address mapped method (pixel - * drive) for EFM32GG_DK3750 board - ******************************************************************************/ + * drive) for EFM32GG_DK3750 board + */ + #ifndef __DEV_LCD_H__ #define __DEV_LCD_H__ diff --git a/bsp/efm32/dev_led.c b/bsp/efm32/dev_led.c index 89d3d3a065..2163c699b1 100644 --- a/bsp/efm32/dev_led.c +++ b/bsp/efm32/dev_led.c @@ -1,21 +1,15 @@ -/***************************************************************************//** - * @file dev_led.c - * @brief LED driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2009-01-05 Bernard the first version * 2010-12-27 onelife Modify for EFM32 * 2011-05-06 onelife Add EFM32 development kit support * 2011-12-08 onelife Add giant gecko development kit support - ******************************************************************************/ + */ /***************************************************************************//** * @addtogroup efm32 diff --git a/bsp/efm32/dev_led.h b/bsp/efm32/dev_led.h index 06b9b0ba27..f0a995281b 100644 --- a/bsp/efm32/dev_led.h +++ b/bsp/efm32/dev_led.h @@ -1,21 +1,16 @@ -/***************************************************************************//** - * @file dev_led.h - * @brief LED driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2009-01-05 Bernard the first version * 2010-12-27 onelife Modify for EFM32 * 2011-05-06 onelife Add EFM32 development kit support * 2011-12-08 onelife Add giant gecko development kit support - ******************************************************************************/ + */ + #ifndef __DEV_LED_H__ #define __DEV_LED_H__ diff --git a/bsp/efm32/dev_misc.c b/bsp/efm32/dev_misc.c index 21cb740fc7..07c9ce8ac0 100644 --- a/bsp/efm32/dev_misc.c +++ b/bsp/efm32/dev_misc.c @@ -1,19 +1,13 @@ -/***************************************************************************//** - * @file dev_misc.c - * @brief Miscellaneous driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-02-22 onelife Initial creation for EFM32 * 2011-07-27 onelife Modify according to ADC driver changes - ******************************************************************************/ + */ /***************************************************************************//** * @addtogroup efm32 diff --git a/bsp/efm32/dev_misc.h b/bsp/efm32/dev_misc.h index 004a2c51d8..df0a171d3f 100644 --- a/bsp/efm32/dev_misc.h +++ b/bsp/efm32/dev_misc.h @@ -1,18 +1,13 @@ -/***************************************************************************//** - * @file dev_misc.h - * @brief Miscellaneous driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-02-22 onelife Initial creation for EFM32 - ******************************************************************************/ + */ + #ifndef __DEV_MISC_H__ #define __DEV_MISC_H__ diff --git a/bsp/efm32/dev_sflash.c b/bsp/efm32/dev_sflash.c index bf57b498e8..fa94152886 100644 --- a/bsp/efm32/dev_sflash.c +++ b/bsp/efm32/dev_sflash.c @@ -1,18 +1,12 @@ -/***************************************************************************//** - * @file dev_sflash.c - * @brief SPI Flash driver of RT-Thread RTOS for EFM32 by using USART module - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-05-06 onelife Initial creation by using USART module - ******************************************************************************/ + */ /***************************************************************************//** * @addtogroup efm32 diff --git a/bsp/efm32/dev_sflash.h b/bsp/efm32/dev_sflash.h index b7d2860f0d..854b202e61 100644 --- a/bsp/efm32/dev_sflash.h +++ b/bsp/efm32/dev_sflash.h @@ -1,18 +1,13 @@ -/***************************************************************************//** - * @file dev_sflash.h - * @brief SPI Flash driver of RT-Thread RTOS for EFM32 by using USART module - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-05-06 onelife Initial creation by using USART module - ******************************************************************************/ + */ + #ifndef __DEV_SFLASH_H__ #define __DEV_SFLASH_H__ diff --git a/bsp/efm32/drv_acmp.c b/bsp/efm32/drv_acmp.c index b9d24e8ebd..24a2d1b53e 100644 --- a/bsp/efm32/drv_acmp.c +++ b/bsp/efm32/drv_acmp.c @@ -1,20 +1,13 @@ -/***************************************************************************//** - * @file drv_acmp.c - * @brief ACMP (analog comparator) driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-02-21 onelife Initial creation for EFM32 - * 2011-06-17 onelife Modify init and control function for efm32lib v2 - * upgrading - ******************************************************************************/ + * 2011-06-17 onelife Modify init and control function for efm32lib v2 upgrading + */ /***************************************************************************//** * @addtogroup efm32 diff --git a/bsp/efm32/drv_acmp.h b/bsp/efm32/drv_acmp.h index fd7f858669..641e93725a 100644 --- a/bsp/efm32/drv_acmp.h +++ b/bsp/efm32/drv_acmp.h @@ -1,19 +1,14 @@ -/***************************************************************************//** - * @file drv_acmp.h - * @brief ACMP (analog comparator) driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-02-23 onelife Initial creation for EFM32 * 2011-06-17 onelife Modify for efm32lib v2 upgrading - ******************************************************************************/ + */ + #ifndef __DRV_ACMP_H__ #define __DRV_ACMP_H__ diff --git a/bsp/efm32/drv_adc.c b/bsp/efm32/drv_adc.c index 2a072507e0..1559af1768 100644 --- a/bsp/efm32/drv_adc.c +++ b/bsp/efm32/drv_adc.c @@ -1,19 +1,13 @@ -/***************************************************************************//** - * @file drv_adc.c - * @brief ADC driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-02-21 onelife Initial creation for EFM32 * 2011-07-14 onelife Add multiple channels support for scan mode - ******************************************************************************/ + */ /***************************************************************************//** * @addtogroup efm32 diff --git a/bsp/efm32/drv_adc.h b/bsp/efm32/drv_adc.h index f15d074835..48236994bb 100644 --- a/bsp/efm32/drv_adc.h +++ b/bsp/efm32/drv_adc.h @@ -1,19 +1,14 @@ -/***************************************************************************//** - * @file drv_adc.h - * @brief ADC driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-02-21 onelife Initial creation for EFM32 * 2011-07-14 onelife Add multiple channels support for scan mode - ******************************************************************************/ + */ + #ifndef __DRV_ADC_H__ #define __DRV_ADC_H__ diff --git a/bsp/efm32/drv_dma.c b/bsp/efm32/drv_dma.c index a1822e7dad..a73c5709f1 100644 --- a/bsp/efm32/drv_dma.c +++ b/bsp/efm32/drv_dma.c @@ -1,18 +1,12 @@ -/***************************************************************************//** - * @file drv_dma.c - * @brief DMA driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2010-12-23 onelife Initial creation for EFM32 - ******************************************************************************/ + */ /***************************************************************************//** * @addtogroup efm32 diff --git a/bsp/efm32/drv_dma.h b/bsp/efm32/drv_dma.h index e7f1fffc4e..382f81be60 100644 --- a/bsp/efm32/drv_dma.h +++ b/bsp/efm32/drv_dma.h @@ -1,18 +1,13 @@ -/***************************************************************************//** - * @file drv_dma.h - * @brief DMA driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2010-12-23 onelife Initial creation for EFM32 - ******************************************************************************/ + */ + #ifndef __DRV_DMA_H__ #define __DRV_DMA_H__ diff --git a/bsp/efm32/drv_emu.c b/bsp/efm32/drv_emu.c index 18eeca1a43..79bd4c22ed 100644 --- a/bsp/efm32/drv_emu.c +++ b/bsp/efm32/drv_emu.c @@ -1,18 +1,12 @@ -/***************************************************************************//** - * @file drv_emu.c - * @brief EMU driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2012-02-21 onelife Initial creation for EFM32 - ******************************************************************************/ + */ /***************************************************************************//** * @addtogroup efm32 diff --git a/bsp/efm32/drv_emu.h b/bsp/efm32/drv_emu.h index df46264295..da4074f021 100644 --- a/bsp/efm32/drv_emu.h +++ b/bsp/efm32/drv_emu.h @@ -1,19 +1,14 @@ -/***************************************************************************//** - * @file drv_emu.h - * @brief EMU driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-02-21 onelife Initial creation for EFM32 * 2011-07-14 onelife Add multiple channels support for scan mode - ******************************************************************************/ + */ + #ifndef __DRV_EMU_H__ #define __DRV_EMU_H__ diff --git a/bsp/efm32/drv_ethernet.c b/bsp/efm32/drv_ethernet.c index db99de583a..57d88cab54 100644 --- a/bsp/efm32/drv_ethernet.c +++ b/bsp/efm32/drv_ethernet.c @@ -1,24 +1,14 @@ -/***************************************************************************//** - * @file drv_ethernet.c - * @brief Ethernet driver (SPI mode) of RT-Thread RTOS for using EFM32 USART - * module - * This driver is tested by using the Microchip ENC28J60 stand-alone Ethernet - * controller with SPI interface. - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-06-22 onelife Initial creation for using EFM32 USART module - * 2011-07-25 onelife Add lock (semaphore) to prevent simultaneously - * access + * 2011-07-25 onelife Add lock (semaphore) to prevent simultaneously access * 2011-07-28 onelife Add get_ip() and update_ip() utilities - ******************************************************************************/ + */ /***************************************************************************//** * @addtogroup efm32_eth diff --git a/bsp/efm32/drv_ethernet.h b/bsp/efm32/drv_ethernet.h index 87e12493f6..74469d1479 100644 --- a/bsp/efm32/drv_ethernet.h +++ b/bsp/efm32/drv_ethernet.h @@ -1,21 +1,13 @@ -/***************************************************************************//** - * @file drv_ethernet.h - * @brief Ethernet driver (SPI mode) of RT-Thread RTOS for using EFM32 USART - * module - * This driver is tested by using the Microchip ENC28J60 stand-alone Ethernet - * controller with SPI interface. - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-06-22 onelife Initial creation for using EFM32 USART module - ******************************************************************************/ + */ + #ifndef __DEV_ETHERNET_H__ #define __DEV_ETHERNET_H__ diff --git a/bsp/efm32/drv_iic.c b/bsp/efm32/drv_iic.c index 233064da91..acb7d09375 100644 --- a/bsp/efm32/drv_iic.c +++ b/bsp/efm32/drv_iic.c @@ -1,29 +1,20 @@ -/***************************************************************************//** - * @file drv_iic.c - * @brief Serial API of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-01-06 onelife Initial creation for EFM32 - * 2011-06-17 onelife Modify init function for EFM32 library v2.0.0 - * upgrading - * 2011-07-11 onelife Add lock (semaphore) to prevent simultaneously - * access + * 2011-06-17 onelife Modify init function for EFM32 library v2.0.0 upgrading + * 2011-07-11 onelife Add lock (semaphore) to prevent simultaneously access * 2011-08-04 onelife Change the usage of the second parameter of Read - * and Write functions from (seldom used) "Offset" to "Slave address" + * and Write functions from (seldom used) "Offset" to "Slave address" * 2011-08-04 onelife Add a timer to prevent from forever waiting - * 2011-11-29 onelife Modify init function for EFM32 library v2.2.2 - * upgrading + * 2011-11-29 onelife Modify init function for EFM32 library v2.2.2 upgrading * 2011-12-27 onelife Utilize "I2C_PRESENT" and "I2C_COUNT" * 2011-12-27 onelife Change IIC read format - ******************************************************************************/ + */ /***************************************************************************//** * @addtogroup efm32 diff --git a/bsp/efm32/drv_iic.h b/bsp/efm32/drv_iic.h index e455ba138c..5416627cf0 100644 --- a/bsp/efm32/drv_iic.h +++ b/bsp/efm32/drv_iic.h @@ -1,24 +1,18 @@ -/***************************************************************************//** - * @file drv_iic.h - * @brief IIC driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-01-07 onelife Initial creation for EFM32 - * 2011-07-11 onelife Add lock (semaphore) to prevent simultaneously - * access + * 2011-07-11 onelife Add lock (semaphore) to prevent simultaneously access * 2011-08-04 onelife Change the usage of the second parameter of Read - * and Write functions from (seldom used) "Offset" to "Slave address" + * and Write functions from (seldom used) "Offset" to "Slave address" * 2011-08-04 onelife Add a timer to prevent from forever waiting * 2011-12-27 onelife Change IIC read format - ******************************************************************************/ + */ + #ifndef __DRV_IIC_H__ #define __DRV_IIC_H__ diff --git a/bsp/efm32/drv_leuart.c b/bsp/efm32/drv_leuart.c index 7422956003..06aeb9e25e 100644 --- a/bsp/efm32/drv_leuart.c +++ b/bsp/efm32/drv_leuart.c @@ -1,19 +1,13 @@ -/***************************************************************************//** - * @file drv_leuart.c - * @brief LEUART driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-12-09 onelife Initial creation for EFM32 * 2011-12-27 onelife Utilize "LEUART_PRESENT" and "LEUART_COUNT" - ******************************************************************************/ + */ /***************************************************************************//** * @addtogroup efm32 diff --git a/bsp/efm32/drv_leuart.h b/bsp/efm32/drv_leuart.h index b7c24bb025..8ef51ce15c 100644 --- a/bsp/efm32/drv_leuart.h +++ b/bsp/efm32/drv_leuart.h @@ -1,18 +1,13 @@ -/***************************************************************************//** - * @file drv_leuart.h - * @brief LEUART driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-12-09 onelife Initial creation for EFM32 - ******************************************************************************/ + */ + #ifndef __DRV_LEUSART_H__ #define __DRV_LEUSART_H__ diff --git a/bsp/efm32/drv_rtc.c b/bsp/efm32/drv_rtc.c index 3e842a8e4c..4956d76953 100644 --- a/bsp/efm32/drv_rtc.c +++ b/bsp/efm32/drv_rtc.c @@ -1,22 +1,15 @@ -/***************************************************************************//** - * @file drv_rtc.c - * @brief RTC driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author Bernard, onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2009-01-05 Bernard the first version * 2010-12-27 onelife Modify for EFM32 * 2011-06-16 onelife Modify init function for efm32lib v2 upgrading - * 2011-12-14 onelife Move LFXO enabling routine to driver initialization - * function (board.c) - ******************************************************************************/ + * 2011-12-14 onelife Move LFXO enabling routine to driver initialization function (board.c) + */ /***************************************************************************//** * @addtogroup efm32 diff --git a/bsp/efm32/drv_rtc.h b/bsp/efm32/drv_rtc.h index 7e33c03896..a34a9007fa 100644 --- a/bsp/efm32/drv_rtc.h +++ b/bsp/efm32/drv_rtc.h @@ -1,19 +1,14 @@ - /***************************************************************************//** - * @file drv_rtc.h - * @brief RTC driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author Bernard, onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs + /* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2009-01-05 Bernard the first version * 2010-12-27 onelife Modification for EFM32 - *********************************************************************/ + */ + #ifndef __DRV_RTC_H__ #define __DRV_RTC_H__ diff --git a/bsp/efm32/drv_sdcard.c b/bsp/efm32/drv_sdcard.c index fa88348318..593bc2b697 100644 --- a/bsp/efm32/drv_sdcard.c +++ b/bsp/efm32/drv_sdcard.c @@ -1,24 +1,17 @@ -/***************************************************************************//** - * @file drv_sdcard.c - * @brief Memory card driver (SPI mode) of RT-Thread RTOS for using EFM32 - * USART module - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-05-13 onelife Initial creation for using EFM32 USART module * 2011-07-07 onelife Modify initialization function to return error code * 2011-12-08 onelife Add giant gecko development kit support * 2011-12-15 onelife Move MicroSD enabling routine to driver - * initialization function (board.c) + * initialization function (board.c) * 2011-12-21 onelife Modify code due to SPI write format changed - ******************************************************************************/ + */ /***************************************************************************//** * @addtogroup efm32_dk diff --git a/bsp/efm32/drv_sdcard.h b/bsp/efm32/drv_sdcard.h index 2c9a1bfc39..c43645b4ca 100644 --- a/bsp/efm32/drv_sdcard.h +++ b/bsp/efm32/drv_sdcard.h @@ -1,20 +1,14 @@ -/***************************************************************************//** - * @file drv_sdcard.h - * @brief Memory card driver (SPI mode) of RT-Thread RTOS for using EFM32 - * USART module - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs - * Date Author Notes +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: + * Date Author Notes * 2011-05-13 onelife Initial creation for using EFM32 USART module * 2011-07-07 onelife Modify initialization function to return error code - ******************************************************************************/ + */ + #ifndef __DEV_SDCARD_H__ #define __DEV_SDCARD_H__ diff --git a/bsp/efm32/drv_timer.c b/bsp/efm32/drv_timer.c index 12e347544c..9f63063227 100644 --- a/bsp/efm32/drv_timer.c +++ b/bsp/efm32/drv_timer.c @@ -1,19 +1,13 @@ -/***************************************************************************//** - * @file drv_timer.c - * @brief Timer driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-01-18 onelife Initial creation for EFM32 * 2011-06-17 onelife Modify init function for efm32lib v2 upgrading - ******************************************************************************/ + */ /***************************************************************************//** * @addtogroup efm32 diff --git a/bsp/efm32/drv_timer.h b/bsp/efm32/drv_timer.h index 0a68a2b0a4..cf8fd8c876 100644 --- a/bsp/efm32/drv_timer.h +++ b/bsp/efm32/drv_timer.h @@ -1,18 +1,13 @@ -/***************************************************************************//** - * @file drv_timer.h - * @brief Timer driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-01-18 onelife Initial creation for EFM32 - ******************************************************************************/ + */ + #ifndef __DRV_TIMER_H__ #define __DRV_TIMER_H__ diff --git a/bsp/efm32/drv_usart.c b/bsp/efm32/drv_usart.c index c511a31475..edf0643564 100644 --- a/bsp/efm32/drv_usart.c +++ b/bsp/efm32/drv_usart.c @@ -1,22 +1,9 @@ -/***************************************************************************//** - * @file drv_usart.c - * @brief USART driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs of serial.c - * Date Author Notes - * 2009-02-05 Bernard first version - * 2009-10-25 Bernard fix rt_serial_read bug when there is no data in the - * buffer. - * 2010-03-29 Bernard cleanup code. +/* + * Copyright (c) 2006-2022, RT-Thread Development Team * - * @section Change Logs + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2010-12-22 onelife Initial creation for EFM32 * 2011-01-17 onelife Merge with serial.c @@ -35,9 +22,9 @@ * 2011-12-20 onelife Change SPI write format (same as SPI read) * 2011-12-20 onelife Change USART status format * 2011-12-27 onelife Utilize "USART_PRESENT", "USART_COUNT", - * "UART_PRESENT" and "UART_COUNT" + * "UART_PRESENT" and "UART_COUNT" * 2012-05-16 onelife Fix a bug in rt_hw_usart_init() - ******************************************************************************/ + */ /***************************************************************************//** * @addtogroup efm32 diff --git a/bsp/efm32/drv_usart.h b/bsp/efm32/drv_usart.h index a2b59fb6f3..d1deb074a9 100644 --- a/bsp/efm32/drv_usart.h +++ b/bsp/efm32/drv_usart.h @@ -1,15 +1,9 @@ -/***************************************************************************//** - * @file drv_usart.h - * @brief USART driver of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2010-12-22 onelife Initial creation for EFM32 * 2011-06-27 onelife Fix a bug when using compiler optimization @@ -18,7 +12,8 @@ * 2011-12-09 onelife Add giant gecko support * 2011-12-09 onelife Add UART module support * 2011-12-20 onelife Change USART status format - ******************************************************************************/ + */ + #ifndef __DRV_USART_H__ #define __DRV_USART_H__ diff --git a/bsp/efm32/efm32g_rom.ld b/bsp/efm32/efm32g_rom.ld index 6279e63571..647072c0c6 100644 --- a/bsp/efm32/efm32g_rom.ld +++ b/bsp/efm32/efm32g_rom.ld @@ -1,21 +1,16 @@ -/***************************************************************************//** - * @file efm32_rom_g.ld - * @brief Linker script for EFM32 gecko - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author Bernard, onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2009-10-14 Bernard first version * 2010-12-22 onelife Modify for EFM32 * 2011-07-06 onelife Modify to make use the start code in libraries * 2012-05-15 onelife Modified to compatible with CMSIS v3 - ******************************************************************************/ + */ + MEMORY { FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 131072 diff --git a/bsp/efm32/efm32gg_rom.ld b/bsp/efm32/efm32gg_rom.ld index 4fbae18d10..e6bd215ab4 100644 --- a/bsp/efm32/efm32gg_rom.ld +++ b/bsp/efm32/efm32gg_rom.ld @@ -1,19 +1,14 @@ -/***************************************************************************//** - * @file efm32_rom_gg.ld - * @brief Linker script for EFM32 giant gecko - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-12-08 onelife Initial creation for EFM3 giant gecko support * 2012-05-15 onelife Modified to compatible with CMSIS v3 - ******************************************************************************/ + */ + MEMORY { FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 1048576 diff --git a/bsp/efm32/enc28j60.h b/bsp/efm32/enc28j60.h index 5955c603e7..8039aca54d 100644 --- a/bsp/efm32/enc28j60.h +++ b/bsp/efm32/enc28j60.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006-2021, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * diff --git a/bsp/efm32/graphics/tftspi.h b/bsp/efm32/graphics/tftspi.h index 27e8ce8078..ff9d8b2faa 100644 --- a/bsp/efm32/graphics/tftspi.h +++ b/bsp/efm32/graphics/tftspi.h @@ -1,18 +1,13 @@ -/***************************************************************************//** - * @file tftspi.h - * @brief Stub functions of EFM32 LCD driver - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-12-20 onelife Initial creation for EFM32 - ******************************************************************************/ + */ + #ifndef __TFTSPI_H__ #define __TFTSPI_H__ diff --git a/bsp/efm32/hdl_interrupt.c b/bsp/efm32/hdl_interrupt.c index 8017414e55..c14e897d0f 100644 --- a/bsp/efm32/hdl_interrupt.c +++ b/bsp/efm32/hdl_interrupt.c @@ -1,15 +1,9 @@ -/***************************************************************************//** - * @file hdl_interrupt.c - * @brief Interrupt handler of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2010-12-29 onelife Initial creation for EFM32 * 2011-07-12 onelife Disable interrupts in GPIO handler @@ -17,7 +11,7 @@ * 2011-12-09 onelife Add UART module support * 2011-12-09 onelife Add LEUART module support * 2011-12-27 onelife Utilize "XXX_PRESENT" and "XXX_COUNT" - ******************************************************************************/ + */ /* Includes ------------------------------------------------------------------*/ #include "board.h" diff --git a/bsp/efm32/hdl_interrupt.h b/bsp/efm32/hdl_interrupt.h index d2f73bda57..7affb0be64 100644 --- a/bsp/efm32/hdl_interrupt.h +++ b/bsp/efm32/hdl_interrupt.h @@ -1,19 +1,14 @@ -/***************************************************************************//** - * @file hdl_interrupt.h - * @brief Interrupt handler of RT-Thread RTOS for EFM32 - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2010-12-29 onelife Initial creation for EFM32 * 2011-12-09 onelife Add LEUART module support - ******************************************************************************/ + */ + #ifndef __HDL_INTERRUPT_H__ #define __HDL_INTERRUPT_H__ diff --git a/bsp/efm32/httpd.c b/bsp/efm32/httpd.c index 02c81be84d..d07782b4a3 100644 --- a/bsp/efm32/httpd.c +++ b/bsp/efm32/httpd.c @@ -1,20 +1,14 @@ -/***************************************************************************//** - * @file httpd.c - * @brief Simple http server demo application - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-07-04 onelife Derive from Energy Micro demo application - ******************************************************************************/ + */ -/**************************************************************************//** +/****************************************************************************** * @file * @brief This file is dervied from the ``httpd.c'' skeleton. * @author Energy Micro AS diff --git a/bsp/efm32/mma7455l.h b/bsp/efm32/mma7455l.h index c746fd45da..5ff82e2483 100644 --- a/bsp/efm32/mma7455l.h +++ b/bsp/efm32/mma7455l.h @@ -1,19 +1,13 @@ -/***************************************************************************//** - * @file mma7455l.c - * @brief Header file of Freescale MMA7455L 3 axis Low-g digital output - * accelerometer - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2011-08-02 onelife Initial creation - ******************************************************************************/ + */ + #ifndef __MMA7455L_H__ #define __MMA7455L_H__ diff --git a/bsp/efm32/rtconfig.h b/bsp/efm32/rtconfig.h index 3f62ec7195..2734cc0df5 100644 --- a/bsp/efm32/rtconfig.h +++ b/bsp/efm32/rtconfig.h @@ -1,14 +1,12 @@ -/***************************************************************************//** - * @file rtconfig.h - * @brief RT-Thread config file - * COPYRIGHT (C) 2009, RT-Thread Development Team - * @author - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************/ +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: + * Date Author Notes + */ + #ifndef __RTTHREAD_CFG_H__ #define __RTTHREAD_CFG_H__ diff --git a/bsp/efm32/start_gcc.S b/bsp/efm32/start_gcc.S index c648ea26aa..4c806a6ebd 100644 --- a/bsp/efm32/start_gcc.S +++ b/bsp/efm32/start_gcc.S @@ -1,20 +1,14 @@ -/***************************************************************************//** - * @file start_gcc.S - * @brief Context switch functions - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2010-12-21 onelife Initial creation for EFM32 * 2011-07-06 onelife Modify to make use the start code in libraries * 2012-05-15 onelife Modified to compatible with CMSIS v3 - ******************************************************************************/ + */ /***************************************************************************//** * @addtogroup cortex-m3 diff --git a/bsp/efm32/startup.c b/bsp/efm32/startup.c index 0f1f9188c1..d120eed4a1 100644 --- a/bsp/efm32/startup.c +++ b/bsp/efm32/startup.c @@ -1,22 +1,16 @@ -/***************************************************************************//** - * @file startup.c - * @brief This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2012, RT-Thread Development Team - * @author Bernard, onelife - * @version 1.0 - ******************************************************************************* - * @section License - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rt-thread.org/license/LICENSE - ******************************************************************************* - * @section Change Logs +/* + * Copyright (c) 2006-2022, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: * Date Author Notes * 2006-08-31 Bernard first implementation * 2010-12-29 onelife Modify for EFM32 * 2011-12-20 onelife Add RTGUI initialization routine * 2012-02-21 onelife Add energy management initialization routine * 2012-05-15 onelife Modified to compatible with CMSIS v3 - ******************************************************************************/ + */ /***************************************************************************//** * @addtogroup efm32 diff --git a/bsp/n32g452xx/Libraries/rt_drivers/drv_usart.c b/bsp/n32g452xx/Libraries/rt_drivers/drv_usart.c index 2f15585970..eb38043eb7 100644 --- a/bsp/n32g452xx/Libraries/rt_drivers/drv_usart.c +++ b/bsp/n32g452xx/Libraries/rt_drivers/drv_usart.c @@ -1,11 +1,7 @@ /* - * File : usart.c - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2006-2021, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes diff --git a/bsp/stm32/stm32h750-artpi-h750/board/port/drv_wlan.c b/bsp/stm32/stm32h750-artpi-h750/board/port/drv_wlan.c index 87c088257a..4393c9ea1c 100644 --- a/bsp/stm32/stm32h750-artpi-h750/board/port/drv_wlan.c +++ b/bsp/stm32/stm32h750-artpi-h750/board/port/drv_wlan.c @@ -1,11 +1,7 @@ /* - * File : drv_wlan.c - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2015, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes diff --git a/libcpu/avr32/uc3/context_gcc.S b/libcpu/avr32/uc3/context_gcc.S index 2a59b4d2da..0002cf4262 100644 --- a/libcpu/avr32/uc3/context_gcc.S +++ b/libcpu/avr32/uc3/context_gcc.S @@ -1,11 +1,7 @@ /* - * File : context.S - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2010, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes diff --git a/libcpu/avr32/uc3/cpu.c b/libcpu/avr32/uc3/cpu.c index 1d4ea5adfa..4aaf6c8896 100644 --- a/libcpu/avr32/uc3/cpu.c +++ b/libcpu/avr32/uc3/cpu.c @@ -1,11 +1,7 @@ /* - * File : cpu.c - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2010, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes diff --git a/libcpu/avr32/uc3/interrupt.c b/libcpu/avr32/uc3/interrupt.c index 588ce9ae3d..65c852cfe4 100644 --- a/libcpu/avr32/uc3/interrupt.c +++ b/libcpu/avr32/uc3/interrupt.c @@ -1,11 +1,7 @@ /* - * File : interrupt.c - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2010, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes diff --git a/libcpu/avr32/uc3/serial.c b/libcpu/avr32/uc3/serial.c index 66fb6ca8b9..5228d3e734 100644 --- a/libcpu/avr32/uc3/serial.c +++ b/libcpu/avr32/uc3/serial.c @@ -1,11 +1,7 @@ /* - * File : serial.c - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2010, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes diff --git a/libcpu/avr32/uc3/serial.h b/libcpu/avr32/uc3/serial.h index fef65a12be..54c057ab1d 100644 --- a/libcpu/avr32/uc3/serial.h +++ b/libcpu/avr32/uc3/serial.h @@ -1,11 +1,7 @@ /* - * File : serial.h - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2009 - 2010, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes @@ -13,6 +9,7 @@ * 2010-03-29 Bernard remove interrupt tx and DMA rx mode. * 2010-03-30 Kyle Ported from STM32 to AVR32. */ + #ifndef __RT_HW_SERIAL_H__ #define __RT_HW_SERIAL_H__ diff --git a/libcpu/avr32/uc3/stack.c b/libcpu/avr32/uc3/stack.c index dee1161c12..be75fbdedb 100644 --- a/libcpu/avr32/uc3/stack.c +++ b/libcpu/avr32/uc3/stack.c @@ -1,16 +1,13 @@ /* - * File : stack.c - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2010, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2010-03-30 Kyle First version */ + #include /** diff --git a/libcpu/blackfin/bf53x/context_vdsp.S b/libcpu/blackfin/bf53x/context_vdsp.S index e9cbdda0f1..33abb23702 100644 --- a/libcpu/blackfin/bf53x/context_vdsp.S +++ b/libcpu/blackfin/bf53x/context_vdsp.S @@ -1,17 +1,13 @@ /* - * File : context_vdsp.S - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2009 - 2012, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2012-02-13 mojingxian First version */ - + .global _rt_hw_interrupt_disable; .global _rt_hw_interrupt_enable; .global _interrupt_thread_switch; diff --git a/libcpu/blackfin/bf53x/cpuport.c b/libcpu/blackfin/bf53x/cpuport.c index 2d69ccc99a..eac15847a6 100644 --- a/libcpu/blackfin/bf53x/cpuport.c +++ b/libcpu/blackfin/bf53x/cpuport.c @@ -1,11 +1,7 @@ /* - * File : cpuport.c - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2012, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes diff --git a/libcpu/m16c/m16c62p/context_gcc.S b/libcpu/m16c/m16c62p/context_gcc.S index 0f131a922d..ca6fde33d9 100644 --- a/libcpu/m16c/m16c62p/context_gcc.S +++ b/libcpu/m16c/m16c62p/context_gcc.S @@ -1,11 +1,7 @@ /* - * File : context.asm - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2009, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes diff --git a/libcpu/m16c/m16c62p/context_iar.S b/libcpu/m16c/m16c62p/context_iar.S index ada3bd4c28..8b158610d0 100644 --- a/libcpu/m16c/m16c62p/context_iar.S +++ b/libcpu/m16c/m16c62p/context_iar.S @@ -1,20 +1,13 @@ /* - * File : context.asm - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2009, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2010-04-09 fify the first version * 2010-04-19 fify rewrite rt_hw_interrupt_disable/enable fuction * 2010-04-20 fify move peripheral ISR to bsp/interrupts.s34 - * - * For : Renesas M16C - * Toolchain : IAR's EW for M16C v3.401 */ RSEG CSTACK diff --git a/libcpu/m16c/m16c62p/context_iar.asm b/libcpu/m16c/m16c62p/context_iar.asm index ada3bd4c28..8b158610d0 100644 --- a/libcpu/m16c/m16c62p/context_iar.asm +++ b/libcpu/m16c/m16c62p/context_iar.asm @@ -1,20 +1,13 @@ /* - * File : context.asm - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2009, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2010-04-09 fify the first version * 2010-04-19 fify rewrite rt_hw_interrupt_disable/enable fuction * 2010-04-20 fify move peripheral ISR to bsp/interrupts.s34 - * - * For : Renesas M16C - * Toolchain : IAR's EW for M16C v3.401 */ RSEG CSTACK diff --git a/libcpu/m16c/m16c62p/cpuport.c b/libcpu/m16c/m16c62p/cpuport.c index 8f9a50d89a..5c193b1b59 100644 --- a/libcpu/m16c/m16c62p/cpuport.c +++ b/libcpu/m16c/m16c62p/cpuport.c @@ -1,11 +1,7 @@ /* - * File : cpuport.c - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2009 - 2012, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes diff --git a/libcpu/mips/common/mips.inc b/libcpu/mips/common/mips.inc index a4cd55911e..7608088dab 100644 --- a/libcpu/mips/common/mips.inc +++ b/libcpu/mips/common/mips.inc @@ -1,16 +1,13 @@ /* - * File : mips.inc - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2010, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2010-05-17 sangwei first version */ + #ifndef __MIPS_INC__ #define __MIPS_INC__ diff --git a/libcpu/mips/pic32/cpuport.c b/libcpu/mips/pic32/cpuport.c index 089f652bce..a23f363203 100644 --- a/libcpu/mips/pic32/cpuport.c +++ b/libcpu/mips/pic32/cpuport.c @@ -1,17 +1,14 @@ /* - * File : cpuport.c - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2009 - 2011, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 20011-05-23 aozima the first version for PIC32. * 20011-09-05 aozima merge all of C source code into cpuport.c. */ + #include /** diff --git a/libcpu/nios/nios_ii/context_gcc.S b/libcpu/nios/nios_ii/context_gcc.S index 72746f457c..57c34d2d3a 100644 --- a/libcpu/nios/nios_ii/context_gcc.S +++ b/libcpu/nios/nios_ii/context_gcc.S @@ -1,16 +1,12 @@ /* - * File : context_gcc.S - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2006-2011, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes - * 2011-02-14 aozima first implementation for Nios II. - * 2011-02-20 aozima fix context&switch bug. + * 2011-02-14 aozima first implementation for Nios II + * 2011-02-20 aozima fix context&switch bug */ /** diff --git a/libcpu/nios/nios_ii/interrupt.c b/libcpu/nios/nios_ii/interrupt.c index 112eaa9223..405c03248f 100644 --- a/libcpu/nios/nios_ii/interrupt.c +++ b/libcpu/nios/nios_ii/interrupt.c @@ -1,11 +1,7 @@ /* - * File : interrupt.c - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2009, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes @@ -18,5 +14,3 @@ rt_uint32_t rt_interrupt_from_thread, rt_interrupt_to_thread; rt_uint32_t rt_thread_switch_interrupt_flag; rt_uint32_t rt_current_thread_entry; - -/*@}*/ diff --git a/libcpu/nios/nios_ii/stack.c b/libcpu/nios/nios_ii/stack.c index 463ba0df96..6eecfe6d6c 100644 --- a/libcpu/nios/nios_ii/stack.c +++ b/libcpu/nios/nios_ii/stack.c @@ -1,11 +1,7 @@ /* - * File : stack.c - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2006-2021, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes diff --git a/libcpu/ppc/common/stack.c b/libcpu/ppc/common/stack.c index de9d7d2016..f7667c9a9e 100644 --- a/libcpu/ppc/common/stack.c +++ b/libcpu/ppc/common/stack.c @@ -1,15 +1,11 @@ /* - * File : stack.c - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2006-2021, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes - * 2011-02-14 Fred first implementation for + * 2011-02-14 Fred the first version */ #include diff --git a/libcpu/ppc/ppc405/interrupt.c b/libcpu/ppc/ppc405/interrupt.c index f072dd07e1..72477fcb04 100644 --- a/libcpu/ppc/ppc405/interrupt.c +++ b/libcpu/ppc/ppc405/interrupt.c @@ -1,11 +1,7 @@ /* - * File : interrupt.c - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2009, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes diff --git a/libcpu/rx/cpuport.c b/libcpu/rx/cpuport.c index 366569f63d..f92f17466e 100644 --- a/libcpu/rx/cpuport.c +++ b/libcpu/rx/cpuport.c @@ -1,17 +1,14 @@ /* - * File : cpuport.c - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2009 - 2011, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2011-02-23 Bernard the first version * 2012-03-03 xuzhenglim modify for rx62N */ + #include #include diff --git a/libcpu/v850/70f34/cpuport.c b/libcpu/v850/70f34/cpuport.c index f3c7624ee5..8ac3053e7b 100644 --- a/libcpu/v850/70f34/cpuport.c +++ b/libcpu/v850/70f34/cpuport.c @@ -1,11 +1,7 @@ /* - * File : cpuport.c - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2009 - 2012, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes diff --git a/libcpu/xilinx/microblaze/context_gcc.S b/libcpu/xilinx/microblaze/context_gcc.S index edd9b6a32f..1d9d9fca01 100755 --- a/libcpu/xilinx/microblaze/context_gcc.S +++ b/libcpu/xilinx/microblaze/context_gcc.S @@ -1,16 +1,11 @@ /* - * File : context_gcc.S - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2006, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2011-12-17 nl1031 first implementation for MicroBlaze. - * */ #include "microblaze.inc" diff --git a/libcpu/xilinx/microblaze/cpu.c b/libcpu/xilinx/microblaze/cpu.c index 37da5fd7c5..461d3ad97b 100755 --- a/libcpu/xilinx/microblaze/cpu.c +++ b/libcpu/xilinx/microblaze/cpu.c @@ -1,11 +1,7 @@ /* - * File : cpu.c - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2006, RT-Thread Develop Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes diff --git a/libcpu/xilinx/microblaze/microblaze.inc b/libcpu/xilinx/microblaze/microblaze.inc index 19128df3fc..7bf28ff464 100755 --- a/libcpu/xilinx/microblaze/microblaze.inc +++ b/libcpu/xilinx/microblaze/microblaze.inc @@ -1,20 +1,13 @@ /* - * File : microblaze.inc - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2006, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rt-thread.org/license/LICENSE + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2011-12-17 nl1031 first implementation for MicroBlaze. - * */ - - .equ STACK_RMSR, 0x00 .equ STACK_R02, 0x04 .equ STACK_R03, 0x08