From 016aeaf2ff538d96d4dfea2059403debd6b5ab40 Mon Sep 17 00:00:00 2001 From: "bernard.xiong@gmail.com" Date: Mon, 16 Apr 2012 04:58:10 +0000 Subject: [PATCH] update LPC178x project file. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2078 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- bsp/lpc178x/applications/application.c | 2 +- bsp/lpc178x/project.uvproj | 666 ++++++++++++++++++++----- 2 files changed, 544 insertions(+), 124 deletions(-) diff --git a/bsp/lpc178x/applications/application.c b/bsp/lpc178x/applications/application.c index ad08f61e54..03b5a89350 100644 --- a/bsp/lpc178x/applications/application.c +++ b/bsp/lpc178x/applications/application.c @@ -91,7 +91,7 @@ void rt_init_thread_entry(void *parameter) rtgui_graphic_set_device(lcd); /* startup rtgui in demo of RT-Thread/GUI examples */ - // rtgui_startup(); + rtgui_startup(); } } #endif diff --git a/bsp/lpc178x/project.uvproj b/bsp/lpc178x/project.uvproj index b41bff3002..ce7ca17a6a 100644 --- a/bsp/lpc178x/project.uvproj +++ b/bsp/lpc178x/project.uvproj @@ -1,7 +1,10 @@ + 1.1 +
### uVision Project, (C) Keil Software
+ RT-Thread LPC17xx @@ -12,25 +15,25 @@ LPC1788 NXP (founded by Philips) IRAM(0x10000000-0x1000FFFF) IRAM2(0x20000000-0x20007FFF) IROM(0-0x7FFFF) CLOCK(12000000) CPUTYPE("Cortex-M3") - + "STARTUP\NXP\LPC177x_8x\startup_LPC177x_8x.s" ("NXP LPC177x_8x Startup Code") UL2CM3(-O463 -S0 -C0 -FO7 -FD10000000 -FC800 -FN1 -FF0LPC_IAP_512 -FS00 -FL080000) 5325 LPC177x_8x.H - - - - - - - - - - + + + + + + + + + + 0 - - - + + + NXP\LPC177x_8x\ NXP\LPC177x_8x\ @@ -54,29 +57,29 @@ 0 0 - - + + 0 0 0 0 - - + + 0 0 0 0 - - + + 0 0 0 - + 0 @@ -90,8 +93,8 @@ 0 0 3 - - + + SARMCM3.DLL @@ -135,18 +138,18 @@ 0 7 - - - - - + + + + + - - - - - + + + + + Segger\JL2CM3.dll @@ -161,7 +164,7 @@ Segger\JL2CM3.dll "" () - + @@ -193,7 +196,7 @@ 0 0 "Cortex-M3" - + 0 0 0 @@ -324,7 +327,7 @@ 0x8000 - + 1 @@ -340,10 +343,10 @@ 0 0 - - - - .;..\..\components\finsh;..\..\include;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m3;CMSIS\CM3\CoreSupport;CMSIS\CM3\DeviceSupport\NXP\LPC177x_8x;applications;drivers + + + + .;..\..\components\finsh;..\..\components\rtgui\common;..\..\components\rtgui\include;..\..\components\rtgui\server;..\..\components\rtgui\widgets;..\..\include;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m3;CMSIS\CM3\CoreSupport;CMSIS\CM3\DeviceSupport\NXP\LPC177x_8x;applications;drivers @@ -355,10 +358,10 @@ 0 0 - - - - + + + + @@ -370,12 +373,12 @@ 0 0x00000000 0x10000000 - - - + + + --keep __fsym_* --keep __vsym_* - - + + @@ -388,8 +391,6 @@ 1 applications\application.c - - startup.c 1 @@ -405,15 +406,11 @@ 1 CMSIS\CM3\CoreSupport\core_cm3.c - - system_LPC177x_8x.c 1 CMSIS\CM3\DeviceSupport\NXP\LPC177x_8x\system_LPC177x_8x.c - - startup_LPC177x_8x.s 2 @@ -429,43 +426,46 @@ 1 drivers\board.c - - + + drv_glcd.c + 1 + drivers\drv_glcd.c + + + key.c + 1 + drivers\key.c + lpc177x_8x_clkpwr.c 1 drivers\lpc177x_8x_clkpwr.c - - lpc177x_8x_emc.c 1 drivers\lpc177x_8x_emc.c - - lpc177x_8x_pinsel.c 1 drivers\lpc177x_8x_pinsel.c - - lpc177x_8x_uart.c 1 drivers\lpc177x_8x_uart.c - - lpc17xx_lcd.c 1 drivers\lpc17xx_lcd.c - - + + sdram.c + 1 + drivers\sdram.c + uart.c 1 @@ -481,85 +481,61 @@ 1 ..\..\src\clock.c - - device.c 1 ..\..\src\device.c - - idle.c 1 ..\..\src\idle.c - - ipc.c 1 ..\..\src\ipc.c - - irq.c 1 ..\..\src\irq.c - - kservice.c 1 ..\..\src\kservice.c - - mem.c 1 ..\..\src\mem.c - - memheap.c 1 ..\..\src\memheap.c - - mempool.c 1 ..\..\src\mempool.c - - object.c 1 ..\..\src\object.c - - scheduler.c 1 ..\..\src\scheduler.c - - thread.c 1 ..\..\src\thread.c - - timer.c 1 @@ -575,29 +551,21 @@ 1 ..\..\libcpu\arm\cortex-m3\cpuport.c - - context_rvds.S 2 ..\..\libcpu\arm\cortex-m3\context_rvds.S - - backtrace.c 1 ..\..\libcpu\arm\common\backtrace.c - - div0.c 1 ..\..\libcpu\arm\common\div0.c - - showmem.c 1 @@ -613,85 +581,61 @@ 1 ..\..\components\finsh\cmd.c - - finsh_compiler.c 1 ..\..\components\finsh\finsh_compiler.c - - finsh_error.c 1 ..\..\components\finsh\finsh_error.c - - finsh_heap.c 1 ..\..\components\finsh\finsh_heap.c - - finsh_init.c 1 ..\..\components\finsh\finsh_init.c - - finsh_node.c 1 ..\..\components\finsh\finsh_node.c - - finsh_ops.c 1 ..\..\components\finsh\finsh_ops.c - - finsh_parser.c 1 ..\..\components\finsh\finsh_parser.c - - finsh_token.c 1 ..\..\components\finsh\finsh_token.c - - finsh_var.c 1 ..\..\components\finsh\finsh_var.c - - finsh_vm.c 1 ..\..\components\finsh\finsh_vm.c - - shell.c 1 ..\..\components\finsh\shell.c - - symbol.c 1 @@ -699,7 +643,483 @@ + + RTGUI + + + blit.c + 1 + ..\..\components\rtgui\common\blit.c + + + color.c + 1 + ..\..\components\rtgui\common\color.c + + + region.c + 1 + ..\..\components\rtgui\common\region.c + + + rtgui_object.c + 1 + ..\..\components\rtgui\common\rtgui_object.c + + + rtgui_system.c + 1 + ..\..\components\rtgui\common\rtgui_system.c + + + rtgui_theme.c + 1 + ..\..\components\rtgui\common\rtgui_theme.c + + + rtgui_xml.c + 1 + ..\..\components\rtgui\common\rtgui_xml.c + + + dc.c + 1 + ..\..\components\rtgui\common\dc.c + + + dc_hw.c + 1 + ..\..\components\rtgui\common\dc_hw.c + + + dc_buffer.c + 1 + ..\..\components\rtgui\common\dc_buffer.c + + + dc_client.c + 1 + ..\..\components\rtgui\common\dc_client.c + + + filerw.c + 1 + ..\..\components\rtgui\common\filerw.c + + + image.c + 1 + ..\..\components\rtgui\common\image.c + + + image_xpm.c + 1 + ..\..\components\rtgui\common\image_xpm.c + + + image_hdc.c + 1 + ..\..\components\rtgui\common\image_hdc.c + + + image_bmp.c + 1 + ..\..\components\rtgui\common\image_bmp.c + + + image_png.c + 1 + ..\..\components\rtgui\common\image_png.c + + + image_jpg.c + 1 + ..\..\components\rtgui\common\image_jpg.c + + + image_container.c + 1 + ..\..\components\rtgui\common\image_container.c + + + font.c + 1 + ..\..\components\rtgui\common\font.c + + + font_bmp.c + 1 + ..\..\components\rtgui\common\font_bmp.c + + + font_hz_file.c + 1 + ..\..\components\rtgui\common\font_hz_file.c + + + font_hz_bmp.c + 1 + ..\..\components\rtgui\common\font_hz_bmp.c + + + asc12font.c + 1 + ..\..\components\rtgui\common\asc12font.c + + + asc16font.c + 1 + ..\..\components\rtgui\common\asc16font.c + + + hz12font.c + 1 + ..\..\components\rtgui\common\hz12font.c + + + hz16font.c + 1 + ..\..\components\rtgui\common\hz16font.c + + + framebuffer_driver.c + 1 + ..\..\components\rtgui\common\framebuffer_driver.c + + + pixel_driver.c + 1 + ..\..\components\rtgui\common\pixel_driver.c + + + driver.c + 1 + ..\..\components\rtgui\server\driver.c + + + mouse.c + 1 + ..\..\components\rtgui\server\mouse.c + + + panel.c + 1 + ..\..\components\rtgui\server\panel.c + + + server.c + 1 + ..\..\components\rtgui\server\server.c + + + topwin.c + 1 + ..\..\components\rtgui\server\topwin.c + + + box.c + 1 + ..\..\components\rtgui\widgets\box.c + + + button.c + 1 + ..\..\components\rtgui\widgets\button.c + + + checkbox.c + 1 + ..\..\components\rtgui\widgets\checkbox.c + + + container.c + 1 + ..\..\components\rtgui\widgets\container.c + + + combobox.c + 1 + ..\..\components\rtgui\widgets\combobox.c + + + iconbox.c + 1 + ..\..\components\rtgui\widgets\iconbox.c + + + label.c + 1 + ..\..\components\rtgui\widgets\label.c + + + textview.c + 1 + ..\..\components\rtgui\widgets\textview.c + + + listctrl.c + 1 + ..\..\components\rtgui\widgets\listctrl.c + + + menu.c + 1 + ..\..\components\rtgui\widgets\menu.c + + + progressbar.c + 1 + ..\..\components\rtgui\widgets\progressbar.c + + + radiobox.c + 1 + ..\..\components\rtgui\widgets\radiobox.c + + + slider.c + 1 + ..\..\components\rtgui\widgets\slider.c + + + scrollbar.c + 1 + ..\..\components\rtgui\widgets\scrollbar.c + + + staticline.c + 1 + ..\..\components\rtgui\widgets\staticline.c + + + textbox.c + 1 + ..\..\components\rtgui\widgets\textbox.c + + + listbox.c + 1 + ..\..\components\rtgui\widgets\listbox.c + + + title.c + 1 + ..\..\components\rtgui\widgets\title.c + + + toplevel.c + 1 + ..\..\components\rtgui\widgets\toplevel.c + + + notebook.c + 1 + ..\..\components\rtgui\widgets\notebook.c + + + view.c + 1 + ..\..\components\rtgui\widgets\view.c + + + list_view.c + 1 + ..\..\components\rtgui\widgets\list_view.c + + + about_view.c + 1 + ..\..\components\rtgui\widgets\about_view.c + + + filelist_view.c + 1 + ..\..\components\rtgui\widgets\filelist_view.c + + + widget.c + 1 + ..\..\components\rtgui\widgets\widget.c + + + window.c + 1 + ..\..\components\rtgui\widgets\window.c + + + workbench.c + 1 + ..\..\components\rtgui\widgets\workbench.c + + + + + gui_examples + + + demo_view_dc_buffer.c + 1 + ..\..\examples\gui\demo_view_dc_buffer.c + + + demo_view_instrument_panel.c + 1 + ..\..\examples\gui\demo_view_instrument_panel.c + + + demo_fnview.c + 1 + ..\..\examples\gui\demo_fnview.c + + + demo_listview.c + 1 + ..\..\examples\gui\demo_listview.c + + + demo_listview_icon.c + 1 + ..\..\examples\gui\demo_listview_icon.c + + + demo_panel_single.c + 1 + ..\..\examples\gui\demo_panel_single.c + + + demo_view.c + 1 + ..\..\examples\gui\demo_view.c + + + demo_view_animation.c + 1 + ..\..\examples\gui\demo_view_animation.c + + + demo_view_buffer_animation.c + 1 + ..\..\examples\gui\demo_view_buffer_animation.c + + + demo_view_box.c + 1 + ..\..\examples\gui\demo_view_box.c + + + demo_view_button.c + 1 + ..\..\examples\gui\demo_view_button.c + + + demo_view_checkbox.c + 1 + ..\..\examples\gui\demo_view_checkbox.c + + + demo_view_dc.c + 1 + ..\..\examples\gui\demo_view_dc.c + + + demo_view_image.c + 1 + ..\..\examples\gui\demo_view_image.c + + + demo_view_module.c + 1 + ..\..\examples\gui\demo_view_module.c + + + demo_view_label.c + 1 + ..\..\examples\gui\demo_view_label.c + + + demo_view_mywidget.c + 1 + ..\..\examples\gui\demo_view_mywidget.c + + + demo_view_progressbar.c + 1 + ..\..\examples\gui\demo_view_progressbar.c + + + demo_view_radiobox.c + 1 + ..\..\examples\gui\demo_view_radiobox.c + + + demo_view_listbox.c + 1 + ..\..\examples\gui\demo_view_listbox.c + + + demo_view_slider.c + 1 + ..\..\examples\gui\demo_view_slider.c + + + demo_view_notebook.c + 1 + ..\..\examples\gui\demo_view_notebook.c + + + demo_view_combobox.c + 1 + ..\..\examples\gui\demo_view_combobox.c + + + demo_view_listctrl.c + 1 + ..\..\examples\gui\demo_view_listctrl.c + + + demo_view_menu.c + 1 + ..\..\examples\gui\demo_view_menu.c + + + demo_view_scrollbar.c + 1 + ..\..\examples\gui\demo_view_scrollbar.c + + + demo_view_textbox.c + 1 + ..\..\examples\gui\demo_view_textbox.c + + + demo_view_window.c + 1 + ..\..\examples\gui\demo_view_window.c + + + demo_view_benchmark.c + 1 + ..\..\examples\gui\demo_view_benchmark.c + + + demo_workbench.c + 1 + ..\..\examples\gui\demo_workbench.c + + + gui_init.c + 1 + ..\..\examples\gui\gui_init.c + + + mywidget.c + 1 + ..\..\examples\gui\mywidget.c + + + +
-- GitLab