change play thread to static thread. use elm fatfs on radio project.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@329 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong 2010-01-21 14:12:40 +00:00
parent c28ecae7ed
commit cefc4f7aa5
10 changed files with 3834 additions and 3808 deletions

View File

@ -381,11 +381,11 @@ void mp3(char* filename)
current_offset = 0;
while (mp3_decoder_run(decoder) != -1);
close(fd);
/* delete decoder object */
mp3_decoder_delete(decoder);
}
close(fd);
}
is_playing = RT_FALSE;
}

View File

@ -3,8 +3,10 @@
#include <string.h>
static rt_mq_t player_thread_mq;
rt_bool_t is_playing = RT_FALSE;
static rt_mq_t player_thread_mq;
static struct rt_thread player_thread_tid;
static rt_uint8_t player_thread_stack[0x400];
rt_bool_t player_is_playing()
{
@ -20,6 +22,15 @@ void player_play_file(const char* fn)
/* send to message queue */
rt_mq_send(player_thread_mq, (void*)&request, sizeof(struct player_request));
}
#ifdef RT_USING_FINSH
#include <finsh.h>
static const char _fn[] = "/005.mp3";
void play()
{
player_play_file(_fn);
}
FINSH_FUNCTION_EXPORT(play, play mp3 file test);
#endif
void player_stop()
{
@ -68,16 +79,21 @@ void player_thread(void* parameter)
void player_init()
{
rt_thread_t tid;
rt_err_t result;
/* create player thread */
player_thread_mq = rt_mq_create("player", sizeof(struct player_request),
8, RT_IPC_FLAG_FIFO);
RT_ASSERT(player_thread_mq != RT_NULL);
tid = rt_thread_create("ply_bg", player_thread, RT_NULL,
2048, 20, 5);
if (tid != RT_NULL) rt_thread_startup(tid);
result = rt_thread_init(&player_thread_tid, "ply_bg", player_thread, RT_NULL,
player_thread_stack, sizeof(player_thread_stack),
20, 5);
if (result != RT_EOK) rt_kprintf("player thread init failed\n");
else
{
rt_thread_startup(&player_thread_tid);
player_ui_init();
}
}

View File

@ -11,14 +11,14 @@
DaveTm { 0,0,0,0,0,0,0,0 }
Target (RT-Thread STM32 Radio), 0x0004 // Tools: 'ARM-ADS'
GRPOPT 1,(Startup),1,0,0
GRPOPT 1,(Startup),0,0,0
GRPOPT 2,(Kernel),0,0,0
GRPOPT 3,(STM32),0,0,0
GRPOPT 4,(StdPeriph_Driver),0,0,0
GRPOPT 5,(USB-FS-Device_Driver),0,0,0
GRPOPT 6,(CMSIS),0,0,0
GRPOPT 7,(finsh),0,0,0
GRPOPT 8,(Filesystem),0,0,0
GRPOPT 8,(Filesystem),1,0,0
GRPOPT 9,(LwIP),0,0,0
GRPOPT 10,(mp3),0,0,0
GRPOPT 11,(RTGUI),0,0,0
@ -31,8 +31,8 @@ OPTFFF 1,4,1,0,0,0,0,0,<.\application.c><application.c>
OPTFFF 1,5,1,0,0,0,0,0,<.\board.c><board.c>
OPTFFF 1,6,1,352321536,0,0,0,0,<.\startup.c><startup.c>
OPTFFF 1,7,1,0,0,0,0,0,<.\stm32f10x_it.c><stm32f10x_it.c>
OPTFFF 1,8,1,0,0,0,0,0,<.\usart.c><usart.c>
OPTFFF 1,9,1,402653184,0,0,0,0,<.\sdcard.c><sdcard.c>
OPTFFF 1,8,1,436207616,0,0,0,0,<.\usart.c><usart.c>
OPTFFF 1,9,1,301989888,0,0,0,0,<.\sdcard.c><sdcard.c>
OPTFFF 1,10,1,0,0,0,0,0,<.\rtc.c><rtc.c>
OPTFFF 1,11,1,0,0,0,0,0,<.\dm9000.c><dm9000.c>
OPTFFF 1,12,1,889192448,0,0,0,0,<.\fsmc_nand.c><fsmc_nand.c>
@ -40,7 +40,7 @@ OPTFFF 1,13,1,0,0,0,0,0,<.\fsmc_sram.c><fsmc_sram.c>
OPTFFF 1,14,1,0,0,0,0,0,<.\fmt0371\fmt0371.c><fmt0371.c>
OPTFFF 1,15,1,0,0,0,0,0,<.\http.c><http.c>
OPTFFF 1,16,1,0,0,0,0,0,<.\lcd.c><lcd.c>
OPTFFF 1,17,1,16777216,0,0,0,0,<.\mp3.c><mp3.c>
OPTFFF 1,17,1,0,0,0,0,0,<.\mp3.c><mp3.c>
OPTFFF 1,18,1,369098752,0,0,0,0,<.\wav.c><wav.c>
OPTFFF 1,19,1,0,0,0,0,0,<.\netbuffer.c><netbuffer.c>
OPTFFF 1,20,1,0,0,0,0,0,<.\key.c><key.c>
@ -49,194 +49,185 @@ OPTFFF 1,22,1,0,0,0,0,0,<.\filelist.c><filelist.c>
OPTFFF 1,23,1,0,0,0,0,0,<.\device_info.c><device_info.c>
OPTFFF 1,24,1,0,0,0,0,0,<.\listview.c><listview.c>
OPTFFF 1,25,1,0,0,0,0,0,<.\player_ui.c><player_ui.c>
OPTFFF 1,26,1,0,0,0,0,0,<.\player_bg.c><player_bg.c>
OPTFFF 1,26,1,520093696,0,0,0,0,<.\player_bg.c><player_bg.c>
OPTFFF 1,27,1,469762048,0,0,0,0,<.\play_list.c><play_list.c>
OPTFFF 1,28,1,0,0,0,0,0,<.\ili9325\ili9320.c><ili9320.c>
OPTFFF 1,29,1,0,0,0,0,0,<.\codec.c><codec.c>
OPTFFF 2,30,1,0,0,0,0,0,<..\..\src\clock.c><clock.c>
OPTFFF 2,31,1,0,0,0,0,0,<..\..\src\idle.c><idle.c>
OPTFFF 2,32,1,0,0,0,0,0,<..\..\src\ipc.c><ipc.c>
OPTFFF 2,33,1,0,0,0,0,0,<..\..\src\mempool.c><mempool.c>
OPTFFF 2,34,1,0,0,0,0,0,<..\..\src\mem.c><mem.c>
OPTFFF 2,35,1,0,0,0,0,0,<..\..\src\object.c><object.c>
OPTFFF 2,36,1,0,0,0,0,0,<..\..\src\scheduler.c><scheduler.c>
OPTFFF 2,37,1,0,0,0,0,0,<..\..\src\thread.c><thread.c>
OPTFFF 2,38,1,0,0,0,0,0,<..\..\src\timer.c><timer.c>
OPTFFF 2,39,1,0,0,0,0,0,<..\..\src\irq.c><irq.c>
OPTFFF 2,40,1,0,0,0,0,0,<..\..\src\kservice.c><kservice.c>
OPTFFF 2,41,1,0,0,0,0,0,<..\..\src\device.c><device.c>
OPTFFF 2,42,1,0,0,0,0,0,<..\..\src\slab.c><slab.c>
OPTFFF 3,43,1,0,0,0,0,0,<..\..\libcpu\arm\stm32\stack.c><stack.c>
OPTFFF 3,44,1,0,0,0,0,0,<..\..\libcpu\arm\stm32\interrupt.c><interrupt.c>
OPTFFF 3,45,1,0,0,0,0,0,<..\..\libcpu\arm\stm32\cpu.c><cpu.c>
OPTFFF 3,46,1,0,0,0,0,0,<..\..\libcpu\arm\stm32\serial.c><serial.c>
OPTFFF 3,47,2,0,0,0,0,0,<..\..\libcpu\arm\stm32\context_rvds.S><context_rvds.S>
OPTFFF 3,48,2,0,0,0,0,0,<..\..\libcpu\arm\stm32\start_rvds.s><start_rvds.s>
OPTFFF 3,49,1,0,0,0,0,0,<..\..\libcpu\arm\stm32\fault.c><fault.c>
OPTFFF 3,50,2,0,0,0,0,0,<..\..\libcpu\arm\stm32\fault_rvds.S><fault_rvds.S>
OPTFFF 4,51,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\misc.c><misc.c>
OPTFFF 4,52,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.c><stm32f10x_adc.c>
OPTFFF 4,53,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_bkp.c><stm32f10x_bkp.c>
OPTFFF 4,54,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_can.c><stm32f10x_can.c>
OPTFFF 4,55,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_crc.c><stm32f10x_crc.c>
OPTFFF 4,56,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dac.c><stm32f10x_dac.c>
OPTFFF 4,57,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dbgmcu.c><stm32f10x_dbgmcu.c>
OPTFFF 4,58,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dma.c><stm32f10x_dma.c>
OPTFFF 4,59,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_exti.c><stm32f10x_exti.c>
OPTFFF 4,60,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_flash.c><stm32f10x_flash.c>
OPTFFF 4,61,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_fsmc.c><stm32f10x_fsmc.c>
OPTFFF 4,62,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_gpio.c><stm32f10x_gpio.c>
OPTFFF 4,63,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_i2c.c><stm32f10x_i2c.c>
OPTFFF 4,64,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_iwdg.c><stm32f10x_iwdg.c>
OPTFFF 4,65,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_pwr.c><stm32f10x_pwr.c>
OPTFFF 4,66,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rcc.c><stm32f10x_rcc.c>
OPTFFF 4,67,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rtc.c><stm32f10x_rtc.c>
OPTFFF 4,68,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_sdio.c><stm32f10x_sdio.c>
OPTFFF 4,69,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_spi.c><stm32f10x_spi.c>
OPTFFF 4,70,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_tim.c><stm32f10x_tim.c>
OPTFFF 4,71,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_usart.c><stm32f10x_usart.c>
OPTFFF 4,72,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_wwdg.c><stm32f10x_wwdg.c>
OPTFFF 5,73,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\otgd_fs_cal.c><otgd_fs_cal.c>
OPTFFF 5,74,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\otgd_fs_dev.c><otgd_fs_dev.c>
OPTFFF 5,75,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\otgd_fs_int.c><otgd_fs_int.c>
OPTFFF 5,76,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\otgd_fs_pcd.c><otgd_fs_pcd.c>
OPTFFF 5,77,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_core.c><usb_core.c>
OPTFFF 5,78,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_init.c><usb_init.c>
OPTFFF 5,79,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_int.c><usb_int.c>
OPTFFF 5,80,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_mem.c><usb_mem.c>
OPTFFF 5,81,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_regs.c><usb_regs.c>
OPTFFF 5,82,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_sil.c><usb_sil.c>
OPTFFF 6,83,1,0,0,0,0,0,<.\Libraries\CMSIS\Core\CM3\core_cm3.c><core_cm3.c>
OPTFFF 6,84,1,0,0,0,0,0,<.\Libraries\CMSIS\Core\CM3\system_stm32f10x.c><system_stm32f10x.c>
OPTFFF 7,85,1,0,0,0,0,0,<..\..\finsh\finsh_compiler.c><finsh_compiler.c>
OPTFFF 7,86,1,0,0,0,0,0,<..\..\finsh\finsh_error.c><finsh_error.c>
OPTFFF 7,87,1,0,0,0,0,0,<..\..\finsh\finsh_heap.c><finsh_heap.c>
OPTFFF 7,88,1,0,0,0,0,0,<..\..\finsh\finsh_init.c><finsh_init.c>
OPTFFF 7,89,1,0,0,0,0,0,<..\..\finsh\finsh_node.c><finsh_node.c>
OPTFFF 7,90,1,0,0,0,0,0,<..\..\finsh\finsh_ops.c><finsh_ops.c>
OPTFFF 7,91,1,0,0,0,0,0,<..\..\finsh\finsh_parser.c><finsh_parser.c>
OPTFFF 7,92,1,0,0,0,0,0,<..\..\finsh\finsh_token.c><finsh_token.c>
OPTFFF 7,93,1,0,0,0,0,0,<..\..\finsh\finsh_var.c><finsh_var.c>
OPTFFF 7,94,1,0,0,0,0,0,<..\..\finsh\finsh_vm.c><finsh_vm.c>
OPTFFF 7,95,1,0,0,0,0,0,<..\..\finsh\shell.c><shell.c>
OPTFFF 7,96,1,0,0,0,0,0,<..\..\finsh\symbol.c><symbol.c>
OPTFFF 7,97,1,0,0,0,0,0,<..\..\finsh\cmd.c><cmd.c>
OPTFFF 8,98,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_init.c><dfs_init.c>
OPTFFF 8,99,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_fs.c><dfs_fs.c>
OPTFFF 8,100,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_raw.c><dfs_raw.c>
OPTFFF 8,101,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_util.c><dfs_util.c>
OPTFFF 8,102,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_posix.c><dfs_posix.c>
OPTFFF 8,103,1,0,0,0,0,0,<..\..\filesystem\dfs\filesystems\efsl\src\fs\vfat\dir.c><dir.c>
OPTFFF 8,104,1,0,0,0,0,0,<..\..\filesystem\dfs\filesystems\efsl\src\fs\vfat\fat.c><fat.c>
OPTFFF 8,105,1,0,0,0,0,0,<..\..\filesystem\dfs\filesystems\efsl\src\fs\vfat\file.c><file.c>
OPTFFF 8,106,1,0,0,0,0,0,<..\..\filesystem\dfs\filesystems\efsl\src\fs\vfat\fs.c><fs.c>
OPTFFF 8,107,1,0,0,0,0,0,<..\..\filesystem\dfs\filesystems\efsl\src\fs\vfat\ls.c><ls.c>
OPTFFF 8,108,1,0,0,0,0,0,<..\..\filesystem\dfs\filesystems\efsl\src\fs\vfat\time.c><time.c>
OPTFFF 8,109,1,0,0,0,0,0,<..\..\filesystem\dfs\filesystems\efsl\src\fs\vfat\ui.c><ui.c>
OPTFFF 8,110,1,0,0,0,0,0,<..\..\filesystem\dfs\filesystems\efsl\src\base\plibc.c><plibc.c>
OPTFFF 8,111,1,0,0,0,0,0,<..\..\filesystem\dfs\filesystems\efsl\src\base\efs.c><efs.c>
OPTFFF 8,112,1,0,0,0,0,0,<..\..\filesystem\dfs\filesystems\efsl\src\base\extract.c><extract.c>
OPTFFF 8,113,1,0,0,0,0,0,<..\..\filesystem\dfs\filesystems\efsl\src\base\partition.c><partition.c>
OPTFFF 8,114,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_cache.c><dfs_cache.c>
OPTFFF 9,115,1,0,0,0,0,0,<..\..\net\lwip\src\core\dhcp.c><dhcp.c>
OPTFFF 9,116,1,0,0,0,0,0,<..\..\net\lwip\src\core\dns.c><dns.c>
OPTFFF 9,117,1,0,0,0,0,0,<..\..\net\lwip\src\core\init.c><init.c>
OPTFFF 9,118,1,0,0,0,0,0,<..\..\net\lwip\src\core\memp.c><memp.c>
OPTFFF 9,119,1,0,0,0,0,0,<..\..\net\lwip\src\core\netif.c><netif.c>
OPTFFF 9,120,1,0,0,0,0,0,<..\..\net\lwip\src\core\pbuf.c><pbuf.c>
OPTFFF 9,121,1,0,0,0,0,0,<..\..\net\lwip\src\core\raw.c><raw.c>
OPTFFF 9,122,1,0,0,0,0,0,<..\..\net\lwip\src\core\stats.c><stats.c>
OPTFFF 9,123,1,0,0,0,0,0,<..\..\net\lwip\src\core\sys.c><sys.c>
OPTFFF 9,124,1,0,0,0,0,0,<..\..\net\lwip\src\core\tcp.c><tcp.c>
OPTFFF 9,125,1,0,0,0,0,0,<..\..\net\lwip\src\core\tcp_in.c><tcp_in.c>
OPTFFF 9,126,1,0,0,0,0,0,<..\..\net\lwip\src\core\tcp_out.c><tcp_out.c>
OPTFFF 9,127,1,0,0,0,0,0,<..\..\net\lwip\src\core\udp.c><udp.c>
OPTFFF 9,128,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\autoip.c><autoip.c>
OPTFFF 9,129,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\icmp.c><icmp.c>
OPTFFF 9,130,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\igmp.c><igmp.c>
OPTFFF 9,131,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\inet.c><inet.c>
OPTFFF 9,132,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\inet_chksum.c><inet_chksum.c>
OPTFFF 9,133,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\ip.c><ip.c>
OPTFFF 9,134,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\ip_addr.c><ip_addr.c>
OPTFFF 9,135,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\ip_frag.c><ip_frag.c>
OPTFFF 9,136,1,0,0,0,0,0,<..\..\net\lwip\src\core\snmp\msg_in.c><msg_in.c>
OPTFFF 9,137,1,0,0,0,0,0,<..\..\net\lwip\src\core\snmp\msg_out.c><msg_out.c>
OPTFFF 9,138,1,0,0,0,0,0,<..\..\net\lwip\src\api\api_lib.c><api_lib.c>
OPTFFF 9,139,1,0,0,0,0,0,<..\..\net\lwip\src\api\api_msg.c><api_msg.c>
OPTFFF 9,140,1,0,0,0,0,0,<..\..\net\lwip\src\api\err.c><err.c>
OPTFFF 9,141,1,0,0,0,0,0,<..\..\net\lwip\src\api\netbuf.c><netbuf.c>
OPTFFF 9,142,1,0,0,0,0,0,<..\..\net\lwip\src\api\netdb.c><netdb.c>
OPTFFF 9,143,1,0,0,0,0,0,<..\..\net\lwip\src\api\netifapi.c><netifapi.c>
OPTFFF 9,144,1,0,0,0,0,0,<..\..\net\lwip\src\api\tcpip.c><tcpip.c>
OPTFFF 9,145,1,0,0,0,0,0,<..\..\net\lwip\src\netif\etharp.c><etharp.c>
OPTFFF 9,146,1,0,0,0,0,0,<..\..\net\lwip\src\netif\ethernetif.c><ethernetif.c>
OPTFFF 9,147,1,0,0,0,0,0,<..\..\net\lwip\src\netif\loopif.c><loopif.c>
OPTFFF 9,148,1,0,0,0,0,0,<..\..\net\lwip\src\arch\sys_arch_init.c><sys_arch_init.c>
OPTFFF 9,149,1,0,0,0,0,0,<..\..\net\lwip\src\arch\sys_arch.c><sys_arch.c>
OPTFFF 9,150,1,0,0,0,0,0,<..\..\net\lwip\src\api\sockets.c><sockets.c>
OPTFFF 10,151,1,0,0,0,0,0,<.\mp3\mp3dec.c><mp3dec.c>
OPTFFF 10,152,1,0,0,0,0,0,<.\mp3\mp3tabs.c><mp3tabs.c>
OPTFFF 10,153,1,0,0,0,0,0,<.\mp3\real\bitstream.c><bitstream.c>
OPTFFF 10,154,1,0,0,0,0,0,<.\mp3\real\buffers.c><buffers.c>
OPTFFF 10,155,1,0,0,0,0,0,<.\mp3\real\dct32.c><dct32.c>
OPTFFF 10,156,1,0,0,0,0,0,<.\mp3\real\dequant.c><dequant.c>
OPTFFF 10,157,1,0,0,0,0,0,<.\mp3\real\dqchan.c><dqchan.c>
OPTFFF 10,158,1,0,0,0,0,0,<.\mp3\real\huffman.c><huffman.c>
OPTFFF 10,159,1,0,0,0,0,0,<.\mp3\real\hufftabs.c><hufftabs.c>
OPTFFF 10,160,1,0,0,0,0,0,<.\mp3\real\imdct.c><imdct.c>
OPTFFF 10,161,1,0,0,0,0,0,<.\mp3\real\scalfact.c><scalfact.c>
OPTFFF 10,162,1,0,0,0,0,0,<.\mp3\real\stproc.c><stproc.c>
OPTFFF 10,163,1,0,0,0,0,0,<.\mp3\real\subband.c><subband.c>
OPTFFF 10,164,1,0,0,0,0,0,<.\mp3\real\trigtabs.c><trigtabs.c>
OPTFFF 10,165,2,0,0,0,0,0,<.\mp3\real\arm\asmpoly_thumb2.s><asmpoly_thumb2.s>
OPTFFF 10,166,2,0,0,0,0,0,<.\mp3\real\arm\asmmisc.s><asmmisc.s>
OPTFFF 11,167,1,0,0,0,0,0,<..\..\rtgui\common\rtgui_object.c><rtgui_object.c>
OPTFFF 11,168,1,0,0,0,0,0,<..\..\rtgui\common\rtgui_system.c><rtgui_system.c>
OPTFFF 11,169,1,0,0,0,0,0,<..\..\rtgui\common\rtgui_theme.c><rtgui_theme.c>
OPTFFF 11,170,1,0,0,0,0,0,<..\..\rtgui\common\asc12font.c><asc12font.c>
OPTFFF 11,171,1,0,0,0,0,0,<..\..\rtgui\common\asc16font.c><asc16font.c>
OPTFFF 11,172,1,0,0,0,0,0,<..\..\rtgui\common\color.c><color.c>
OPTFFF 11,173,1,0,0,0,0,0,<..\..\rtgui\common\dc.c><dc.c>
OPTFFF 11,174,1,0,0,0,0,0,<..\..\rtgui\common\dc_buffer.c><dc_buffer.c>
OPTFFF 11,175,1,0,0,0,0,0,<..\..\rtgui\common\dc_hw.c><dc_hw.c>
OPTFFF 11,176,1,0,0,0,0,0,<..\..\rtgui\common\filerw.c><filerw.c>
OPTFFF 11,177,1,402653184,0,0,0,0,<..\..\rtgui\common\font.c><font.c>
OPTFFF 11,178,1,0,0,0,0,0,<..\..\rtgui\common\image.c><image.c>
OPTFFF 11,179,1,0,0,0,0,0,<..\..\rtgui\common\image_xpm.c><image_xpm.c>
OPTFFF 11,180,1,0,0,0,0,0,<..\..\rtgui\common\image_hdc.c><image_hdc.c>
OPTFFF 11,181,1,0,0,0,0,0,<..\..\rtgui\common\region.c><region.c>
OPTFFF 11,182,1,0,0,0,0,0,<..\..\rtgui\server\server.c><server.c>
OPTFFF 11,183,1,0,0,0,0,0,<..\..\rtgui\server\driver.c><driver.c>
OPTFFF 11,184,1,0,0,0,0,0,<..\..\rtgui\server\panel.c><panel.c>
OPTFFF 11,185,1,0,0,0,0,0,<..\..\rtgui\widgets\widget.c><widget.c>
OPTFFF 11,186,1,0,0,0,0,0,<..\..\rtgui\widgets\window.c><window.c>
OPTFFF 11,187,1,0,0,0,0,0,<..\..\rtgui\widgets\workbench.c><workbench.c>
OPTFFF 11,188,1,0,0,0,0,0,<..\..\rtgui\widgets\view.c><view.c>
OPTFFF 11,189,1,0,0,0,0,0,<..\..\rtgui\widgets\box.c><box.c>
OPTFFF 11,190,1,0,0,0,0,0,<..\..\rtgui\widgets\button.c><button.c>
OPTFFF 11,191,1,0,0,0,0,0,<..\..\rtgui\widgets\container.c><container.c>
OPTFFF 11,192,1,0,0,0,0,0,<..\..\rtgui\widgets\iconbox.c><iconbox.c>
OPTFFF 11,193,1,0,0,0,0,0,<..\..\rtgui\widgets\label.c><label.c>
OPTFFF 11,194,1,0,0,0,0,0,<..\..\rtgui\widgets\textbox.c><textbox.c>
OPTFFF 11,195,1,0,0,0,0,0,<..\..\rtgui\widgets\title.c><title.c>
OPTFFF 11,196,1,0,0,0,0,0,<..\..\rtgui\widgets\toplevel.c><toplevel.c>
OPTFFF 11,197,1,0,0,0,0,0,<..\..\rtgui\server\mouse.c><mouse.c>
OPTFFF 11,198,1,0,0,0,0,0,<..\..\rtgui\server\topwin.c><topwin.c>
OPTFFF 11,199,1,0,0,0,0,0,<..\..\rtgui\common\font_hz_file.c><font_hz_file.c>
OPTFFF 11,200,1,0,0,0,0,0,<..\..\rtgui\common\hz16font.c><hz16font.c>
OPTFFF 11,201,1,0,0,0,0,0,<..\..\rtgui\common\hz12font.c><hz12font.c>
OPTFFF 12,202,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\hw_config.c><hw_config.c>
OPTFFF 12,203,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\mass_mal.c><mass_mal.c>
OPTFFF 12,204,1,419430400,0,0,0,0,<.\Libraries\Mass_Storage\src\memory.c><memory.c>
OPTFFF 12,205,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_bot.c><usb_bot.c>
OPTFFF 12,206,1,100663296,0,0,0,0,<.\Libraries\Mass_Storage\src\scsi_data.c><scsi_data.c>
OPTFFF 12,207,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_desc.c><usb_desc.c>
OPTFFF 12,208,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_endp.c><usb_endp.c>
OPTFFF 12,209,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_istr.c><usb_istr.c>
OPTFFF 12,210,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_prop.c><usb_prop.c>
OPTFFF 12,211,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_pwr.c><usb_pwr.c>
OPTFFF 12,212,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_scsi.c><usb_scsi.c>
OPTFFF 12,213,1,16777216,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_main.c><usb_main.c>
OPTFFF 1,30,1,0,0,0,0,0,<.\spi_flash.c><spi_flash.c>
OPTFFF 2,31,1,0,0,0,0,0,<..\..\src\clock.c><clock.c>
OPTFFF 2,32,1,0,0,0,0,0,<..\..\src\idle.c><idle.c>
OPTFFF 2,33,1,0,0,0,0,0,<..\..\src\ipc.c><ipc.c>
OPTFFF 2,34,1,0,0,0,0,0,<..\..\src\mempool.c><mempool.c>
OPTFFF 2,35,1,0,0,0,0,0,<..\..\src\mem.c><mem.c>
OPTFFF 2,36,1,0,0,0,0,0,<..\..\src\object.c><object.c>
OPTFFF 2,37,1,0,0,0,0,0,<..\..\src\scheduler.c><scheduler.c>
OPTFFF 2,38,1,0,0,0,0,0,<..\..\src\thread.c><thread.c>
OPTFFF 2,39,1,0,0,0,0,0,<..\..\src\timer.c><timer.c>
OPTFFF 2,40,1,0,0,0,0,0,<..\..\src\irq.c><irq.c>
OPTFFF 2,41,1,0,0,0,0,0,<..\..\src\kservice.c><kservice.c>
OPTFFF 2,42,1,0,0,0,0,0,<..\..\src\device.c><device.c>
OPTFFF 2,43,1,0,0,0,0,0,<..\..\src\slab.c><slab.c>
OPTFFF 3,44,1,0,0,0,0,0,<..\..\libcpu\arm\stm32\stack.c><stack.c>
OPTFFF 3,45,1,0,0,0,0,0,<..\..\libcpu\arm\stm32\interrupt.c><interrupt.c>
OPTFFF 3,46,1,0,0,0,0,0,<..\..\libcpu\arm\stm32\cpu.c><cpu.c>
OPTFFF 3,47,1,0,0,0,0,0,<..\..\libcpu\arm\stm32\serial.c><serial.c>
OPTFFF 3,48,2,0,0,0,0,0,<..\..\libcpu\arm\stm32\context_rvds.S><context_rvds.S>
OPTFFF 3,49,2,0,0,0,0,0,<..\..\libcpu\arm\stm32\start_rvds.s><start_rvds.s>
OPTFFF 3,50,1,0,0,0,0,0,<..\..\libcpu\arm\stm32\fault.c><fault.c>
OPTFFF 3,51,2,0,0,0,0,0,<..\..\libcpu\arm\stm32\fault_rvds.S><fault_rvds.S>
OPTFFF 4,52,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\misc.c><misc.c>
OPTFFF 4,53,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.c><stm32f10x_adc.c>
OPTFFF 4,54,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_bkp.c><stm32f10x_bkp.c>
OPTFFF 4,55,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_can.c><stm32f10x_can.c>
OPTFFF 4,56,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_crc.c><stm32f10x_crc.c>
OPTFFF 4,57,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dac.c><stm32f10x_dac.c>
OPTFFF 4,58,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dbgmcu.c><stm32f10x_dbgmcu.c>
OPTFFF 4,59,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dma.c><stm32f10x_dma.c>
OPTFFF 4,60,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_exti.c><stm32f10x_exti.c>
OPTFFF 4,61,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_flash.c><stm32f10x_flash.c>
OPTFFF 4,62,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_fsmc.c><stm32f10x_fsmc.c>
OPTFFF 4,63,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_gpio.c><stm32f10x_gpio.c>
OPTFFF 4,64,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_i2c.c><stm32f10x_i2c.c>
OPTFFF 4,65,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_iwdg.c><stm32f10x_iwdg.c>
OPTFFF 4,66,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_pwr.c><stm32f10x_pwr.c>
OPTFFF 4,67,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rcc.c><stm32f10x_rcc.c>
OPTFFF 4,68,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rtc.c><stm32f10x_rtc.c>
OPTFFF 4,69,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_sdio.c><stm32f10x_sdio.c>
OPTFFF 4,70,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_spi.c><stm32f10x_spi.c>
OPTFFF 4,71,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_tim.c><stm32f10x_tim.c>
OPTFFF 4,72,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_usart.c><stm32f10x_usart.c>
OPTFFF 4,73,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_wwdg.c><stm32f10x_wwdg.c>
OPTFFF 5,74,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\otgd_fs_cal.c><otgd_fs_cal.c>
OPTFFF 5,75,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\otgd_fs_dev.c><otgd_fs_dev.c>
OPTFFF 5,76,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\otgd_fs_int.c><otgd_fs_int.c>
OPTFFF 5,77,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\otgd_fs_pcd.c><otgd_fs_pcd.c>
OPTFFF 5,78,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_core.c><usb_core.c>
OPTFFF 5,79,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_init.c><usb_init.c>
OPTFFF 5,80,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_int.c><usb_int.c>
OPTFFF 5,81,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_mem.c><usb_mem.c>
OPTFFF 5,82,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_regs.c><usb_regs.c>
OPTFFF 5,83,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_sil.c><usb_sil.c>
OPTFFF 6,84,1,0,0,0,0,0,<.\Libraries\CMSIS\Core\CM3\core_cm3.c><core_cm3.c>
OPTFFF 6,85,1,0,0,0,0,0,<.\Libraries\CMSIS\Core\CM3\system_stm32f10x.c><system_stm32f10x.c>
OPTFFF 7,86,1,0,0,0,0,0,<..\..\finsh\finsh_compiler.c><finsh_compiler.c>
OPTFFF 7,87,1,0,0,0,0,0,<..\..\finsh\finsh_error.c><finsh_error.c>
OPTFFF 7,88,1,0,0,0,0,0,<..\..\finsh\finsh_heap.c><finsh_heap.c>
OPTFFF 7,89,1,0,0,0,0,0,<..\..\finsh\finsh_init.c><finsh_init.c>
OPTFFF 7,90,1,0,0,0,0,0,<..\..\finsh\finsh_node.c><finsh_node.c>
OPTFFF 7,91,1,0,0,0,0,0,<..\..\finsh\finsh_ops.c><finsh_ops.c>
OPTFFF 7,92,1,0,0,0,0,0,<..\..\finsh\finsh_parser.c><finsh_parser.c>
OPTFFF 7,93,1,0,0,0,0,0,<..\..\finsh\finsh_token.c><finsh_token.c>
OPTFFF 7,94,1,0,0,0,0,0,<..\..\finsh\finsh_var.c><finsh_var.c>
OPTFFF 7,95,1,0,0,0,0,0,<..\..\finsh\finsh_vm.c><finsh_vm.c>
OPTFFF 7,96,1,0,0,0,0,0,<..\..\finsh\shell.c><shell.c>
OPTFFF 7,97,1,0,0,0,0,0,<..\..\finsh\symbol.c><symbol.c>
OPTFFF 7,98,1,0,0,0,0,0,<..\..\finsh\cmd.c><cmd.c>
OPTFFF 8,99,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_init.c><dfs_init.c>
OPTFFF 8,100,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_fs.c><dfs_fs.c>
OPTFFF 8,101,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_raw.c><dfs_raw.c>
OPTFFF 8,102,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_util.c><dfs_util.c>
OPTFFF 8,103,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_posix.c><dfs_posix.c>
OPTFFF 8,104,1,0,0,0,0,0,<..\..\filesystem\dfs\filesystems\elmfat\dfs_elm.c><dfs_elm.c>
OPTFFF 8,105,1,0,0,0,0,0,<..\..\filesystem\dfs\filesystems\elmfat\ff.c><ff.c>
OPTFFF 9,106,1,0,0,0,0,0,<..\..\net\lwip\src\core\dhcp.c><dhcp.c>
OPTFFF 9,107,1,0,0,0,0,0,<..\..\net\lwip\src\core\dns.c><dns.c>
OPTFFF 9,108,1,0,0,0,0,0,<..\..\net\lwip\src\core\init.c><init.c>
OPTFFF 9,109,1,0,0,0,0,0,<..\..\net\lwip\src\core\memp.c><memp.c>
OPTFFF 9,110,1,0,0,0,0,0,<..\..\net\lwip\src\core\netif.c><netif.c>
OPTFFF 9,111,1,0,0,0,0,0,<..\..\net\lwip\src\core\pbuf.c><pbuf.c>
OPTFFF 9,112,1,0,0,0,0,0,<..\..\net\lwip\src\core\raw.c><raw.c>
OPTFFF 9,113,1,0,0,0,0,0,<..\..\net\lwip\src\core\stats.c><stats.c>
OPTFFF 9,114,1,0,0,0,0,0,<..\..\net\lwip\src\core\sys.c><sys.c>
OPTFFF 9,115,1,0,0,0,0,0,<..\..\net\lwip\src\core\tcp.c><tcp.c>
OPTFFF 9,116,1,0,0,0,0,0,<..\..\net\lwip\src\core\tcp_in.c><tcp_in.c>
OPTFFF 9,117,1,0,0,0,0,0,<..\..\net\lwip\src\core\tcp_out.c><tcp_out.c>
OPTFFF 9,118,1,0,0,0,0,0,<..\..\net\lwip\src\core\udp.c><udp.c>
OPTFFF 9,119,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\autoip.c><autoip.c>
OPTFFF 9,120,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\icmp.c><icmp.c>
OPTFFF 9,121,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\igmp.c><igmp.c>
OPTFFF 9,122,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\inet.c><inet.c>
OPTFFF 9,123,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\inet_chksum.c><inet_chksum.c>
OPTFFF 9,124,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\ip.c><ip.c>
OPTFFF 9,125,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\ip_addr.c><ip_addr.c>
OPTFFF 9,126,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\ip_frag.c><ip_frag.c>
OPTFFF 9,127,1,0,0,0,0,0,<..\..\net\lwip\src\core\snmp\msg_in.c><msg_in.c>
OPTFFF 9,128,1,0,0,0,0,0,<..\..\net\lwip\src\core\snmp\msg_out.c><msg_out.c>
OPTFFF 9,129,1,0,0,0,0,0,<..\..\net\lwip\src\api\api_lib.c><api_lib.c>
OPTFFF 9,130,1,0,0,0,0,0,<..\..\net\lwip\src\api\api_msg.c><api_msg.c>
OPTFFF 9,131,1,0,0,0,0,0,<..\..\net\lwip\src\api\err.c><err.c>
OPTFFF 9,132,1,0,0,0,0,0,<..\..\net\lwip\src\api\netbuf.c><netbuf.c>
OPTFFF 9,133,1,0,0,0,0,0,<..\..\net\lwip\src\api\netdb.c><netdb.c>
OPTFFF 9,134,1,0,0,0,0,0,<..\..\net\lwip\src\api\netifapi.c><netifapi.c>
OPTFFF 9,135,1,0,0,0,0,0,<..\..\net\lwip\src\api\tcpip.c><tcpip.c>
OPTFFF 9,136,1,0,0,0,0,0,<..\..\net\lwip\src\netif\etharp.c><etharp.c>
OPTFFF 9,137,1,0,0,0,0,0,<..\..\net\lwip\src\netif\ethernetif.c><ethernetif.c>
OPTFFF 9,138,1,0,0,0,0,0,<..\..\net\lwip\src\netif\loopif.c><loopif.c>
OPTFFF 9,139,1,0,0,0,0,0,<..\..\net\lwip\src\arch\sys_arch_init.c><sys_arch_init.c>
OPTFFF 9,140,1,0,0,0,0,0,<..\..\net\lwip\src\arch\sys_arch.c><sys_arch.c>
OPTFFF 9,141,1,0,0,0,0,0,<..\..\net\lwip\src\api\sockets.c><sockets.c>
OPTFFF 10,142,1,0,0,0,0,0,<.\mp3\mp3dec.c><mp3dec.c>
OPTFFF 10,143,1,0,0,0,0,0,<.\mp3\mp3tabs.c><mp3tabs.c>
OPTFFF 10,144,1,0,0,0,0,0,<.\mp3\real\bitstream.c><bitstream.c>
OPTFFF 10,145,1,0,0,0,0,0,<.\mp3\real\buffers.c><buffers.c>
OPTFFF 10,146,1,0,0,0,0,0,<.\mp3\real\dct32.c><dct32.c>
OPTFFF 10,147,1,0,0,0,0,0,<.\mp3\real\dequant.c><dequant.c>
OPTFFF 10,148,1,0,0,0,0,0,<.\mp3\real\dqchan.c><dqchan.c>
OPTFFF 10,149,1,0,0,0,0,0,<.\mp3\real\huffman.c><huffman.c>
OPTFFF 10,150,1,0,0,0,0,0,<.\mp3\real\hufftabs.c><hufftabs.c>
OPTFFF 10,151,1,0,0,0,0,0,<.\mp3\real\imdct.c><imdct.c>
OPTFFF 10,152,1,0,0,0,0,0,<.\mp3\real\scalfact.c><scalfact.c>
OPTFFF 10,153,1,0,0,0,0,0,<.\mp3\real\stproc.c><stproc.c>
OPTFFF 10,154,1,0,0,0,0,0,<.\mp3\real\subband.c><subband.c>
OPTFFF 10,155,1,0,0,0,0,0,<.\mp3\real\trigtabs.c><trigtabs.c>
OPTFFF 10,156,2,0,0,0,0,0,<.\mp3\real\arm\asmpoly_thumb2.s><asmpoly_thumb2.s>
OPTFFF 10,157,2,0,0,0,0,0,<.\mp3\real\arm\asmmisc.s><asmmisc.s>
OPTFFF 11,158,1,0,0,0,0,0,<..\..\rtgui\common\rtgui_object.c><rtgui_object.c>
OPTFFF 11,159,1,0,0,0,0,0,<..\..\rtgui\common\rtgui_system.c><rtgui_system.c>
OPTFFF 11,160,1,0,0,0,0,0,<..\..\rtgui\common\rtgui_theme.c><rtgui_theme.c>
OPTFFF 11,161,1,0,0,0,0,0,<..\..\rtgui\common\asc12font.c><asc12font.c>
OPTFFF 11,162,1,0,0,0,0,0,<..\..\rtgui\common\asc16font.c><asc16font.c>
OPTFFF 11,163,1,0,0,0,0,0,<..\..\rtgui\common\color.c><color.c>
OPTFFF 11,164,1,0,0,0,0,0,<..\..\rtgui\common\dc.c><dc.c>
OPTFFF 11,165,1,0,0,0,0,0,<..\..\rtgui\common\dc_buffer.c><dc_buffer.c>
OPTFFF 11,166,1,0,0,0,0,0,<..\..\rtgui\common\dc_hw.c><dc_hw.c>
OPTFFF 11,167,1,0,0,0,0,0,<..\..\rtgui\common\filerw.c><filerw.c>
OPTFFF 11,168,1,0,0,0,0,0,<..\..\rtgui\common\font.c><font.c>
OPTFFF 11,169,1,0,0,0,0,0,<..\..\rtgui\common\image.c><image.c>
OPTFFF 11,170,1,0,0,0,0,0,<..\..\rtgui\common\image_xpm.c><image_xpm.c>
OPTFFF 11,171,1,0,0,0,0,0,<..\..\rtgui\common\image_hdc.c><image_hdc.c>
OPTFFF 11,172,1,0,0,0,0,0,<..\..\rtgui\common\region.c><region.c>
OPTFFF 11,173,1,0,0,0,0,0,<..\..\rtgui\server\server.c><server.c>
OPTFFF 11,174,1,0,0,0,0,0,<..\..\rtgui\server\driver.c><driver.c>
OPTFFF 11,175,1,0,0,0,0,0,<..\..\rtgui\server\panel.c><panel.c>
OPTFFF 11,176,1,0,0,0,0,0,<..\..\rtgui\widgets\widget.c><widget.c>
OPTFFF 11,177,1,0,0,0,0,0,<..\..\rtgui\widgets\window.c><window.c>
OPTFFF 11,178,1,0,0,0,0,0,<..\..\rtgui\widgets\workbench.c><workbench.c>
OPTFFF 11,179,1,0,0,0,0,0,<..\..\rtgui\widgets\view.c><view.c>
OPTFFF 11,180,1,0,0,0,0,0,<..\..\rtgui\widgets\box.c><box.c>
OPTFFF 11,181,1,0,0,0,0,0,<..\..\rtgui\widgets\button.c><button.c>
OPTFFF 11,182,1,0,0,0,0,0,<..\..\rtgui\widgets\container.c><container.c>
OPTFFF 11,183,1,0,0,0,0,0,<..\..\rtgui\widgets\iconbox.c><iconbox.c>
OPTFFF 11,184,1,0,0,0,0,0,<..\..\rtgui\widgets\label.c><label.c>
OPTFFF 11,185,1,0,0,0,0,0,<..\..\rtgui\widgets\textbox.c><textbox.c>
OPTFFF 11,186,1,0,0,0,0,0,<..\..\rtgui\widgets\title.c><title.c>
OPTFFF 11,187,1,0,0,0,0,0,<..\..\rtgui\widgets\toplevel.c><toplevel.c>
OPTFFF 11,188,1,0,0,0,0,0,<..\..\rtgui\server\mouse.c><mouse.c>
OPTFFF 11,189,1,0,0,0,0,0,<..\..\rtgui\server\topwin.c><topwin.c>
OPTFFF 11,190,1,0,0,0,0,0,<..\..\rtgui\common\font_hz_file.c><font_hz_file.c>
OPTFFF 11,191,1,0,0,0,0,0,<..\..\rtgui\common\hz16font.c><hz16font.c>
OPTFFF 11,192,1,0,0,0,0,0,<..\..\rtgui\common\hz12font.c><hz12font.c>
OPTFFF 12,193,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\hw_config.c><hw_config.c>
OPTFFF 12,194,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\mass_mal.c><mass_mal.c>
OPTFFF 12,195,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\memory.c><memory.c>
OPTFFF 12,196,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_bot.c><usb_bot.c>
OPTFFF 12,197,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\scsi_data.c><scsi_data.c>
OPTFFF 12,198,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_desc.c><usb_desc.c>
OPTFFF 12,199,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_endp.c><usb_endp.c>
OPTFFF 12,200,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_istr.c><usb_istr.c>
OPTFFF 12,201,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_prop.c><usb_prop.c>
OPTFFF 12,202,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_pwr.c><usb_pwr.c>
OPTFFF 12,203,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_scsi.c><usb_scsi.c>
OPTFFF 12,204,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_main.c><usb_main.c>
TARGOPT 1, (RT-Thread STM32 Radio)
@ -256,13 +247,11 @@ TARGOPT 1, (RT-Thread STM32 Radio)
OPTKEY 0,(ARMDBGFLAGS)(-T0)
OPTKEY 0,(DLGUARM)((105=150,189,819,540,0)(106=-1,-1,-1,-1,0)(107=-1,-1,-1,-1,0))
OPTKEY 0,(JL2CM3)(-U20090110 -O718 -S10 -C0 -JU1 -JI127.0.0.1 -JP0 -N00("ARM CoreSight SW-DP") -D00(1BA01477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8004 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO27 -FD20000000 -FC800 -FN1 -FF0STM32F10x_512 -FS08000000 -FL080000)
OPTBB 0,0,41,1,134368182,0,0,0,0,1,<rtgui_system.c>()()
OPTBB 1,0,44,1,134356542,0,0,0,0,1,<font.c>()()
OPTWA 0,1,(_mp)
OPTWA 1,1,(tinfo,0x0A)
OPTMM 1,8,(text)
OPTMM 2,8,(mimeBuffer)
OPTDF 0x86
OPTDF 0x82
OPTLE <>
OPTLC <>
EndOpt

View File

@ -119,18 +119,8 @@ File 8,1,<..\..\filesystem\dfs\src\dfs_fs.c><dfs_fs.c>
File 8,1,<..\..\filesystem\dfs\src\dfs_raw.c><dfs_raw.c>
File 8,1,<..\..\filesystem\dfs\src\dfs_util.c><dfs_util.c>
File 8,1,<..\..\filesystem\dfs\src\dfs_posix.c><dfs_posix.c>
File 8,1,<..\..\filesystem\dfs\filesystems\efsl\src\fs\vfat\dir.c><dir.c>
File 8,1,<..\..\filesystem\dfs\filesystems\efsl\src\fs\vfat\fat.c><fat.c>
File 8,1,<..\..\filesystem\dfs\filesystems\efsl\src\fs\vfat\file.c><file.c>
File 8,1,<..\..\filesystem\dfs\filesystems\efsl\src\fs\vfat\fs.c><fs.c>
File 8,1,<..\..\filesystem\dfs\filesystems\efsl\src\fs\vfat\ls.c><ls.c>
File 8,1,<..\..\filesystem\dfs\filesystems\efsl\src\fs\vfat\time.c><time.c>
File 8,1,<..\..\filesystem\dfs\filesystems\efsl\src\fs\vfat\ui.c><ui.c>
File 8,1,<..\..\filesystem\dfs\filesystems\efsl\src\base\plibc.c><plibc.c>
File 8,1,<..\..\filesystem\dfs\filesystems\efsl\src\base\efs.c><efs.c>
File 8,1,<..\..\filesystem\dfs\filesystems\efsl\src\base\extract.c><extract.c>
File 8,1,<..\..\filesystem\dfs\filesystems\efsl\src\base\partition.c><partition.c>
File 8,1,<..\..\filesystem\dfs\src\dfs_cache.c><dfs_cache.c>
File 8,1,<..\..\filesystem\dfs\filesystems\elmfat\dfs_elm.c><dfs_elm.c>
File 8,1,<..\..\filesystem\dfs\filesystems\elmfat\ff.c><ff.c>
File 9,1,<..\..\net\lwip\src\core\dhcp.c><dhcp.c>
File 9,1,<..\..\net\lwip\src\core\dns.c><dns.c>
File 9,1,<..\..\net\lwip\src\core\init.c><init.c>

View File

@ -77,14 +77,16 @@
/* #define RT_USING_CPLUSPLUS */
#define RT_USING_DFS
#define RT_USING_DFS_EFSL
/* #define RT_USING_DFS_EFSL */
/* byte alignment for EFSL */
#define BYTE_ALIGNMENT
// #define RT_USING_DFS_ELMFAT
#define DFS_EFLS_USING_STATIC_CACHE
#define RT_USING_DFS_ELMFAT
#define RT_DFS_ELM_WORD_ACCESS
/* SECTION: DFS options */
/* the max number of mounted filesystem */
#define DFS_FILESYSTEMS_MAX 1
#define DFS_FILESYSTEMS_MAX 2
/* the max number of opened files */
#define DFS_FD_MAX 8
/* the max number of cached sector */

View File

@ -2,8 +2,8 @@
******************************************************************************
* @file SDIO/sdcard.c
* @author MCD Application Team
* @version V3.1.0
* @date 06/19/2009
* @version V3.1.2
* @date 09/28/2009
* @brief This file provides all the SD Card driver firmware functions.
******************************************************************************
* @copy
@ -20,9 +20,6 @@
/* Includes ------------------------------------------------------------------*/
#include "sdcard.h"
#include <stm32f10x_dma.h>
#include <stm32f10x_sdio.h>
#include <rtthread.h>
/** @addtogroup STM32F10x_StdPeriph_Examples
@ -321,7 +318,6 @@ SD_Error SD_PowerON(void)
{
CardType = SDIO_HIGH_CAPACITY_SD_CARD;
}
}/* else MMC Card */
else
{
@ -330,7 +326,6 @@ SD_Error SD_PowerON(void)
/* Send CMD1 SEND_OP_COND with Argument 0x80FF8000 */
while ((!validvoltage) && (count < SD_MAX_VOLT_TRIAL))
{
/* SEND CMD55 APP_CMD with RCA as 0 */
SDIO_CmdInitStructure.SDIO_Argument = SD_VOLTAGE_WINDOW_MMC;
SDIO_CmdInitStructure.SDIO_CmdIndex = SDIO_SEND_OP_COND;
@ -958,29 +953,11 @@ SD_Error SD_ReadBlock(uint32_t addr, uint32_t *readbuff, uint16_t BlockSize)
}
else if (DeviceMode == SD_DMA_MODE)
{
int cnt = 0;
SDIO_ITConfig(SDIO_IT_DCRCFAIL | SDIO_IT_DTIMEOUT | SDIO_IT_DATAEND | SDIO_IT_RXOVERR | SDIO_IT_STBITERR, ENABLE);
SDIO_DMACmd(ENABLE);
DMA_RxConfiguration(readbuff, BlockSize);
while (DMA_GetFlagStatus(DMA2_FLAG_TC4) == RESET)
{
cnt ++;
if (cnt > 10 * 50000)
{
rt_kprintf("DMA flag 0x%08x\n", DMA_GetFlagStatus(DMA2_FLAG_TC4));
/* Clear all DPSM configuration */
SDIO_DataInitStructure.SDIO_DataTimeOut = SD_DATATIMEOUT;
SDIO_DataInitStructure.SDIO_DataLength = 0;
SDIO_DataInitStructure.SDIO_DataBlockSize = SDIO_DataBlockSize_1b;
SDIO_DataInitStructure.SDIO_TransferDir = SDIO_TransferDir_ToCard;
SDIO_DataInitStructure.SDIO_TransferMode = SDIO_TransferMode_Block;
SDIO_DataInitStructure.SDIO_DPSM = SDIO_DPSM_Disable;
SDIO_DataConfig(&SDIO_DataInitStructure);
SDIO_DMACmd(DISABLE);
errorstatus = SD_ERROR;
break;
}
}
{}
}
return(errorstatus);
}
@ -2958,7 +2935,7 @@ static void DMA_RxConfiguration(uint32_t *BufferDST, uint32_t BufferSize)
DMA_InitStructure.DMA_PeripheralDataSize = DMA_PeripheralDataSize_Word;
DMA_InitStructure.DMA_MemoryDataSize = DMA_MemoryDataSize_Word;
DMA_InitStructure.DMA_Mode = DMA_Mode_Normal;
DMA_InitStructure.DMA_Priority = DMA_Priority_VeryHigh;
DMA_InitStructure.DMA_Priority = DMA_Priority_High;
DMA_InitStructure.DMA_M2M = DMA_M2M_Disable;
DMA_Init(DMA2_Channel4, &DMA_InitStructure);
@ -2983,10 +2960,14 @@ static void DMA_RxConfiguration(uint32_t *BufferDST, uint32_t BufferSize)
#include <rtthread.h>
#include <dfs_fs.h>
/* set sector size to 512 */
#define SECTOR_SIZE 512
static struct rt_device sdcard_device;
static SD_CardInfo SDCardInfo;
static struct dfs_partition part;
static struct rt_semaphore sd_lock;
static rt_uint8_t _sdcard_buffer[SECTOR_SIZE];
/* RT-Thread Device Driver Interface */
static rt_err_t rt_sdcard_init(rt_device_t dev)
@ -3009,7 +2990,6 @@ static rt_err_t rt_sdcard_init(rt_device_t dev)
static rt_err_t rt_sdcard_open(rt_device_t dev, rt_uint16_t oflag)
{
return RT_EOK;
}
@ -3018,29 +2998,42 @@ static rt_err_t rt_sdcard_close(rt_device_t dev)
return RT_EOK;
}
/* set sector size to 512 */
#define SECTOR_SIZE 512
static rt_size_t rt_sdcard_read(rt_device_t dev, rt_off_t pos, void* buffer, rt_size_t size)
{
SD_Error status;
rt_uint32_t i, retry;
// rt_kprintf("read: 0x%x, size %d\n", pos, size);
rt_uint32_t nr = size / SECTOR_SIZE;
rt_sem_take(&sd_lock, RT_WAITING_FOREVER);
retry = 3;
/* read all sectors */
for (i = 0; i < size / SECTOR_SIZE; i ++)
if (((rt_uint32_t)buffer % 4 != 0) ||
((rt_uint32_t)buffer > 0x20080000))
{
__retry:
status = SD_ReadBlock((part.offset + i)* SECTOR_SIZE + pos,
(uint32_t*)((rt_uint8_t*)buffer + i * SECTOR_SIZE),
SECTOR_SIZE);
if (status != SD_OK)
rt_uint32_t index;
/* which is not alignment with 4 or chip SRAM */
for (index = 0; index < nr; index ++)
{
-- retry;
if (retry != 0) goto __retry;
else break;
status = SD_ReadBlock((part.offset + index) * SECTOR_SIZE + pos,
(uint32_t*)_sdcard_buffer, SECTOR_SIZE);
if (status != SD_OK) break;
/* copy to the buffer */
rt_memcpy(((rt_uint8_t*)buffer + index * SECTOR_SIZE), _sdcard_buffer, SECTOR_SIZE);
}
}
else
{
if (nr == 1)
{
status = SD_ReadBlock(part.offset * SECTOR_SIZE + pos,
(uint32_t*)buffer, SECTOR_SIZE);
}
else
{
status = SD_ReadMultiBlocks(part.offset * SECTOR_SIZE + pos,
(uint32_t*)buffer, SECTOR_SIZE, nr);
}
}
@ -3055,26 +3048,44 @@ __retry:
static rt_size_t rt_sdcard_write (rt_device_t dev, rt_off_t pos, const void* buffer, rt_size_t size)
{
SD_Error status;
rt_uint32_t i;
// rt_kprintf("write: 0x%x, size %d\n", pos, size);
rt_uint32_t nr = size / SECTOR_SIZE;
rt_sem_take(&sd_lock, RT_WAITING_FOREVER);
/* write all sectors */
for (i = 0; i < size / SECTOR_SIZE; i ++)
/* read all sectors */
if (((rt_uint32_t)buffer % 4 != 0) ||
((rt_uint32_t)buffer > 0x20080000))
{
status = SD_WriteBlock((part.offset + i)* SECTOR_SIZE + pos,
(uint32_t*)((rt_uint8_t*)buffer + i * SECTOR_SIZE),
SECTOR_SIZE);
if (status != SD_OK)
rt_uint32_t index;
/* which is not alignment with 4 or chip SRAM */
for (index = 0; index < nr; index ++)
{
rt_kprintf("sd card write failed\n");
break;
/* copy to the buffer */
rt_memcpy(_sdcard_buffer, ((rt_uint8_t*)buffer + index * SECTOR_SIZE), SECTOR_SIZE);
status = SD_WriteBlock((part.offset + index) * SECTOR_SIZE + pos,
(uint32_t*)_sdcard_buffer, SECTOR_SIZE);
if (status != SD_OK) break;
}
}
else
{
if (nr == 1)
{
status = SD_WriteBlock(part.offset * SECTOR_SIZE + pos,
(uint32_t*)buffer, SECTOR_SIZE);
}
else
{
status = SD_WriteMultiBlocks(part.offset * SECTOR_SIZE + pos,
(uint32_t*)buffer, SECTOR_SIZE, nr);
}
}
rt_sem_release(&sd_lock);
if (status == SD_OK) return size;
rt_kprintf("write failed: %d, buffer 0x%08x\n", status, buffer);
@ -3088,19 +3099,18 @@ static rt_err_t rt_sdcard_control(rt_device_t dev, rt_uint8_t cmd, void *args)
void rt_hw_sdcard_init()
{
if ( SD_Init() == SD_OK )
if (SD_Init() == SD_OK)
{
SD_Error status;
rt_uint8_t *sector;
SD_EnableWideBusOperation(SDIO_BusWide_1b);
status = SD_GetCardInfo(&SDCardInfo);
if (status != SD_OK) goto __return;
status = SD_SelectDeselect((u32) (SDCardInfo.RCA << 16));
if (status != SD_OK) goto __return;
SD_EnableWideBusOperation(SDIO_BusWide_4b);
SD_SetDeviceMode(SD_DMA_MODE);
/* get the first sector to read partition table */

View File

@ -2,8 +2,8 @@
******************************************************************************
* @file SDIO/sdcard.h
* @author MCD Application Team
* @version V3.1.0
* @date 06/19/2009
* @version V3.1.2
* @date 09/28/2009
* @brief This file contains all the functions prototypes for the SD Card
* driver firmware library.
******************************************************************************

View File

@ -1,3 +1,17 @@
/*
* File : usart.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2009, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
*
* Change Logs:
* Date Author Notes
* 2009-01-05 Bernard the first version
*/
#ifndef __USART_H__
#define __USART_H__

View File

@ -95,7 +95,7 @@ int dfs_elm_unmount(struct dfs_filesystem* fs)
RT_ASSERT(fat != RT_NULL);
/* elm not support unmount */
RT_ASSERT(0);
rt_kprintf("elm fatfs not support unmount\n");
return 0;
}

View File

@ -25,7 +25,12 @@
#ifndef _FATFS
#define _FATFS 0x007C
#ifdef RT_DFS_ELM_WORD_ACCESS
#define _WORD_ACCESS 1
#else
#define _WORD_ACCESS 0
#endif
/* The _WORD_ACCESS option defines which access method is used to the word
/ data in the FAT structure.
/
@ -104,7 +109,7 @@
*/
#define _USE_LFN 1
#define _USE_LFN 0
#define _MAX_LFN 255 /* Maximum LFN length to handle (max:255) */
/* The _USE_LFN option switches the LFN support.
/