rt-thread-official/bsp/efm32
onelife.real aa24c176e7 *** EFM32 branch ***
Modify IIC and USART drivers to avoid compiling error.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1655 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-29 07:24:09 +00:00
..
EFM32_Gxxx_DK *** EFM32 branch *** 2011-05-12 07:19:37 +00:00
Libraries *** EFM32 branch *** 2011-07-08 07:13:20 +00:00
Readme.txt *** EFM32 branch *** 2011-07-29 02:47:37 +00:00
SConscript *** EFM32 branch *** 2011-07-29 02:47:37 +00:00
SConstruct *** EFM32 branch *** 2011-02-17 03:33:15 +00:00
application.c *** EFM32 branch *** 2011-07-29 02:47:37 +00:00
board.c *** EFM32 branch *** 2011-07-29 02:47:37 +00:00
board.h *** EFM32 branch *** 2011-07-29 07:24:09 +00:00
copy_this_file_dfs_elm.c *** EFM32 branch *** 2011-07-08 07:13:20 +00:00
dev_accel.c *** EFM32 branch *** 2011-07-29 02:47:37 +00:00
dev_accel.h *** EFM32 branch *** 2011-07-29 02:47:37 +00:00
dev_led.c *** EFM32 branch *** 2011-05-12 07:19:37 +00:00
dev_led.h *** EFM32 branch *** 2011-05-12 07:19:37 +00:00
dev_misc.c *** EFM32 branch *** 2011-07-29 02:47:37 +00:00
dev_misc.h *** EFM32 branch *** 2011-07-08 07:13:20 +00:00
dev_sflash.c *** EFM32 branch *** 2011-07-08 07:13:20 +00:00
dev_sflash.h *** EFM32 branch *** 2011-07-08 07:13:20 +00:00
drv_acmp.c *** EFM32 branch *** 2011-06-20 01:56:28 +00:00
drv_acmp.h *** EFM32 branch *** 2011-06-20 01:56:28 +00:00
drv_adc.c *** EFM32 branch *** 2011-07-29 02:47:37 +00:00
drv_adc.h *** EFM32 branch *** 2011-07-29 02:47:37 +00:00
drv_dma.c *** EFM32 branch *** 2011-02-28 04:47:50 +00:00
drv_dma.h *** EFM32 branch *** 2011-02-28 04:47:50 +00:00
drv_ethernet.c *** EFM32 branch *** 2011-07-29 07:24:09 +00:00
drv_ethernet.h *** EFM32 branch *** 2011-07-29 02:47:37 +00:00
drv_iic.c *** EFM32 branch *** 2011-07-29 07:24:09 +00:00
drv_iic.h *** EFM32 branch *** 2011-07-29 02:47:37 +00:00
drv_rtc.c *** EFM32 branch *** 2011-06-20 01:56:28 +00:00
drv_rtc.h *** EFM32 branch *** 2011-02-28 04:47:50 +00:00
drv_sdcard.c *** EFM32 branch *** 2011-07-29 07:24:09 +00:00
drv_sdcard.h *** EFM32 branch *** 2011-07-08 07:13:20 +00:00
drv_timer.c *** EFM32 branch *** 2011-06-21 03:29:29 +00:00
drv_timer.h *** EFM32 branch *** 2011-06-20 01:56:28 +00:00
drv_usart.c *** EFM32 branch *** 2011-07-29 07:24:09 +00:00
drv_usart.h *** EFM32 branch *** 2011-07-29 02:47:37 +00:00
efm32_rom.ld *** EFM32 branch *** 2011-07-08 07:13:20 +00:00
enc28j60.h *** EFM32 branch *** 2011-07-08 07:13:20 +00:00
hdl_interrupt.c *** EFM32 branch *** 2011-07-29 02:47:37 +00:00
hdl_interrupt.h *** EFM32 branch *** 2011-05-12 07:19:37 +00:00
httpd.c *** EFM32 branch *** 2011-07-29 02:47:37 +00:00
rtconfig.h *** EFM32 branch *** 2011-07-29 02:47:37 +00:00
rtconfig.py *** EFM32 branch *** 2011-07-08 07:13:20 +00:00
startup.c *** EFM32 branch *** 2011-07-08 07:13:20 +00:00

Readme.txt

 - 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