5e3b3b19a6
1. Change the type of cmd to 'int'; 2. Remove RT_LWIP_USING_RT_MEM macro; |
||
---|---|---|
.. | ||
EFM32GG_DK3750 | ||
EFM32_Gxxx_DK | ||
Libraries | ||
graphics | ||
Readme.txt | ||
SConscript | ||
SConstruct | ||
application.c | ||
board.c | ||
board.h | ||
copy_this_file_dfs_elm.c | ||
copy_this_file_shell.c | ||
dev_accel.c | ||
dev_accel.h | ||
dev_keys.c | ||
dev_keys.h | ||
dev_lcd.c | ||
dev_lcd.h | ||
dev_led.c | ||
dev_led.h | ||
dev_misc.c | ||
dev_misc.h | ||
dev_sflash.c | ||
dev_sflash.h | ||
drv_acmp.c | ||
drv_acmp.h | ||
drv_adc.c | ||
drv_adc.h | ||
drv_dma.c | ||
drv_dma.h | ||
drv_emu.c | ||
drv_emu.h | ||
drv_ethernet.c | ||
drv_ethernet.h | ||
drv_iic.c | ||
drv_iic.h | ||
drv_leuart.c | ||
drv_leuart.h | ||
drv_rtc.c | ||
drv_rtc.h | ||
drv_sdcard.c | ||
drv_sdcard.h | ||
drv_timer.c | ||
drv_timer.h | ||
drv_usart.c | ||
drv_usart.h | ||
efm32g_rom.ld | ||
efm32gg_rom.ld | ||
enc28j60.h | ||
hdl_interrupt.c | ||
hdl_interrupt.h | ||
httpd.c | ||
mma7455l.h | ||
rtconfig.h | ||
rtconfig.py | ||
start_gcc.S | ||
startup.c |
Readme.txt
- To test the low power mode: - To test the ELM FatFs: 1. copy "bsp/efm32/copy_this_file_shell.c" to "components/finsh/" 2. rename it to "shell.c" replacing the original file 3. 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