浏览代码

替换RTThread旧版文件头注释版权声明 (#5774)

Man, Jianting (Meco) 3 年之前
父节点
当前提交
6bd22f3e6f
共有 74 个文件被更改,包括 442 次插入834 次删除
  1. 10 17
      bsp/efm32/application.c
  2. 10 17
      bsp/efm32/board.c
  3. 10 16
      bsp/efm32/board.h
  4. 9 15
      bsp/efm32/dev_accel.c
  5. 10 15
      bsp/efm32/dev_accel.h
  6. 7 13
      bsp/efm32/dev_keys.c
  7. 8 13
      bsp/efm32/dev_keys.h
  8. 8 14
      bsp/efm32/dev_lcd.c
  9. 9 14
      bsp/efm32/dev_lcd.h
  10. 7 13
      bsp/efm32/dev_led.c
  11. 8 13
      bsp/efm32/dev_led.h
  12. 7 13
      bsp/efm32/dev_misc.c
  13. 8 13
      bsp/efm32/dev_misc.h
  14. 7 13
      bsp/efm32/dev_sflash.c
  15. 8 13
      bsp/efm32/dev_sflash.h
  16. 8 15
      bsp/efm32/drv_acmp.c
  17. 8 13
      bsp/efm32/drv_acmp.h
  18. 7 13
      bsp/efm32/drv_adc.c
  19. 8 13
      bsp/efm32/drv_adc.h
  20. 7 13
      bsp/efm32/drv_dma.c
  21. 8 13
      bsp/efm32/drv_dma.h
  22. 7 13
      bsp/efm32/drv_emu.c
  23. 8 13
      bsp/efm32/drv_emu.h
  24. 8 18
      bsp/efm32/drv_ethernet.c
  25. 8 16
      bsp/efm32/drv_ethernet.h
  26. 11 20
      bsp/efm32/drv_iic.c
  27. 10 16
      bsp/efm32/drv_iic.h
  28. 7 13
      bsp/efm32/drv_leuart.c
  29. 8 13
      bsp/efm32/drv_leuart.h
  30. 8 15
      bsp/efm32/drv_rtc.c
  31. 8 13
      bsp/efm32/drv_rtc.h
  32. 8 15
      bsp/efm32/drv_sdcard.c
  33. 9 15
      bsp/efm32/drv_sdcard.h
  34. 7 13
      bsp/efm32/drv_timer.c
  35. 8 13
      bsp/efm32/drv_timer.h
  36. 7 20
      bsp/efm32/drv_usart.c
  37. 8 13
      bsp/efm32/drv_usart.h
  38. 8 13
      bsp/efm32/efm32g_rom.ld
  39. 8 13
      bsp/efm32/efm32gg_rom.ld
  40. 1 1
      bsp/efm32/enc28j60.h
  41. 8 13
      bsp/efm32/graphics/tftspi.h
  42. 7 13
      bsp/efm32/hdl_interrupt.c
  43. 8 13
      bsp/efm32/hdl_interrupt.h
  44. 8 14
      bsp/efm32/httpd.c
  45. 8 14
      bsp/efm32/mma7455l.h
  46. 9 11
      bsp/efm32/rtconfig.h
  47. 7 13
      bsp/efm32/start_gcc.S
  48. 7 13
      bsp/efm32/startup.c
  49. 2 6
      bsp/n32g452xx/Libraries/rt_drivers/drv_usart.c
  50. 2 6
      bsp/stm32/stm32h750-artpi-h750/board/port/drv_wlan.c
  51. 2 6
      libcpu/avr32/uc3/context_gcc.S
  52. 2 6
      libcpu/avr32/uc3/cpu.c
  53. 2 6
      libcpu/avr32/uc3/interrupt.c
  54. 2 6
      libcpu/avr32/uc3/serial.c
  55. 3 6
      libcpu/avr32/uc3/serial.h
  56. 3 6
      libcpu/avr32/uc3/stack.c
  57. 3 7
      libcpu/blackfin/bf53x/context_vdsp.S
  58. 2 6
      libcpu/blackfin/bf53x/cpuport.c
  59. 2 6
      libcpu/m16c/m16c62p/context_gcc.S
  60. 2 9
      libcpu/m16c/m16c62p/context_iar.S
  61. 2 9
      libcpu/m16c/m16c62p/context_iar.asm
  62. 2 6
      libcpu/m16c/m16c62p/cpuport.c
  63. 3 6
      libcpu/mips/common/mips.inc
  64. 3 6
      libcpu/mips/pic32/cpuport.c
  65. 4 8
      libcpu/nios/nios_ii/context_gcc.S
  66. 2 8
      libcpu/nios/nios_ii/interrupt.c
  67. 2 6
      libcpu/nios/nios_ii/stack.c
  68. 3 7
      libcpu/ppc/common/stack.c
  69. 2 6
      libcpu/ppc/ppc405/interrupt.c
  70. 3 6
      libcpu/rx/cpuport.c
  71. 2 6
      libcpu/v850/70f34/cpuport.c
  72. 2 7
      libcpu/xilinx/microblaze/context_gcc.S
  73. 2 6
      libcpu/xilinx/microblaze/cpu.c
  74. 2 9
      libcpu/xilinx/microblaze/microblaze.inc

+ 10 - 17
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

+ 10 - 17
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

+ 10 - 16
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__
 

+ 9 - 15
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

+ 10 - 15
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__
 

+ 7 - 13
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

+ 8 - 13
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__
 

+ 8 - 14
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

+ 9 - 14
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__
 

+ 7 - 13
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

+ 8 - 13
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__
 

+ 7 - 13
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

+ 8 - 13
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__
 

+ 7 - 13
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

+ 8 - 13
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__
 

+ 8 - 15
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

+ 8 - 13
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__
 

+ 7 - 13
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

+ 8 - 13
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__
 

+ 7 - 13
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

+ 8 - 13
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__
 

+ 7 - 13
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

+ 8 - 13
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__
 

+ 8 - 18
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

+ 8 - 16
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__
 

+ 11 - 20
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

+ 10 - 16
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__
 

+ 7 - 13
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

+ 8 - 13
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__
 

+ 8 - 15
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

+ 8 - 13
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__
 

+ 8 - 15
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

+ 9 - 15
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__
 

+ 7 - 13
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

+ 8 - 13
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__
 

+ 7 - 20
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

+ 8 - 13
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__
 

+ 8 - 13
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

+ 8 - 13
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

+ 1 - 1
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
  *

+ 8 - 13
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__
 

+ 7 - 13
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"

+ 8 - 13
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__
 

+ 8 - 14
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

+ 8 - 14
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__
 

+ 9 - 11
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__
 

+ 7 - 13
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

+ 7 - 13
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

+ 2 - 6
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

+ 2 - 6
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

+ 2 - 6
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

+ 2 - 6
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

+ 2 - 6
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

+ 2 - 6
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

+ 3 - 6
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__
 

+ 3 - 6
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 <rtthread.h>
 
 /**

+ 3 - 7
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;

+ 2 - 6
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

+ 2 - 6
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

+ 2 - 9
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

+ 2 - 9
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

+ 2 - 6
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

+ 3 - 6
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__
 

+ 3 - 6
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 <rtthread.h>
 
 /**

+ 4 - 8
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
  */
 
 /**

+ 2 - 8
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;
-
-/*@}*/

+ 2 - 6
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

+ 3 - 7
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 <rtthread.h>

+ 2 - 6
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

+ 3 - 6
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 <rthw.h>
 #include <rtthread.h>
 

+ 2 - 6
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

+ 2 - 7
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"

+ 2 - 6
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

+ 2 - 9
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