提交 69ad018b 编写于 作者: O onelife.real

*** EFM32 branch ***

1. Add SD card driver (SPI mode)
2. Add ELM ChaN FatFs support (Please read "Readme.txt")
   - Warning: FatFs is really FAT! (35KB)
3. Upgrade EFM32 libraries (CMSIS and efm32lib) to version 2.0.0
4. Merge all of the C source code in "libcpu\arm\cortex-m3\" into "cpuport.c"
5. Merge all of the assembly source code in "libcpu\arm\cortex-m3\" into "context_gcc.S" (except "start_gcc.S")

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1525 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 1eca19cb
此差异已折叠。
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
; * @file: startup_efm32.s ; * @file: startup_efm32.s
; * @purpose: CMSIS Cortex-M3 Core Device Startup File ; * @purpose: CMSIS Cortex-M3 Core Device Startup File
; * for the Energy Micro EFM32 device series ; * for the Energy Micro EFM32 device series
; * @version 1.3.0 ; * @version 2.0.0
; * @date: 7. September 2010 ; * @date: January 2011
; *------- <<< Use Configuration Wizard in Context Menu >>> ------------------ ; *------- <<< Use Configuration Wizard in Context Menu >>> ------------------
; * ; *
; * Copyright (C) 2008 ARM Limited. All rights reserved. ; * Copyright (C) 2008 ARM Limited. All rights reserved.
...@@ -49,6 +49,8 @@ __heap_limit ...@@ -49,6 +49,8 @@ __heap_limit
AREA RESET, DATA, READONLY AREA RESET, DATA, READONLY
EXPORT __Vectors EXPORT __Vectors
EXPORT __Vectors_End
EXPORT __Vectors_Size
__Vectors DCD __initial_sp ; Top of Stack __Vectors DCD __initial_sp ; Top of Stack
DCD Reset_Handler ; Reset Handler DCD Reset_Handler ; Reset Handler
...@@ -99,6 +101,10 @@ __Vectors DCD __initial_sp ; Top of Stack ...@@ -99,6 +101,10 @@ __Vectors DCD __initial_sp ; Top of Stack
DCD MSC_IRQHandler ; 28: MSC Interrupt DCD MSC_IRQHandler ; 28: MSC Interrupt
DCD AES_IRQHandler ; 29: AES Interrupt DCD AES_IRQHandler ; 29: AES Interrupt
__Vectors_End
__Vectors_Size EQU __Vectors_End - __Vectors
AREA |.text|, CODE, READONLY AREA |.text|, CODE, READONLY
; Reset Handler ; Reset Handler
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* they apply. * they apply.
* *
* Energy Micro release version * Energy Micro release version
* @version 1.3.0 * @version 2.0.0
*/ */
.section ".cs3.interrupt_vector", "ax" .section ".cs3.interrupt_vector", "ax"
.globl __cs3_interrupt_vector_efm32g .globl __cs3_interrupt_vector_efm32g
......
/**************************************************************************//** /**************************************************************************//**
* @file * @file
* @brief CMSIS Compatible EFM32 startup file in Cfor IAR EWARM * @brief CMSIS Compatible EFM32 startup file in C for IAR EWARM
* @author Energy Micro AS * @author Energy Micro AS
* @version 1.3.0 * @version 2.0.0
****************************************************************************** ******************************************************************************
* @section License * @section License
* <b>(C) Copyright 2010 Energy Micro AS, http://www.energymicro.com</b> * <b>(C) Copyright 2011 Energy Micro AS, http://www.energymicro.com</b>
****************************************************************************** ******************************************************************************
* *
* This source code is the property of Energy Micro AS. The source and compiled * This source code is the property of Energy Micro AS. The source and compiled
...@@ -238,7 +238,7 @@ __weak void AES_IRQHandler(void) ...@@ -238,7 +238,7 @@ __weak void AES_IRQHandler(void)
} }
/* With IAR, the CSTACK is defined via project options settings */ /* With IAR, the CSTACK size is defined via project options settings */
#pragma location = ".intvec" #pragma location = ".intvec"
const void * const __vector_table[]= { const void * const __vector_table[]= {
&CSTACK$$Limit, &CSTACK$$Limit,
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
; * @file: startup_efm32.s ; * @file: startup_efm32.s
; * @purpose: CMSIS Cortex-M3 Core Device Startup File ; * @purpose: CMSIS Cortex-M3 Core Device Startup File
; * for the Energy Micro 'EFM32G' Device Series ; * for the Energy Micro 'EFM32G' Device Series
; * @version 1.3.0 ; * @version 2.0.0
; * @date: 7. September 2010 ; * @date: January 2011
; *---------------------------------------------------------------------------- ; *----------------------------------------------------------------------------
; * ; *
; * Copyright (C) 2009 ARM Limited. All rights reserved. ; * Copyright (C) 2009 ARM Limited. All rights reserved.
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册