19e3ce5ee3
1. Add interrupt context check function (context_gcc.S) 2. Add lock (semaphore) for IIC, USART and Ethernet drivers to prevent simultaneously access 3. Add multiple channels support for scan mode of ADC driver 4. Modify miscellaneous drivers according to ADC driver changes 5. Add SWO output enable function (board.c) 6. Disable all interrupts in GPIO interrupt handler (hdl_interrupt.c) 7. Add two Ethernet utility functions (drv_ethernet.c) 8. Add accelerometer driver (analog output) 9. Add accelerometer demo (draft, application.c) git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1654 bbd45198-f89e-11dd-88c7-29a3b14d5316 |
||
---|---|---|
.. | ||
EFM32_Gxxx_DK | ||
Libraries | ||
Readme.txt | ||
SConscript | ||
SConstruct | ||
application.c | ||
board.c | ||
board.h | ||
copy_this_file_dfs_elm.c | ||
dev_accel.c | ||
dev_accel.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_ethernet.c | ||
drv_ethernet.h | ||
drv_iic.c | ||
drv_iic.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 | ||
efm32_rom.ld | ||
enc28j60.h | ||
hdl_interrupt.c | ||
hdl_interrupt.h | ||
httpd.c | ||
rtconfig.h | ||
rtconfig.py | ||
startup.c |
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