mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-12 20:24:15 +08:00
*** 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
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
/**************************************************************************//**
|
||||
* @file
|
||||
* @brief CMSIS Cortex-M3 Peripheral Access Layer for EFM32 Gxxx Device series
|
||||
* @brief CMSIS Cortex-M0/M3 Peripheral Access Layer for EFM32 device series
|
||||
*
|
||||
* This is a convenience header file for defining the EFM32 part number on the
|
||||
* build command line, instead of specifying the part specific header file.
|
||||
@@ -9,10 +9,10 @@
|
||||
* Add "#include "efm32.h" to your source files
|
||||
* @endverbatim
|
||||
* @author Energy Micro AS
|
||||
* @version 1.3.0
|
||||
* @version 2.0.0
|
||||
******************************************************************************
|
||||
* @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
|
||||
@@ -36,7 +36,6 @@
|
||||
#ifndef __EFM32_H
|
||||
#define __EFM32_H
|
||||
|
||||
/* Gecko Parts */
|
||||
|
||||
#if defined(EFM32G200F16)
|
||||
#include "efm32g200f16.h"
|
||||
@@ -50,6 +49,15 @@
|
||||
#elif defined(EFM32G210F128)
|
||||
#include "efm32g210f128.h"
|
||||
|
||||
#elif defined(EFM32G222F128)
|
||||
#include "efm32g222f128.h"
|
||||
|
||||
#elif defined(EFM32G222F32)
|
||||
#include "efm32g222f32.h"
|
||||
|
||||
#elif defined(EFM32G222F64)
|
||||
#include "efm32g222f64.h"
|
||||
|
||||
#elif defined(EFM32G230F128)
|
||||
#include "efm32g230f128.h"
|
||||
|
||||
@@ -59,6 +67,15 @@
|
||||
#elif defined(EFM32G230F64)
|
||||
#include "efm32g230f64.h"
|
||||
|
||||
#elif defined(EFM32G232F128)
|
||||
#include "efm32g232f128.h"
|
||||
|
||||
#elif defined(EFM32G232F32)
|
||||
#include "efm32g232f32.h"
|
||||
|
||||
#elif defined(EFM32G232F64)
|
||||
#include "efm32g232f64.h"
|
||||
|
||||
#elif defined(EFM32G280F128)
|
||||
#include "efm32g280f128.h"
|
||||
|
||||
@@ -86,6 +103,15 @@
|
||||
#elif defined(EFM32G840F64)
|
||||
#include "efm32g840f64.h"
|
||||
|
||||
#elif defined(EFM32G842F128)
|
||||
#include "efm32g842f128.h"
|
||||
|
||||
#elif defined(EFM32G842F32)
|
||||
#include "efm32g842f32.h"
|
||||
|
||||
#elif defined(EFM32G842F64)
|
||||
#include "efm32g842f64.h"
|
||||
|
||||
#elif defined(EFM32G880F128)
|
||||
#include "efm32g880f128.h"
|
||||
|
||||
@@ -104,6 +130,94 @@
|
||||
#elif defined(EFM32G890F64)
|
||||
#include "efm32g890f64.h"
|
||||
|
||||
#elif defined(EFM32TG108F16)
|
||||
#include "efm32tg108f16.h"
|
||||
|
||||
#elif defined(EFM32TG108F32)
|
||||
#include "efm32tg108f32.h"
|
||||
|
||||
#elif defined(EFM32TG108F4)
|
||||
#include "efm32tg108f4.h"
|
||||
|
||||
#elif defined(EFM32TG108F8)
|
||||
#include "efm32tg108f8.h"
|
||||
|
||||
#elif defined(EFM32TG110F16)
|
||||
#include "efm32tg110f16.h"
|
||||
|
||||
#elif defined(EFM32TG110F32)
|
||||
#include "efm32tg110f32.h"
|
||||
|
||||
#elif defined(EFM32TG110F4)
|
||||
#include "efm32tg110f4.h"
|
||||
|
||||
#elif defined(EFM32TG110F8)
|
||||
#include "efm32tg110f8.h"
|
||||
|
||||
#elif defined(EFM32TG210F16)
|
||||
#include "efm32tg210f16.h"
|
||||
|
||||
#elif defined(EFM32TG210F32)
|
||||
#include "efm32tg210f32.h"
|
||||
|
||||
#elif defined(EFM32TG210F8)
|
||||
#include "efm32tg210f8.h"
|
||||
|
||||
#elif defined(EFM32TG222F16)
|
||||
#include "efm32tg222f16.h"
|
||||
|
||||
#elif defined(EFM32TG222F32)
|
||||
#include "efm32tg222f32.h"
|
||||
|
||||
#elif defined(EFM32TG222F8)
|
||||
#include "efm32tg222f8.h"
|
||||
|
||||
#elif defined(EFM32TG230F16)
|
||||
#include "efm32tg230f16.h"
|
||||
|
||||
#elif defined(EFM32TG230F32)
|
||||
#include "efm32tg230f32.h"
|
||||
|
||||
#elif defined(EFM32TG230F8)
|
||||
#include "efm32tg230f8.h"
|
||||
|
||||
#elif defined(EFM32TG232F16)
|
||||
#include "efm32tg232f16.h"
|
||||
|
||||
#elif defined(EFM32TG232F32)
|
||||
#include "efm32tg232f32.h"
|
||||
|
||||
#elif defined(EFM32TG232F8)
|
||||
#include "efm32tg232f8.h"
|
||||
|
||||
#elif defined(EFM32TG822F16)
|
||||
#include "efm32tg822f16.h"
|
||||
|
||||
#elif defined(EFM32TG822F32)
|
||||
#include "efm32tg822f32.h"
|
||||
|
||||
#elif defined(EFM32TG822F8)
|
||||
#include "efm32tg822f8.h"
|
||||
|
||||
#elif defined(EFM32TG840F16)
|
||||
#include "efm32tg840f16.h"
|
||||
|
||||
#elif defined(EFM32TG840F32)
|
||||
#include "efm32tg840f32.h"
|
||||
|
||||
#elif defined(EFM32TG840F8)
|
||||
#include "efm32tg840f8.h"
|
||||
|
||||
#elif defined(EFM32TG842F16)
|
||||
#include "efm32tg842f16.h"
|
||||
|
||||
#elif defined(EFM32TG842F32)
|
||||
#include "efm32tg842f32.h"
|
||||
|
||||
#elif defined(EFM32TG842F8)
|
||||
#include "efm32tg842f8.h"
|
||||
|
||||
|
||||
#else
|
||||
#error "efm32.h: PART NUMBER undefined"
|
||||
#endif
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user