From 6d20d222b8b145aedc42695758f0d8322c662d82 Mon Sep 17 00:00:00 2001 From: bernard Date: Sat, 5 Apr 2014 23:08:17 +0800 Subject: [PATCH] [BSP] Remove the components initialization management. --- bsp/lpc176x/applications/application.c | 11 +- bsp/lpc176x/project.ewp | 4220 ++++++++++++------------ bsp/lpc176x/project.uvopt | 530 +-- bsp/lpc176x/project.uvproj | 146 +- bsp/lpc176x/rtconfig.h | 12 +- bsp/lpc176x/template.uvopt | 169 + bsp/lpc176x/template.uvproj | 24 +- 7 files changed, 2732 insertions(+), 2380 deletions(-) create mode 100644 bsp/lpc176x/template.uvopt diff --git a/bsp/lpc176x/applications/application.c b/bsp/lpc176x/applications/application.c index 3ea7c2903..f534c7352 100644 --- a/bsp/lpc176x/applications/application.c +++ b/bsp/lpc176x/applications/application.c @@ -19,14 +19,12 @@ #include #include "platform.h" -#ifdef RT_USING_COMPONENTS_INIT -#include -#endif #ifdef RT_USING_LWIP #include #endif #ifdef RT_USING_DFS #include +#include #endif /* thread phase init */ @@ -40,13 +38,10 @@ void rt_init_thread_entry(void *parameter) lpc17xx_emac_hw_init(); #endif -#ifdef RT_USING_COMPONENTS_INIT - /* initialization RT-Thread Components */ - rt_components_init(); -#endif - /* Filesystem Initialization */ #ifdef RT_USING_DFS + rt_hw_sdcard_init(); + /* mount sd card fat partition 1 as root directory */ if (dfs_mount("sd0", "/", "elm", 0, 0) == 0) rt_kprintf("File System initialized!\n"); diff --git a/bsp/lpc176x/project.ewp b/bsp/lpc176x/project.ewp index 7a8ba0386..57d5387a6 100644 --- a/bsp/lpc176x/project.ewp +++ b/bsp/lpc176x/project.ewp @@ -1,2104 +1,2116 @@ - - - - 2 - - Debug - - ARM - - 1 - - General - 3 - - 21 - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ICCARM - 2 - - 28 - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AARM - 2 - - 8 - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OBJCOPY - 0 - - 1 - 1 - 1 - - - - - - - - - CUSTOM - 3 - - - - - - - BICOMP - 0 - - - - BUILDACTION - 1 - - - - - - - ILINK - 0 - - 14 - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IARCHIVE - 0 - - 0 - 1 - 1 - - - - - - - BILINK - 0 - - - - - Release - - ARM - - 0 - - General - 3 - - 21 - 1 - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ICCARM - 2 - - 28 - 1 - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AARM - 2 - - 8 - 1 - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OBJCOPY - 0 - - 1 - 1 - 0 - - - - - - - - - CUSTOM - 3 - - - - - - - BICOMP - 0 - - - - BUILDACTION - 1 - - - - - - - ILINK - 0 - - 14 - 1 - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IARCHIVE - 0 - - 0 - 1 - 0 - - - - - - - BILINK - 0 - - - - - Applications - - $PROJ_DIR$\applications\application.c - - - $PROJ_DIR$\applications\platform.c - - - $PROJ_DIR$\applications\startup.c - - - - CMSIS - - $PROJ_DIR$\CMSIS\CM3\DeviceSupport\NXP\LPC17xx\startup\iar\startup_LPC17xx.s - - - $PROJ_DIR$\CMSIS\CM3\DeviceSupport\NXP\LPC17xx\system_LPC17xx.c - - - - Components - - $PROJ_DIR$\..\..\components\init\components.c - - - - CORTEX-M3 - - $PROJ_DIR$\..\..\libcpu\arm\common\backtrace.c - - - $PROJ_DIR$\..\..\libcpu\arm\cortex-m3\context_iar.S - - - $PROJ_DIR$\..\..\libcpu\arm\cortex-m3\cpuport.c - - - $PROJ_DIR$\..\..\libcpu\arm\common\div0.c - - - $PROJ_DIR$\..\..\libcpu\arm\common\showmem.c - - - - Drivers - - $PROJ_DIR$\drivers\board.c - - - $PROJ_DIR$\drivers\emac.c - - - $PROJ_DIR$\drivers\led.c - - - $PROJ_DIR$\drivers\spi.c - - - $PROJ_DIR$\drivers\uart.c - - - - finsh - - $PROJ_DIR$\..\..\components\finsh\cmd.c - - - $PROJ_DIR$\..\..\components\finsh\finsh_compiler.c - - - $PROJ_DIR$\..\..\components\finsh\finsh_error.c - - - $PROJ_DIR$\..\..\components\finsh\finsh_heap.c - - - $PROJ_DIR$\..\..\components\finsh\finsh_init.c - - - $PROJ_DIR$\..\..\components\finsh\finsh_node.c - - - $PROJ_DIR$\..\..\components\finsh\finsh_ops.c - - - $PROJ_DIR$\..\..\components\finsh\finsh_parser.c - - - $PROJ_DIR$\..\..\components\finsh\finsh_token.c - - - $PROJ_DIR$\..\..\components\finsh\finsh_var.c - - - $PROJ_DIR$\..\..\components\finsh\finsh_vm.c - - - $PROJ_DIR$\..\..\components\finsh\shell.c - - - $PROJ_DIR$\..\..\components\finsh\symbol.c - - - - Kernel - - $PROJ_DIR$\..\..\src\clock.c - - - $PROJ_DIR$\..\..\src\device.c - - - $PROJ_DIR$\..\..\src\idle.c - - - $PROJ_DIR$\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\src\irq.c - - - $PROJ_DIR$\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\src\mem.c - - - $PROJ_DIR$\..\..\src\memheap.c - - - $PROJ_DIR$\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\src\object.c - - - $PROJ_DIR$\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\src\thread.c - - - $PROJ_DIR$\..\..\src\timer.c - - - - LwIP - - $PROJ_DIR$\..\..\components\net\lwip\src\api\api_lib.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\api\api_msg.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\ipv4\autoip.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\def.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\dhcp.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\dns.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\api\err.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\netif\etharp.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\netif\ethernetif.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\ipv4\icmp.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\ipv4\igmp.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\ipv4\inet.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\ipv4\inet_chksum.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\init.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\ipv4\ip.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\ipv4\ip_addr.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\ipv4\ip_frag.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\memp.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\api\netbuf.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\api\netdb.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\netif.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\api\netifapi.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\pbuf.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\raw.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\netif\slipif.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\api\sockets.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\stats.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\sys.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\arch\sys_arch.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\tcp.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\tcp_in.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\tcp_out.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\api\tcpip.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\timers.c - - - $PROJ_DIR$\..\..\components\net\lwip\src\core\udp.c - - - - - + + + + 2 + + Debug + + ARM + + 1 + + General + 3 + + 21 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ICCARM + 2 + + 28 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AARM + 2 + + 8 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OBJCOPY + 0 + + 1 + 1 + 1 + + + + + + + + + CUSTOM + 3 + + + + + + + BICOMP + 0 + + + + BUILDACTION + 1 + + + + + + + ILINK + 0 + + 15 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IARCHIVE + 0 + + 0 + 1 + 1 + + + + + + + BILINK + 0 + + + + + Release + + ARM + + 0 + + General + 3 + + 21 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ICCARM + 2 + + 28 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AARM + 2 + + 8 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OBJCOPY + 0 + + 1 + 1 + 0 + + + + + + + + + CUSTOM + 3 + + + + + + + BICOMP + 0 + + + + BUILDACTION + 1 + + + + + + + ILINK + 0 + + 15 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IARCHIVE + 0 + + 0 + 1 + 0 + + + + + + + BILINK + 0 + + + + + Applications + + $PROJ_DIR$\applications\application.c + + + $PROJ_DIR$\applications\platform.c + + + $PROJ_DIR$\applications\startup.c + + + + CMSIS + + $PROJ_DIR$\CMSIS\CM3\DeviceSupport\NXP\LPC17xx\startup\iar\startup_LPC17xx.s + + + $PROJ_DIR$\CMSIS\CM3\DeviceSupport\NXP\LPC17xx\system_LPC17xx.c + + + + CORTEX-M3 + + $PROJ_DIR$\..\..\libcpu\arm\common\backtrace.c + + + $PROJ_DIR$\..\..\libcpu\arm\cortex-m3\context_iar.S + + + $PROJ_DIR$\..\..\libcpu\arm\cortex-m3\cpuport.c + + + $PROJ_DIR$\..\..\libcpu\arm\common\div0.c + + + $PROJ_DIR$\..\..\libcpu\arm\common\showmem.c + + + + Drivers + + $PROJ_DIR$\drivers\board.c + + + $PROJ_DIR$\drivers\emac.c + + + $PROJ_DIR$\drivers\led.c + + + $PROJ_DIR$\drivers\spi.c + + + $PROJ_DIR$\drivers\uart.c + + + + finsh + + $PROJ_DIR$\..\..\components\finsh\cmd.c + + + $PROJ_DIR$\..\..\components\finsh\finsh_compiler.c + + + $PROJ_DIR$\..\..\components\finsh\finsh_error.c + + + $PROJ_DIR$\..\..\components\finsh\finsh_heap.c + + + $PROJ_DIR$\..\..\components\finsh\finsh_init.c + + + $PROJ_DIR$\..\..\components\finsh\finsh_node.c + + + $PROJ_DIR$\..\..\components\finsh\finsh_ops.c + + + $PROJ_DIR$\..\..\components\finsh\finsh_parser.c + + + $PROJ_DIR$\..\..\components\finsh\finsh_token.c + + + $PROJ_DIR$\..\..\components\finsh\finsh_var.c + + + $PROJ_DIR$\..\..\components\finsh\finsh_vm.c + + + $PROJ_DIR$\..\..\components\finsh\shell.c + + + $PROJ_DIR$\..\..\components\finsh\symbol.c + + + + Kernel + + $PROJ_DIR$\..\..\src\clock.c + + + $PROJ_DIR$\..\..\src\device.c + + + $PROJ_DIR$\..\..\src\idle.c + + + $PROJ_DIR$\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\src\irq.c + + + $PROJ_DIR$\..\..\src\kservice.c + + + $PROJ_DIR$\..\..\src\mem.c + + + $PROJ_DIR$\..\..\src\memheap.c + + + $PROJ_DIR$\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\src\object.c + + + $PROJ_DIR$\..\..\src\scheduler.c + + + $PROJ_DIR$\..\..\src\thread.c + + + $PROJ_DIR$\..\..\src\timer.c + + + + LwIP + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\api\api_lib.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\api\api_msg.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\ipv4\autoip.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\def.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\dhcp.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\dns.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\api\err.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\netif\etharp.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\netif\ethernetif.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\ipv4\icmp.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\ipv4\igmp.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\ipv4\inet.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\ipv4\inet_chksum.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\init.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\ipv4\ip.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\ipv4\ip_addr.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\ipv4\ip_frag.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\memp.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\api\netbuf.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\api\netdb.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\netif.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\api\netifapi.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\pbuf.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\raw.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\netif\slipif.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\api\sockets.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\stats.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\sys.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\arch\sys_arch.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\tcp.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\tcp_in.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\tcp_out.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\api\tcpip.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\timers.c + + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\udp.c + + + + + diff --git a/bsp/lpc176x/project.uvopt b/bsp/lpc176x/project.uvopt index 27265a61d..e2eb07d80 100644 --- a/bsp/lpc176x/project.uvopt +++ b/bsp/lpc176x/project.uvopt @@ -75,7 +75,7 @@ 0 1 - 0 + 8 SARMCM3.DLL -MPU @@ -103,6 +103,7 @@ 1 0 1 + 0 0 0 7 @@ -119,13 +120,36 @@ Segger\JL2CM3.dll + + 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)(1012=-1,-1,-1,-1,0)(350=-1,-1,-1,-1,0)(250=-1,-1,-1,-1,0)(270=-1,-1,-1,-1,0)(313=-1,-1,-1,-1,0)(291=-1,-1,-1,-1,0)(302=-1,-1,-1,-1,0)(110=-1,-1,-1,-1,0)(113=-1,-1,-1,-1,0)(320=-1,-1,-1,-1,0)(210=-1,-1,-1,-1,0)(330=-1,-1,-1,-1,0)(332=-1,-1,-1,-1,0)(333=-1,-1,-1,-1,0)(334=-1,-1,-1,-1,0)(335=-1,-1,-1,-1,0)(336=-1,-1,-1,-1,0)(345=-1,-1,-1,-1,0)(346=-1,-1,-1,-1,0)(381=-1,-1,-1,-1,0)(382=-1,-1,-1,-1,0)(383=-1,-1,-1,-1,0)(384=-1,-1,-1,-1,0)(197=-1,-1,-1,-1,0)(198=-1,-1,-1,-1,0)(191=-1,-1,-1,-1,0)(192=-1,-1,-1,-1,0)(180=-1,-1,-1,-1,0)(261=-1,-1,-1,-1,0)(262=-1,-1,-1,-1,0)(231=-1,-1,-1,-1,0)(232=-1,-1,-1,-1,0)(233=-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)(170=-1,-1,-1,-1,0)(142=-1,-1,-1,-1,0)(150=-1,-1,-1,-1,0)(400=-1,-1,-1,-1,0)(370=-1,-1,-1,-1,0)(160=-1,-1,-1,-1,0)(280=-1,-1,-1,-1,0)(240=-1,-1,-1,-1,0) + + + 0 + ARMDBGFLAGS + + + + 0 + DLGUARM + + 0 JL2CM3 - -U20100214 -O78 -S0 -A0 -C0 -JU1 -JI127.0.0.1 -JP0 -RST0 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(4) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -TB1 -TFE0 -FO27 -FD10000000 -FC800 -FN1 -FF0LPC_IAP_512 -FS00 -FL080000 + -U20090928 -O78 -S0 -A0 -C0 -JU1 -JI127.0.0.1 -JP0 -RST0 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -TB1 -TFE0 -FO15 -FD10000000 -FC800 -FN1 -FF0LPC_IAP_512 -FS00 -FL080000 + + + 0 + UL2CM3 + UL2CM3(-O463 -S0 -C0 -FO7 -FD10000000 -FC800 -FN1 -FF0LPC_IAP_512 -FS00 -FL080000) + + 0 + 0 0 @@ -134,7 +158,7 @@ 0 0 0 - 0 + 1 0 0 0 @@ -158,10 +182,11 @@ - Applications + CMSIS 0 0 0 + 0 1 1 @@ -173,44 +198,51 @@ 0 0 0 - applications\application.c - application.c + CMSIS\CM3\DeviceSupport\NXP\LPC17xx\system_LPC17xx.c + system_LPC17xx.c + 0 + 0 1 2 - 1 + 2 0 0 - 6 + 0 0 - 0 - 0 + 117 + 123 0 - applications\platform.c - platform.c + CMSIS\CM3\DeviceSupport\NXP\LPC17xx\startup\arm\startup_LPC17xx.s + startup_LPC17xx.s + 0 + 0 + + + + Applications + 1 + 0 + 0 + 0 - 1 + 2 3 1 0 0 0 0 - 0 - 0 + 10 + 64 0 - applications\startup.c - startup.c + applications\application.c + application.c + 0 + 0 - - - - CMSIS - 0 - 0 - 0 2 4 @@ -222,22 +254,26 @@ 0 0 0 - CMSIS\CM3\DeviceSupport\NXP\LPC17xx\system_LPC17xx.c - system_LPC17xx.c + applications\platform.c + platform.c + 0 + 0 2 5 - 2 + 1 0 0 0 0 - 0 - 0 + 91 + 115 0 - CMSIS\CM3\DeviceSupport\NXP\LPC17xx\startup\arm\startup_LPC17xx.s - startup_LPC17xx.s + applications\startup.c + startup.c + 0 + 0 @@ -246,6 +282,7 @@ 0 0 0 + 0 3 6 @@ -259,6 +296,8 @@ 0 drivers\board.c board.c + 0 + 0 3 @@ -273,6 +312,8 @@ 0 drivers\emac.c emac.c + 0 + 0 3 @@ -287,6 +328,8 @@ 0 drivers\led.c led.c + 0 + 0 3 @@ -301,6 +344,8 @@ 0 drivers\spi.c spi.c + 0 + 0 3 @@ -315,6 +360,8 @@ 0 drivers\uart.c uart.c + 0 + 0 @@ -323,6 +370,7 @@ 0 0 0 + 0 4 11 @@ -336,6 +384,8 @@ 0 ..\..\src\clock.c clock.c + 0 + 0 4 @@ -350,6 +400,8 @@ 0 ..\..\src\device.c device.c + 0 + 0 4 @@ -359,11 +411,13 @@ 0 0 0 - 0 - 0 + 63 + 69 0 ..\..\src\idle.c idle.c + 0 + 0 4 @@ -378,6 +432,8 @@ 0 ..\..\src\ipc.c ipc.c + 0 + 0 4 @@ -392,6 +448,8 @@ 0 ..\..\src\irq.c irq.c + 0 + 0 4 @@ -406,6 +464,8 @@ 0 ..\..\src\kservice.c kservice.c + 0 + 0 4 @@ -420,6 +480,8 @@ 0 ..\..\src\mem.c mem.c + 0 + 0 4 @@ -434,6 +496,8 @@ 0 ..\..\src\memheap.c memheap.c + 0 + 0 4 @@ -448,6 +512,8 @@ 0 ..\..\src\mempool.c mempool.c + 0 + 0 4 @@ -462,6 +528,8 @@ 0 ..\..\src\object.c object.c + 0 + 0 4 @@ -476,6 +544,8 @@ 0 ..\..\src\scheduler.c scheduler.c + 0 + 0 4 @@ -490,6 +560,8 @@ 0 ..\..\src\thread.c thread.c + 0 + 0 4 @@ -504,6 +576,8 @@ 0 ..\..\src\timer.c timer.c + 0 + 0 @@ -512,6 +586,7 @@ 0 0 0 + 0 5 24 @@ -525,6 +600,8 @@ 0 ..\..\libcpu\arm\cortex-m3\cpuport.c cpuport.c + 0 + 0 5 @@ -539,6 +616,8 @@ 0 ..\..\libcpu\arm\cortex-m3\context_rvds.S context_rvds.S + 0 + 0 5 @@ -553,6 +632,8 @@ 0 ..\..\libcpu\arm\common\backtrace.c backtrace.c + 0 + 0 5 @@ -567,6 +648,8 @@ 0 ..\..\libcpu\arm\common\div0.c div0.c + 0 + 0 5 @@ -581,6 +664,8 @@ 0 ..\..\libcpu\arm\common\showmem.c showmem.c + 0 + 0 @@ -589,6 +674,7 @@ 0 0 0 + 0 6 29 @@ -600,8 +686,10 @@ 0 0 0 - ..\..\components\finsh\cmd.c - cmd.c + ..\..\components\finsh\shell.c + shell.c + 0 + 0 6 @@ -614,8 +702,10 @@ 0 0 0 - ..\..\components\finsh\finsh_compiler.c - finsh_compiler.c + ..\..\components\finsh\symbol.c + symbol.c + 0 + 0 6 @@ -628,8 +718,10 @@ 0 0 0 - ..\..\components\finsh\finsh_error.c - finsh_error.c + ..\..\components\finsh\cmd.c + cmd.c + 0 + 0 6 @@ -642,8 +734,10 @@ 0 0 0 - ..\..\components\finsh\finsh_heap.c - finsh_heap.c + ..\..\components\finsh\finsh_compiler.c + finsh_compiler.c + 0 + 0 6 @@ -656,8 +750,10 @@ 0 0 0 - ..\..\components\finsh\finsh_init.c - finsh_init.c + ..\..\components\finsh\finsh_error.c + finsh_error.c + 0 + 0 6 @@ -670,8 +766,10 @@ 0 0 0 - ..\..\components\finsh\finsh_node.c - finsh_node.c + ..\..\components\finsh\finsh_heap.c + finsh_heap.c + 0 + 0 6 @@ -684,8 +782,10 @@ 0 0 0 - ..\..\components\finsh\finsh_ops.c - finsh_ops.c + ..\..\components\finsh\finsh_init.c + finsh_init.c + 0 + 0 6 @@ -698,8 +798,10 @@ 0 0 0 - ..\..\components\finsh\finsh_parser.c - finsh_parser.c + ..\..\components\finsh\finsh_node.c + finsh_node.c + 0 + 0 6 @@ -712,8 +814,10 @@ 0 0 0 - ..\..\components\finsh\finsh_token.c - finsh_token.c + ..\..\components\finsh\finsh_ops.c + finsh_ops.c + 0 + 0 6 @@ -726,8 +830,10 @@ 0 0 0 - ..\..\components\finsh\finsh_var.c - finsh_var.c + ..\..\components\finsh\finsh_parser.c + finsh_parser.c + 0 + 0 6 @@ -740,8 +846,10 @@ 0 0 0 - ..\..\components\finsh\finsh_vm.c - finsh_vm.c + ..\..\components\finsh\finsh_var.c + finsh_var.c + 0 + 0 6 @@ -754,8 +862,10 @@ 0 0 0 - ..\..\components\finsh\shell.c - shell.c + ..\..\components\finsh\finsh_vm.c + finsh_vm.c + 0 + 0 6 @@ -768,16 +878,19 @@ 0 0 0 - ..\..\components\finsh\symbol.c - symbol.c + ..\..\components\finsh\finsh_token.c + finsh_token.c + 0 + 0 - Components + LwIP 0 0 0 + 0 7 42 @@ -789,33 +902,14 @@ 0 0 0 - ..\..\components\init\components.c - components.c - - - - - LwIP - 0 - 0 - 0 - - 8 - 43 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\components\net\lwip\src\api\api_lib.c + ..\..\components\net\lwip-1.4.1\src\api\api_lib.c api_lib.c + 0 + 0 - 8 - 44 + 7 + 43 1 0 0 @@ -824,12 +918,14 @@ 0 0 0 - ..\..\components\net\lwip\src\api\api_msg.c + ..\..\components\net\lwip-1.4.1\src\api\api_msg.c api_msg.c + 0 + 0 - 8 - 45 + 7 + 44 1 0 0 @@ -838,12 +934,14 @@ 0 0 0 - ..\..\components\net\lwip\src\api\err.c + ..\..\components\net\lwip-1.4.1\src\api\err.c err.c + 0 + 0 - 8 - 46 + 7 + 45 1 0 0 @@ -852,12 +950,14 @@ 0 0 0 - ..\..\components\net\lwip\src\api\netbuf.c + ..\..\components\net\lwip-1.4.1\src\api\netbuf.c netbuf.c + 0 + 0 - 8 - 47 + 7 + 46 1 0 0 @@ -866,12 +966,14 @@ 0 0 0 - ..\..\components\net\lwip\src\api\netdb.c + ..\..\components\net\lwip-1.4.1\src\api\netdb.c netdb.c + 0 + 0 - 8 - 48 + 7 + 47 1 0 0 @@ -880,12 +982,14 @@ 0 0 0 - ..\..\components\net\lwip\src\api\netifapi.c + ..\..\components\net\lwip-1.4.1\src\api\netifapi.c netifapi.c + 0 + 0 - 8 - 49 + 7 + 48 1 0 0 @@ -894,12 +998,14 @@ 0 0 0 - ..\..\components\net\lwip\src\api\sockets.c + ..\..\components\net\lwip-1.4.1\src\api\sockets.c sockets.c + 0 + 0 - 8 - 50 + 7 + 49 1 0 0 @@ -908,12 +1014,14 @@ 0 0 0 - ..\..\components\net\lwip\src\api\tcpip.c + ..\..\components\net\lwip-1.4.1\src\api\tcpip.c tcpip.c + 0 + 0 - 8 - 51 + 7 + 50 1 0 0 @@ -922,12 +1030,14 @@ 0 0 0 - ..\..\components\net\lwip\src\arch\sys_arch.c + ..\..\components\net\lwip-1.4.1\src\arch\sys_arch.c sys_arch.c + 0 + 0 - 8 - 52 + 7 + 51 1 0 0 @@ -936,12 +1046,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\def.c + ..\..\components\net\lwip-1.4.1\src\core\def.c def.c + 0 + 0 - 8 - 53 + 7 + 52 1 0 0 @@ -950,12 +1062,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\dhcp.c + ..\..\components\net\lwip-1.4.1\src\core\dhcp.c dhcp.c + 0 + 0 - 8 - 54 + 7 + 53 1 0 0 @@ -964,12 +1078,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\dns.c + ..\..\components\net\lwip-1.4.1\src\core\dns.c dns.c + 0 + 0 - 8 - 55 + 7 + 54 1 0 0 @@ -978,12 +1094,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\init.c + ..\..\components\net\lwip-1.4.1\src\core\init.c init.c + 0 + 0 - 8 - 56 + 7 + 55 1 0 0 @@ -992,12 +1110,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\memp.c + ..\..\components\net\lwip-1.4.1\src\core\memp.c memp.c + 0 + 0 - 8 - 57 + 7 + 56 1 0 0 @@ -1006,12 +1126,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\netif.c + ..\..\components\net\lwip-1.4.1\src\core\netif.c netif.c + 0 + 0 - 8 - 58 + 7 + 57 1 0 0 @@ -1020,12 +1142,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\pbuf.c + ..\..\components\net\lwip-1.4.1\src\core\pbuf.c pbuf.c + 0 + 0 - 8 - 59 + 7 + 58 1 0 0 @@ -1034,12 +1158,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\raw.c + ..\..\components\net\lwip-1.4.1\src\core\raw.c raw.c + 0 + 0 - 8 - 60 + 7 + 59 1 0 0 @@ -1048,12 +1174,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\stats.c + ..\..\components\net\lwip-1.4.1\src\core\stats.c stats.c + 0 + 0 - 8 - 61 + 7 + 60 1 0 0 @@ -1062,12 +1190,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\sys.c + ..\..\components\net\lwip-1.4.1\src\core\sys.c sys.c + 0 + 0 - 8 - 62 + 7 + 61 1 0 0 @@ -1076,12 +1206,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\tcp.c + ..\..\components\net\lwip-1.4.1\src\core\tcp.c tcp.c + 0 + 0 - 8 - 63 + 7 + 62 1 0 0 @@ -1090,12 +1222,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\tcp_in.c + ..\..\components\net\lwip-1.4.1\src\core\tcp_in.c tcp_in.c + 0 + 0 - 8 - 64 + 7 + 63 1 0 0 @@ -1104,12 +1238,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\tcp_out.c + ..\..\components\net\lwip-1.4.1\src\core\tcp_out.c tcp_out.c + 0 + 0 - 8 - 65 + 7 + 64 1 0 0 @@ -1118,12 +1254,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\timers.c + ..\..\components\net\lwip-1.4.1\src\core\timers.c timers.c + 0 + 0 - 8 - 66 + 7 + 65 1 0 0 @@ -1132,12 +1270,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\udp.c + ..\..\components\net\lwip-1.4.1\src\core\udp.c udp.c + 0 + 0 - 8 - 67 + 7 + 66 1 0 0 @@ -1146,12 +1286,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\ipv4\autoip.c + ..\..\components\net\lwip-1.4.1\src\core\ipv4\autoip.c autoip.c + 0 + 0 - 8 - 68 + 7 + 67 1 0 0 @@ -1160,12 +1302,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\ipv4\icmp.c + ..\..\components\net\lwip-1.4.1\src\core\ipv4\icmp.c icmp.c + 0 + 0 - 8 - 69 + 7 + 68 1 0 0 @@ -1174,12 +1318,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\ipv4\igmp.c + ..\..\components\net\lwip-1.4.1\src\core\ipv4\igmp.c igmp.c + 0 + 0 - 8 - 70 + 7 + 69 1 0 0 @@ -1188,12 +1334,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\ipv4\inet.c + ..\..\components\net\lwip-1.4.1\src\core\ipv4\inet.c inet.c + 0 + 0 - 8 - 71 + 7 + 70 1 0 0 @@ -1202,12 +1350,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\ipv4\inet_chksum.c + ..\..\components\net\lwip-1.4.1\src\core\ipv4\inet_chksum.c inet_chksum.c + 0 + 0 - 8 - 72 + 7 + 71 1 0 0 @@ -1216,12 +1366,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\ipv4\ip.c + ..\..\components\net\lwip-1.4.1\src\core\ipv4\ip.c ip.c + 0 + 0 - 8 - 73 + 7 + 72 1 0 0 @@ -1230,12 +1382,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\ipv4\ip_addr.c + ..\..\components\net\lwip-1.4.1\src\core\ipv4\ip_addr.c ip_addr.c + 0 + 0 - 8 - 74 + 7 + 73 1 0 0 @@ -1244,12 +1398,14 @@ 0 0 0 - ..\..\components\net\lwip\src\core\ipv4\ip_frag.c + ..\..\components\net\lwip-1.4.1\src\core\ipv4\ip_frag.c ip_frag.c + 0 + 0 - 8 - 75 + 7 + 74 1 0 0 @@ -1258,12 +1414,14 @@ 0 0 0 - ..\..\components\net\lwip\src\netif\etharp.c + ..\..\components\net\lwip-1.4.1\src\netif\etharp.c etharp.c + 0 + 0 - 8 - 76 + 7 + 75 1 0 0 @@ -1272,12 +1430,14 @@ 0 0 0 - ..\..\components\net\lwip\src\netif\ethernetif.c + ..\..\components\net\lwip-1.4.1\src\netif\ethernetif.c ethernetif.c + 0 + 0 - 8 - 77 + 7 + 76 1 0 0 @@ -1286,8 +1446,10 @@ 0 0 0 - ..\..\components\net\lwip\src\netif\slipif.c + ..\..\components\net\lwip-1.4.1\src\netif\slipif.c slipif.c + 0 + 0 diff --git a/bsp/lpc176x/project.uvproj b/bsp/lpc176x/project.uvproj index f9754f306..c9144e483 100644 --- a/bsp/lpc176x/project.uvproj +++ b/bsp/lpc176x/project.uvproj @@ -30,6 +30,7 @@ + 0 0 @@ -97,6 +98,7 @@ 3 + 1 SARMCM3.DLL @@ -136,6 +138,7 @@ 1 0 1 + 0 0 7 @@ -164,9 +167,14 @@ 1 4099 + 1 Segger\JL2CM3.dll "" () + + + + 0 @@ -344,11 +352,12 @@ 0 0 0 + 0 - .;..\..\components\CMSIS\Include;..\..\components\finsh;..\..\components\init;..\..\components\net\lwip\src;..\..\components\net\lwip\src\arch\include;..\..\components\net\lwip\src\include;..\..\components\net\lwip\src\include\ipv4;..\..\components\net\lwip\src\include\netif;..\..\include;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m3;CMSIS\CM3\DeviceSupport\NXP\LPC17xx;applications;drivers + .;..\..\components\CMSIS\Include;..\..\components\finsh;..\..\components\net\lwip-1.4.1\src;..\..\components\net\lwip-1.4.1\src\arch\include;..\..\components\net\lwip-1.4.1\src\include;..\..\components\net\lwip-1.4.1\src\include\ipv4;..\..\components\net\lwip-1.4.1\src\include\netif;..\..\include;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m3;CMSIS\CM3\DeviceSupport\NXP\LPC17xx;applications;drivers @@ -359,6 +368,7 @@ 0 0 0 + 0 @@ -385,6 +395,21 @@ + + CMSIS + + + system_LPC17xx.c + 1 + CMSIS\CM3\DeviceSupport\NXP\LPC17xx\system_LPC17xx.c + + + startup_LPC17xx.s + 2 + CMSIS\CM3\DeviceSupport\NXP\LPC17xx\startup\arm\startup_LPC17xx.s + + + Applications @@ -405,21 +430,6 @@ - - CMSIS - - - system_LPC17xx.c - 1 - CMSIS\CM3\DeviceSupport\NXP\LPC17xx\system_LPC17xx.c - - - startup_LPC17xx.s - 2 - CMSIS\CM3\DeviceSupport\NXP\LPC17xx\startup\arm\startup_LPC17xx.s - - - Drivers @@ -553,6 +563,16 @@ finsh + + shell.c + 1 + ..\..\components\finsh\shell.c + + + symbol.c + 1 + ..\..\components\finsh\symbol.c + cmd.c 1 @@ -593,11 +613,6 @@ 1 ..\..\components\finsh\finsh_parser.c - - finsh_token.c - 1 - ..\..\components\finsh\finsh_token.c - finsh_var.c 1 @@ -609,24 +624,9 @@ ..\..\components\finsh\finsh_vm.c - shell.c - 1 - ..\..\components\finsh\shell.c - - - symbol.c - 1 - ..\..\components\finsh\symbol.c - - - - - Components - - - components.c + finsh_token.c 1 - ..\..\components\init\components.c + ..\..\components\finsh\finsh_token.c @@ -636,177 +636,177 @@ api_lib.c 1 - ..\..\components\net\lwip\src\api\api_lib.c + ..\..\components\net\lwip-1.4.1\src\api\api_lib.c api_msg.c 1 - ..\..\components\net\lwip\src\api\api_msg.c + ..\..\components\net\lwip-1.4.1\src\api\api_msg.c err.c 1 - ..\..\components\net\lwip\src\api\err.c + ..\..\components\net\lwip-1.4.1\src\api\err.c netbuf.c 1 - ..\..\components\net\lwip\src\api\netbuf.c + ..\..\components\net\lwip-1.4.1\src\api\netbuf.c netdb.c 1 - ..\..\components\net\lwip\src\api\netdb.c + ..\..\components\net\lwip-1.4.1\src\api\netdb.c netifapi.c 1 - ..\..\components\net\lwip\src\api\netifapi.c + ..\..\components\net\lwip-1.4.1\src\api\netifapi.c sockets.c 1 - ..\..\components\net\lwip\src\api\sockets.c + ..\..\components\net\lwip-1.4.1\src\api\sockets.c tcpip.c 1 - ..\..\components\net\lwip\src\api\tcpip.c + ..\..\components\net\lwip-1.4.1\src\api\tcpip.c sys_arch.c 1 - ..\..\components\net\lwip\src\arch\sys_arch.c + ..\..\components\net\lwip-1.4.1\src\arch\sys_arch.c def.c 1 - ..\..\components\net\lwip\src\core\def.c + ..\..\components\net\lwip-1.4.1\src\core\def.c dhcp.c 1 - ..\..\components\net\lwip\src\core\dhcp.c + ..\..\components\net\lwip-1.4.1\src\core\dhcp.c dns.c 1 - ..\..\components\net\lwip\src\core\dns.c + ..\..\components\net\lwip-1.4.1\src\core\dns.c init.c 1 - ..\..\components\net\lwip\src\core\init.c + ..\..\components\net\lwip-1.4.1\src\core\init.c memp.c 1 - ..\..\components\net\lwip\src\core\memp.c + ..\..\components\net\lwip-1.4.1\src\core\memp.c netif.c 1 - ..\..\components\net\lwip\src\core\netif.c + ..\..\components\net\lwip-1.4.1\src\core\netif.c pbuf.c 1 - ..\..\components\net\lwip\src\core\pbuf.c + ..\..\components\net\lwip-1.4.1\src\core\pbuf.c raw.c 1 - ..\..\components\net\lwip\src\core\raw.c + ..\..\components\net\lwip-1.4.1\src\core\raw.c stats.c 1 - ..\..\components\net\lwip\src\core\stats.c + ..\..\components\net\lwip-1.4.1\src\core\stats.c sys.c 1 - ..\..\components\net\lwip\src\core\sys.c + ..\..\components\net\lwip-1.4.1\src\core\sys.c tcp.c 1 - ..\..\components\net\lwip\src\core\tcp.c + ..\..\components\net\lwip-1.4.1\src\core\tcp.c tcp_in.c 1 - ..\..\components\net\lwip\src\core\tcp_in.c + ..\..\components\net\lwip-1.4.1\src\core\tcp_in.c tcp_out.c 1 - ..\..\components\net\lwip\src\core\tcp_out.c + ..\..\components\net\lwip-1.4.1\src\core\tcp_out.c timers.c 1 - ..\..\components\net\lwip\src\core\timers.c + ..\..\components\net\lwip-1.4.1\src\core\timers.c udp.c 1 - ..\..\components\net\lwip\src\core\udp.c + ..\..\components\net\lwip-1.4.1\src\core\udp.c autoip.c 1 - ..\..\components\net\lwip\src\core\ipv4\autoip.c + ..\..\components\net\lwip-1.4.1\src\core\ipv4\autoip.c icmp.c 1 - ..\..\components\net\lwip\src\core\ipv4\icmp.c + ..\..\components\net\lwip-1.4.1\src\core\ipv4\icmp.c igmp.c 1 - ..\..\components\net\lwip\src\core\ipv4\igmp.c + ..\..\components\net\lwip-1.4.1\src\core\ipv4\igmp.c inet.c 1 - ..\..\components\net\lwip\src\core\ipv4\inet.c + ..\..\components\net\lwip-1.4.1\src\core\ipv4\inet.c inet_chksum.c 1 - ..\..\components\net\lwip\src\core\ipv4\inet_chksum.c + ..\..\components\net\lwip-1.4.1\src\core\ipv4\inet_chksum.c ip.c 1 - ..\..\components\net\lwip\src\core\ipv4\ip.c + ..\..\components\net\lwip-1.4.1\src\core\ipv4\ip.c ip_addr.c 1 - ..\..\components\net\lwip\src\core\ipv4\ip_addr.c + ..\..\components\net\lwip-1.4.1\src\core\ipv4\ip_addr.c ip_frag.c 1 - ..\..\components\net\lwip\src\core\ipv4\ip_frag.c + ..\..\components\net\lwip-1.4.1\src\core\ipv4\ip_frag.c etharp.c 1 - ..\..\components\net\lwip\src\netif\etharp.c + ..\..\components\net\lwip-1.4.1\src\netif\etharp.c ethernetif.c 1 - ..\..\components\net\lwip\src\netif\ethernetif.c + ..\..\components\net\lwip-1.4.1\src\netif\ethernetif.c slipif.c 1 - ..\..\components\net\lwip\src\netif\slipif.c + ..\..\components\net\lwip-1.4.1\src\netif\slipif.c diff --git a/bsp/lpc176x/rtconfig.h b/bsp/lpc176x/rtconfig.h index 61b2f8271..c1bc430be 100644 --- a/bsp/lpc176x/rtconfig.h +++ b/bsp/lpc176x/rtconfig.h @@ -77,8 +77,8 @@ #define RT_CONSOLE_DEVICE_NAME "uart0" // -// -#define RT_USING_COMPONENTS_INIT +// +// #define RT_USING_COMPONENTS_INIT //
#define RT_USING_FINSH // @@ -99,7 +99,7 @@ //
// #define RT_USING_DFS // -// #define DFS_USING_WORKDIR +#define DFS_USING_WORKDIR // #define DFS_FILESYSTEMS_MAX 2 // @@ -107,12 +107,14 @@ // #define RT_USING_DFS_ELMFAT // +// 0 // 1 // 2 +// 3 // -#define RT_DFS_ELM_USE_LFN 1 +#define RT_DFS_ELM_USE_LFN 0 // -#define RT_DFS_ELM_MAX_LFN 64 +#define RT_DFS_ELM_MAX_LFN 256 // // #define RT_USING_DFS_YAFFS2 // diff --git a/bsp/lpc176x/template.uvopt b/bsp/lpc176x/template.uvopt new file mode 100644 index 000000000..71be989d5 --- /dev/null +++ b/bsp/lpc176x/template.uvopt @@ -0,0 +1,169 @@ + + + + 1.0 + +
### uVision Project, (C) Keil Software
+ + + *.c + *.s*; *.src; *.a* + *.obj + *.lib + *.txt; *.h; *.inc + *.plm + *.cpp + + + + 0 + 0 + + + + RT-Thread LPC17xx + 0x4 + ARM-ADS + + 12000000 + + 1 + 1 + 1 + 0 + + + 1 + 65535 + 0 + 0 + 0 + + + 79 + 66 + 8 + .\build\ + + + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + + + 0 + 0 + 1 + + 8 + + SARMCM3.DLL + -MPU + DARMP1.DLL + -pLPC1768 + SARMCM3.DLL + -MPU + TARMP1.DLL + -pLPC1768 + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 7 + + + + + + + + + + + Segger\JL2CM3.dll + + + + 0 + JL2CM3 + -U20090928 -O78 -S0 -A0 -C0 -JU1 -JI127.0.0.1 -JP0 -RST0 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -TB1 -TFE0 -FO15 -FD10000000 -FC800 -FN1 -FF0LPC_IAP_512 -FS00 -FL080000 + + + 0 + UL2CM3 + UL2CM3(-O463 -S0 -C0 -FO7 -FD10000000 -FC800 -FN1 -FF0LPC_IAP_512 -FS00 -FL080000) + + + + + 0 + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + + + +
diff --git a/bsp/lpc176x/template.uvproj b/bsp/lpc176x/template.uvproj index 60aa3221c..fab7357fb 100644 --- a/bsp/lpc176x/template.uvproj +++ b/bsp/lpc176x/template.uvproj @@ -30,6 +30,7 @@ + 0 0 @@ -43,14 +44,14 @@ 0 1 - .\obj\ + .\build\ rtthread-lpc 1 0 0 1 1 - .\obj\ + .\build\ 1 0 0 @@ -61,6 +62,8 @@ 0 0 + 0 + 0 0 @@ -95,6 +98,7 @@ 3 + 1 SARMCM3.DLL @@ -115,7 +119,7 @@ 16 - 1 + 0 1 1 1 @@ -126,17 +130,18 @@ 0 - 0 + 1 1 - 0 + 1 1 1 1 0 1 + 0 0 - 5 + 7 @@ -162,9 +167,14 @@ 1 4099 + 1 Segger\JL2CM3.dll "" () + + + + 0 @@ -342,6 +352,7 @@ 0 0 0 + 0 @@ -357,6 +368,7 @@ 0 0 0 + 0 -- GitLab