update serial driver of MB9BF506R

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2116 bbd45198-f89e-11dd-88c7-29a3b14d5316
update CMSIS RTOS API in MB9BF506R

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2117 bbd45198-f89e-11dd-88c7-29a3b14d5316
fixed the return value in rt_spi_bus_attach_device() 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2118 bbd45198-f89e-11dd-88c7-29a3b14d5316
fixed module unload issue; code cleanup for timer.c 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2119 bbd45198-f89e-11dd-88c7-29a3b14d5316


git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2120 bbd45198-f89e-11dd-88c7-29a3b14d5316
update link script

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2121 bbd45198-f89e-11dd-88c7-29a3b14d5316
*** EFM32 branch ***
1. Upgrade Cortex driver library (CMSIS -> CMSIS & Device): version 2.3.2 -> 3.0.1 & 3.0.0
 - Remove "bsp/efm32/Libraries/CMSIS/Lib/ARM", "bsp/efm32/Libraries/CMSIS/Lib/G++" and "bsp/efm32/Libraries/CMSIS/SVD" to save space
2. Upgrade EFM32 driver libraries (efm32lib -> emlib): version 2.3.2 -> 3.0.0
 - Remove "bsp/efm32/Libraries/Device/EnergyMicro/EFM32LG" and "bsp/efm32/Libraries/Device/EnergyMicro/EFM32TG" to save space
3. Upgrade EFM32GG_DK3750 development kit driver library: version 1.2.2 -> 2.0.1
4. Upgrade EFM32_Gxxx_DK development kit driver library: version 1.7.3 -> 2.0.1
5. Add energy management unit driver and test code
6. Modify linker script and related code to compatible with new version of libraries
7. Change EFM32 branch version number to 1.0
8. Add photo frame demo application

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2122 bbd45198-f89e-11dd-88c7-29a3b14d5316
Changed SPI message to message list. Added take/release SPI device/bus interface.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2123 bbd45198-f89e-11dd-88c7-29a3b14d5316
*** EFM32 branch ***
Add the missing file, "*.a"

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2124 bbd45198-f89e-11dd-88c7-29a3b14d5316
fixed recv issue in tcp server example.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2125 bbd45198-f89e-11dd-88c7-29a3b14d5316
fixed recv issue in tcp client example.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2126 bbd45198-f89e-11dd-88c7-29a3b14d5316
ADD I2C driver framework and I2C gpio driver

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2128 bbd45198-f89e-11dd-88c7-29a3b14d5316
ADD AT91SAM9260 I2C driver
According to the Atmel official recommended, use GPIO instead of TWI for I2C communication

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2129 bbd45198-f89e-11dd-88c7-29a3b14d5316
ADD I2C BUS device type

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2130 bbd45198-f89e-11dd-88c7-29a3b14d5316
fix various bugs found by amsl

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2131 bbd45198-f89e-11dd-88c7-29a3b14d5316
unified naming rules,_rtgui_type => _rtgui_object

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2132 bbd45198-f89e-11dd-88c7-29a3b14d5316
fix compile error,restore old name,conflicting.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2133 bbd45198-f89e-11dd-88c7-29a3b14d5316
uniform resource name, _rtgui_type => _rtgui_object

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2134 bbd45198-f89e-11dd-88c7-29a3b14d5316
use rt_deice API.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2135 bbd45198-f89e-11dd-88c7-29a3b14d5316
fixed the mismatch of device definitions in rtdef.h and finsh shell; add line comment in finsh shell. 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2136 bbd45198-f89e-11dd-88c7-29a3b14d5316