Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wwsmg1
rt-thread
提交
6bd22f3e
R
rt-thread
项目概览
wwsmg1
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
6bd22f3e
编写于
4月 05, 2022
作者:
mysterywolf
提交者:
GitHub
4月 05, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
替换RTThread旧版文件头注释版权声明 (#5774)
上级
3f7cc544
变更
74
隐藏空白更改
内联
并排
Showing
74 changed file
with
442 addition
and
834 deletion
+442
-834
bsp/efm32/application.c
bsp/efm32/application.c
+10
-17
bsp/efm32/board.c
bsp/efm32/board.c
+10
-17
bsp/efm32/board.h
bsp/efm32/board.h
+10
-16
bsp/efm32/dev_accel.c
bsp/efm32/dev_accel.c
+9
-15
bsp/efm32/dev_accel.h
bsp/efm32/dev_accel.h
+10
-15
bsp/efm32/dev_keys.c
bsp/efm32/dev_keys.c
+7
-13
bsp/efm32/dev_keys.h
bsp/efm32/dev_keys.h
+8
-13
bsp/efm32/dev_lcd.c
bsp/efm32/dev_lcd.c
+8
-14
bsp/efm32/dev_lcd.h
bsp/efm32/dev_lcd.h
+9
-14
bsp/efm32/dev_led.c
bsp/efm32/dev_led.c
+7
-13
bsp/efm32/dev_led.h
bsp/efm32/dev_led.h
+8
-13
bsp/efm32/dev_misc.c
bsp/efm32/dev_misc.c
+7
-13
bsp/efm32/dev_misc.h
bsp/efm32/dev_misc.h
+8
-13
bsp/efm32/dev_sflash.c
bsp/efm32/dev_sflash.c
+7
-13
bsp/efm32/dev_sflash.h
bsp/efm32/dev_sflash.h
+8
-13
bsp/efm32/drv_acmp.c
bsp/efm32/drv_acmp.c
+8
-15
bsp/efm32/drv_acmp.h
bsp/efm32/drv_acmp.h
+8
-13
bsp/efm32/drv_adc.c
bsp/efm32/drv_adc.c
+7
-13
bsp/efm32/drv_adc.h
bsp/efm32/drv_adc.h
+8
-13
bsp/efm32/drv_dma.c
bsp/efm32/drv_dma.c
+7
-13
bsp/efm32/drv_dma.h
bsp/efm32/drv_dma.h
+8
-13
bsp/efm32/drv_emu.c
bsp/efm32/drv_emu.c
+7
-13
bsp/efm32/drv_emu.h
bsp/efm32/drv_emu.h
+8
-13
bsp/efm32/drv_ethernet.c
bsp/efm32/drv_ethernet.c
+8
-18
bsp/efm32/drv_ethernet.h
bsp/efm32/drv_ethernet.h
+8
-16
bsp/efm32/drv_iic.c
bsp/efm32/drv_iic.c
+11
-20
bsp/efm32/drv_iic.h
bsp/efm32/drv_iic.h
+10
-16
bsp/efm32/drv_leuart.c
bsp/efm32/drv_leuart.c
+7
-13
bsp/efm32/drv_leuart.h
bsp/efm32/drv_leuart.h
+8
-13
bsp/efm32/drv_rtc.c
bsp/efm32/drv_rtc.c
+8
-15
bsp/efm32/drv_rtc.h
bsp/efm32/drv_rtc.h
+8
-13
bsp/efm32/drv_sdcard.c
bsp/efm32/drv_sdcard.c
+8
-15
bsp/efm32/drv_sdcard.h
bsp/efm32/drv_sdcard.h
+9
-15
bsp/efm32/drv_timer.c
bsp/efm32/drv_timer.c
+7
-13
bsp/efm32/drv_timer.h
bsp/efm32/drv_timer.h
+8
-13
bsp/efm32/drv_usart.c
bsp/efm32/drv_usart.c
+7
-20
bsp/efm32/drv_usart.h
bsp/efm32/drv_usart.h
+8
-13
bsp/efm32/efm32g_rom.ld
bsp/efm32/efm32g_rom.ld
+8
-13
bsp/efm32/efm32gg_rom.ld
bsp/efm32/efm32gg_rom.ld
+8
-13
bsp/efm32/enc28j60.h
bsp/efm32/enc28j60.h
+1
-1
bsp/efm32/graphics/tftspi.h
bsp/efm32/graphics/tftspi.h
+8
-13
bsp/efm32/hdl_interrupt.c
bsp/efm32/hdl_interrupt.c
+7
-13
bsp/efm32/hdl_interrupt.h
bsp/efm32/hdl_interrupt.h
+8
-13
bsp/efm32/httpd.c
bsp/efm32/httpd.c
+8
-14
bsp/efm32/mma7455l.h
bsp/efm32/mma7455l.h
+8
-14
bsp/efm32/rtconfig.h
bsp/efm32/rtconfig.h
+9
-11
bsp/efm32/start_gcc.S
bsp/efm32/start_gcc.S
+7
-13
bsp/efm32/startup.c
bsp/efm32/startup.c
+7
-13
bsp/n32g452xx/Libraries/rt_drivers/drv_usart.c
bsp/n32g452xx/Libraries/rt_drivers/drv_usart.c
+2
-6
bsp/stm32/stm32h750-artpi-h750/board/port/drv_wlan.c
bsp/stm32/stm32h750-artpi-h750/board/port/drv_wlan.c
+2
-6
libcpu/avr32/uc3/context_gcc.S
libcpu/avr32/uc3/context_gcc.S
+2
-6
libcpu/avr32/uc3/cpu.c
libcpu/avr32/uc3/cpu.c
+2
-6
libcpu/avr32/uc3/interrupt.c
libcpu/avr32/uc3/interrupt.c
+2
-6
libcpu/avr32/uc3/serial.c
libcpu/avr32/uc3/serial.c
+2
-6
libcpu/avr32/uc3/serial.h
libcpu/avr32/uc3/serial.h
+3
-6
libcpu/avr32/uc3/stack.c
libcpu/avr32/uc3/stack.c
+3
-6
libcpu/blackfin/bf53x/context_vdsp.S
libcpu/blackfin/bf53x/context_vdsp.S
+3
-7
libcpu/blackfin/bf53x/cpuport.c
libcpu/blackfin/bf53x/cpuport.c
+2
-6
libcpu/m16c/m16c62p/context_gcc.S
libcpu/m16c/m16c62p/context_gcc.S
+2
-6
libcpu/m16c/m16c62p/context_iar.S
libcpu/m16c/m16c62p/context_iar.S
+2
-9
libcpu/m16c/m16c62p/context_iar.asm
libcpu/m16c/m16c62p/context_iar.asm
+2
-9
libcpu/m16c/m16c62p/cpuport.c
libcpu/m16c/m16c62p/cpuport.c
+2
-6
libcpu/mips/common/mips.inc
libcpu/mips/common/mips.inc
+3
-6
libcpu/mips/pic32/cpuport.c
libcpu/mips/pic32/cpuport.c
+3
-6
libcpu/nios/nios_ii/context_gcc.S
libcpu/nios/nios_ii/context_gcc.S
+4
-8
libcpu/nios/nios_ii/interrupt.c
libcpu/nios/nios_ii/interrupt.c
+2
-8
libcpu/nios/nios_ii/stack.c
libcpu/nios/nios_ii/stack.c
+2
-6
libcpu/ppc/common/stack.c
libcpu/ppc/common/stack.c
+3
-7
libcpu/ppc/ppc405/interrupt.c
libcpu/ppc/ppc405/interrupt.c
+2
-6
libcpu/rx/cpuport.c
libcpu/rx/cpuport.c
+3
-6
libcpu/v850/70f34/cpuport.c
libcpu/v850/70f34/cpuport.c
+2
-6
libcpu/xilinx/microblaze/context_gcc.S
libcpu/xilinx/microblaze/context_gcc.S
+2
-7
libcpu/xilinx/microblaze/cpu.c
libcpu/xilinx/microblaze/cpu.c
+2
-6
libcpu/xilinx/microblaze/microblaze.inc
libcpu/xilinx/microblaze/microblaze.inc
+2
-9
未找到文件。
bsp/efm32/application.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/board.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/board.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/dev_accel.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/dev_accel.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/dev_keys.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/dev_keys.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/dev_lcd.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/dev_lcd.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/dev_led.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/dev_led.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/dev_misc.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/dev_misc.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/dev_sflash.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/dev_sflash.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/drv_acmp.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/drv_acmp.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/drv_adc.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/drv_adc.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/drv_dma.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/drv_dma.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/drv_emu.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/drv_emu.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/drv_ethernet.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/drv_ethernet.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/drv_iic.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/drv_iic.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/drv_leuart.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/drv_leuart.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/drv_rtc.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/drv_rtc.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/drv_sdcard.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/drv_sdcard.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/drv_timer.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/drv_timer.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/drv_usart.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/drv_usart.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/efm32g_rom.ld
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/efm32gg_rom.ld
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/enc28j60.h
浏览文件 @
6bd22f3e
/*
* Copyright (c) 2006-202
1
, RT-Thread Development Team
* Copyright (c) 2006-202
2
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/efm32/graphics/tftspi.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/hdl_interrupt.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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"
...
...
bsp/efm32/hdl_interrupt.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/httpd.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/efm32/mma7455l.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/rtconfig.h
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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__
...
...
bsp/efm32/start_gcc.S
浏览文件 @
6bd22f3e
/***************************************************************************//**
*
@
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
...
...
bsp/efm32/startup.c
浏览文件 @
6bd22f3e
/***************************************************************************//**
* @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
...
...
bsp/n32g452xx/Libraries/rt_drivers/drv_usart.c
浏览文件 @
6bd22f3e
/*
* 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
...
...
bsp/stm32/stm32h750-artpi-h750/board/port/drv_wlan.c
浏览文件 @
6bd22f3e
/*
* 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
...
...
libcpu/avr32/uc3/context_gcc.S
浏览文件 @
6bd22f3e
/*
*
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
...
...
libcpu/avr32/uc3/cpu.c
浏览文件 @
6bd22f3e
/*
* 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
...
...
libcpu/avr32/uc3/interrupt.c
浏览文件 @
6bd22f3e
/*
* 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
...
...
libcpu/avr32/uc3/serial.c
浏览文件 @
6bd22f3e
/*
* 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
...
...
libcpu/avr32/uc3/serial.h
浏览文件 @
6bd22f3e
/*
* 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__
...
...
libcpu/avr32/uc3/stack.c
浏览文件 @
6bd22f3e
/*
* 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>
/**
...
...
libcpu/blackfin/bf53x/context_vdsp.S
浏览文件 @
6bd22f3e
/*
*
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
;
...
...
libcpu/blackfin/bf53x/cpuport.c
浏览文件 @
6bd22f3e
/*
* 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
...
...
libcpu/m16c/m16c62p/context_gcc.S
浏览文件 @
6bd22f3e
/*
*
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
...
...
libcpu/m16c/m16c62p/context_iar.S
浏览文件 @
6bd22f3e
/*
*
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
...
...
libcpu/m16c/m16c62p/context_iar.asm
浏览文件 @
6bd22f3e
/*
*
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
di
stribution
terms
for
this
file
may
be
*
found
in
the
file
LICENSE
in
this
di
stribution
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
CS
TACK
...
...
libcpu/m16c/m16c62p/cpuport.c
浏览文件 @
6bd22f3e
/*
* 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
...
...
libcpu/mips/common/mips.inc
浏览文件 @
6bd22f3e
/*
* 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__
...
...
libcpu/mips/pic32/cpuport.c
浏览文件 @
6bd22f3e
/*
* 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>
/**
...
...
libcpu/nios/nios_ii/context_gcc.S
浏览文件 @
6bd22f3e
/*
*
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
*/
/**
...
...
libcpu/nios/nios_ii/interrupt.c
浏览文件 @
6bd22f3e
/*
* 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
;
/*@}*/
libcpu/nios/nios_ii/stack.c
浏览文件 @
6bd22f3e
/*
* 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
...
...
libcpu/ppc/common/stack.c
浏览文件 @
6bd22f3e
/*
* 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>
...
...
libcpu/ppc/ppc405/interrupt.c
浏览文件 @
6bd22f3e
/*
* 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
...
...
libcpu/rx/cpuport.c
浏览文件 @
6bd22f3e
/*
* 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>
...
...
libcpu/v850/70f34/cpuport.c
浏览文件 @
6bd22f3e
/*
* 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
...
...
libcpu/xilinx/microblaze/context_gcc.S
浏览文件 @
6bd22f3e
/*
*
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"
...
...
libcpu/xilinx/microblaze/cpu.c
浏览文件 @
6bd22f3e
/*
* 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
...
...
libcpu/xilinx/microblaze/microblaze.inc
浏览文件 @
6bd22f3e
/*
* 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
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录