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

This commit is contained in:
Man, Jianting (Meco)
2022-04-05 19:34:30 +08:00
committed by GitHub
parent 3f7cc54449
commit 6bd22f3e6f
74 changed files with 442 additions and 834 deletions
+10 -17
View File
@@ -1,29 +1,22 @@
/***************************************************************************//** /*
* @file application.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Demo application *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author Bernard, onelife *
* @version 1.0 * Change Logs:
******************************************************************************* * Date Author Notes
* @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
* 2009-01-05 Bernard first version * 2009-01-05 Bernard first version
* 2010-12-29 onelife Modify for EFM32 * 2010-12-29 onelife Modify for EFM32
* 2011-05-06 onelife Add SPI Flash DEMO * 2011-05-06 onelife Add SPI Flash DEMO
* 2011-07-15 onelife Add accelerometer DEMO * 2011-07-15 onelife Add accelerometer DEMO
* 2011-07-27 onelife Modify Ethernet DEMO * 2011-07-27 onelife Modify Ethernet DEMO
* 2011-08-23 onelife Modify Ethernet DEMO according to the changes of * 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 * 2011-12-20 onelife Add LCD DEMO
* 2012-02-16 onelife Add photo frame DEMO * 2012-02-16 onelife Add photo frame DEMO
* 2012-xx-xx onelife Add low energy test code * 2012-xx-xx onelife Add low energy test code
* 2012-05-17 onelife Modify photo frame DEMO according to new version of * 2012-05-17 onelife Modify photo frame DEMO according to new version of RTGUI
* RTGUI */
******************************************************************************/
/***************************************************************************//** /***************************************************************************//**
* @addtogroup efm32 * @addtogroup efm32
+10 -17
View File
@@ -1,15 +1,9 @@
/***************************************************************************//** /*
* @file board.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Board support of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2010-12-21 onelife Initial creation for EFM32 * 2010-12-21 onelife Initial creation for EFM32
* 2011-05-06 onelife Add EFM32 development kit and SPI Flash support * 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-08 onelife Add giant gecko development kit support
* 2011-12-09 onelife Add giant gecko support * 2011-12-09 onelife Add giant gecko support
* 2011-12-09 onelife Add LEUART module support * 2011-12-09 onelife Add LEUART module support
* 2011-12-14 onelife Add LFXO enabling routine in driver initialization * 2011-12-14 onelife Add LFXO enabling routine in driver initialization function
* function
* 2011-12-15 onelife Add MicroSD initialization routine in driver * 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 * 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-02-15 onelife Modify SWO setup function to support giant gecko
* 2012-xx-xx onelife Modify system clock and ticket related code * 2012-xx-xx onelife Modify system clock and ticket related code
******************************************************************************/ */
/***************************************************************************//** /***************************************************************************//**
* @addtogroup efm32 * @addtogroup efm32
+10 -16
View File
@@ -1,28 +1,22 @@
/***************************************************************************//** /*
* @file board.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Board support of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2010-12-21 onelife Initial creation for EFM32 * 2010-12-21 onelife Initial creation for EFM32
* 2011-05-06 onelife Add EFM32 development kit and SPI Flash support * 2011-05-06 onelife Add EFM32 development kit and SPI Flash support
* 2011-07-12 onelife Add prototype for SWO output enable and interrupt * 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-08 onelife Add giant gecko development kit support
* 2011-12-09 onelife Add giant gecko support * 2011-12-09 onelife Add giant gecko support
* 2011-12-09 onelife Add LEUART module support * 2011-12-09 onelife Add LEUART module support
* 2011-12-14 onelife Add LFXO enabling routine in driver initialization * 2011-12-14 onelife Add LFXO enabling routine in driver initialization function
* function
* 2011-12-20 onelife Move SPI Auto-CS setting to "rtconfig.h" * 2011-12-20 onelife Move SPI Auto-CS setting to "rtconfig.h"
* 2012-05-15 onelife Modified to compatible with CMSIS v3 * 2012-05-15 onelife Modified to compatible with CMSIS v3
******************************************************************************/ */
#ifndef __BOARD_H__ #ifndef __BOARD_H__
#define __BOARD_H__ #define __BOARD_H__
+9 -15
View File
@@ -1,21 +1,15 @@
/***************************************************************************//** /*
* @file dev_accel.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Accelerometer driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-07-13 onelife Initial creation for using EFM32 ADC module to * 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 * 2011-08-02 onelife Add digital interface support of using EFM32 IIC
* module for the Freescale MMA7455L * module for the Freescale MMA7455L
******************************************************************************/ */
/***************************************************************************//** /***************************************************************************//**
* @addtogroup efm32 * @addtogroup efm32
+10 -15
View File
@@ -1,21 +1,16 @@
/***************************************************************************//** /*
* @file dev_accel.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Accelerometer driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-07-13 onelife Initial creation for using EFM32 ADC module to * 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 * 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__ #ifndef __DEV_ACCEL_H__
#define __DEV_ACCEL_H__ #define __DEV_ACCEL_H__
+7 -13
View File
@@ -1,18 +1,12 @@
/***************************************************************************//** /*
* @file dev_keys.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Keys driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-12-29 onelife Initial creation for EFM32GG_DK3750 board * 2011-12-29 onelife Initial creation for EFM32GG_DK3750 board
******************************************************************************/ */
/***************************************************************************//** /***************************************************************************//**
* @addtogroup EFM32GG_DK3750 * @addtogroup EFM32GG_DK3750
+8 -13
View File
@@ -1,18 +1,13 @@
/***************************************************************************//** /*
* @file dev_keys.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Keys driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-12-29 onelife Initial creation for EFM32GG_DK3750 board * 2011-12-29 onelife Initial creation for EFM32GG_DK3750 board
******************************************************************************/ */
#ifndef __DEV_KEYS_H__ #ifndef __DEV_KEYS_H__
#define __DEV_KEYS_H__ #define __DEV_KEYS_H__
+8 -14
View File
@@ -1,20 +1,14 @@
/***************************************************************************//** /*
* @file dev_lcd.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief LCD driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-12-16 onelife Initial creation of address mapped method (pixel * 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 * 2011-12-29 onelife Add direct drive method (frame buffer) support
******************************************************************************/ */
/***************************************************************************//** /***************************************************************************//**
* @addtogroup EFM32GG_DK3750 * @addtogroup EFM32GG_DK3750
+9 -14
View File
@@ -1,19 +1,14 @@
/***************************************************************************//** /*
* @file dev_lcd.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief LCD driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-12-16 onelife Initial creation of address mapped method (pixel * 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__ #ifndef __DEV_LCD_H__
#define __DEV_LCD_H__ #define __DEV_LCD_H__
+7 -13
View File
@@ -1,21 +1,15 @@
/***************************************************************************//** /*
* @file dev_led.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief LED driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2009-01-05 Bernard the first version * 2009-01-05 Bernard the first version
* 2010-12-27 onelife Modify for EFM32 * 2010-12-27 onelife Modify for EFM32
* 2011-05-06 onelife Add EFM32 development kit support * 2011-05-06 onelife Add EFM32 development kit support
* 2011-12-08 onelife Add giant gecko development kit support * 2011-12-08 onelife Add giant gecko development kit support
******************************************************************************/ */
/***************************************************************************//** /***************************************************************************//**
* @addtogroup efm32 * @addtogroup efm32
+8 -13
View File
@@ -1,21 +1,16 @@
/***************************************************************************//** /*
* @file dev_led.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief LED driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2009-01-05 Bernard the first version * 2009-01-05 Bernard the first version
* 2010-12-27 onelife Modify for EFM32 * 2010-12-27 onelife Modify for EFM32
* 2011-05-06 onelife Add EFM32 development kit support * 2011-05-06 onelife Add EFM32 development kit support
* 2011-12-08 onelife Add giant gecko development kit support * 2011-12-08 onelife Add giant gecko development kit support
******************************************************************************/ */
#ifndef __DEV_LED_H__ #ifndef __DEV_LED_H__
#define __DEV_LED_H__ #define __DEV_LED_H__
+7 -13
View File
@@ -1,19 +1,13 @@
/***************************************************************************//** /*
* @file dev_misc.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Miscellaneous driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-02-22 onelife Initial creation for EFM32 * 2011-02-22 onelife Initial creation for EFM32
* 2011-07-27 onelife Modify according to ADC driver changes * 2011-07-27 onelife Modify according to ADC driver changes
******************************************************************************/ */
/***************************************************************************//** /***************************************************************************//**
* @addtogroup efm32 * @addtogroup efm32
+8 -13
View File
@@ -1,18 +1,13 @@
/***************************************************************************//** /*
* @file dev_misc.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Miscellaneous driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-02-22 onelife Initial creation for EFM32 * 2011-02-22 onelife Initial creation for EFM32
******************************************************************************/ */
#ifndef __DEV_MISC_H__ #ifndef __DEV_MISC_H__
#define __DEV_MISC_H__ #define __DEV_MISC_H__
+7 -13
View File
@@ -1,18 +1,12 @@
/***************************************************************************//** /*
* @file dev_sflash.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief SPI Flash driver of RT-Thread RTOS for EFM32 by using USART module *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-05-06 onelife Initial creation by using USART module * 2011-05-06 onelife Initial creation by using USART module
******************************************************************************/ */
/***************************************************************************//** /***************************************************************************//**
* @addtogroup efm32 * @addtogroup efm32
+8 -13
View File
@@ -1,18 +1,13 @@
/***************************************************************************//** /*
* @file dev_sflash.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief SPI Flash driver of RT-Thread RTOS for EFM32 by using USART module *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-05-06 onelife Initial creation by using USART module * 2011-05-06 onelife Initial creation by using USART module
******************************************************************************/ */
#ifndef __DEV_SFLASH_H__ #ifndef __DEV_SFLASH_H__
#define __DEV_SFLASH_H__ #define __DEV_SFLASH_H__
+8 -15
View File
@@ -1,20 +1,13 @@
/***************************************************************************//** /*
* @file drv_acmp.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief ACMP (analog comparator) driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-02-21 onelife Initial creation for EFM32 * 2011-02-21 onelife Initial creation for EFM32
* 2011-06-17 onelife Modify init and control function for efm32lib v2 * 2011-06-17 onelife Modify init and control function for efm32lib v2 upgrading
* upgrading */
******************************************************************************/
/***************************************************************************//** /***************************************************************************//**
* @addtogroup efm32 * @addtogroup efm32
+8 -13
View File
@@ -1,19 +1,14 @@
/***************************************************************************//** /*
* @file drv_acmp.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief ACMP (analog comparator) driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-02-23 onelife Initial creation for EFM32 * 2011-02-23 onelife Initial creation for EFM32
* 2011-06-17 onelife Modify for efm32lib v2 upgrading * 2011-06-17 onelife Modify for efm32lib v2 upgrading
******************************************************************************/ */
#ifndef __DRV_ACMP_H__ #ifndef __DRV_ACMP_H__
#define __DRV_ACMP_H__ #define __DRV_ACMP_H__
+7 -13
View File
@@ -1,19 +1,13 @@
/***************************************************************************//** /*
* @file drv_adc.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief ADC driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-02-21 onelife Initial creation for EFM32 * 2011-02-21 onelife Initial creation for EFM32
* 2011-07-14 onelife Add multiple channels support for scan mode * 2011-07-14 onelife Add multiple channels support for scan mode
******************************************************************************/ */
/***************************************************************************//** /***************************************************************************//**
* @addtogroup efm32 * @addtogroup efm32
+8 -13
View File
@@ -1,19 +1,14 @@
/***************************************************************************//** /*
* @file drv_adc.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief ADC driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-02-21 onelife Initial creation for EFM32 * 2011-02-21 onelife Initial creation for EFM32
* 2011-07-14 onelife Add multiple channels support for scan mode * 2011-07-14 onelife Add multiple channels support for scan mode
******************************************************************************/ */
#ifndef __DRV_ADC_H__ #ifndef __DRV_ADC_H__
#define __DRV_ADC_H__ #define __DRV_ADC_H__
+7 -13
View File
@@ -1,18 +1,12 @@
/***************************************************************************//** /*
* @file drv_dma.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief DMA driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2010-12-23 onelife Initial creation for EFM32 * 2010-12-23 onelife Initial creation for EFM32
******************************************************************************/ */
/***************************************************************************//** /***************************************************************************//**
* @addtogroup efm32 * @addtogroup efm32
+8 -13
View File
@@ -1,18 +1,13 @@
/***************************************************************************//** /*
* @file drv_dma.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief DMA driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2010-12-23 onelife Initial creation for EFM32 * 2010-12-23 onelife Initial creation for EFM32
******************************************************************************/ */
#ifndef __DRV_DMA_H__ #ifndef __DRV_DMA_H__
#define __DRV_DMA_H__ #define __DRV_DMA_H__
+7 -13
View File
@@ -1,18 +1,12 @@
/***************************************************************************//** /*
* @file drv_emu.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief EMU driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2012-02-21 onelife Initial creation for EFM32 * 2012-02-21 onelife Initial creation for EFM32
******************************************************************************/ */
/***************************************************************************//** /***************************************************************************//**
* @addtogroup efm32 * @addtogroup efm32
+8 -13
View File
@@ -1,19 +1,14 @@
/***************************************************************************//** /*
* @file drv_emu.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief EMU driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-02-21 onelife Initial creation for EFM32 * 2011-02-21 onelife Initial creation for EFM32
* 2011-07-14 onelife Add multiple channels support for scan mode * 2011-07-14 onelife Add multiple channels support for scan mode
******************************************************************************/ */
#ifndef __DRV_EMU_H__ #ifndef __DRV_EMU_H__
#define __DRV_EMU_H__ #define __DRV_EMU_H__
+8 -18
View File
@@ -1,24 +1,14 @@
/***************************************************************************//** /*
* @file drv_ethernet.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Ethernet driver (SPI mode) of RT-Thread RTOS for using EFM32 USART *
* module * SPDX-License-Identifier: Apache-2.0
* This driver is tested by using the Microchip ENC28J60 stand-alone Ethernet *
* controller with SPI interface. * Change Logs:
* 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 * Date Author Notes
* 2011-06-22 onelife Initial creation for using EFM32 USART module * 2011-06-22 onelife Initial creation for using EFM32 USART module
* 2011-07-25 onelife Add lock (semaphore) to prevent simultaneously * 2011-07-25 onelife Add lock (semaphore) to prevent simultaneously access
* access
* 2011-07-28 onelife Add get_ip() and update_ip() utilities * 2011-07-28 onelife Add get_ip() and update_ip() utilities
******************************************************************************/ */
/***************************************************************************//** /***************************************************************************//**
* @addtogroup efm32_eth * @addtogroup efm32_eth
+8 -16
View File
@@ -1,21 +1,13 @@
/***************************************************************************//** /*
* @file drv_ethernet.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Ethernet driver (SPI mode) of RT-Thread RTOS for using EFM32 USART *
* module * SPDX-License-Identifier: Apache-2.0
* This driver is tested by using the Microchip ENC28J60 stand-alone Ethernet *
* controller with SPI interface. * Change Logs:
* 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 * Date Author Notes
* 2011-06-22 onelife Initial creation for using EFM32 USART module * 2011-06-22 onelife Initial creation for using EFM32 USART module
******************************************************************************/ */
#ifndef __DEV_ETHERNET_H__ #ifndef __DEV_ETHERNET_H__
#define __DEV_ETHERNET_H__ #define __DEV_ETHERNET_H__
+11 -20
View File
@@ -1,29 +1,20 @@
/***************************************************************************//** /*
* @file drv_iic.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Serial API of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-01-06 onelife Initial creation for EFM32 * 2011-01-06 onelife Initial creation for EFM32
* 2011-06-17 onelife Modify init function for EFM32 library v2.0.0 * 2011-06-17 onelife Modify init function for EFM32 library v2.0.0 upgrading
* upgrading * 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 * 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-08-04 onelife Add a timer to prevent from forever waiting
* 2011-11-29 onelife Modify init function for EFM32 library v2.2.2 * 2011-11-29 onelife Modify init function for EFM32 library v2.2.2 upgrading
* upgrading
* 2011-12-27 onelife Utilize "I2C_PRESENT" and "I2C_COUNT" * 2011-12-27 onelife Utilize "I2C_PRESENT" and "I2C_COUNT"
* 2011-12-27 onelife Change IIC read format * 2011-12-27 onelife Change IIC read format
******************************************************************************/ */
/***************************************************************************//** /***************************************************************************//**
* @addtogroup efm32 * @addtogroup efm32
+10 -16
View File
@@ -1,24 +1,18 @@
/***************************************************************************//** /*
* @file drv_iic.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief IIC driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-01-07 onelife Initial creation for EFM32 * 2011-01-07 onelife Initial creation for EFM32
* 2011-07-11 onelife Add lock (semaphore) to prevent simultaneously * 2011-07-11 onelife Add lock (semaphore) to prevent simultaneously access
* access
* 2011-08-04 onelife Change the usage of the second parameter of Read * 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-08-04 onelife Add a timer to prevent from forever waiting
* 2011-12-27 onelife Change IIC read format * 2011-12-27 onelife Change IIC read format
******************************************************************************/ */
#ifndef __DRV_IIC_H__ #ifndef __DRV_IIC_H__
#define __DRV_IIC_H__ #define __DRV_IIC_H__
+7 -13
View File
@@ -1,19 +1,13 @@
/***************************************************************************//** /*
* @file drv_leuart.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief LEUART driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-12-09 onelife Initial creation for EFM32 * 2011-12-09 onelife Initial creation for EFM32
* 2011-12-27 onelife Utilize "LEUART_PRESENT" and "LEUART_COUNT" * 2011-12-27 onelife Utilize "LEUART_PRESENT" and "LEUART_COUNT"
******************************************************************************/ */
/***************************************************************************//** /***************************************************************************//**
* @addtogroup efm32 * @addtogroup efm32
+8 -13
View File
@@ -1,18 +1,13 @@
/***************************************************************************//** /*
* @file drv_leuart.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief LEUART driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-12-09 onelife Initial creation for EFM32 * 2011-12-09 onelife Initial creation for EFM32
******************************************************************************/ */
#ifndef __DRV_LEUSART_H__ #ifndef __DRV_LEUSART_H__
#define __DRV_LEUSART_H__ #define __DRV_LEUSART_H__
+8 -15
View File
@@ -1,22 +1,15 @@
/***************************************************************************//** /*
* @file drv_rtc.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief RTC driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author Bernard, onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2009-01-05 Bernard the first version * 2009-01-05 Bernard the first version
* 2010-12-27 onelife Modify for EFM32 * 2010-12-27 onelife Modify for EFM32
* 2011-06-16 onelife Modify init function for efm32lib v2 upgrading * 2011-06-16 onelife Modify init function for efm32lib v2 upgrading
* 2011-12-14 onelife Move LFXO enabling routine to driver initialization * 2011-12-14 onelife Move LFXO enabling routine to driver initialization function (board.c)
* function (board.c) */
******************************************************************************/
/***************************************************************************//** /***************************************************************************//**
* @addtogroup efm32 * @addtogroup efm32
+8 -13
View File
@@ -1,19 +1,14 @@
/***************************************************************************//** /*
* @file drv_rtc.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief RTC driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author Bernard, onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2009-01-05 Bernard the first version * 2009-01-05 Bernard the first version
* 2010-12-27 onelife Modification for EFM32 * 2010-12-27 onelife Modification for EFM32
*********************************************************************/ */
#ifndef __DRV_RTC_H__ #ifndef __DRV_RTC_H__
#define __DRV_RTC_H__ #define __DRV_RTC_H__
+8 -15
View File
@@ -1,24 +1,17 @@
/***************************************************************************//** /*
* @file drv_sdcard.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Memory card driver (SPI mode) of RT-Thread RTOS for using EFM32 *
* USART module * SPDX-License-Identifier: Apache-2.0
* COPYRIGHT (C) 2012, RT-Thread Development Team *
* @author onelife * Change Logs:
* @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 * Date Author Notes
* 2011-05-13 onelife Initial creation for using EFM32 USART module * 2011-05-13 onelife Initial creation for using EFM32 USART module
* 2011-07-07 onelife Modify initialization function to return error code * 2011-07-07 onelife Modify initialization function to return error code
* 2011-12-08 onelife Add giant gecko development kit support * 2011-12-08 onelife Add giant gecko development kit support
* 2011-12-15 onelife Move MicroSD enabling routine to driver * 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 * 2011-12-21 onelife Modify code due to SPI write format changed
******************************************************************************/ */
/***************************************************************************//** /***************************************************************************//**
* @addtogroup efm32_dk * @addtogroup efm32_dk
+9 -15
View File
@@ -1,20 +1,14 @@
/***************************************************************************//** /*
* @file drv_sdcard.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Memory card driver (SPI mode) of RT-Thread RTOS for using EFM32 *
* USART module * SPDX-License-Identifier: Apache-2.0
* COPYRIGHT (C) 2012, RT-Thread Development Team *
* @author onelife * Change Logs:
* @version 1.0 * Date Author Notes
*******************************************************************************
* @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
* 2011-05-13 onelife Initial creation for using EFM32 USART module * 2011-05-13 onelife Initial creation for using EFM32 USART module
* 2011-07-07 onelife Modify initialization function to return error code * 2011-07-07 onelife Modify initialization function to return error code
******************************************************************************/ */
#ifndef __DEV_SDCARD_H__ #ifndef __DEV_SDCARD_H__
#define __DEV_SDCARD_H__ #define __DEV_SDCARD_H__
+7 -13
View File
@@ -1,19 +1,13 @@
/***************************************************************************//** /*
* @file drv_timer.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Timer driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-01-18 onelife Initial creation for EFM32 * 2011-01-18 onelife Initial creation for EFM32
* 2011-06-17 onelife Modify init function for efm32lib v2 upgrading * 2011-06-17 onelife Modify init function for efm32lib v2 upgrading
******************************************************************************/ */
/***************************************************************************//** /***************************************************************************//**
* @addtogroup efm32 * @addtogroup efm32
+8 -13
View File
@@ -1,18 +1,13 @@
/***************************************************************************//** /*
* @file drv_timer.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Timer driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-01-18 onelife Initial creation for EFM32 * 2011-01-18 onelife Initial creation for EFM32
******************************************************************************/ */
#ifndef __DRV_TIMER_H__ #ifndef __DRV_TIMER_H__
#define __DRV_TIMER_H__ #define __DRV_TIMER_H__
+7 -20
View File
@@ -1,22 +1,9 @@
/***************************************************************************//** /*
* @file drv_usart.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @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.
* *
* @section Change Logs * SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes * Date Author Notes
* 2010-12-22 onelife Initial creation for EFM32 * 2010-12-22 onelife Initial creation for EFM32
* 2011-01-17 onelife Merge with serial.c * 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 SPI write format (same as SPI read)
* 2011-12-20 onelife Change USART status format * 2011-12-20 onelife Change USART status format
* 2011-12-27 onelife Utilize "USART_PRESENT", "USART_COUNT", * 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() * 2012-05-16 onelife Fix a bug in rt_hw_usart_init()
******************************************************************************/ */
/***************************************************************************//** /***************************************************************************//**
* @addtogroup efm32 * @addtogroup efm32
+8 -13
View File
@@ -1,15 +1,9 @@
/***************************************************************************//** /*
* @file drv_usart.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief USART driver of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2010-12-22 onelife Initial creation for EFM32 * 2010-12-22 onelife Initial creation for EFM32
* 2011-06-27 onelife Fix a bug when using compiler optimization * 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 giant gecko support
* 2011-12-09 onelife Add UART module support * 2011-12-09 onelife Add UART module support
* 2011-12-20 onelife Change USART status format * 2011-12-20 onelife Change USART status format
******************************************************************************/ */
#ifndef __DRV_USART_H__ #ifndef __DRV_USART_H__
#define __DRV_USART_H__ #define __DRV_USART_H__
+8 -13
View File
@@ -1,21 +1,16 @@
/***************************************************************************//** /*
* @file efm32_rom_g.ld * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Linker script for EFM32 gecko *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author Bernard, onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2009-10-14 Bernard first version * 2009-10-14 Bernard first version
* 2010-12-22 onelife Modify for EFM32 * 2010-12-22 onelife Modify for EFM32
* 2011-07-06 onelife Modify to make use the start code in libraries * 2011-07-06 onelife Modify to make use the start code in libraries
* 2012-05-15 onelife Modified to compatible with CMSIS v3 * 2012-05-15 onelife Modified to compatible with CMSIS v3
******************************************************************************/ */
MEMORY MEMORY
{ {
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 131072 FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 131072
+8 -13
View File
@@ -1,19 +1,14 @@
/***************************************************************************//** /*
* @file efm32_rom_gg.ld * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Linker script for EFM32 giant gecko *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-12-08 onelife Initial creation for EFM3 giant gecko support * 2011-12-08 onelife Initial creation for EFM3 giant gecko support
* 2012-05-15 onelife Modified to compatible with CMSIS v3 * 2012-05-15 onelife Modified to compatible with CMSIS v3
******************************************************************************/ */
MEMORY MEMORY
{ {
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 1048576 FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 1048576
+1 -1
View File
@@ -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 * SPDX-License-Identifier: Apache-2.0
* *
+8 -13
View File
@@ -1,18 +1,13 @@
/***************************************************************************//** /*
* @file tftspi.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Stub functions of EFM32 LCD driver *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-12-20 onelife Initial creation for EFM32 * 2011-12-20 onelife Initial creation for EFM32
******************************************************************************/ */
#ifndef __TFTSPI_H__ #ifndef __TFTSPI_H__
#define __TFTSPI_H__ #define __TFTSPI_H__
+7 -13
View File
@@ -1,15 +1,9 @@
/***************************************************************************//** /*
* @file hdl_interrupt.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Interrupt handler of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2010-12-29 onelife Initial creation for EFM32 * 2010-12-29 onelife Initial creation for EFM32
* 2011-07-12 onelife Disable interrupts in GPIO handler * 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 UART module support
* 2011-12-09 onelife Add LEUART module support * 2011-12-09 onelife Add LEUART module support
* 2011-12-27 onelife Utilize "XXX_PRESENT" and "XXX_COUNT" * 2011-12-27 onelife Utilize "XXX_PRESENT" and "XXX_COUNT"
******************************************************************************/ */
/* Includes ------------------------------------------------------------------*/ /* Includes ------------------------------------------------------------------*/
#include "board.h" #include "board.h"
+8 -13
View File
@@ -1,19 +1,14 @@
/***************************************************************************//** /*
* @file hdl_interrupt.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Interrupt handler of RT-Thread RTOS for EFM32 *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2010-12-29 onelife Initial creation for EFM32 * 2010-12-29 onelife Initial creation for EFM32
* 2011-12-09 onelife Add LEUART module support * 2011-12-09 onelife Add LEUART module support
******************************************************************************/ */
#ifndef __HDL_INTERRUPT_H__ #ifndef __HDL_INTERRUPT_H__
#define __HDL_INTERRUPT_H__ #define __HDL_INTERRUPT_H__
+8 -14
View File
@@ -1,20 +1,14 @@
/***************************************************************************//** /*
* @file httpd.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Simple http server demo application *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2011-07-04 onelife Derive from Energy Micro demo application * 2011-07-04 onelife Derive from Energy Micro demo application
******************************************************************************/ */
/**************************************************************************//** /******************************************************************************
* @file * @file
* @brief This file is dervied from the ``httpd.c'' skeleton. * @brief This file is dervied from the ``httpd.c'' skeleton.
* @author Energy Micro AS * @author Energy Micro AS
+8 -14
View File
@@ -1,19 +1,13 @@
/***************************************************************************//** /*
* @file mma7455l.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Header file of Freescale MMA7455L 3 axis Low-g digital output *
* accelerometer * SPDX-License-Identifier: Apache-2.0
* COPYRIGHT (C) 2012, RT-Thread Development Team *
* @author onelife * Change Logs:
* @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 * Date Author Notes
* 2011-08-02 onelife Initial creation * 2011-08-02 onelife Initial creation
******************************************************************************/ */
#ifndef __MMA7455L_H__ #ifndef __MMA7455L_H__
#define __MMA7455L_H__ #define __MMA7455L_H__
+9 -11
View File
@@ -1,14 +1,12 @@
/***************************************************************************//** /*
* @file rtconfig.h * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief RT-Thread config file *
* COPYRIGHT (C) 2009, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author *
* @version 1.0 * Change Logs:
******************************************************************************* * Date Author Notes
* @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
******************************************************************************/
#ifndef __RTTHREAD_CFG_H__ #ifndef __RTTHREAD_CFG_H__
#define __RTTHREAD_CFG_H__ #define __RTTHREAD_CFG_H__
+7 -13
View File
@@ -1,20 +1,14 @@
/***************************************************************************//** /*
* @file start_gcc.S * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief Context switch functions *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2010-12-21 onelife Initial creation for EFM32 * 2010-12-21 onelife Initial creation for EFM32
* 2011-07-06 onelife Modify to make use the start code in libraries * 2011-07-06 onelife Modify to make use the start code in libraries
* 2012-05-15 onelife Modified to compatible with CMSIS v3 * 2012-05-15 onelife Modified to compatible with CMSIS v3
******************************************************************************/ */
/***************************************************************************//** /***************************************************************************//**
* @addtogroup cortex-m3 * @addtogroup cortex-m3
+7 -13
View File
@@ -1,22 +1,16 @@
/***************************************************************************//** /*
* @file startup.c * Copyright (c) 2006-2022, RT-Thread Development Team
* @brief This file is part of RT-Thread RTOS *
* COPYRIGHT (C) 2012, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0
* @author Bernard, onelife *
* @version 1.0 * Change Logs:
*******************************************************************************
* @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 * Date Author Notes
* 2006-08-31 Bernard first implementation * 2006-08-31 Bernard first implementation
* 2010-12-29 onelife Modify for EFM32 * 2010-12-29 onelife Modify for EFM32
* 2011-12-20 onelife Add RTGUI initialization routine * 2011-12-20 onelife Add RTGUI initialization routine
* 2012-02-21 onelife Add energy management initialization routine * 2012-02-21 onelife Add energy management initialization routine
* 2012-05-15 onelife Modified to compatible with CMSIS v3 * 2012-05-15 onelife Modified to compatible with CMSIS v3
******************************************************************************/ */
/***************************************************************************//** /***************************************************************************//**
* @addtogroup efm32 * @addtogroup efm32
@@ -1,11 +1,7 @@
/* /*
* File : usart.c * Copyright (c) 2006-2022, RT-Thread Development Team
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006-2021, RT-Thread Development Team
* *
* The license and distribution terms for this file may be * SPDX-License-Identifier: Apache-2.0
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* *
* Change Logs: * Change Logs:
* Date Author Notes * Date Author Notes
@@ -1,11 +1,7 @@
/* /*
* File : drv_wlan.c * Copyright (c) 2006-2022, RT-Thread Development Team
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2015, RT-Thread Development Team
* *
* The license and distribution terms for this file may be * SPDX-License-Identifier: Apache-2.0
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* *
* Change Logs: * Change Logs:
* Date Author Notes * Date Author Notes

Some files were not shown because too many files have changed in this diff Show More