From ef88a2f5c95a8ee0c1e28b65866cd6923693b3bf Mon Sep 17 00:00:00 2001 From: wuyangyong Date: Mon, 1 Feb 2010 19:47:12 +0000 Subject: [PATCH] add remote for stm32_netradio git-svn-id: https://rt-thread.googlecode.com/svn/trunk@362 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- bsp/stm32_radio/key.c | 17 +- bsp/stm32_radio/project.Opt | 363 ++++++++++++++++--------------- bsp/stm32_radio/project.Uv2 | 5 +- bsp/stm32_radio/stm32f10x_conf.h | 8 +- bsp/stm32_radio/stm32f10x_it.c | 9 +- 5 files changed, 212 insertions(+), 190 deletions(-) diff --git a/bsp/stm32_radio/key.c b/bsp/stm32_radio/key.c index 1b4b49dff..2200bc945 100644 --- a/bsp/stm32_radio/key.c +++ b/bsp/stm32_radio/key.c @@ -17,6 +17,12 @@ key_left PC3 #define key_right_GETVALUE() GPIO_ReadInputDataBit(GPIOG,GPIO_Pin_14) #define key_left_GETVALUE() GPIO_ReadInputDataBit(GPIOG,GPIO_Pin_13) +/* from remote.c */ +extern void rem_start(void); +extern void rem_encoder(struct rtgui_event_kbd * p); +extern unsigned int rem_mode; +/* from remote.c */ + static void key_thread_entry(void *parameter) { rt_time_t next_delay; @@ -40,6 +46,8 @@ static void key_thread_entry(void *parameter) GPIO_Init(GPIOE,&GPIO_InitStructure); GPIO_SetBits(GPIOE,GPIO_Pin_2); + rem_start(); + /* init keyboard event */ RTGUI_EVENT_KBD_INIT(&kbd_event); kbd_event.mod = RTGUI_KMOD_NONE; @@ -49,8 +57,13 @@ static void key_thread_entry(void *parameter) { next_delay = 10; kbd_event.key = RTGUIK_UNKNOWN; - kbd_event.type = RTGUI_KEYDOWN; + + if( rem_mode== 2 ) + { + rem_encoder(&kbd_event); + } + if ( key_enter_GETVALUE() == 0 ) { rt_thread_delay( next_delay*4 ); @@ -110,7 +123,7 @@ static void key_thread_entry(void *parameter) } } -void rt_hw_key_init() +void rt_hw_key_init(void) { rt_thread_t key_tid; key_tid = rt_thread_create("key", diff --git a/bsp/stm32_radio/project.Opt b/bsp/stm32_radio/project.Opt index fe7282a15..2660d3a43 100644 --- a/bsp/stm32_radio/project.Opt +++ b/bsp/stm32_radio/project.Opt @@ -11,9 +11,9 @@ DaveTm { 0,0,0,0,0,0,0,0 } Target (RT-Thread STM32 Radio), 0x0004 // Tools: 'ARM-ADS' -GRPOPT 1,(Startup),0,0,0 +GRPOPT 1,(Startup),1,0,0 GRPOPT 2,(Kernel),0,0,0 -GRPOPT 3,(STM32),0,0,0 +GRPOPT 3,(STM32),1,0,0 GRPOPT 4,(StdPeriph_Driver),0,0,0 GRPOPT 5,(USB-FS-Device_Driver),0,0,0 GRPOPT 6,(CMSIS),0,0,0 @@ -43,7 +43,7 @@ OPTFFF 1,16,1,0,0,0,0,0,<.\lcd.c> OPTFFF 1,17,1,0,0,0,0,0,<.\mp3.c> OPTFFF 1,18,1,369098752,0,0,0,0,<.\wav.c> OPTFFF 1,19,1,0,0,0,0,0,<.\netbuffer.c> -OPTFFF 1,20,1,0,0,0,0,0,<.\key.c> +OPTFFF 1,20,1,2,0,1,1,0,<.\key.c> { 44,0,0,0,2,0,0,0,3,0,0,0,255,255,255,255,255,255,255,255,252,255,255,255,226,255,255,255,0,0,0,0,0,0,0,0,242,3,0,0,94,1,0,0 } OPTFFF 1,21,1,0,0,0,0,0,<.\info.c> OPTFFF 1,22,1,0,0,0,0,0,<.\filelist.c> OPTFFF 1,23,1,0,0,0,0,0,<.\device_info.c> @@ -54,182 +54,183 @@ OPTFFF 1,27,1,469762048,0,0,0,0,<.\play_list.c> OPTFFF 1,28,1,0,0,0,0,0,<.\ili9325\ili9320.c> OPTFFF 1,29,1,0,0,0,0,0,<.\codec.c> OPTFFF 1,30,1,0,0,0,0,0,<.\spi_flash.c> -OPTFFF 2,31,1,0,0,0,0,0,<..\..\src\clock.c> -OPTFFF 2,32,1,0,0,0,0,0,<..\..\src\idle.c> -OPTFFF 2,33,1,0,0,0,0,0,<..\..\src\ipc.c> -OPTFFF 2,34,1,0,0,0,0,0,<..\..\src\mempool.c> -OPTFFF 2,35,1,0,0,0,0,0,<..\..\src\mem.c> -OPTFFF 2,36,1,0,0,0,0,0,<..\..\src\object.c> -OPTFFF 2,37,1,0,0,0,0,0,<..\..\src\scheduler.c> -OPTFFF 2,38,1,0,0,0,0,0,<..\..\src\thread.c> -OPTFFF 2,39,1,0,0,0,0,0,<..\..\src\timer.c> -OPTFFF 2,40,1,0,0,0,0,0,<..\..\src\irq.c> -OPTFFF 2,41,1,0,0,0,0,0,<..\..\src\kservice.c> -OPTFFF 2,42,1,0,0,0,0,0,<..\..\src\device.c> -OPTFFF 2,43,1,0,0,0,0,0,<..\..\src\slab.c> -OPTFFF 3,44,1,0,0,0,0,0,<..\..\libcpu\arm\stm32\stack.c> -OPTFFF 3,45,1,0,0,0,0,0,<..\..\libcpu\arm\stm32\interrupt.c> -OPTFFF 3,46,1,0,0,0,0,0,<..\..\libcpu\arm\stm32\cpu.c> -OPTFFF 3,47,1,0,0,0,0,0,<..\..\libcpu\arm\stm32\serial.c> -OPTFFF 3,48,2,0,0,0,0,0,<..\..\libcpu\arm\stm32\context_rvds.S> -OPTFFF 3,49,2,0,0,0,0,0,<..\..\libcpu\arm\stm32\start_rvds.s> -OPTFFF 3,50,1,0,0,0,0,0,<..\..\libcpu\arm\stm32\fault.c> -OPTFFF 3,51,2,0,0,0,0,0,<..\..\libcpu\arm\stm32\fault_rvds.S> -OPTFFF 4,52,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\misc.c> -OPTFFF 4,53,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.c> -OPTFFF 4,54,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_bkp.c> -OPTFFF 4,55,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_can.c> -OPTFFF 4,56,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_crc.c> -OPTFFF 4,57,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dac.c> -OPTFFF 4,58,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dbgmcu.c> -OPTFFF 4,59,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dma.c> -OPTFFF 4,60,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_exti.c> -OPTFFF 4,61,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_flash.c> -OPTFFF 4,62,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_fsmc.c> -OPTFFF 4,63,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_gpio.c> -OPTFFF 4,64,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_i2c.c> -OPTFFF 4,65,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_iwdg.c> -OPTFFF 4,66,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_pwr.c> -OPTFFF 4,67,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rcc.c> -OPTFFF 4,68,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rtc.c> -OPTFFF 4,69,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_sdio.c> -OPTFFF 4,70,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_spi.c> -OPTFFF 4,71,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_tim.c> -OPTFFF 4,72,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_usart.c> -OPTFFF 4,73,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_wwdg.c> -OPTFFF 5,74,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\otgd_fs_cal.c> -OPTFFF 5,75,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\otgd_fs_dev.c> -OPTFFF 5,76,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\otgd_fs_int.c> -OPTFFF 5,77,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\otgd_fs_pcd.c> -OPTFFF 5,78,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_core.c> -OPTFFF 5,79,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_init.c> -OPTFFF 5,80,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_int.c> -OPTFFF 5,81,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_mem.c> -OPTFFF 5,82,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_regs.c> -OPTFFF 5,83,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_sil.c> -OPTFFF 6,84,1,0,0,0,0,0,<.\Libraries\CMSIS\Core\CM3\core_cm3.c> -OPTFFF 6,85,1,0,0,0,0,0,<.\Libraries\CMSIS\Core\CM3\system_stm32f10x.c> -OPTFFF 7,86,1,0,0,0,0,0,<..\..\finsh\finsh_compiler.c> -OPTFFF 7,87,1,0,0,0,0,0,<..\..\finsh\finsh_error.c> -OPTFFF 7,88,1,0,0,0,0,0,<..\..\finsh\finsh_heap.c> -OPTFFF 7,89,1,0,0,0,0,0,<..\..\finsh\finsh_init.c> -OPTFFF 7,90,1,0,0,0,0,0,<..\..\finsh\finsh_node.c> -OPTFFF 7,91,1,0,0,0,0,0,<..\..\finsh\finsh_ops.c> -OPTFFF 7,92,1,0,0,0,0,0,<..\..\finsh\finsh_parser.c> -OPTFFF 7,93,1,0,0,0,0,0,<..\..\finsh\finsh_token.c> -OPTFFF 7,94,1,0,0,0,0,0,<..\..\finsh\finsh_var.c> -OPTFFF 7,95,1,0,0,0,0,0,<..\..\finsh\finsh_vm.c> -OPTFFF 7,96,1,0,0,0,0,0,<..\..\finsh\shell.c> -OPTFFF 7,97,1,0,0,0,0,0,<..\..\finsh\symbol.c> -OPTFFF 7,98,1,0,0,0,0,0,<..\..\finsh\cmd.c> -OPTFFF 8,99,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_init.c> -OPTFFF 8,100,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_fs.c> -OPTFFF 8,101,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_raw.c> -OPTFFF 8,102,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_util.c> -OPTFFF 8,103,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_posix.c> -OPTFFF 8,104,1,0,0,0,0,0,<..\..\filesystem\dfs\filesystems\elmfat\dfs_elm.c> -OPTFFF 8,105,1,0,0,0,0,0,<..\..\filesystem\dfs\filesystems\elmfat\ff.c> -OPTFFF 9,106,1,0,0,0,0,0,<..\..\net\lwip\src\core\dhcp.c> -OPTFFF 9,107,1,0,0,0,0,0,<..\..\net\lwip\src\core\dns.c> -OPTFFF 9,108,1,0,0,0,0,0,<..\..\net\lwip\src\core\init.c> -OPTFFF 9,109,1,0,0,0,0,0,<..\..\net\lwip\src\core\memp.c> -OPTFFF 9,110,1,0,0,0,0,0,<..\..\net\lwip\src\core\netif.c> -OPTFFF 9,111,1,0,0,0,0,0,<..\..\net\lwip\src\core\pbuf.c> -OPTFFF 9,112,1,0,0,0,0,0,<..\..\net\lwip\src\core\raw.c> -OPTFFF 9,113,1,0,0,0,0,0,<..\..\net\lwip\src\core\stats.c> -OPTFFF 9,114,1,0,0,0,0,0,<..\..\net\lwip\src\core\sys.c> -OPTFFF 9,115,1,0,0,0,0,0,<..\..\net\lwip\src\core\tcp.c> -OPTFFF 9,116,1,0,0,0,0,0,<..\..\net\lwip\src\core\tcp_in.c> -OPTFFF 9,117,1,0,0,0,0,0,<..\..\net\lwip\src\core\tcp_out.c> -OPTFFF 9,118,1,0,0,0,0,0,<..\..\net\lwip\src\core\udp.c> -OPTFFF 9,119,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\autoip.c> -OPTFFF 9,120,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\icmp.c> -OPTFFF 9,121,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\igmp.c> -OPTFFF 9,122,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\inet.c> -OPTFFF 9,123,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\inet_chksum.c> -OPTFFF 9,124,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\ip.c> -OPTFFF 9,125,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\ip_addr.c> -OPTFFF 9,126,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\ip_frag.c> -OPTFFF 9,127,1,0,0,0,0,0,<..\..\net\lwip\src\core\snmp\msg_in.c> -OPTFFF 9,128,1,0,0,0,0,0,<..\..\net\lwip\src\core\snmp\msg_out.c> -OPTFFF 9,129,1,0,0,0,0,0,<..\..\net\lwip\src\api\api_lib.c> -OPTFFF 9,130,1,0,0,0,0,0,<..\..\net\lwip\src\api\api_msg.c> -OPTFFF 9,131,1,0,0,0,0,0,<..\..\net\lwip\src\api\err.c> -OPTFFF 9,132,1,0,0,0,0,0,<..\..\net\lwip\src\api\netbuf.c> -OPTFFF 9,133,1,0,0,0,0,0,<..\..\net\lwip\src\api\netdb.c> -OPTFFF 9,134,1,0,0,0,0,0,<..\..\net\lwip\src\api\netifapi.c> -OPTFFF 9,135,1,0,0,0,0,0,<..\..\net\lwip\src\api\tcpip.c> -OPTFFF 9,136,1,0,0,0,0,0,<..\..\net\lwip\src\netif\etharp.c> -OPTFFF 9,137,1,0,0,0,0,0,<..\..\net\lwip\src\netif\ethernetif.c> -OPTFFF 9,138,1,0,0,0,0,0,<..\..\net\lwip\src\netif\loopif.c> -OPTFFF 9,139,1,0,0,0,0,0,<..\..\net\lwip\src\arch\sys_arch_init.c> -OPTFFF 9,140,1,0,0,0,0,0,<..\..\net\lwip\src\arch\sys_arch.c> -OPTFFF 9,141,1,0,0,0,0,0,<..\..\net\lwip\src\api\sockets.c> -OPTFFF 10,142,1,0,0,0,0,0,<.\mp3\mp3dec.c> -OPTFFF 10,143,1,0,0,0,0,0,<.\mp3\mp3tabs.c> -OPTFFF 10,144,1,0,0,0,0,0,<.\mp3\real\bitstream.c> -OPTFFF 10,145,1,0,0,0,0,0,<.\mp3\real\buffers.c> -OPTFFF 10,146,1,0,0,0,0,0,<.\mp3\real\dct32.c> -OPTFFF 10,147,1,0,0,0,0,0,<.\mp3\real\dequant.c> -OPTFFF 10,148,1,0,0,0,0,0,<.\mp3\real\dqchan.c> -OPTFFF 10,149,1,0,0,0,0,0,<.\mp3\real\huffman.c> -OPTFFF 10,150,1,0,0,0,0,0,<.\mp3\real\hufftabs.c> -OPTFFF 10,151,1,0,0,0,0,0,<.\mp3\real\imdct.c> -OPTFFF 10,152,1,0,0,0,0,0,<.\mp3\real\scalfact.c> -OPTFFF 10,153,1,0,0,0,0,0,<.\mp3\real\stproc.c> -OPTFFF 10,154,1,0,0,0,0,0,<.\mp3\real\subband.c> -OPTFFF 10,155,1,0,0,0,0,0,<.\mp3\real\trigtabs.c> -OPTFFF 10,156,2,0,0,0,0,0,<.\mp3\real\arm\asmpoly_thumb2.s> -OPTFFF 10,157,2,0,0,0,0,0,<.\mp3\real\arm\asmmisc.s> -OPTFFF 11,158,1,0,0,0,0,0,<..\..\rtgui\common\rtgui_object.c> -OPTFFF 11,159,1,0,0,0,0,0,<..\..\rtgui\common\rtgui_system.c> -OPTFFF 11,160,1,0,0,0,0,0,<..\..\rtgui\common\rtgui_theme.c> -OPTFFF 11,161,1,0,0,0,0,0,<..\..\rtgui\common\asc12font.c> -OPTFFF 11,162,1,0,0,0,0,0,<..\..\rtgui\common\asc16font.c> -OPTFFF 11,163,1,0,0,0,0,0,<..\..\rtgui\common\color.c> -OPTFFF 11,164,1,0,0,0,0,0,<..\..\rtgui\common\dc.c> -OPTFFF 11,165,1,0,0,0,0,0,<..\..\rtgui\common\dc_buffer.c> -OPTFFF 11,166,1,0,0,0,0,0,<..\..\rtgui\common\dc_hw.c> -OPTFFF 11,167,1,0,0,0,0,0,<..\..\rtgui\common\filerw.c> -OPTFFF 11,168,1,0,0,0,0,0,<..\..\rtgui\common\font.c> -OPTFFF 11,169,1,0,0,0,0,0,<..\..\rtgui\common\image.c> -OPTFFF 11,170,1,0,0,0,0,0,<..\..\rtgui\common\image_xpm.c> -OPTFFF 11,171,1,0,0,0,0,0,<..\..\rtgui\common\image_hdc.c> -OPTFFF 11,172,1,0,0,0,0,0,<..\..\rtgui\common\region.c> -OPTFFF 11,173,1,0,0,0,0,0,<..\..\rtgui\server\server.c> -OPTFFF 11,174,1,0,0,0,0,0,<..\..\rtgui\server\driver.c> -OPTFFF 11,175,1,0,0,0,0,0,<..\..\rtgui\server\panel.c> -OPTFFF 11,176,1,0,0,0,0,0,<..\..\rtgui\widgets\widget.c> -OPTFFF 11,177,1,0,0,0,0,0,<..\..\rtgui\widgets\window.c> -OPTFFF 11,178,1,0,0,0,0,0,<..\..\rtgui\widgets\workbench.c> -OPTFFF 11,179,1,0,0,0,0,0,<..\..\rtgui\widgets\view.c> -OPTFFF 11,180,1,0,0,0,0,0,<..\..\rtgui\widgets\box.c> -OPTFFF 11,181,1,0,0,0,0,0,<..\..\rtgui\widgets\button.c> -OPTFFF 11,182,1,0,0,0,0,0,<..\..\rtgui\widgets\container.c> -OPTFFF 11,183,1,0,0,0,0,0,<..\..\rtgui\widgets\iconbox.c> -OPTFFF 11,184,1,0,0,0,0,0,<..\..\rtgui\widgets\label.c> -OPTFFF 11,185,1,0,0,0,0,0,<..\..\rtgui\widgets\textbox.c> -OPTFFF 11,186,1,0,0,0,0,0,<..\..\rtgui\widgets\title.c> -OPTFFF 11,187,1,0,0,0,0,0,<..\..\rtgui\widgets\toplevel.c> -OPTFFF 11,188,1,0,0,0,0,0,<..\..\rtgui\server\mouse.c> -OPTFFF 11,189,1,0,0,0,0,0,<..\..\rtgui\server\topwin.c> -OPTFFF 11,190,1,0,0,0,0,0,<..\..\rtgui\common\font_hz_file.c> -OPTFFF 11,191,1,0,0,0,0,0,<..\..\rtgui\common\hz16font.c> -OPTFFF 11,192,1,0,0,0,0,0,<..\..\rtgui\common\hz12font.c> -OPTFFF 11,193,1,0,0,0,0,0,<..\..\rtgui\common\arial16font.c> -OPTFFF 11,194,1,0,0,0,0,0,<..\..\rtgui\common\arial12font.c> -OPTFFF 12,195,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\hw_config.c> -OPTFFF 12,196,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\mass_mal.c> -OPTFFF 12,197,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\memory.c> -OPTFFF 12,198,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_bot.c> -OPTFFF 12,199,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\scsi_data.c> -OPTFFF 12,200,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_desc.c> -OPTFFF 12,201,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_endp.c> -OPTFFF 12,202,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_istr.c> -OPTFFF 12,203,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_prop.c> -OPTFFF 12,204,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_pwr.c> -OPTFFF 12,205,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_scsi.c> -OPTFFF 12,206,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_main.c> +OPTFFF 1,31,1,318767104,0,1,13,0,<.\remote.c> { 44,0,0,0,0,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,252,255,255,255,226,255,255,255,44,0,0,0,58,0,0,0,34,4,0,0,153,1,0,0 } +OPTFFF 2,32,1,0,0,0,0,0,<..\..\src\clock.c> +OPTFFF 2,33,1,0,0,0,0,0,<..\..\src\idle.c> +OPTFFF 2,34,1,0,0,0,0,0,<..\..\src\ipc.c> +OPTFFF 2,35,1,0,0,0,0,0,<..\..\src\mempool.c> +OPTFFF 2,36,1,0,0,0,0,0,<..\..\src\mem.c> +OPTFFF 2,37,1,0,0,0,0,0,<..\..\src\object.c> +OPTFFF 2,38,1,0,0,0,0,0,<..\..\src\scheduler.c> +OPTFFF 2,39,1,0,0,0,0,0,<..\..\src\thread.c> +OPTFFF 2,40,1,0,0,0,0,0,<..\..\src\timer.c> +OPTFFF 2,41,1,0,0,0,0,0,<..\..\src\irq.c> +OPTFFF 2,42,1,0,0,0,0,0,<..\..\src\kservice.c> +OPTFFF 2,43,1,0,0,0,0,0,<..\..\src\device.c> +OPTFFF 2,44,1,0,0,0,0,0,<..\..\src\slab.c> +OPTFFF 3,45,1,0,0,0,0,0,<..\..\libcpu\arm\stm32\stack.c> +OPTFFF 3,46,1,0,0,0,0,0,<..\..\libcpu\arm\stm32\interrupt.c> +OPTFFF 3,47,1,0,0,0,0,0,<..\..\libcpu\arm\stm32\cpu.c> +OPTFFF 3,48,1,0,0,0,0,0,<..\..\libcpu\arm\stm32\serial.c> +OPTFFF 3,49,2,0,0,0,0,0,<..\..\libcpu\arm\stm32\context_rvds.S> +OPTFFF 3,50,2,654311424,0,0,0,0,<..\..\libcpu\arm\stm32\start_rvds.s> +OPTFFF 3,51,1,0,0,0,0,0,<..\..\libcpu\arm\stm32\fault.c> +OPTFFF 3,52,2,0,0,0,0,0,<..\..\libcpu\arm\stm32\fault_rvds.S> +OPTFFF 4,53,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\misc.c> +OPTFFF 4,54,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.c> +OPTFFF 4,55,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_bkp.c> +OPTFFF 4,56,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_can.c> +OPTFFF 4,57,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_crc.c> +OPTFFF 4,58,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dac.c> +OPTFFF 4,59,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dbgmcu.c> +OPTFFF 4,60,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dma.c> +OPTFFF 4,61,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_exti.c> +OPTFFF 4,62,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_flash.c> +OPTFFF 4,63,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_fsmc.c> +OPTFFF 4,64,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_gpio.c> +OPTFFF 4,65,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_i2c.c> +OPTFFF 4,66,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_iwdg.c> +OPTFFF 4,67,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_pwr.c> +OPTFFF 4,68,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rcc.c> +OPTFFF 4,69,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rtc.c> +OPTFFF 4,70,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_sdio.c> +OPTFFF 4,71,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_spi.c> +OPTFFF 4,72,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_tim.c> +OPTFFF 4,73,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_usart.c> +OPTFFF 4,74,1,0,0,0,0,0,<.\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_wwdg.c> +OPTFFF 5,75,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\otgd_fs_cal.c> +OPTFFF 5,76,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\otgd_fs_dev.c> +OPTFFF 5,77,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\otgd_fs_int.c> +OPTFFF 5,78,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\otgd_fs_pcd.c> +OPTFFF 5,79,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_core.c> +OPTFFF 5,80,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_init.c> +OPTFFF 5,81,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_int.c> +OPTFFF 5,82,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_mem.c> +OPTFFF 5,83,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_regs.c> +OPTFFF 5,84,1,0,0,0,0,0,<.\Libraries\STM32_USB-FS-Device_Driver\src\usb_sil.c> +OPTFFF 6,85,1,0,0,0,0,0,<.\Libraries\CMSIS\Core\CM3\core_cm3.c> +OPTFFF 6,86,1,0,0,0,0,0,<.\Libraries\CMSIS\Core\CM3\system_stm32f10x.c> +OPTFFF 7,87,1,0,0,0,0,0,<..\..\finsh\finsh_compiler.c> +OPTFFF 7,88,1,0,0,0,0,0,<..\..\finsh\finsh_error.c> +OPTFFF 7,89,1,0,0,0,0,0,<..\..\finsh\finsh_heap.c> +OPTFFF 7,90,1,0,0,0,0,0,<..\..\finsh\finsh_init.c> +OPTFFF 7,91,1,0,0,0,0,0,<..\..\finsh\finsh_node.c> +OPTFFF 7,92,1,0,0,0,0,0,<..\..\finsh\finsh_ops.c> +OPTFFF 7,93,1,0,0,0,0,0,<..\..\finsh\finsh_parser.c> +OPTFFF 7,94,1,0,0,0,0,0,<..\..\finsh\finsh_token.c> +OPTFFF 7,95,1,0,0,0,0,0,<..\..\finsh\finsh_var.c> +OPTFFF 7,96,1,0,0,0,0,0,<..\..\finsh\finsh_vm.c> +OPTFFF 7,97,1,0,0,0,0,0,<..\..\finsh\shell.c> +OPTFFF 7,98,1,0,0,0,0,0,<..\..\finsh\symbol.c> +OPTFFF 7,99,1,0,0,0,0,0,<..\..\finsh\cmd.c> +OPTFFF 8,100,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_init.c> +OPTFFF 8,101,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_fs.c> +OPTFFF 8,102,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_raw.c> +OPTFFF 8,103,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_util.c> +OPTFFF 8,104,1,0,0,0,0,0,<..\..\filesystem\dfs\src\dfs_posix.c> +OPTFFF 8,105,1,0,0,0,0,0,<..\..\filesystem\dfs\filesystems\elmfat\dfs_elm.c> +OPTFFF 8,106,1,0,0,0,0,0,<..\..\filesystem\dfs\filesystems\elmfat\ff.c> +OPTFFF 9,107,1,0,0,0,0,0,<..\..\net\lwip\src\core\dhcp.c> +OPTFFF 9,108,1,0,0,0,0,0,<..\..\net\lwip\src\core\dns.c> +OPTFFF 9,109,1,0,0,0,0,0,<..\..\net\lwip\src\core\init.c> +OPTFFF 9,110,1,0,0,0,0,0,<..\..\net\lwip\src\core\memp.c> +OPTFFF 9,111,1,0,0,0,0,0,<..\..\net\lwip\src\core\netif.c> +OPTFFF 9,112,1,0,0,0,0,0,<..\..\net\lwip\src\core\pbuf.c> +OPTFFF 9,113,1,0,0,0,0,0,<..\..\net\lwip\src\core\raw.c> +OPTFFF 9,114,1,0,0,0,0,0,<..\..\net\lwip\src\core\stats.c> +OPTFFF 9,115,1,0,0,0,0,0,<..\..\net\lwip\src\core\sys.c> +OPTFFF 9,116,1,0,0,0,0,0,<..\..\net\lwip\src\core\tcp.c> +OPTFFF 9,117,1,0,0,0,0,0,<..\..\net\lwip\src\core\tcp_in.c> +OPTFFF 9,118,1,0,0,0,0,0,<..\..\net\lwip\src\core\tcp_out.c> +OPTFFF 9,119,1,0,0,0,0,0,<..\..\net\lwip\src\core\udp.c> +OPTFFF 9,120,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\autoip.c> +OPTFFF 9,121,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\icmp.c> +OPTFFF 9,122,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\igmp.c> +OPTFFF 9,123,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\inet.c> +OPTFFF 9,124,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\inet_chksum.c> +OPTFFF 9,125,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\ip.c> +OPTFFF 9,126,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\ip_addr.c> +OPTFFF 9,127,1,0,0,0,0,0,<..\..\net\lwip\src\core\ipv4\ip_frag.c> +OPTFFF 9,128,1,0,0,0,0,0,<..\..\net\lwip\src\core\snmp\msg_in.c> +OPTFFF 9,129,1,0,0,0,0,0,<..\..\net\lwip\src\core\snmp\msg_out.c> +OPTFFF 9,130,1,0,0,0,0,0,<..\..\net\lwip\src\api\api_lib.c> +OPTFFF 9,131,1,0,0,0,0,0,<..\..\net\lwip\src\api\api_msg.c> +OPTFFF 9,132,1,0,0,0,0,0,<..\..\net\lwip\src\api\err.c> +OPTFFF 9,133,1,0,0,0,0,0,<..\..\net\lwip\src\api\netbuf.c> +OPTFFF 9,134,1,0,0,0,0,0,<..\..\net\lwip\src\api\netdb.c> +OPTFFF 9,135,1,0,0,0,0,0,<..\..\net\lwip\src\api\netifapi.c> +OPTFFF 9,136,1,0,0,0,0,0,<..\..\net\lwip\src\api\tcpip.c> +OPTFFF 9,137,1,0,0,0,0,0,<..\..\net\lwip\src\netif\etharp.c> +OPTFFF 9,138,1,0,0,0,0,0,<..\..\net\lwip\src\netif\ethernetif.c> +OPTFFF 9,139,1,0,0,0,0,0,<..\..\net\lwip\src\netif\loopif.c> +OPTFFF 9,140,1,0,0,0,0,0,<..\..\net\lwip\src\arch\sys_arch_init.c> +OPTFFF 9,141,1,0,0,0,0,0,<..\..\net\lwip\src\arch\sys_arch.c> +OPTFFF 9,142,1,0,0,0,0,0,<..\..\net\lwip\src\api\sockets.c> +OPTFFF 10,143,1,0,0,0,0,0,<.\mp3\mp3dec.c> +OPTFFF 10,144,1,0,0,0,0,0,<.\mp3\mp3tabs.c> +OPTFFF 10,145,1,0,0,0,0,0,<.\mp3\real\bitstream.c> +OPTFFF 10,146,1,0,0,0,0,0,<.\mp3\real\buffers.c> +OPTFFF 10,147,1,0,0,0,0,0,<.\mp3\real\dct32.c> +OPTFFF 10,148,1,0,0,0,0,0,<.\mp3\real\dequant.c> +OPTFFF 10,149,1,0,0,0,0,0,<.\mp3\real\dqchan.c> +OPTFFF 10,150,1,0,0,0,0,0,<.\mp3\real\huffman.c> +OPTFFF 10,151,1,0,0,0,0,0,<.\mp3\real\hufftabs.c> +OPTFFF 10,152,1,0,0,0,0,0,<.\mp3\real\imdct.c> +OPTFFF 10,153,1,0,0,0,0,0,<.\mp3\real\scalfact.c> +OPTFFF 10,154,1,0,0,0,0,0,<.\mp3\real\stproc.c> +OPTFFF 10,155,1,0,0,0,0,0,<.\mp3\real\subband.c> +OPTFFF 10,156,1,0,0,0,0,0,<.\mp3\real\trigtabs.c> +OPTFFF 10,157,2,0,0,0,0,0,<.\mp3\real\arm\asmpoly_thumb2.s> +OPTFFF 10,158,2,0,0,0,0,0,<.\mp3\real\arm\asmmisc.s> +OPTFFF 11,159,1,0,0,0,0,0,<..\..\rtgui\common\rtgui_object.c> +OPTFFF 11,160,1,0,0,0,0,0,<..\..\rtgui\common\rtgui_system.c> +OPTFFF 11,161,1,0,0,0,0,0,<..\..\rtgui\common\rtgui_theme.c> +OPTFFF 11,162,1,0,0,0,0,0,<..\..\rtgui\common\asc12font.c> +OPTFFF 11,163,1,0,0,0,0,0,<..\..\rtgui\common\asc16font.c> +OPTFFF 11,164,1,0,0,0,0,0,<..\..\rtgui\common\color.c> +OPTFFF 11,165,1,0,0,0,0,0,<..\..\rtgui\common\dc.c> +OPTFFF 11,166,1,0,0,0,0,0,<..\..\rtgui\common\dc_buffer.c> +OPTFFF 11,167,1,0,0,0,0,0,<..\..\rtgui\common\dc_hw.c> +OPTFFF 11,168,1,0,0,0,0,0,<..\..\rtgui\common\filerw.c> +OPTFFF 11,169,1,0,0,0,0,0,<..\..\rtgui\common\font.c> +OPTFFF 11,170,1,0,0,0,0,0,<..\..\rtgui\common\image.c> +OPTFFF 11,171,1,0,0,0,0,0,<..\..\rtgui\common\image_xpm.c> +OPTFFF 11,172,1,0,0,0,0,0,<..\..\rtgui\common\image_hdc.c> +OPTFFF 11,173,1,0,0,0,0,0,<..\..\rtgui\common\region.c> +OPTFFF 11,174,1,0,0,0,0,0,<..\..\rtgui\server\server.c> +OPTFFF 11,175,1,0,0,0,0,0,<..\..\rtgui\server\driver.c> +OPTFFF 11,176,1,0,0,0,0,0,<..\..\rtgui\server\panel.c> +OPTFFF 11,177,1,0,0,0,0,0,<..\..\rtgui\widgets\widget.c> +OPTFFF 11,178,1,0,0,0,0,0,<..\..\rtgui\widgets\window.c> +OPTFFF 11,179,1,0,0,0,0,0,<..\..\rtgui\widgets\workbench.c> +OPTFFF 11,180,1,0,0,0,0,0,<..\..\rtgui\widgets\view.c> +OPTFFF 11,181,1,0,0,0,0,0,<..\..\rtgui\widgets\box.c> +OPTFFF 11,182,1,0,0,0,0,0,<..\..\rtgui\widgets\button.c> +OPTFFF 11,183,1,0,0,0,0,0,<..\..\rtgui\widgets\container.c> +OPTFFF 11,184,1,0,0,0,0,0,<..\..\rtgui\widgets\iconbox.c> +OPTFFF 11,185,1,0,0,0,0,0,<..\..\rtgui\widgets\label.c> +OPTFFF 11,186,1,0,0,0,0,0,<..\..\rtgui\widgets\textbox.c> +OPTFFF 11,187,1,0,0,0,0,0,<..\..\rtgui\widgets\title.c> +OPTFFF 11,188,1,0,0,0,0,0,<..\..\rtgui\widgets\toplevel.c> +OPTFFF 11,189,1,0,0,0,0,0,<..\..\rtgui\server\mouse.c> +OPTFFF 11,190,1,0,0,0,0,0,<..\..\rtgui\server\topwin.c> +OPTFFF 11,191,1,0,0,0,0,0,<..\..\rtgui\common\font_hz_file.c> +OPTFFF 11,192,1,0,0,0,0,0,<..\..\rtgui\common\hz16font.c> +OPTFFF 11,193,1,0,0,0,0,0,<..\..\rtgui\common\hz12font.c> +OPTFFF 11,194,1,0,0,0,0,0,<..\..\rtgui\common\arial16font.c> +OPTFFF 11,195,1,0,0,0,0,0,<..\..\rtgui\common\arial12font.c> +OPTFFF 12,196,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\hw_config.c> +OPTFFF 12,197,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\mass_mal.c> +OPTFFF 12,198,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\memory.c> +OPTFFF 12,199,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_bot.c> +OPTFFF 12,200,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\scsi_data.c> +OPTFFF 12,201,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_desc.c> +OPTFFF 12,202,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_endp.c> +OPTFFF 12,203,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_istr.c> +OPTFFF 12,204,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_prop.c> +OPTFFF 12,205,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_pwr.c> +OPTFFF 12,206,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_scsi.c> +OPTFFF 12,207,1,0,0,0,0,0,<.\Libraries\Mass_Storage\src\usb_main.c> TARGOPT 1, (RT-Thread STM32 Radio) @@ -243,12 +244,12 @@ TARGOPT 1, (RT-Thread STM32 Radio) OPTFL 1,0,1 OPTAX 255 OPTDL (SARMCM3.DLL)()(DARMSTM.DLL)(-pSTM32F103ZE)(SARMCM3.DLL)()(TARMSTM.DLL)(-pSTM32F103ZE) - OPTDBG 48118,7,()()()()()()()()()() (Segger\JL2CM3.dll)()()() + OPTDBG 49142,7,()()()()()()()()()() (Segger\JL2CM3.dll)()()() OPTKEY 0,(DLGDARM)((1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(100=-1,-1,-1,-1,0)(110=-1,-1,-1,-1,0)(111=-1,-1,-1,-1,0)(1011=-1,-1,-1,-1,0)(180=-1,-1,-1,-1,0)(120=-1,-1,-1,-1,0)(121=-1,-1,-1,-1,0)(122=-1,-1,-1,-1,0)(123=-1,-1,-1,-1,0)(124=-1,-1,-1,-1,0)(125=-1,-1,-1,-1,0)(126=-1,-1,-1,-1,0)(140=-1,-1,-1,-1,0)(240=-1,-1,-1,-1,0)(190=-1,-1,-1,-1,0)(200=-1,-1,-1,-1,0)(170=-1,-1,-1,-1,0)(130=-1,-1,-1,-1,0)(131=-1,-1,-1,-1,0)(132=-1,-1,-1,-1,0)(133=-1,-1,-1,-1,0)(160=-1,-1,-1,-1,0)(161=-1,-1,-1,-1,0)(162=-1,-1,-1,-1,0)(210=-1,-1,-1,-1,0)(211=-1,-1,-1,-1,0)(220=-1,-1,-1,-1,0)(221=-1,-1,-1,-1,0)(230=-1,-1,-1,-1,0)(234=-1,-1,-1,-1,0)(231=-1,-1,-1,-1,0)(232=-1,-1,-1,-1,0)(233=-1,-1,-1,-1,0)(150=-1,-1,-1,-1,0)(151=-1,-1,-1,-1,0)) OPTKEY 0,(DLGTARM)((1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(100=-1,-1,-1,-1,0)(110=-1,-1,-1,-1,0)(111=-1,-1,-1,-1,0)(1011=60,91,584,445,0)(180=-1,-1,-1,-1,0)(120=-1,-1,-1,-1,0)(121=-1,-1,-1,-1,0)(122=-1,-1,-1,-1,0)(123=-1,-1,-1,-1,0)(124=-1,-1,-1,-1,0)(125=-1,-1,-1,-1,0)(126=-1,-1,-1,-1,0)(140=-1,-1,-1,-1,0)(240=-1,-1,-1,-1,0)(190=-1,-1,-1,-1,0)(200=-1,-1,-1,-1,0)(170=-1,-1,-1,-1,0)(130=-1,-1,-1,-1,0)(131=-1,-1,-1,-1,0)(132=-1,-1,-1,-1,0)(133=-1,-1,-1,-1,0)(160=-1,-1,-1,-1,0)(161=-1,-1,-1,-1,0)(162=-1,-1,-1,-1,0)(210=-1,-1,-1,-1,0)(211=-1,-1,-1,-1,0)(220=-1,-1,-1,-1,0)(221=-1,-1,-1,-1,0)(230=-1,-1,-1,-1,0)(231=-1,-1,-1,-1,0)(232=-1,-1,-1,-1,0)(233=-1,-1,-1,-1,0)(150=-1,-1,-1,-1,0)(151=-1,-1,-1,-1,0)) 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) + OPTKEY 0,(JL2CM3)(-U11111117 -O718 -S8 -A0 -C0 -JU1 -JI127.0.0.1 -JP0 -N00("ARM CoreSight SW-DP") -D00(1BA01477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8004 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -TB1 -TRE0 -FO27 -FD20000000 -FC800 -FN1 -FF0STM32F10x_512 -FS08000000 -FL080000) OPTWA 0,1,(_mp) OPTWA 1,1,(tinfo,0x0A) OPTMM 1,8,(text) diff --git a/bsp/stm32_radio/project.Uv2 b/bsp/stm32_radio/project.Uv2 index 56e8d9c65..c953df9d1 100644 --- a/bsp/stm32_radio/project.Uv2 +++ b/bsp/stm32_radio/project.Uv2 @@ -46,6 +46,7 @@ File 1,1,<.\play_list.c> File 1,1,<.\ili9325\ili9320.c> File 1,1,<.\codec.c> File 1,1,<.\spi_flash.c> +File 1,1,<.\remote.c> File 2,1,<..\..\src\clock.c> File 2,1,<..\..\src\idle.c> File 2,1,<..\..\src\ipc.c> @@ -307,8 +308,8 @@ Options 1,0,0 // Target 'RT-Thread STM32 Radio' ADSLDIF () ADSLDDW () OPTDL (SARMCM3.DLL)()(DARMSTM.DLL)(-pSTM32F103ZE)(SARMCM3.DLL)()(TARMSTM.DLL)(-pSTM32F103ZE) - OPTDBG 48118,7,()()()()()()()()()() (Segger\JL2CM3.dll)()()() - FLASH1 { 1,0,0,0,1,0,0,0,5,16,0,0,0,0,0,0,0,0,0,0 } + OPTDBG 49142,7,()()()()()()()()()() (Segger\JL2CM3.dll)()()() + FLASH1 { 1,0,0,0,1,0,0,0,6,16,0,0,0,0,0,0,0,0,0,0 } FLASH2 (Segger\JL2CM3.dll) FLASH3 ("" ()) FLASH4 () diff --git a/bsp/stm32_radio/stm32f10x_conf.h b/bsp/stm32_radio/stm32f10x_conf.h index f9d3b9bd9..84733f44d 100644 --- a/bsp/stm32_radio/stm32f10x_conf.h +++ b/bsp/stm32_radio/stm32f10x_conf.h @@ -42,7 +42,7 @@ #include "stm32f10x_rtc.h" #include "stm32f10x_sdio.h" #include "stm32f10x_spi.h" -/* #include "stm32f10x_tim.h" */ +#include "stm32f10x_tim.h" #include "stm32f10x_usart.h" /* #include "stm32f10x_wwdg.h" */ #include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */ @@ -64,11 +64,11 @@ * If expr is true, it returns no value. * @retval None */ - #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__)) +#define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__)) /* Exported functions ------------------------------------------------------- */ - void assert_failed(uint8_t* file, uint32_t line); +void assert_failed(uint8_t* file, uint32_t line); #else - #define assert_param(expr) ((void)0) +#define assert_param(expr) ((void)0) #endif /* USE_FULL_ASSERT */ #endif /* __STM32F10x_CONF_H */ diff --git a/bsp/stm32_radio/stm32f10x_it.c b/bsp/stm32_radio/stm32f10x_it.c index 1989b3ec4..1738be861 100644 --- a/bsp/stm32_radio/stm32f10x_it.c +++ b/bsp/stm32_radio/stm32f10x_it.c @@ -700,7 +700,7 @@ void DMA2_Channel2_IRQHandler(void) } #endif -/* add on 2009-12-31 usb */ +/* add on 2009-12-31 for usb */ extern void CTR_HP(void); extern void USB_Istr(void); void USB_HP_CAN1_TX_IRQHandler(void) @@ -712,3 +712,10 @@ void USB_LP_CAN1_RX0_IRQHandler(void) { USB_Istr(); } + +/* add on 2010-01-02 for remote */ +extern void remote_isr(void); +void TIM5_IRQHandler(void) +{ + remote_isr(); +}