Files
rt-thread/bsp/efm32
onelife.real 30d072eee8 *** EFM32 branch ***
1. Solve the problem mentioned in revision 1623 (runtime error) 
   - Cause: In the EFM32 demo application, some TCP/IP functions are called in non-task context (e.g. "tcp_new()"). And after revision 1621, those functions will trigger the scheduler ("rt_schedule()") which seems to be triggered only in task context. 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1624 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-11 06:16:26 +00:00
..
2011-07-08 07:13:20 +00:00
2011-07-11 06:16:26 +00:00
2011-06-20 01:56:28 +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-07-08 07:13:20 +00:00
2011-07-08 07:13:20 +00:00
2011-07-08 07:13:20 +00:00
2011-06-20 01:56:28 +00:00
2011-06-20 01:56:28 +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-07-08 07:13:20 +00:00
2011-06-20 01:56:28 +00:00
…
2011-06-20 01:56:28 +00:00
…
2011-07-08 07:13:20 +00:00
2011-07-08 07:13:20 +00:00
2011-06-21 03:29:29 +00:00
2011-06-20 01:56:28 +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-07-08 07:13:20 +00:00
2011-06-20 01:56:28 +00:00
2011-07-08 07:13:20 +00:00
2011-07-08 07:13:20 +00:00
2011-07-11 06:16:26 +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

 - 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. and then compile