Files
rt-thread/bsp/efm32
onelife.real ed9828226a *** EFM32 branch ***
1. Move file, "start_gcc.S", from "libcpu/arm/cortex-m3/" to "bsp/efm32/" 
2. Upgrade EFM32 driver libraries (CMSIS and efm32lib) to version 2.2.2 
3. Upgrade EFM32 G2xx development kit drivers (EFM32_Gxxx_DK) to version 1.7.2 (from version 1.6.0) 
4. Modify the files ("drv_usart.c" and "drv_iic.c") according to the driver libraries upgrading 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1818 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-29 09:15:10 +00:00
..
2011-11-29 09:15:10 +00:00
2011-11-29 09:15:10 +00:00
2011-08-23 04:36:33 +00:00
2011-07-29 02:47:37 +00:00
2011-07-29 07:24:09 +00:00
2011-11-29 09:15:10 +00:00
2011-08-23 00:59:24 +00:00
2011-08-23 00:59:24 +00:00
2011-11-29 09:15:10 +00:00
2011-07-08 07:13:20 +00:00
2011-07-08 07:13:20 +00:00
2011-07-08 07:13:20 +00:00
2011-11-29 09:15:10 +00:00
2011-07-29 02:47:37 +00:00
2011-07-29 02:47:37 +00:00
2011-07-29 07:24:09 +00:00
2011-07-29 02:47:37 +00:00
2011-11-29 09:15:10 +00:00
2011-08-23 00:59:24 +00:00
2011-07-29 07:24:09 +00:00
2011-07-08 07:13:20 +00:00
2011-11-29 09:15:10 +00:00
2011-07-29 02:47:37 +00:00
2011-07-08 07:13:20 +00:00
2011-07-08 07:13:20 +00:00
2011-07-29 02:47:37 +00:00
2011-07-29 02:47:37 +00:00
2011-08-23 04:36:33 +00:00
2011-07-29 02:47:37 +00:00
2011-08-23 04:36:33 +00:00
2011-07-08 07:13:20 +00:00
2011-11-29 09:15:10 +00:00
2011-11-29 09:15:10 +00:00
2011-11-29 09:15:10 +00:00
2011-07-08 07:13:20 +00:00

 - To test the ELM FatFs:

1. Please turn on the following defines in "rtconfig.h":

      #define EFM32_USING_SPISD

      #define RT_USING_DFS

      #define RT_USING_DFS_ELMFAT

      #define DFS_*

2. copy "bsp/efm32/copy_this_file_dfs_elm.c" to "components/dfs/filesystems/elmfat/"

3. rename it to "dfs_elm.c" replacing the original file

4. and then compile



 - To test the lwIP:

1. You should have a ENC28J60 Ethernet controller and connect it with your board properly

2. Please turn on the following defines in "rtconfig.h":

      #define EFM32_USING_ETHERNET

      #define RT_USING_LWIP

      #RT_LWIP_*

3. please also turn on the following define to use simple http server

      #define EFM32_USING_ETH_HTTPD

   or turn on the following defines to use EFM32 Ethernet utility functions (due to memory limitation, you may not turn on both)

      #define EFM32_USING_ETH_UTILS

      #define hostName 		"onelife.dyndns.org"	/* Please change to your own host name */

      #define userPwdB64 	"dXNlcjpwYXNzd2Q="	/* Please change to your own user name and password (base 64 encoding) */

4. and then compile