diff --git a/bsp/frdm-k64f/project.uvproj b/bsp/frdm-k64f/project.uvproj index 38dd4a8bda..9530fc5210 100644 --- a/bsp/frdm-k64f/project.uvproj +++ b/bsp/frdm-k64f/project.uvproj @@ -72,6 +72,8 @@ 0 0 + 0 + 0 0 @@ -80,6 +82,8 @@ 0 0 + 0 + 0 0 @@ -141,10 +145,9 @@ 1 1 1 - 0 0 - 6 + 3 @@ -224,6 +227,7 @@ 0 0 0 + 0 3 3 0 @@ -358,6 +362,13 @@ 0 1 0 + 1 + 1 + 1 + 1 + 0 + 0 + 0 CPU_MK64FN1M0VLL12 @@ -375,6 +386,7 @@ 0 0 0 + 0 diff --git a/bsp/frdm-k64f/project.uvprojx b/bsp/frdm-k64f/project.uvprojx index 7d8bef0d9c..0e5a4da425 100644 --- a/bsp/frdm-k64f/project.uvprojx +++ b/bsp/frdm-k64f/project.uvprojx @@ -1,41 +1,45 @@ + 2.1 +
### uVision Project, (C) Keil Software
+ RT-Thread 0x4 ARM-ADS + 5060422::V5.06 update 4 (build 422)::ARMCC MK64FN1M0xxx12 NXP - Keil.Kinetis_K60_DFP.1.5.0 - http://www.keil.com/pack/ + NXP.MK64F12_DFP.10.0.4 + http://mcuxpresso.nxp.com/cmsis_pack/repo/ IRAM(0x20000000,0x00030000) IRAM2(0x1FFF0000,0x00010000) IROM(0x00000000,0x00100000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE - - + + UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0MK_P1M0 -FS00 -FL0100000 -FP0($$Device:MK64FN1M0xxx12$Flash\MK_P1M0.FLM)) 7425 $$Device:MK64FN1M0xxx12$Device\Include\MK64F12.h - - - - - - - - - + + + + + + + + + $$Device:MK64FN1M0xxx12$SVD\MK64F12.svd 0 0 - - - - - + + + + + 0 0 @@ -57,8 +61,8 @@ 0 0 - - + + 0 0 0 @@ -67,8 +71,8 @@ 0 0 - - + + 0 0 0 @@ -77,15 +81,15 @@ 0 0 - - + + 0 0 0 0 0 - + 0 @@ -99,17 +103,17 @@ 0 0 3 - - + + 1 SARMCM3.DLL - + DCM.DLL -pCM4 SARMCM3.DLL - + TCM.DLL -pCM4 @@ -133,11 +137,11 @@ 1 BIN\UL2CM3.DLL - - - - - + + + + + 0 @@ -170,7 +174,7 @@ 0 0 "Cortex-M4" - + 0 0 0 @@ -203,8 +207,8 @@ 0 0 0 - 1 - 0 + 0 + 1 0 @@ -293,16 +297,16 @@ 0 - 0x20000000 - 0x30000 + 0x1fff0000 + 0x10000 0 - 0x1fff0000 - 0x10000 + 0x20000000 + 0x30000 - + 1 @@ -328,10 +332,10 @@ 0 0 - + CPU_MK64FN1M0VLL12 - - device;device/MK64F12;board;applications;.;../../include;../../libcpu/arm/cortex-m4;../../libcpu/arm/common;../../components/drivers/include;../../components/drivers/include;../../components/finsh;../../components/net/lwip-2.0.2/src;../../components/net/lwip-2.0.2/src/include;../../components/net/lwip-2.0.2/src/include/ipv4;../../components/net/lwip-2.0.2/src/arch/include;../../components/net/lwip-2.0.2/src/include/netif;../../components/net/lwip-2.0.2/src/include/posix + + applications;.;board;device;device\MK64F12;..\..\include;..\..\libcpu\arm\cortex-m4;..\..\libcpu\arm\common;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\finsh;..\..\components\net\lwip-2.0.2\src;..\..\components\net\lwip-2.0.2\src\include;..\..\components\net\lwip-2.0.2\src\include\ipv4;..\..\components\net\lwip-2.0.2\src\arch\include;..\..\components\net\lwip-2.0.2\src\include\netif;..\..\components\net\lwip-2.0.2\src\include\posix @@ -346,10 +350,10 @@ 0 0 - - - - + + + + @@ -361,297 +365,29 @@ 0 0x00000000 0x1FFF0000 - - - - + + + + --keep *.o(.rti_fn.*) --keep *.o(FSymTab) --keep *.o(VSymTab) - - + + - Device + Applications - fsl_adc16.c + application.c 1 - device/MK64F12/fsl_adc16.c + applications\application.c - - - fsl_clock.c + startup.c 1 - device/MK64F12/fsl_clock.c - - - - - fsl_cmp.c - 1 - device/MK64F12/fsl_cmp.c - - - - - fsl_cmt.c - 1 - device/MK64F12/fsl_cmt.c - - - - - fsl_common.c - 1 - device/MK64F12/fsl_common.c - - - - - fsl_crc.c - 1 - device/MK64F12/fsl_crc.c - - - - - fsl_dac.c - 1 - device/MK64F12/fsl_dac.c - - - - - fsl_dmamux.c - 1 - device/MK64F12/fsl_dmamux.c - - - - - fsl_dspi.c - 1 - device/MK64F12/fsl_dspi.c - - - - - fsl_dspi_edma.c - 1 - device/MK64F12/fsl_dspi_edma.c - - - - - fsl_edma.c - 1 - device/MK64F12/fsl_edma.c - - - - - fsl_enet.c - 1 - device/MK64F12/fsl_enet.c - - - - - fsl_ewm.c - 1 - device/MK64F12/fsl_ewm.c - - - - - fsl_flash.c - 1 - device/MK64F12/fsl_flash.c - - - - - fsl_flexbus.c - 1 - device/MK64F12/fsl_flexbus.c - - - - - fsl_flexcan.c - 1 - device/MK64F12/fsl_flexcan.c - - - - - fsl_ftm.c - 1 - device/MK64F12/fsl_ftm.c - - - - - fsl_gpio.c - 1 - device/MK64F12/fsl_gpio.c - - - - - fsl_i2c.c - 1 - device/MK64F12/fsl_i2c.c - - - - - fsl_i2c_edma.c - 1 - device/MK64F12/fsl_i2c_edma.c - - - - - fsl_llwu.c - 1 - device/MK64F12/fsl_llwu.c - - - - - fsl_lptmr.c - 1 - device/MK64F12/fsl_lptmr.c - - - - - fsl_pdb.c - 1 - device/MK64F12/fsl_pdb.c - - - - - fsl_pit.c - 1 - device/MK64F12/fsl_pit.c - - - - - fsl_pmc.c - 1 - device/MK64F12/fsl_pmc.c - - - - - fsl_rcm.c - 1 - device/MK64F12/fsl_rcm.c - - - - - fsl_rnga.c - 1 - device/MK64F12/fsl_rnga.c - - - - - fsl_rtc.c - 1 - device/MK64F12/fsl_rtc.c - - - - - fsl_sai.c - 1 - device/MK64F12/fsl_sai.c - - - - - fsl_sai_edma.c - 1 - device/MK64F12/fsl_sai_edma.c - - - - - fsl_sdhc.c - 1 - device/MK64F12/fsl_sdhc.c - - - - - fsl_sim.c - 1 - device/MK64F12/fsl_sim.c - - - - - fsl_smc.c - 1 - device/MK64F12/fsl_smc.c - - - - - fsl_sysmpu.c - 1 - device/MK64F12/fsl_sysmpu.c - - - - - fsl_uart.c - 1 - device/MK64F12/fsl_uart.c - - - - - fsl_uart_edma.c - 1 - device/MK64F12/fsl_uart_edma.c - - - - - fsl_vref.c - 1 - device/MK64F12/fsl_vref.c - - - - - fsl_wdog.c - 1 - device/MK64F12/fsl_wdog.c - - - - - system_MK64F12.c - 1 - device/system_MK64F12.c - - - - - startup_MK64F12.s - 2 - device/TOOLCHAIN_ARM_STD/startup_MK64F12.s + applications\startup.c @@ -661,59 +397,237 @@ board.c 1 - board/board.c + board\board.c - - clock_config.c 1 - board/clock_config.c + board\clock_config.c - - drv_uart.c 1 - board/drv_uart.c + board\drv_uart.c - - led.c 1 - board/led.c + board\led.c - - drv_emac.c 1 - board/drv_emac.c + board\drv_emac.c - - fsl_phy.c 1 - board/fsl_phy.c + board\fsl_phy.c - Applications + Device - application.c + fsl_adc16.c 1 - applications/application.c + device\MK64F12\fsl_adc16.c - - - startup.c + fsl_clock.c 1 - applications/startup.c + device\MK64F12\fsl_clock.c + + + fsl_cmp.c + 1 + device\MK64F12\fsl_cmp.c + + + fsl_cmt.c + 1 + device\MK64F12\fsl_cmt.c + + + fsl_common.c + 1 + device\MK64F12\fsl_common.c + + + fsl_crc.c + 1 + device\MK64F12\fsl_crc.c + + + fsl_dac.c + 1 + device\MK64F12\fsl_dac.c + + + fsl_dmamux.c + 1 + device\MK64F12\fsl_dmamux.c + + + fsl_dspi.c + 1 + device\MK64F12\fsl_dspi.c + + + fsl_dspi_edma.c + 1 + device\MK64F12\fsl_dspi_edma.c + + + fsl_edma.c + 1 + device\MK64F12\fsl_edma.c + + + fsl_enet.c + 1 + device\MK64F12\fsl_enet.c + + + fsl_ewm.c + 1 + device\MK64F12\fsl_ewm.c + + + fsl_flash.c + 1 + device\MK64F12\fsl_flash.c + + + fsl_flexbus.c + 1 + device\MK64F12\fsl_flexbus.c + + + fsl_flexcan.c + 1 + device\MK64F12\fsl_flexcan.c + + + fsl_ftm.c + 1 + device\MK64F12\fsl_ftm.c + + + fsl_gpio.c + 1 + device\MK64F12\fsl_gpio.c + + + fsl_i2c.c + 1 + device\MK64F12\fsl_i2c.c + + + fsl_i2c_edma.c + 1 + device\MK64F12\fsl_i2c_edma.c + + + fsl_llwu.c + 1 + device\MK64F12\fsl_llwu.c + + + fsl_lptmr.c + 1 + device\MK64F12\fsl_lptmr.c + + + fsl_pdb.c + 1 + device\MK64F12\fsl_pdb.c + + + fsl_pit.c + 1 + device\MK64F12\fsl_pit.c + + + fsl_pmc.c + 1 + device\MK64F12\fsl_pmc.c + + + fsl_rcm.c + 1 + device\MK64F12\fsl_rcm.c + + + fsl_rnga.c + 1 + device\MK64F12\fsl_rnga.c + + + fsl_rtc.c + 1 + device\MK64F12\fsl_rtc.c + + + fsl_sai.c + 1 + device\MK64F12\fsl_sai.c + + + fsl_sai_edma.c + 1 + device\MK64F12\fsl_sai_edma.c + + + fsl_sdhc.c + 1 + device\MK64F12\fsl_sdhc.c + + + fsl_sim.c + 1 + device\MK64F12\fsl_sim.c + + + fsl_smc.c + 1 + device\MK64F12\fsl_smc.c + + + fsl_sysmpu.c + 1 + device\MK64F12\fsl_sysmpu.c + + + fsl_uart.c + 1 + device\MK64F12\fsl_uart.c + + + fsl_uart_edma.c + 1 + device\MK64F12\fsl_uart_edma.c + + + fsl_vref.c + 1 + device\MK64F12\fsl_vref.c + + + fsl_wdog.c + 1 + device\MK64F12\fsl_wdog.c + + + system_MK64F12.c + 1 + device\system_MK64F12.c + + + startup_MK64F12.s + 2 + device\TOOLCHAIN_ARM_STD\startup_MK64F12.s @@ -723,98 +637,72 @@ clock.c 1 - ../../src/clock.c + ..\..\src\clock.c - - components.c 1 - ../../src/components.c + ..\..\src\components.c - - device.c 1 - ../../src/device.c + ..\..\src\device.c - - idle.c 1 - ../../src/idle.c + ..\..\src\idle.c - - ipc.c 1 - ../../src/ipc.c + ..\..\src\ipc.c - - irq.c 1 - ../../src/irq.c + ..\..\src\irq.c - - kservice.c 1 - ../../src/kservice.c + ..\..\src\kservice.c - - mem.c 1 - ../../src/mem.c + ..\..\src\mem.c - - mempool.c 1 - ../../src/mempool.c + ..\..\src\mempool.c - - object.c 1 - ../../src/object.c + ..\..\src\object.c - - scheduler.c 1 - ../../src/scheduler.c + ..\..\src\scheduler.c - - signal.c 1 - ../../src/signal.c + ..\..\src\signal.c - - thread.c 1 - ../../src/thread.c + ..\..\src\thread.c - - timer.c 1 - ../../src/timer.c + ..\..\src\timer.c @@ -824,35 +712,27 @@ cpuport.c 1 - ../../libcpu/arm/cortex-m4/cpuport.c + ..\..\libcpu\arm\cortex-m4\cpuport.c - - context_rvds.S 2 - ../../libcpu/arm/cortex-m4/context_rvds.S + ..\..\libcpu\arm\cortex-m4\context_rvds.S - - backtrace.c 1 - ../../libcpu/arm/common/backtrace.c + ..\..\libcpu\arm\common\backtrace.c - - div0.c 1 - ../../libcpu/arm/common/div0.c + ..\..\libcpu\arm\common\div0.c - - showmem.c 1 - ../../libcpu/arm/common/showmem.c + ..\..\libcpu\arm\common\showmem.c @@ -862,49 +742,37 @@ serial.c 1 - ../../components/drivers/serial/serial.c + ..\..\components\drivers\serial\serial.c - - completion.c 1 - ../../components/drivers/src/completion.c + ..\..\components\drivers\src\completion.c - - dataqueue.c 1 - ../../components/drivers/src/dataqueue.c + ..\..\components\drivers\src\dataqueue.c - - pipe.c 1 - ../../components/drivers/src/pipe.c + ..\..\components\drivers\src\pipe.c - - ringbuffer.c 1 - ../../components/drivers/src/ringbuffer.c + ..\..\components\drivers\src\ringbuffer.c - - waitqueue.c 1 - ../../components/drivers/src/waitqueue.c + ..\..\components\drivers\src\waitqueue.c - - workqueue.c 1 - ../../components/drivers/src/workqueue.c + ..\..\components\drivers\src\workqueue.c @@ -914,91 +782,67 @@ shell.c 1 - ../../components/finsh/shell.c + ..\..\components\finsh\shell.c - - symbol.c 1 - ../../components/finsh/symbol.c + ..\..\components\finsh\symbol.c - - cmd.c 1 - ../../components/finsh/cmd.c + ..\..\components\finsh\cmd.c - - finsh_compiler.c 1 - ../../components/finsh/finsh_compiler.c + ..\..\components\finsh\finsh_compiler.c - - finsh_error.c 1 - ../../components/finsh/finsh_error.c + ..\..\components\finsh\finsh_error.c - - finsh_heap.c 1 - ../../components/finsh/finsh_heap.c + ..\..\components\finsh\finsh_heap.c - - finsh_init.c 1 - ../../components/finsh/finsh_init.c + ..\..\components\finsh\finsh_init.c - - finsh_node.c 1 - ../../components/finsh/finsh_node.c + ..\..\components\finsh\finsh_node.c - - finsh_ops.c 1 - ../../components/finsh/finsh_ops.c + ..\..\components\finsh\finsh_ops.c - - finsh_parser.c 1 - ../../components/finsh/finsh_parser.c + ..\..\components\finsh\finsh_parser.c - - finsh_var.c 1 - ../../components/finsh/finsh_var.c + ..\..\components\finsh\finsh_var.c - - finsh_vm.c 1 - ../../components/finsh/finsh_vm.c + ..\..\components\finsh\finsh_vm.c - - finsh_token.c 1 - ../../components/finsh/finsh_token.c + ..\..\components\finsh\finsh_token.c @@ -1008,268 +852,203 @@ sys_arch.c 1 - ../../components/net/lwip-2.0.2/src/arch/sys_arch.c + ..\..\components\net\lwip-2.0.2\src\arch\sys_arch.c - - api_lib.c 1 - ../../components/net/lwip-2.0.2/src/api/api_lib.c + ..\..\components\net\lwip-2.0.2\src\api\api_lib.c - - api_msg.c 1 - ../../components/net/lwip-2.0.2/src/api/api_msg.c + ..\..\components\net\lwip-2.0.2\src\api\api_msg.c - - err.c 1 - ../../components/net/lwip-2.0.2/src/api/err.c + ..\..\components\net\lwip-2.0.2\src\api\err.c - - netbuf.c 1 - ../../components/net/lwip-2.0.2/src/api/netbuf.c + ..\..\components\net\lwip-2.0.2\src\api\netbuf.c - - netdb.c 1 - ../../components/net/lwip-2.0.2/src/api/netdb.c + ..\..\components\net\lwip-2.0.2\src\api\netdb.c - - netifapi.c 1 - ../../components/net/lwip-2.0.2/src/api/netifapi.c + ..\..\components\net\lwip-2.0.2\src\api\netifapi.c - - sockets.c 1 - ../../components/net/lwip-2.0.2/src/api/sockets.c + ..\..\components\net\lwip-2.0.2\src\api\sockets.c - - tcpip.c 1 - ../../components/net/lwip-2.0.2/src/api/tcpip.c + ..\..\components\net\lwip-2.0.2\src\api\tcpip.c - - def.c 1 - ../../components/net/lwip-2.0.2/src/core/def.c + ..\..\components\net\lwip-2.0.2\src\core\def.c - - dns.c 1 - ../../components/net/lwip-2.0.2/src/core/dns.c + ..\..\components\net\lwip-2.0.2\src\core\dns.c - - inet_chksum.c 1 - ../../components/net/lwip-2.0.2/src/core/inet_chksum.c + ..\..\components\net\lwip-2.0.2\src\core\inet_chksum.c - - init.c 1 - ../../components/net/lwip-2.0.2/src/core/init.c + ..\..\components\net\lwip-2.0.2\src\core\init.c - - ip.c 1 - ../../components/net/lwip-2.0.2/src/core/ip.c + ..\..\components\net\lwip-2.0.2\src\core\ip.c - - memp.c 1 - ../../components/net/lwip-2.0.2/src/core/memp.c + ..\..\components\net\lwip-2.0.2\src\core\memp.c - - netif.c 1 - ../../components/net/lwip-2.0.2/src/core/netif.c + ..\..\components\net\lwip-2.0.2\src\core\netif.c - - pbuf.c 1 - ../../components/net/lwip-2.0.2/src/core/pbuf.c + ..\..\components\net\lwip-2.0.2\src\core\pbuf.c - - raw.c 1 - ../../components/net/lwip-2.0.2/src/core/raw.c + ..\..\components\net\lwip-2.0.2\src\core\raw.c - - stats.c 1 - ../../components/net/lwip-2.0.2/src/core/stats.c + ..\..\components\net\lwip-2.0.2\src\core\stats.c - - sys.c 1 - ../../components/net/lwip-2.0.2/src/core/sys.c + ..\..\components\net\lwip-2.0.2\src\core\sys.c - - tcp.c 1 - ../../components/net/lwip-2.0.2/src/core/tcp.c + ..\..\components\net\lwip-2.0.2\src\core\tcp.c - - tcp_in.c 1 - ../../components/net/lwip-2.0.2/src/core/tcp_in.c + ..\..\components\net\lwip-2.0.2\src\core\tcp_in.c - - tcp_out.c 1 - ../../components/net/lwip-2.0.2/src/core/tcp_out.c + ..\..\components\net\lwip-2.0.2\src\core\tcp_out.c - - timeouts.c 1 - ../../components/net/lwip-2.0.2/src/core/timeouts.c + ..\..\components\net\lwip-2.0.2\src\core\timeouts.c - - udp.c 1 - ../../components/net/lwip-2.0.2/src/core/udp.c + ..\..\components\net\lwip-2.0.2\src\core\udp.c - - ethernet.c 1 - ../../components/net/lwip-2.0.2/src/netif/ethernet.c + ..\..\components\net\lwip-2.0.2\src\netif\ethernet.c - - ethernetif.c 1 - ../../components/net/lwip-2.0.2/src/netif/ethernetif.c + ..\..\components\net\lwip-2.0.2\src\netif\ethernetif.c - - lowpan6.c 1 - ../../components/net/lwip-2.0.2/src/netif/lowpan6.c + ..\..\components\net\lwip-2.0.2\src\netif\lowpan6.c - - autoip.c 1 - ../../components/net/lwip-2.0.2/src/core/ipv4/autoip.c + ..\..\components\net\lwip-2.0.2\src\core\ipv4\autoip.c - - dhcp.c 1 - ../../components/net/lwip-2.0.2/src/core/ipv4/dhcp.c + ..\..\components\net\lwip-2.0.2\src\core\ipv4\dhcp.c - - etharp.c 1 - ../../components/net/lwip-2.0.2/src/core/ipv4/etharp.c + ..\..\components\net\lwip-2.0.2\src\core\ipv4\etharp.c - - icmp.c 1 - ../../components/net/lwip-2.0.2/src/core/ipv4/icmp.c + ..\..\components\net\lwip-2.0.2\src\core\ipv4\icmp.c - - igmp.c 1 - ../../components/net/lwip-2.0.2/src/core/ipv4/igmp.c + ..\..\components\net\lwip-2.0.2\src\core\ipv4\igmp.c - - ip4.c 1 - ../../components/net/lwip-2.0.2/src/core/ipv4/ip4.c + ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4.c - - ip4_addr.c 1 - ../../components/net/lwip-2.0.2/src/core/ipv4/ip4_addr.c + ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_addr.c - - ip4_frag.c 1 - ../../components/net/lwip-2.0.2/src/core/ipv4/ip4_frag.c + ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_frag.c + + ::CMSIS + + - + - + - + - + +
diff --git a/bsp/frdm-k64f/rtconfig.py b/bsp/frdm-k64f/rtconfig.py index ff874e791e..1f4d8d246e 100644 --- a/bsp/frdm-k64f/rtconfig.py +++ b/bsp/frdm-k64f/rtconfig.py @@ -63,7 +63,7 @@ elif PLATFORM == 'armcc': LINK = 'armlink' TARGET_EXT = 'axf' - DEVICE = ' --device DARMSTM' + DEVICE = ' --cpu Cortex-M4.fp ' CFLAGS = DEVICE + ' --apcs=interwork' AFLAGS = DEVICE LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers --list rtthread-k64f.map --scatter MK64F.sct' diff --git a/bsp/frdm-k64f/template.uvprojx b/bsp/frdm-k64f/template.uvprojx index ac684902ab..cbc80c689e 100644 --- a/bsp/frdm-k64f/template.uvprojx +++ b/bsp/frdm-k64f/template.uvprojx @@ -14,8 +14,8 @@ MK64FN1M0xxx12 NXP - Keil.Kinetis_K60_DFP.1.5.0 - http://www.keil.com/pack/ + NXP.MK64F12_DFP.10.0.4 + http://mcuxpresso.nxp.com/cmsis_pack/repo/ IRAM(0x20000000,0x00030000) IRAM2(0x1FFF0000,0x00010000) IROM(0x00000000,0x00100000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE @@ -206,8 +206,8 @@ 0 0 0 - 1 - 0 + 0 + 1 0 @@ -296,13 +296,13 @@ 0 - 0x20000000 - 0x30000 + 0x1fff0000 + 0x10000 0 - 0x1fff0000 - 0x10000 + 0x20000000 + 0x30000 diff --git a/bsp/lpc408x/project.uvprojx b/bsp/lpc408x/project.uvprojx index 14f721caf2..c9a4fc4fbf 100644 --- a/bsp/lpc408x/project.uvprojx +++ b/bsp/lpc408x/project.uvprojx @@ -7,21 +7,22 @@ - RT-Thread LPC408x + RT-Thread LPC408X 0x4 ARM-ADS + 5060422::V5.06 update 4 (build 422)::ARMCC - LPC4088FBD208 - NXP - Keil.LPC4000_DFP.1.1.0 + ARMCM4 + ARM + ARM.CMSIS.5.0.0 http://www.keil.com/pack/ - IROM(0x00000000,0x80000) IRAM(0x10000000,0x10000) IRAM2(0x20000000,0x8000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE + IRAM(0x20000000,0x00020000) IROM(0x00000000,0x00040000) CPUTYPE("Cortex-M4") CLOCK(12000000) ESEL ELITTLE - UL2CM3(-S0 -C0 -P0 -FD10000000 -FCFE0 -FN1 -FF0LPC_IAP_512 -FS00 -FL080000 -FP0($$Device:LPC4088FBD208$Flash\LPC_IAP_512.FLM)) + UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000) 0 - $$Device:LPC4088FBD208$Device\Include\LPC407x_8x_177x_8x.h + $$Device:ARMCM4$Device\ARM\ARMCM4\Include\ARMCM4.h @@ -31,7 +32,7 @@ - $$Device:LPC4088FBD208$SVD\LPC408x_7x.svd + $$Device:ARMCM4$Device\ARM\SVD\ARMCM4.svd 0 0 @@ -47,12 +48,12 @@ 1 .\build\ - rtthread-lpc + rtthread 1 0 0 1 - 1 + 0 .\build\ 1 0 @@ -78,9 +79,9 @@ 0 - 0 + 1 0 - + fromelf --bin !L --output rtthread-mdk.bin 0 0 @@ -124,47 +125,6 @@ 0 16 - - 0 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 0 - 1 - - - 1 - 1 - 1 - 1 - 1 - 1 - 0 - 1 - 0 - 1 - - 0 - 6 - - - - - - - - - - - - - - Segger\JL2CM3.dll - @@ -173,10 +133,10 @@ 0 1 1 - 4099 + 4096 1 - Segger\JL2CM3.dll + BIN\UL2CM3.DLL "" () @@ -222,13 +182,14 @@ 1 0 0 - 2 - 1 + 0 + 0 0 8 0 - 0 + 1 0 + 0 3 3 0 @@ -281,13 +242,13 @@ 0 - 0x10000000 - 0x10000 + 0x20000000 + 0x20000 1 0x0 - 0x80000 + 0x40000 0 @@ -341,18 +302,18 @@ 0 - 0x20000000 - 0x8000 + 0x0 + 0x0 1 - 1 + 3 0 0 - 0 + 1 0 0 0 @@ -361,15 +322,20 @@ 0 0 0 - 0 + 1 0 - 0 - 0 + 1 + 1 + 1 + 1 + 0 + 0 + 0 - + --library_interface=armcc --library_type=standardlib --diag_suppress=66,1296,186 CORE_M4, RT_USING_ARM_LIBC - Libraries/Device/NXP/LPC407x_8x_177x_8x/Include;Libraries/CMSIS/Include;Libraries/Drivers/include;applications;.;drivers;../../include;../../libcpu/arm/cortex-m4;../../libcpu/arm/common;..\..\components\libc\pthreads;../../components/libc/armlibc;../../components/drivers/include;../../components/drivers/include;../../components/finsh + applications;.;drivers;Libraries\Device\NXP\LPC407x_8x_177x_8x\Include;Libraries\CMSIS\Include;Libraries\Drivers\include;..\..\include;..\..\libcpu\arm\cortex-m4;..\..\libcpu\arm\common;..\..\components\dfs\include;..\..\components\dfs\filesystems\devfs;..\..\components\dfs\filesystems\elmfat;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\finsh;..\..\components\libc\compilers\armlibc;..\..\components\libc\pthreads;..\..\components\libc\time @@ -382,6 +348,7 @@ 0 0 0 + 0 @@ -390,7 +357,7 @@ - 1 + 0 0 0 0 @@ -399,193 +366,43 @@ 0x00000000 0x10000000 - + .\rtthread-lpc408x.sct - --keep *.o(.rti_fn.*) --keep *.o(FSymTab) --keep *.o(VSymTab) + --keep *.o(FSymTab) --keep *.o(VSymTab) - - CMSIS - - - system_LPC407x_8x_177x_8x.c - 1 - Libraries/Device/NXP/LPC407x_8x_177x_8x/Source/Templates/system_LPC407x_8x_177x_8x.c - - - startup_LPC407x_8x_177x_8x.s - 2 - Libraries/Device/NXP/LPC407x_8x_177x_8x/Source/Templates/ARM/startup_LPC407x_8x_177x_8x.s - - - - - Libraries - - - lpc_adc.c - 1 - Libraries/Drivers/source/lpc_adc.c - - - lpc_bod.c - 1 - Libraries/Drivers/source/lpc_bod.c - - - lpc_can.c - 1 - Libraries/Drivers/source/lpc_can.c - - - lpc_clkpwr.c - 1 - Libraries/Drivers/source/lpc_clkpwr.c - - - lpc_crc.c - 1 - Libraries/Drivers/source/lpc_crc.c - - - lpc_dac.c - 1 - Libraries/Drivers/source/lpc_dac.c - - - lpc_eeprom.c - 1 - Libraries/Drivers/source/lpc_eeprom.c - - - lpc_emc.c - 1 - Libraries/Drivers/source/lpc_emc.c - - - lpc_exti.c - 1 - Libraries/Drivers/source/lpc_exti.c - - - lpc_gpdma.c - 1 - Libraries/Drivers/source/lpc_gpdma.c - - - lpc_gpio.c - 1 - Libraries/Drivers/source/lpc_gpio.c - - - lpc_i2c.c - 1 - Libraries/Drivers/source/lpc_i2c.c - - - lpc_i2s.c - 1 - Libraries/Drivers/source/lpc_i2s.c - - - lpc_iap.c - 1 - Libraries/Drivers/source/lpc_iap.c - - - lpc_lcd.c - 1 - Libraries/Drivers/source/lpc_lcd.c - - - lpc_mcpwm.c - 1 - Libraries/Drivers/source/lpc_mcpwm.c - - - lpc_nvic.c - 1 - Libraries/Drivers/source/lpc_nvic.c - - - lpc_pinsel.c - 1 - Libraries/Drivers/source/lpc_pinsel.c - - - lpc_pwm.c - 1 - Libraries/Drivers/source/lpc_pwm.c - - - lpc_qei.c - 1 - Libraries/Drivers/source/lpc_qei.c - - - lpc_rtc.c - 1 - Libraries/Drivers/source/lpc_rtc.c - - - lpc_ssp.c - 1 - Libraries/Drivers/source/lpc_ssp.c - - - lpc_systick.c - 1 - Libraries/Drivers/source/lpc_systick.c - - - lpc_timer.c - 1 - Libraries/Drivers/source/lpc_timer.c - - - lpc_uart.c - 1 - Libraries/Drivers/source/lpc_uart.c - - - lpc_wwdt.c - 1 - Libraries/Drivers/source/lpc_wwdt.c - - - Applications application.c 1 - applications/application.c + applications\application.c board.c 1 - applications/board.c - - - sram.c - 1 - applications/sram.c - - - startup.c - 1 - applications/startup.c + applications\board.c canapp.c 1 - .\applications\canapp.c + applications\canapp.c + + + sram.c + 1 + applications\sram.c + + + startup.c + 1 + applications\startup.c @@ -593,24 +410,174 @@ Drivers - drv_led.c + drv_hwtimer.c 1 - drivers/drv_led.c + drivers\drv_hwtimer.c - drv_uart.c + drv_led.c 1 - drivers/drv_uart.c + drivers\drv_led.c drv_lpccan.c 1 - .\drivers\drv_lpccan.c + drivers\drv_lpccan.c drv_sdram.c 1 - .\drivers\drv_sdram.c + drivers\drv_sdram.c + + + drv_uart.c + 1 + drivers\drv_uart.c + + + + + Libraries + + + system_LPC407x_8x_177x_8x.c + 1 + Libraries\Device\NXP\LPC407x_8x_177x_8x\Source\Templates\system_LPC407x_8x_177x_8x.c + + + startup_LPC407x_8x_177x_8x.s + 2 + Libraries\Device\NXP\LPC407x_8x_177x_8x\Source\Templates\ARM\startup_LPC407x_8x_177x_8x.s + + + lpc_adc.c + 1 + Libraries\Drivers\source\lpc_adc.c + + + lpc_bod.c + 1 + Libraries\Drivers\source\lpc_bod.c + + + lpc_can.c + 1 + Libraries\Drivers\source\lpc_can.c + + + lpc_clkpwr.c + 1 + Libraries\Drivers\source\lpc_clkpwr.c + + + lpc_crc.c + 1 + Libraries\Drivers\source\lpc_crc.c + + + lpc_dac.c + 1 + Libraries\Drivers\source\lpc_dac.c + + + lpc_eeprom.c + 1 + Libraries\Drivers\source\lpc_eeprom.c + + + lpc_emc.c + 1 + Libraries\Drivers\source\lpc_emc.c + + + lpc_exti.c + 1 + Libraries\Drivers\source\lpc_exti.c + + + lpc_gpdma.c + 1 + Libraries\Drivers\source\lpc_gpdma.c + + + lpc_gpio.c + 1 + Libraries\Drivers\source\lpc_gpio.c + + + lpc_i2c.c + 1 + Libraries\Drivers\source\lpc_i2c.c + + + lpc_i2s.c + 1 + Libraries\Drivers\source\lpc_i2s.c + + + lpc_iap.c + 1 + Libraries\Drivers\source\lpc_iap.c + + + lpc_lcd.c + 1 + Libraries\Drivers\source\lpc_lcd.c + + + lpc_mcpwm.c + 1 + Libraries\Drivers\source\lpc_mcpwm.c + + + lpc_nvic.c + 1 + Libraries\Drivers\source\lpc_nvic.c + + + lpc_pinsel.c + 1 + Libraries\Drivers\source\lpc_pinsel.c + + + lpc_pwm.c + 1 + Libraries\Drivers\source\lpc_pwm.c + + + lpc_qei.c + 1 + Libraries\Drivers\source\lpc_qei.c + + + lpc_rtc.c + 1 + Libraries\Drivers\source\lpc_rtc.c + + + lpc_ssp.c + 1 + Libraries\Drivers\source\lpc_ssp.c + + + lpc_systick.c + 1 + Libraries\Drivers\source\lpc_systick.c + + + lpc_timer.c + 1 + Libraries\Drivers\source\lpc_timer.c + + + lpc_uart.c + 1 + Libraries\Drivers\source\lpc_uart.c + + + lpc_wwdt.c + 1 + Libraries\Drivers\source\lpc_wwdt.c @@ -620,72 +587,72 @@ clock.c 1 - ../../src/clock.c - - - components.c - 1 - ../../src/components.c + ..\..\src\clock.c device.c 1 - ../../src/device.c + ..\..\src\device.c idle.c 1 - ../../src/idle.c + ..\..\src\idle.c ipc.c 1 - ../../src/ipc.c + ..\..\src\ipc.c irq.c 1 - ../../src/irq.c + ..\..\src\irq.c kservice.c 1 - ../../src/kservice.c + ..\..\src\kservice.c mem.c 1 - ../../src/mem.c + ..\..\src\mem.c memheap.c 1 - ../../src/memheap.c + ..\..\src\memheap.c mempool.c 1 - ../../src/mempool.c + ..\..\src\mempool.c object.c 1 - ../../src/object.c + ..\..\src\object.c scheduler.c 1 - ../../src/scheduler.c + ..\..\src\scheduler.c + + + signal.c + 1 + ..\..\src\signal.c thread.c 1 - ../../src/thread.c + ..\..\src\thread.c timer.c 1 - ../../src/timer.c + ..\..\src\timer.c @@ -695,38 +662,248 @@ cpuport.c 1 - ../../libcpu/arm/cortex-m4/cpuport.c + ..\..\libcpu\arm\cortex-m4\cpuport.c context_rvds.S 2 - ../../libcpu/arm/cortex-m4/context_rvds.S + ..\..\libcpu\arm\cortex-m4\context_rvds.S backtrace.c 1 - ../../libcpu/arm/common/backtrace.c + ..\..\libcpu\arm\common\backtrace.c div0.c 1 - ../../libcpu/arm/common/div0.c + ..\..\libcpu\arm\common\div0.c showmem.c 1 - ../../libcpu/arm/common/showmem.c + ..\..\libcpu\arm\common\showmem.c + + + + + Filesystem + + + dfs.c + 1 + ..\..\components\dfs\src\dfs.c + + + dfs_file.c + 1 + ..\..\components\dfs\src\dfs_file.c + + + dfs_fs.c + 1 + ..\..\components\dfs\src\dfs_fs.c + + + dfs_posix.c + 1 + ..\..\components\dfs\src\dfs_posix.c + + + poll.c + 1 + ..\..\components\dfs\src\poll.c + + + select.c + 1 + ..\..\components\dfs\src\select.c + + + devfs.c + 1 + ..\..\components\dfs\filesystems\devfs\devfs.c + + + dfs_elm.c + 1 + ..\..\components\dfs\filesystems\elmfat\dfs_elm.c + + + ff.c + 1 + ..\..\components\dfs\filesystems\elmfat\ff.c + + + + + DeviceDrivers + + + can.c + 1 + ..\..\components\drivers\can\can.c + + + pin.c + 1 + ..\..\components\drivers\misc\pin.c + + + serial.c + 1 + ..\..\components\drivers\serial\serial.c + + + completion.c + 1 + ..\..\components\drivers\src\completion.c + + + dataqueue.c + 1 + ..\..\components\drivers\src\dataqueue.c + + + pipe.c + 1 + ..\..\components\drivers\src\pipe.c + + + ringbuffer.c + 1 + ..\..\components\drivers\src\ringbuffer.c + + + waitqueue.c + 1 + ..\..\components\drivers\src\waitqueue.c + + + workqueue.c + 1 + ..\..\components\drivers\src\workqueue.c + + + + + finsh + + + shell.c + 1 + ..\..\components\finsh\shell.c + + + symbol.c + 1 + ..\..\components\finsh\symbol.c + + + cmd.c + 1 + ..\..\components\finsh\cmd.c + + + msh.c + 1 + ..\..\components\finsh\msh.c + + + msh_cmd.c + 1 + ..\..\components\finsh\msh_cmd.c + + + msh_file.c + 1 + ..\..\components\finsh\msh_file.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_var.c + 1 + ..\..\components\finsh\finsh_var.c + + + finsh_vm.c + 1 + ..\..\components\finsh\finsh_vm.c + + + finsh_token.c + 1 + ..\..\components\finsh\finsh_token.c + + + + + libc + + + libc.c + 1 + ..\..\components\libc\compilers\armlibc\libc.c + + + mem_std.c + 1 + ..\..\components\libc\compilers\armlibc\mem_std.c + + + stdio.c + 1 + ..\..\components\libc\compilers\armlibc\stdio.c + + + stubs.c + 1 + ..\..\components\libc\compilers\armlibc\stubs.c + + + time.c + 1 + ..\..\components\libc\compilers\armlibc\time.c pthreads - - clock_time.c - 1 - ..\..\components\libc\pthreads\clock_time.c - mqueue.c 1 @@ -782,151 +959,18 @@ 1 ..\..\components\libc\pthreads\semaphore.c - - - - libc - - mem_std.c + clock_time.c 1 - ../../components/libc/armlibc/mem_std.c + ..\..\components\libc\time\clock_time.c - stubs.c + posix_sleep.c 1 - ../../components/libc/armlibc/stubs.c + ..\..\components\libc\time\posix_sleep.c - - DeviceDrivers - - - serial.c - 1 - ../../components/drivers/serial/serial.c - - - completion.c - 1 - ../../components/drivers/src/completion.c - - - dataqueue.c - 1 - ../../components/drivers/src/dataqueue.c - - - pipe.c - 1 - ../../components/drivers/src/pipe.c - - - portal.c - 1 - ../../components/drivers/src/portal.c - - - ringbuffer.c - 1 - ../../components/drivers/src/ringbuffer.c - - - workqueue.c - 1 - ../../components/drivers/src/workqueue.c - - - can.c - 1 - ..\..\components\drivers\can\can.c - - - - - finsh - - - shell.c - 1 - ../../components/finsh/shell.c - - - symbol.c - 1 - ../../components/finsh/symbol.c - - - cmd.c - 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_var.c - 1 - ../../components/finsh/finsh_var.c - - - finsh_vm.c - 1 - ../../components/finsh/finsh_vm.c - - - finsh_token.c - 1 - ../../components/finsh/finsh_token.c - - - msh.c - 1 - ..\..\components\finsh\msh.c - - - msh_cmd.c - 1 - ..\..\components\finsh\msh_cmd.c - - - - - ::CMSIS - @@ -934,10 +978,10 @@ - - + + - + diff --git a/bsp/lpc408x/template.uvprojx b/bsp/lpc408x/template.uvprojx new file mode 100644 index 0000000000..b985d37e18 --- /dev/null +++ b/bsp/lpc408x/template.uvprojx @@ -0,0 +1,394 @@ + + + + 2.1 + +
### uVision Project, (C) Keil Software
+ + + + RT-Thread LPC408X + 0x4 + ARM-ADS + 5060528::V5.06 update 5 (build 528)::ARMCC + + + ARMCM4 + ARM + ARM.CMSIS.5.0.0 + http://www.keil.com/pack/ + IRAM(0x20000000,0x00020000) IROM(0x00000000,0x00040000) CPUTYPE("Cortex-M4") CLOCK(12000000) ESEL ELITTLE + + + UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000) + 0 + $$Device:ARMCM4$Device\ARM\ARMCM4\Include\ARMCM4.h + + + + + + + + + + $$Device:ARMCM4$Device\ARM\SVD\ARMCM4.svd + 0 + 0 + + + + + + + 0 + 0 + 0 + 0 + 1 + + .\build\ + rtthread + 1 + 0 + 0 + 1 + 0 + .\build\ + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 1 + 0 + fromelf --bin !L --output rtthread-mdk.bin + + 0 + 0 + 0 + 0 + + 0 + + + + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 3 + + + 1 + + + SARMCM3.DLL + -MPU + DCM.DLL + -pCM4 + SARMCM3.DLL + -MPU + TCM.DLL + -pCM4 + + + + 1 + 0 + 0 + 0 + 16 + + + + + 1 + 0 + 0 + 1 + 1 + 4096 + + 1 + BIN\UL2CM3.DLL + "" () + + + + + 0 + + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + "Cortex-M4" + + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 8 + 0 + 1 + 0 + 0 + 3 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x20000 + + + 1 + 0x0 + 0x40000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x80000 + + + 1 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x10000000 + 0x10000 + + + 0 + 0x0 + 0x0 + + + + + + 1 + 3 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + + --library_interface=armcc --library_type=standardlib --diag_suppress=66,1296,186 + + + + + + + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + 1 + 0 + 0x00000000 + 0x10000000 + + .\rtthread-lpc408x.sct + + + + + + + + + + + + + + + + + + + + + + + + +