提交 fe605eed 编写于 作者: D dzzxzz

update Fujitsu FM3 MB9BF500R project with RTGUI

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1489 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 14c2f8c0
<?xml version="1.0" encoding="iso-8859-1"?>
<flash_device>
<exe>$TOOLKIT_DIR$\config\flashloader\Fujitsu\FlashMB9BF500.out</exe>
<page>4</page>
<block>4 0x1000</block>
<block>1 0xC000</block>
<block>3 0x10000</block>
<flash_base>0x00000000</flash_base>
<macro>$TOOLKIT_DIR$\config\flashloader\Fujitsu\FlashMB9BF50x.mac</macro>
<aggregate>1</aggregate>
<args_doc>The "--protect" argument is used to program
protection code 0x0001 in the security code area of the
flash.
Note: Writing the protection code disables JTAG access
and debug is not possible. To release security, perform
the chip erase operation using a serial writer because
the security cannot be released through JTAG pins.</args_doc>
</flash_device>
<?xml version="1.0" encoding="iso-8859-1"?>
<flash_board>
<pass>
<loader>$TOOLKIT_DIR$\config\flashloader\Fujitsu\FlashMB9BF500.flash</loader>
</pass>
</flash_board>
[FILEFORMAT]
rev=1.6
[CHIP]
//Chip name
name=MB9BF500R
//What endian modes does the chip support? (littleonly, bigonly, both(default))
endiansupport=littleonly
//Does the chip support the thumb instruction set? (true(default), false)
thumbsupport=true
//Does the chip support the arm instruction set? (true(default), false)
armsupport=false
//Does the chip have an FPU coprocessor?
//(VFPv1,VFPv2,VFP9-S,None(default)
fpu=
[CORE]
//Name of the ARM processor core
name=Cortex-M3
[DDF FILE]
//Name of the ddf file
name=Fujitsu\iomb9bf506r.ddf
[XCL FILE]
//Name of the linker config file
name=
[FLASH LOADER]
name=$TOOLKIT_DIR$\config\flashloader\Fujitsu\MB9BF500.board
little=
big=
args=
<?xml version="1.0" encoding="iso-8859-1"?>
<optionMenuItem>
<tag>MB9BF500R</tag>
<display>Fujitsu MB9BF500R</display>
<data>$CUR_DIR$\MB9BF500R.i79</data>
</optionMenuItem>
......@@ -27,6 +27,7 @@
#ifdef RT_USING_RTGUI
#include <rtgui/rtgui.h>
#include <rtgui/driver.h>
extern void rtgui_startup();
#endif
......@@ -35,6 +36,8 @@ static char msg_pool[2048];
void rt_init_thread_entry(void *parameter)
{
rt_device_t lcd;
rt_hw_led_init();
rt_hw_key_init();
rt_hw_adc_init();
......@@ -45,6 +48,12 @@ void rt_init_thread_entry(void *parameter)
rt_device_init_all();
#ifdef RT_USING_RTGUI
/* find lcd device */
lcd = rt_device_find("lcd");
/* set lcd device as rtgui graphic driver */
rtgui_graphic_set_device(lcd);
/* startup rtgui */
rtgui_startup();
#else
......
......@@ -2,62 +2,47 @@
<project>
<fileVersion>2</fileVersion>
<fileChecksum>1191521977</fileChecksum>
<fileChecksum>3361104972</fileChecksum>
<configuration>
<name>Debug</name>
<outputs>
<file>$PROJ_DIR$\Debug\Obj\info.o</file>
<file>$PROJ_DIR$\Debug\Obj\thread.o</file>
<file>$PROJ_DIR$\Debug\Obj\startup.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\thread.o</file>
<file>$PROJ_DIR$\Debug\Obj\device.o</file>
<file>$TOOLKIT_DIR$\inc\c\yvals.h</file>
<file>$PROJ_DIR$\Debug\Obj\fm3_easy_kit.pbd</file>
<file>$PROJ_DIR$\Debug\Obj\slab.o</file>
<file>$TOOLKIT_DIR$\inc\c\DLib_Defaults.h</file>
<file>$PROJ_DIR$\Debug\Obj\cpuusage.o</file>
<file>$PROJ_DIR$\Debug\Obj\key.o</file>
<file>$PROJ_DIR$\Debug\Obj\lcd.o</file>
<file>$TOOLKIT_DIR$\inc\c\stdint.h</file>
<file>$PROJ_DIR$\Debug\Obj\adc.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\info.pbi</file>
<file>$TOOLKIT_DIR$\inc\c\DLib_Threads.h</file>
<file>$TOOLKIT_DIR$\inc\c\xencoding_limits.h</file>
<file>$TOOLKIT_DIR$\inc\c\ycheck.h</file>
<file>$TOOLKIT_DIR$\inc\c\DLib_Product.h</file>
<file>$TOOLKIT_DIR$\inc\c\stdarg.h</file>
<file>$TOOLKIT_DIR$\inc\c\intrinsics.h</file>
<file>$PROJ_DIR$\Debug\Obj\key.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\lcd.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\info.o</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\image_hdc.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\image_xpm.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\image_jpg.c</file>
<file>$PROJ_DIR$\Debug\Obj\mouse.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\system_mb9bf50x.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\kservice.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\board.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\rtm.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\system_mb9bf50x.o</file>
<file>$PROJ_DIR$\Debug\Obj\server.o</file>
<file>$PROJ_DIR$\Debug\Obj\topwin.o</file>
<file>$PROJ_DIR$\Debug\Obj\driver.o</file>
<file>$PROJ_DIR$\Debug\Obj\mouse.o</file>
<file>$PROJ_DIR$\Debug\Obj\asc16font.o</file>
<file>$PROJ_DIR$\Debug\Obj\font_hz_file.o</file>
<file>$PROJ_DIR$\Debug\Obj\blit.o</file>
<file>$PROJ_DIR$\Debug\Obj\color.o</file>
<file>$PROJ_DIR$\Debug\Obj\asc12font.o</file>
<file>$PROJ_DIR$\Debug\Obj\pixel_driver.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\dc.o</file>
<file>$PROJ_DIR$\Debug\Obj\dc_buffer.o</file>
<file>$PROJ_DIR$\Debug\Obj\dc_client.o</file>
<file>$PROJ_DIR$\Debug\Obj\dc_hw.o</file>
<file>$PROJ_DIR$\Debug\Obj\filerw.o</file>
<file>$PROJ_DIR$\Debug\Obj\font.o</file>
<file>$PROJ_DIR$\Debug\Obj\font_bmp.o</file>
<file>$PROJ_DIR$\Debug\Obj\font_freetype.o</file>
<file>$PROJ_DIR$\Debug\Obj\font_hz_bmp.o</file>
<file>$PROJ_DIR$\Debug\Obj\led.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\cpuusage.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\mem.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\mem.o</file>
<file>$PROJ_DIR$\Debug\Obj\slab.pbi</file>
<file>$PROJ_DIR$\..\..\..\libcpu\arm\fm3\context_iar.S</file>
<file>$PROJ_DIR$\..\..\..\libcpu\arm\fm3\cpuport.c</file>
<file>$PROJ_DIR$\..\CMSIS\system_mb9bf50x.c</file>
<file>$PROJ_DIR$\application.c</file>
<file>$PROJ_DIR$\..\CMSIS\core_cm3.c</file>
<file>$PROJ_DIR$\..\..\..\libcpu\arm\fm3\fault_iar.S</file>
<file>$PROJ_DIR$\..\..\..\libcpu\arm\fm3\start_iar.S</file>
<file>$PROJ_DIR$\..\..\..\src\clock.c</file>
<file>$PROJ_DIR$\..\..\..\src\device.c</file>
<file>$PROJ_DIR$\..\..\..\src\idle.c</file>
<file>$PROJ_DIR$\..\..\..\src\ipc.c</file>
<file>$PROJ_DIR$\..\..\..\src\irq.c</file>
<file>$PROJ_DIR$\..\..\..\src\kservice.c</file>
<file>$PROJ_DIR$\..\..\..\src\mem.c</file>
<file>$PROJ_DIR$\..\..\..\src\mempool.c</file>
<file>$PROJ_DIR$\..\..\..\src\module.c</file>
<file>$PROJ_DIR$\..\..\..\src\object.c</file>
<file>$PROJ_DIR$\..\..\..\src\rtm.c</file>
<file>$PROJ_DIR$\..\..\..\src\scheduler.c</file>
<file>$PROJ_DIR$\..\..\..\src\slab.c</file>
<file>$PROJ_DIR$\..\..\..\src\thread.c</file>
<file>$PROJ_DIR$\..\..\..\src\timer.c</file>
<file>$PROJ_DIR$\adc.c</file>
<file>$PROJ_DIR$\board.c</file>
<file>$PROJ_DIR$\cpuusage.c</file>
<file>$PROJ_DIR$\info.c</file>
<file>$PROJ_DIR$\Debug\Obj\led.o</file>
<file>$PROJ_DIR$\Debug\Obj\core_cm3.o</file>
<file>$PROJ_DIR$\Debug\Obj\start_iar.o</file>
......@@ -72,24 +57,83 @@
<file>$PROJ_DIR$\Debug\Obj\irq.o</file>
<file>$PROJ_DIR$\Debug\Obj\clock.o</file>
<file>$PROJ_DIR$\Debug\Exe\fm3_easy_kit.out</file>
<file>$PROJ_DIR$\Debug\Obj\cpuusage.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\driver.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\combobox.o</file>
<file>$PROJ_DIR$\Debug\Obj\notebook.o</file>
<file>$PROJ_DIR$\Debug\Obj\server.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\box.o</file>
<file>$PROJ_DIR$\Debug\Obj\topwin.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\button.o</file>
<file>$PROJ_DIR$\Debug\Obj\about_view.o</file>
<file>$PROJ_DIR$\Debug\Obj\panel.o</file>
<file>$PROJ_DIR$\Debug\Obj\checkbox.o</file>
<file>$PROJ_DIR$\Debug\Obj\iconbox.o</file>
<file>$PROJ_DIR$\Debug\Obj\filelist_view.o</file>
<file>$PROJ_DIR$\Debug\Obj\container.o</file>
<file>$PROJ_DIR$\Debug\Obj\framebuffer_driver.o</file>
<file>$PROJ_DIR$\Debug\Obj\blit.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\hz12font.o</file>
<file>$PROJ_DIR$\Debug\Obj\hz16font.o</file>
<file>$PROJ_DIR$\Debug\Obj\image.o</file>
<file>$PROJ_DIR$\Debug\Obj\image_bmp.o</file>
<file>$PROJ_DIR$\Debug\Obj\image_container.o</file>
<file>$PROJ_DIR$\Debug\Obj\image_hdc.o</file>
<file>$PROJ_DIR$\Debug\Obj\image_jpg.o</file>
<file>$PROJ_DIR$\Debug\Obj\image_png.o</file>
<file>$PROJ_DIR$\Debug\Obj\image_xpm.o</file>
<file>$PROJ_DIR$\Debug\Obj\pixel_driver.o</file>
<file>$PROJ_DIR$\Debug\Obj\region.o</file>
<file>$PROJ_DIR$\Debug\Obj\rtgui_object.o</file>
<file>$PROJ_DIR$\Debug\Obj\rtgui_system.o</file>
<file>$PROJ_DIR$\Debug\Obj\rtgui_theme.o</file>
<file>$PROJ_DIR$\Debug\Obj\rtgui_xml.o</file>
<file>$PROJ_DIR$\Debug\Obj\asc16font.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\asc12font.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\color.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\font_hz_file.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\dc.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\dc_buffer.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\dc_client.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\dc_hw.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\filerw.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\font.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\font_bmp.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\font_freetype.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\font_hz_bmp.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\rtm.o</file>
<file>$PROJ_DIR$\Debug\Obj\thread.pbi</file>
<file>$TOOLKIT_DIR$\inc\c\string.h</file>
<file>$TOOLKIT_DIR$\inc\c\ysizet.h</file>
<file>$TOOLKIT_DIR$\inc\c\stdlib.h</file>
<file>$PROJ_DIR$\Debug\Obj\timer.o</file>
<file>$PROJ_DIR$\..\CMSIS\core_cm3.h</file>
<file>$PROJ_DIR$\..\CMSIS\core_cmInstr.h</file>
<file>$PROJ_DIR$\..\CMSIS\core_cmFunc.h</file>
<file>$PROJ_DIR$\..\CMSIS\system_mb9bf50x.h</file>
<file>$PROJ_DIR$\..\..\..\include\rtm.h</file>
<file>$PROJ_DIR$\..\..\..\include\rtdef.h</file>
<file>$PROJ_DIR$\..\CMSIS\mb9bf506r.h</file>
<file>$PROJ_DIR$\..\..\..\include\rtthread.h</file>
<file>$PROJ_DIR$\..\..\..\include\rthw.h</file>
<file>$PROJ_DIR$\..\..\..\src\kservice.h</file>
<file>$PROJ_DIR$\Debug\Obj\rtgui_system.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\region.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\rtgui_object.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\rtgui_theme.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\rtgui_xml.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\label.o</file>
<file>$PROJ_DIR$\Debug\Obj\scrollbar.o</file>
<file>$PROJ_DIR$\Debug\Obj\about_view.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\listbox.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\combobox.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\checkbox.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\list_view.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\filelist_view.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\iconbox.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\radiobox.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\label.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\menu.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\widget.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\scrollbar.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\progressbar.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\slider.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\staticline.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\view.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\textbox.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\textview.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\title.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\toplevel.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\window.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\workbench.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\startup.o</file>
<file>$PROJ_DIR$\Debug\Obj\idle.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\context_iar.o</file>
<file>$PROJ_DIR$\Debug\Obj\fault_iar.o</file>
<file>$PROJ_DIR$\Debug\Obj\scheduler.pbi</file>
......@@ -100,402 +144,1217 @@
<file>$PROJ_DIR$\Debug\Obj\adc.o</file>
<file>$PROJ_DIR$\Debug\Obj\timer.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\mempool.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\idle.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\framebuffer_driver.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\hz12font.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\hz16font.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\image.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\image_bmp.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\image_container.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\image_hdc.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\image_jpg.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\image_png.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\image_xpm.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\slab.o</file>
<file>$PROJ_DIR$\Debug\Obj\fm3_easy_kit.pbd</file>
<file>$PROJ_DIR$\Debug\Obj\cpuusage.o</file>
<file>$PROJ_DIR$\Debug\Obj\key.o</file>
<file>$PROJ_DIR$\Debug\Obj\lcd.o</file>
<file>$PROJ_DIR$\Debug\Obj\adc.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\info.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\lcd.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\key.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\list_view.o</file>
<file>$PROJ_DIR$\Debug\Obj\container.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\listbox.o</file>
<file>$PROJ_DIR$\Debug\Obj\listctrl.o</file>
<file>$PROJ_DIR$\Debug\Obj\menu.o</file>
<file>$PROJ_DIR$\Debug\Obj\progressbar.o</file>
<file>$PROJ_DIR$\Debug\Obj\view.o</file>
<file>$PROJ_DIR$\Debug\Obj\radiobox.o</file>
<file>$PROJ_DIR$\Debug\Obj\slider.o</file>
<file>$PROJ_DIR$\Debug\Obj\box.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\staticline.o</file>
<file>$PROJ_DIR$\Debug\Obj\textbox.o</file>
<file>$PROJ_DIR$\Debug\Obj\textview.o</file>
<file>$PROJ_DIR$\Debug\Obj\title.o</file>
<file>$PROJ_DIR$\Debug\Obj\toplevel.o</file>
<file>$PROJ_DIR$\Debug\Obj\button.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\widget.o</file>
<file>$PROJ_DIR$\Debug\Obj\window.o</file>
<file>$PROJ_DIR$\Debug\Obj\workbench.o</file>
<file>$PROJ_DIR$\Debug\Obj\ipc.o</file>
<file>$PROJ_DIR$\Debug\Obj\scheduler.o</file>
<file>$PROJ_DIR$\rtconfig.h</file>
<file>$TOOLKIT_DIR$\inc\c\stdio.h</file>
<file>$TOOLKIT_DIR$\inc\c\DLib_Product_string.h</file>
<file>$PROJ_DIR$\Debug\Obj\clock.pbi</file>
<file>$TOOLKIT_DIR$\inc\c\ystdio.h</file>
<file>$TOOLKIT_DIR$\inc\c\assert.h</file>
<file>$PROJ_DIR$\Debug\Obj\scheduler.o</file>
<file>$PROJ_DIR$\Debug\Obj\panel.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\core_cm3.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\idle.o</file>
<file>$PROJ_DIR$\Debug\Obj\cpuport.o</file>
<file>$PROJ_DIR$\Debug\Obj\ipc.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\core_cm3.pbi</file>
<file>$PROJ_DIR$\..\..\..\libcpu\arm\fm3\cpuport.c</file>
<file>$PROJ_DIR$\..\..\..\libcpu\arm\fm3\context_iar.S</file>
<file>$PROJ_DIR$\..\CMSIS\system_mb9bf50x.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\about_view.c</file>
<file>$PROJ_DIR$\..\CMSIS\core_cm3.c</file>
<file>$PROJ_DIR$\..\..\..\libcpu\arm\fm3\fault_iar.S</file>
<file>$PROJ_DIR$\..\..\..\libcpu\arm\fm3\start_iar.S</file>
<file>$PROJ_DIR$\..\..\..\src\clock.c</file>
<file>$PROJ_DIR$\..\..\..\src\device.c</file>
<file>$PROJ_DIR$\..\..\..\src\idle.c</file>
<file>$PROJ_DIR$\..\..\..\src\ipc.c</file>
<file>$PROJ_DIR$\..\..\..\src\irq.c</file>
<file>$PROJ_DIR$\..\..\..\src\kservice.c</file>
<file>$PROJ_DIR$\..\..\..\src\mem.c</file>
<file>$PROJ_DIR$\..\..\..\src\mempool.c</file>
<file>$PROJ_DIR$\..\..\..\src\module.c</file>
<file>$PROJ_DIR$\..\..\..\src\object.c</file>
<file>$PROJ_DIR$\..\..\..\src\rtm.c</file>
<file>$PROJ_DIR$\..\..\..\src\scheduler.c</file>
<file>$PROJ_DIR$\..\..\..\src\slab.c</file>
<file>$PROJ_DIR$\..\..\..\src\thread.c</file>
<file>$PROJ_DIR$\..\..\..\src\timer.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\asc12font.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\asc16font.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\container.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\blit.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\box.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\button.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\checkbox.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\color.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\combobox.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\dc.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\dc_buffer.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\filelist_view.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\dc_client.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\dc_hw.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\server\driver.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\filerw.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\font.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\font_freetype.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\font_bmp.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\framebuffer_driver.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\hz12font.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\font_hz_bmp.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\font_hz_file.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\image_container.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\hz16font.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\iconbox.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\image.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\image_bmp.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\image_png.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\label.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\list_view.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\listbox.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\listctrl.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\pixel_driver.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\menu.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\server\mouse.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\notebook.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\server\panel.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\radiobox.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\region.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\progressbar.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\rtgui_object.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\rtgui_xml.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\server\server.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\rtgui_system.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\common\rtgui_theme.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\scrollbar.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\slider.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\staticline.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\textbox.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\textview.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\workbench.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\title.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\toplevel.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\server\topwin.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\view.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\widget.c</file>
<file>$PROJ_DIR$\..\..\..\components\rtgui\widgets\window.c</file>
<file>$PROJ_DIR$\adc.c</file>
<file>$PROJ_DIR$\board.c</file>
<file>$PROJ_DIR$\application.c</file>
<file>$PROJ_DIR$\cpuusage.c</file>
<file>$PROJ_DIR$\info.c</file>
<file>$PROJ_DIR$\key.c</file>
<file>$PROJ_DIR$\led.c</file>
<file>$PROJ_DIR$\lcd.c</file>
<file>$PROJ_DIR$\led.c</file>
<file>$PROJ_DIR$\startup.c</file>
<file>$PROJ_DIR$\Debug\Obj\system_mb9bf50x.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\idle.o</file>
<file>$PROJ_DIR$\Debug\Obj\kservice.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\board.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\rtm.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\system_mb9bf50x.o</file>
<file>$PROJ_DIR$\Debug\Obj\listctrl.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\notebook.pbi</file>
</outputs>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\image_hdc.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 144</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 71</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\image_xpm.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 147</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 74</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\image_jpg.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 145</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 72</file>
</tool>
</outputs>
</file>
<file>
<name>[ROOT_NODE]</name>
<outputs>
<tool>
<name>ILINK</name>
<file> 50</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\fm3\cpuport.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 44</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 182</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\fm3\context_iar.S</name>
<outputs>
<tool>
<name>AARM</name>
<file> 128</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\CMSIS\system_mb9bf50x.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 8</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 12</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\about_view.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 104</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 58</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\CMSIS\core_cm3.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 180</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 38</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\fm3\fault_iar.S</name>
<outputs>
<tool>
<name>AARM</name>
<file> 129</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\fm3\start_iar.S</name>
<outputs>
<tool>
<name>AARM</name>
<file> 39</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\clock.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 177</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 49</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\device.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 41</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 2</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\idle.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 127</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 181</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\ipc.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 183</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 176</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\irq.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 133</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 48</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\kservice.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 9</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 43</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\mem.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 34</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 35</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\mempool.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 137</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 134</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\module.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 47</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 40</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\object.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 46</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 132</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\rtm.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 11</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 94</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\scheduler.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 130</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 178</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\slab.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 36</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 148</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\thread.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 95</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 1</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\timer.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 136</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 96</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\asc12font.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 82</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 21</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\asc16font.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 81</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 17</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\container.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 158</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 63</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\blit.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 65</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 19</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\box.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 166</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 55</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\button.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 172</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 57</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\checkbox.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 107</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 60</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\color.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 83</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 20</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\combobox.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 106</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 52</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\dc.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 85</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 23</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\dc_buffer.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 86</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 24</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\filelist_view.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 109</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 62</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\dc_client.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 87</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 25</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\dc_hw.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 88</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 26</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\server\driver.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 51</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 15</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\filerw.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 89</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 27</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\font.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 90</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 28</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\font_freetype.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 92</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 30</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\font_bmp.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 91</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 29</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\fm3\context_iar.S</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\framebuffer_driver.c</name>
<outputs>
<tool>
<name>AARM</name>
<file> 84</file>
<name>BICOMP</name>
<file> 138</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 64</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\fm3\cpuport.c</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\hz12font.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 59</file>
<file> 139</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 103</file>
<file> 66</file>
</tool>
</outputs>
<inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\font_hz_bmp.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 81 80 78 97 18 16 4 7 17 15 14 79 73 11 74 19 75 76</file>
<file> 93</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 31</file>
</tool>
</inputs>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\CMSIS\system_mb9bf50x.c</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\font_hz_file.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 110</file>
<file> 84</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 115</file>
<file> 18</file>
</tool>
</outputs>
<inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\image_container.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 79 73 11 16 4 7 17 15 14 74 19 75 76</file>
<file> 143</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 70</file>
</tool>
</inputs>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\application.c</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\hz16font.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 57</file>
<file> 140</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 87</file>
<file> 67</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\CMSIS\core_cm3.c</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\iconbox.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 105</file>
<file> 110</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 53</file>
<file> 61</file>
</tool>
</outputs>
<inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\image.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 11 16 4 7 17 15 14</file>
<file> 141</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 68</file>
</tool>
</inputs>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\fm3\fault_iar.S</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\image_bmp.c</name>
<outputs>
<tool>
<name>AARM</name>
<file> 85</file>
<name>BICOMP</name>
<file> 142</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 69</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\fm3\start_iar.S</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\image_png.c</name>
<outputs>
<tool>
<name>AARM</name>
<file> 54</file>
<name>BICOMP</name>
<file> 146</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 73</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\clock.c</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\label.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 100</file>
<file> 112</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 64</file>
<file> 102</file>
</tool>
</outputs>
<inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\list_view.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 80 78 97 18 16 4 7 17 15 14</file>
<file> 108</file>
</tool>
</inputs>
<tool>
<name>ICCARM</name>
<file> 157</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\device.c</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\listbox.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 56</file>
<file> 105</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 3</file>
<file> 159</file>
</tool>
</outputs>
<inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\listctrl.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 80 78 97 18 16 4 7 17 15 14 82</file>
<file> 273</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 160</file>
</tool>
</inputs>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\idle.c</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\pixel_driver.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 94</file>
<file> 22</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 111</file>
<file> 75</file>
</tool>
</outputs>
<inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\menu.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 81 80 78 97 18 16 4 7 17 15 14 82</file>
<file> 113</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 161</file>
</tool>
</inputs>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\ipc.c</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\server\mouse.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 104</file>
<file> 7</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 95</file>
<file> 16</file>
</tool>
</outputs>
<inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\notebook.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 80 78 97 18 16 4 7 17 15 14 81 82</file>
<file> 274</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 53</file>
</tool>
</inputs>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\irq.c</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\server\panel.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 89</file>
<file> 179</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 63</file>
<file> 59</file>
</tool>
</outputs>
<inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\radiobox.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 81 80 78 97 18 16 4 7 17 15 14</file>
<file> 111</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 164</file>
</tool>
</inputs>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\kservice.c</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\region.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 112</file>
<file> 98</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 58</file>
<file> 76</file>
</tool>
</outputs>
<inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\progressbar.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 80 78 97 18 16 4 7 17 15 14 81</file>
<file> 116</file>
</tool>
</inputs>
<tool>
<name>ICCARM</name>
<file> 162</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\mem.c</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\rtgui_object.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 23</file>
<file> 99</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 24</file>
<file> 77</file>
</tool>
</outputs>
<inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\rtgui_xml.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 80 78 97 18 16 4 7 17 15 14</file>
<file> 101</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 80</file>
</tool>
</inputs>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\mempool.c</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\server\server.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 93</file>
<file> 54</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 90</file>
<file> 13</file>
</tool>
</outputs>
<inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\rtgui_system.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 81 80 78 97 18 16 4 7 17 15 14 82</file>
<file> 97</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 78</file>
</tool>
</inputs>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\module.c</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\rtgui_theme.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 62</file>
<file> 100</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 55</file>
<file> 79</file>
</tool>
</outputs>
<inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\scrollbar.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 80 78 97 18 16 4 7 17 15 14 77 69 70 99 82</file>
<file> 115</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 103</file>
</tool>
</inputs>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\object.c</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\slider.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 61</file>
<file> 117</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 88</file>
<file> 165</file>
</tool>
</outputs>
<inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\staticline.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 80 78 97 18 16 4 7 17 15 14 81 82</file>
<file> 118</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 167</file>
</tool>
</inputs>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\rtm.c</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\textbox.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 114</file>
<file> 120</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 67</file>
<file> 168</file>
</tool>
</outputs>
<inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\textview.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 80 78 97 18 16 4 7 17 15 14 102 71 70 69 99 98 101</file>
<file> 121</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 169</file>
</tool>
</inputs>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\scheduler.c</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\workbench.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 86</file>
<file> 125</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 96</file>
<file> 175</file>
</tool>
</outputs>
<inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\title.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 80 78 97 18 16 4 7 17 15 14 81 82</file>
<file> 122</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 170</file>
</tool>
</inputs>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\slab.c</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\toplevel.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 25</file>
<file> 123</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 6</file>
<file> 171</file>
</tool>
</outputs>
<inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\server\topwin.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 81 80 78 97 18 16 4 7 17 15 14 82</file>
<file> 56</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 14</file>
</tool>
</inputs>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\thread.c</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\view.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 68</file>
<file> 119</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 1</file>
<file> 163</file>
</tool>
</outputs>
<inputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\widget.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 80 78 97 18 16 4 7 17 15 14 81 82</file>
<file> 114</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 173</file>
</tool>
</inputs>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\timer.c</name>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\window.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 92</file>
<file> 124</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 72</file>
<file> 174</file>
</tool>
</outputs>
</file>
......@@ -504,11 +1363,11 @@
<outputs>
<tool>
<name>BICOMP</name>
<file> 12</file>
<file> 153</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 91</file>
<file> 135</file>
</tool>
</outputs>
</file>
......@@ -517,46 +1376,50 @@
<outputs>
<tool>
<name>BICOMP</name>
<file> 113</file>
<file> 10</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 60</file>
<file> 45</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\cpuusage.c</name>
<name>$PROJ_DIR$\application.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 66</file>
<file> 42</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 8</file>
<file> 131</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\info.c</name>
<name>$PROJ_DIR$\cpuusage.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 13</file>
<file> 33</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 0</file>
<file> 150</file>
</tool>
</outputs>
</file>
<file>
<name>[ROOT_NODE]</name>
<name>$PROJ_DIR$\info.c</name>
<outputs>
<tool>
<name>ILINK</name>
<file> 65</file>
<name>BICOMP</name>
<file> 154</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 3</file>
</tool>
</outputs>
</file>
......@@ -565,37 +1428,37 @@
<outputs>
<tool>
<name>BICOMP</name>
<file> 20</file>
<file> 156</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 9</file>
<file> 151</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\led.c</name>
<name>$PROJ_DIR$\lcd.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 22</file>
<file> 155</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 52</file>
<file> 152</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\lcd.c</name>
<name>$PROJ_DIR$\led.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 21</file>
<file> 32</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 10</file>
<file> 37</file>
</tool>
</outputs>
</file>
......@@ -604,11 +1467,11 @@
<outputs>
<tool>
<name>BICOMP</name>
<file> 2</file>
<file> 0</file>
</tool>
<tool>
<name>ICCARM</name>
<file> 83</file>
<file> 126</file>
</tool>
</outputs>
</file>
......
......@@ -49,7 +49,7 @@
</option>
<option>
<name>RunToEnable</name>
<state>1</state>
<state>0</state>
</option>
<option>
<name>RunToName</name>
......
......@@ -99,7 +99,7 @@
</option>
<option>
<name>OGChipSelectEditMenu</name>
<state>MB9BF506R Fujitsu MB9BF506R</state>
<state>MB9BF500R Fujitsu MB9BF500R</state>
</option>
<option>
<name>GenLowLevelInterface</name>
......@@ -1811,6 +1811,192 @@
</group>
<group>
<name>Rtgui</name>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\about_view.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\asc12font.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\asc16font.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\blit.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\box.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\button.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\checkbox.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\color.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\combobox.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\container.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\dc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\dc_buffer.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\dc_client.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\dc_hw.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\server\driver.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\filelist_view.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\filerw.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\font.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\font_bmp.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\font_freetype.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\font_hz_bmp.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\font_hz_file.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\framebuffer_driver.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\hz12font.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\hz16font.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\iconbox.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\image.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\image_bmp.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\image_container.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\image_hdc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\image_jpg.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\image_png.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\image_xpm.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\label.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\list_view.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\listbox.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\listctrl.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\menu.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\server\mouse.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\notebook.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\server\panel.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\pixel_driver.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\progressbar.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\radiobox.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\region.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\rtgui_object.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\rtgui_system.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\rtgui_theme.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\common\rtgui_xml.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\scrollbar.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\server\server.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\slider.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\staticline.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\textbox.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\textview.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\title.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\toplevel.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\server\topwin.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\view.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\widget.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\window.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\rtgui\widgets\workbench.c</name>
</file>
</group>
<group>
<name>Startup</name>
......
......@@ -16,6 +16,7 @@
#include "lcd.h"
#include "font.h"
static struct rt_device_graphic_info _lcd_info;
static rt_uint8_t gui_disp_buf[GUI_LCM_YMAX/8][GUI_LCM_XMAX];
const unsigned char BIT_MASK[8] = {0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01};
/* simple font: ' ', '0'~'9','a'~'z','A'~'Z' */
......@@ -24,15 +25,6 @@ extern const unsigned char FONTTYPE8_8[][8];
rt_uint32_t x;
rt_uint32_t y;
struct rtgui_lcd_device
{
struct rt_device parent;
rt_uint16_t width;
rt_uint16_t height;
void* hw_framebuffer;
};
static struct rtgui_lcd_device *lcd = RT_NULL;
void Power_Delay(void)
{
rt_uint32_t i=0x4ffff;
......@@ -126,19 +118,19 @@ static rt_uint8_t * rt_hw_lcd_get_framebuffer(void)
return(rt_uint8_t *)gui_disp_buf;
}
static void rt_hw_lcd_set_pixel(rtgui_color_t *c, rt_base_t x, rt_base_t y)
static void rt_hw_lcd_set_pixel(rtgui_color_t *c, int x, int y)
{
rt_uint8_t page;
page = y/8;
if (*c == black)
if (*c == rtgui_color_to_565(black))
gui_disp_buf[page][x] |= 1<<(y%8);
else
if (*c == white)
if (*c == rtgui_color_to_565(white))
gui_disp_buf[page][x] &= ~(1<<(y%8));
}
static void rt_hw_lcd_get_pixel(rtgui_color_t *c, rt_base_t x, rt_base_t y)
static void rt_hw_lcd_get_pixel(rtgui_color_t *c, int x, int y)
{
rt_uint8_t page;
page = y/8;
......@@ -149,7 +141,7 @@ static void rt_hw_lcd_get_pixel(rtgui_color_t *c, rt_base_t x, rt_base_t y)
*c = white;
}
static void rt_hw_lcd_draw_hline(rtgui_color_t *c, rt_base_t x1, rt_base_t x2, rt_base_t y)
static void rt_hw_lcd_draw_hline(rtgui_color_t *c, int x1, int x2, int y)
{
rt_uint8_t page;
rt_uint8_t i;
......@@ -157,15 +149,15 @@ static void rt_hw_lcd_draw_hline(rtgui_color_t *c, rt_base_t x1, rt_base_t x2, r
for (i=x1; i<x2; i++)
{
if (*c == black)
if (*c == rtgui_color_to_565(black))
gui_disp_buf[page][i] |= 1<<(y%8);
else
if (*c == white)
if (*c == rtgui_color_to_565(white))
gui_disp_buf[page][i] &= ~(1<<(y%8));
}
}
static void rt_hw_lcd_draw_vline(rtgui_color_t *c, rt_base_t x, rt_base_t y1, rt_base_t y2)
static void rt_hw_lcd_draw_vline(rtgui_color_t *c, int x, int y1, int y2)
{
rt_uint8_t y;
......@@ -175,7 +167,7 @@ static void rt_hw_lcd_draw_vline(rtgui_color_t *c, rt_base_t x, rt_base_t y1, rt
}
}
static void rt_hw_lcd_draw_raw_hline(rt_uint8_t *pixels, rt_base_t x1, rt_base_t x2, rt_base_t y)
static void rt_hw_lcd_draw_raw_hline(rt_uint8_t *pixels, int x1, int x2, int y)
{
rt_uint8_t coll;
rt_uint8_t colh;
......@@ -196,14 +188,8 @@ static void rt_hw_lcd_draw_raw_hline(rt_uint8_t *pixels, rt_base_t x1, rt_base_t
}
}
struct rtgui_graphic_driver _rtgui_lcd_driver =
const struct rtgui_graphic_driver_ops _lcd_driver =
{
"lcd",
1,
LCD_WIDTH,
LCD_HEIGHT,
rt_hw_lcd_update,
rt_hw_lcd_get_framebuffer,
rt_hw_lcd_set_pixel,
rt_hw_lcd_get_pixel,
rt_hw_lcd_draw_hline,
......@@ -438,64 +424,43 @@ static rt_err_t rt_lcd_control (rt_device_t dev, rt_uint8_t cmd, void *args)
{
switch (cmd)
{
case RT_DEVICE_CTRL_LCD_GET_WIDTH:
*((rt_uint16_t*)args) = lcd->width;
case RTGRAPHIC_CTRL_RECT_UPDATE:
rt_hw_lcd_update(args);
break;
case RT_DEVICE_CTRL_LCD_GET_HEIGHT:
*((rt_uint16_t*)args) = lcd->height;
case RTGRAPHIC_CTRL_POWERON:
break;
case RT_DEVICE_CTRL_LCD_DISPLAY_ON:
LCD_WriteCmd(Display_On);
case RTGRAPHIC_CTRL_POWEROFF:
break;
case RT_DEVICE_CTRL_LCD_DISPLAY_OFF:
LCD_WriteCmd(Display_Off);
case RTGRAPHIC_CTRL_GET_INFO:
rt_memcpy(args, &_lcd_info, sizeof(_lcd_info));
break;
case RT_DEVICE_CTRL_LCD_PUT_STRING:
LCD_PutString(x, y, (char*)args);
break;
case RT_DEVICE_CTRL_LCD_CLEAR_SCR:
LCD_ClearSCR();
case RTGRAPHIC_CTRL_SET_MODE:
break;
}
return RT_EOK;
}
static rt_err_t rt_lcd_open(rt_device_t dev, rt_uint16_t oflag)
{
RT_ASSERT(dev != RT_NULL);
return RT_EOK;
}
static rt_err_t rt_lcd_close(rt_device_t dev)
{
RT_ASSERT(dev != RT_NULL);
return RT_EOK;
}
void rt_hw_lcd_init(void)
{
lcd = (struct rtgui_lcd_device*)rt_malloc(sizeof(struct rtgui_lcd_device));
if (lcd == RT_NULL)
return; /* no memory yet */
rt_device_t lcd = rt_malloc(sizeof(struct rt_device));
if (lcd == RT_NULL) return; /* no memory yet */
/* init device structure */
lcd->parent.type = RT_Device_Class_Unknown;
lcd->parent.init = rt_lcd_init;
lcd->parent.open = rt_lcd_open;
lcd->parent.close = rt_lcd_close;
lcd->parent.control = rt_lcd_control;
lcd->parent.user_data = RT_NULL;
lcd->width = LCD_WIDTH;
lcd->height = LCD_HEIGHT;
lcd->hw_framebuffer = (void*)gui_disp_buf;
/* register touch device to RT-Thread */
rt_device_register(&(lcd->parent), "lcd", RT_DEVICE_FLAG_RDWR);
_lcd_info.bits_per_pixel = 16;
_lcd_info.pixel_format = RTGRAPHIC_PIXEL_FORMAT_RGB565;
_lcd_info.framebuffer = RT_NULL;
_lcd_info.width = LCD_WIDTH;
_lcd_info.height = LCD_HEIGHT;
/* init device structure */
lcd->type = RT_Device_Class_Unknown;
lcd->init = rt_lcd_init;
lcd->open = RT_NULL;
lcd->close = RT_NULL;
lcd->control = rt_lcd_control;
#ifdef RT_USING_RTGUI
/* add lcd driver into graphic driver */
rtgui_graphic_driver_add(&_rtgui_lcd_driver);
lcd->user_data = (void*)&_lcd_driver;
#endif
/* register lcd device to RT-Thread */
rt_device_register(lcd, "lcd", RT_DEVICE_FLAG_RDWR);
}
......@@ -63,7 +63,7 @@
/* SECTION: RTGUI support */
/* using RTGUI support */
//#define RT_USING_RTGUI
#define RT_USING_RTGUI
/* name length of RTGUI object */
#define RTGUI_NAME_MAX 16
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册