Readme.txt 1.1 KB

1234567891011121314151617181920212223
  1. - To test the ELM FatFs:
  2. 1. Please turn on the following defines in "rtconfig.h":
  3. #define EFM32_USING_SPISD
  4. #define RT_USING_DFS
  5. #define RT_USING_DFS_ELMFAT
  6. #define DFS_*
  7. 2. copy "bsp/efm32/copy_this_file_dfs_elm.c" to "components/dfs/filesystems/elmfat/"
  8. 3. rename it to "dfs_elm.c" replacing the original file
  9. 4. and then compile
  10. - To test the lwIP:
  11. 1. You should have a ENC28J60 Ethernet controller and connect it with your board properly
  12. 2. Please turn on the following defines in "rtconfig.h":
  13. #define EFM32_USING_ETHERNET
  14. #define RT_USING_LWIP
  15. #RT_LWIP_*
  16. 3. please also turn on the following define to use simple http server
  17. #define EFM32_USING_ETH_HTTPD
  18. or turn on the following defines to use EFM32 Ethernet utility functions (due to memory limitation, you may not turn on both)
  19. #define EFM32_USING_ETH_UTILS
  20. #define hostName "onelife.dyndns.org" /* Please change to your own host name */
  21. #define userPwdB64 "dXNlcjpwYXNzd2Q=" /* Please change to your own user name and password (base 64 encoding) */
  22. 4. and then compile