From 0266ebce5bd464ff3a68b920012fbac5ae2eb008 Mon Sep 17 00:00:00 2001 From: BernardXiong Date: Sun, 31 Dec 2017 23:01:21 +0800 Subject: [PATCH] [BSP] Update xplorer4330 bsp. --- bsp/xplorer4330/M0/SConstruct | 2 +- bsp/xplorer4330/M0/project.uvopt | 1076 +++++++++++++++++++++++ bsp/xplorer4330/M0/project.uvproj | 1337 +++++++++++++++++++++++++++++ bsp/xplorer4330/M4/SConstruct | 2 +- bsp/xplorer4330/M4/project.uvopt | 173 ++-- bsp/xplorer4330/M4/project.uvproj | 58 +- 6 files changed, 2524 insertions(+), 124 deletions(-) create mode 100644 bsp/xplorer4330/M0/project.uvopt create mode 100644 bsp/xplorer4330/M0/project.uvproj diff --git a/bsp/xplorer4330/M0/SConstruct b/bsp/xplorer4330/M0/SConstruct index f6f21f4ec..62cebd454 100644 --- a/bsp/xplorer4330/M0/SConstruct +++ b/bsp/xplorer4330/M0/SConstruct @@ -5,7 +5,7 @@ import rtconfig if os.getenv('RTT_ROOT'): RTT_ROOT = os.getenv('RTT_ROOT') else: - RTT_ROOT = os.path.join(Dir('#').get_abspath(), '..', '..', 'rt-thread') + RTT_ROOT = os.path.join(Dir('#').get_abspath(), '..', '..', '..') sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')] from building import * diff --git a/bsp/xplorer4330/M0/project.uvopt b/bsp/xplorer4330/M0/project.uvopt new file mode 100644 index 000000000..22c41365a --- /dev/null +++ b/bsp/xplorer4330/M0/project.uvopt @@ -0,0 +1,1076 @@ + + + + 1.0 + +
### uVision Project, (C) Keil Software
+ + + *.c + *.s*; *.src; *.a* + *.obj + *.lib + *.txt; *.h; *.inc + *.plm + *.cpp + + + + 0 + 0 + + + + LPC4330 SPIFI + 0x4 + ARM-ADS + + 12000000 + + 0 + 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 + + + 1 + 0 + 1 + + 0 + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + 1 + 1 + 1 + 0 + 0 + 1 + + + + + + + + + + + BIN\UL2CM3.DLL + + + + 0 + UL2CM3 + UL2CM3(-O910 -S8 -C1 -FO7 -FD10000000 -FC800 -FN0) + + + + + 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 + + + + + + + + LPC4330 RAM + 0x4 + ARM-ADS + + 12000000 + + 0 + 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 + 0 + + 0 + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 1 + 0 + 1 + 1 + 1 + 0 + 0 + 1 + + + + + + + + + + .\Dbg_RAM.ini + BIN\UL2CM3.DLL + + + + 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 + + + + + + + + Applications + 0 + 0 + 0 + 0 + + 1 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\applications\application.c + application.c + 0 + 0 + + + 1 + 2 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\applications\startup.c + startup.c + 0 + 0 + + + + + Drivers + 0 + 0 + 0 + 0 + + 2 + 3 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\drivers\board.c + board.c + 0 + 0 + + + 2 + 4 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\drivers\drv_led.c + drv_led.c + 0 + 0 + + + 2 + 5 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\drivers\drv_uart.c + drv_uart.c + 0 + 0 + + + + + CMSIS + 0 + 0 + 0 + 0 + + 3 + 6 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\Libraries\Device\NXP\LPC43xx\Source\Templates\system_LPC43xx.c + system_LPC43xx.c + 0 + 0 + + + 3 + 7 + 2 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\Libraries\Device\NXP\LPC43xx\Source\Templates\ARM\startup_LPC43xx_M0.s + startup_LPC43xx_M0.s + 0 + 0 + + + + + Kernel + 0 + 0 + 0 + 0 + + 4 + 8 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\src\clock.c + clock.c + 0 + 0 + + + 4 + 9 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\src\device.c + device.c + 0 + 0 + + + 4 + 10 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\src\idle.c + idle.c + 0 + 0 + + + 4 + 11 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\src\ipc.c + ipc.c + 0 + 0 + + + 4 + 12 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\src\irq.c + irq.c + 0 + 0 + + + 4 + 13 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\src\kservice.c + kservice.c + 0 + 0 + + + 4 + 14 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\src\mem.c + mem.c + 0 + 0 + + + 4 + 15 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\src\memheap.c + memheap.c + 0 + 0 + + + 4 + 16 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\src\mempool.c + mempool.c + 0 + 0 + + + 4 + 17 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\src\object.c + object.c + 0 + 0 + + + 4 + 18 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\src\scheduler.c + scheduler.c + 0 + 0 + + + 4 + 19 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\src\signal.c + signal.c + 0 + 0 + + + 4 + 20 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\src\thread.c + thread.c + 0 + 0 + + + 4 + 21 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\src\timer.c + timer.c + 0 + 0 + + + + + CORTEX-M0 + 0 + 0 + 0 + 0 + + 5 + 22 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\libcpu\arm\cortex-m0\cpuport.c + cpuport.c + 0 + 0 + + + 5 + 23 + 2 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\libcpu\arm\cortex-m0\context_rvds.S + context_rvds.S + 0 + 0 + + + 5 + 24 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\libcpu\arm\common\backtrace.c + backtrace.c + 0 + 0 + + + 5 + 25 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\libcpu\arm\common\div0.c + div0.c + 0 + 0 + + + 5 + 26 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\libcpu\arm\common\showmem.c + showmem.c + 0 + 0 + + + + + DeviceDrivers + 0 + 0 + 0 + 0 + + 6 + 27 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\components\drivers\serial\serial.c + serial.c + 0 + 0 + + + 6 + 28 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\components\drivers\src\completion.c + completion.c + 0 + 0 + + + 6 + 29 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\components\drivers\src\dataqueue.c + dataqueue.c + 0 + 0 + + + 6 + 30 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\components\drivers\src\pipe.c + pipe.c + 0 + 0 + + + 6 + 31 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\components\drivers\src\ringbuffer.c + ringbuffer.c + 0 + 0 + + + 6 + 32 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\components\drivers\src\waitqueue.c + waitqueue.c + 0 + 0 + + + 6 + 33 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\components\drivers\src\workqueue.c + workqueue.c + 0 + 0 + + + + + finsh + 0 + 0 + 0 + 0 + + 7 + 34 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\components\finsh\shell.c + shell.c + 0 + 0 + + + 7 + 35 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\components\finsh\symbol.c + symbol.c + 0 + 0 + + + 7 + 36 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\components\finsh\cmd.c + cmd.c + 0 + 0 + + + 7 + 37 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\components\finsh\finsh_compiler.c + finsh_compiler.c + 0 + 0 + + + 7 + 38 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\components\finsh\finsh_error.c + finsh_error.c + 0 + 0 + + + 7 + 39 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\components\finsh\finsh_heap.c + finsh_heap.c + 0 + 0 + + + 7 + 40 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\components\finsh\finsh_init.c + finsh_init.c + 0 + 0 + + + 7 + 41 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\components\finsh\finsh_node.c + finsh_node.c + 0 + 0 + + + 7 + 42 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\components\finsh\finsh_ops.c + finsh_ops.c + 0 + 0 + + + 7 + 43 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\components\finsh\finsh_parser.c + finsh_parser.c + 0 + 0 + + + 7 + 44 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\components\finsh\finsh_var.c + finsh_var.c + 0 + 0 + + + 7 + 45 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\components\finsh\finsh_vm.c + finsh_vm.c + 0 + 0 + + + 7 + 46 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + ..\..\..\components\finsh\finsh_token.c + finsh_token.c + 0 + 0 + + + +
diff --git a/bsp/xplorer4330/M0/project.uvproj b/bsp/xplorer4330/M0/project.uvproj new file mode 100644 index 000000000..4caca5f29 --- /dev/null +++ b/bsp/xplorer4330/M0/project.uvproj @@ -0,0 +1,1337 @@ + + + + 1.1 + +
### uVision Project, (C) Keil Software
+ + + + LPC4330 SPIFI + 0x4 + ARM-ADS + + + LPC4330 CM0 + NXP (founded by Philips) + CLOCK(12000000) CPUTYPE("Cortex-M0") + + "STARTUP\NXP\LPC43xx\startup_LPC43xx_M0.s" ("NXP LPC43xx CM0 Startup Code") + UL2CM3(-O910 -S8 -C1 -FO7 -FD10000000 -FC800 -FN0) + 6914 + LPC43xx.H + + + + + + + + + + SFD\NXP\LPC43xx\LPC43xx.SFR + 0 + 0 + + + + NXP\LPC43xx\ + NXP\LPC43xx\ + + 0 + 0 + 0 + 0 + 1 + + .\build\ + rtthread_lpc43xx + 1 + 0 + 0 + 1 + 1 + .\build\ + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + 0 + + + + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 3 + + + 1 + + + SARMCM3.DLL + + TARMCM1.DLL + -pCM0 + SARMCM3.DLL + + DARMCM1.DLL + -pCM0 + + + + 1 + 0 + 0 + 0 + 16 + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + + + 1 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + 1 + 1 + + 0 + 1 + + + + + + + + + + + + + + BIN\UL2CM3.DLL + + + + + 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 + 1 + 0 + "Cortex-M0" + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 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 + 0x10000000 + 0x20000 + + + 1 + 0x1a000000 + 0x80000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x14000000 + 0x400000 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x10000000 + 0x10000 + + + 0 + 0x0 + 0x0 + + + + + + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + CORE_M0, USE_SPIFI + + applications;.;..\drivers;..\Libraries\Device\NXP\LPC43xx\Include;..\Libraries\CMSIS\Include;..\..\..\include;..\..\..\libcpu\arm\cortex-m0;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh + + + + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + NO_CRP + + + + + + 1 + 0 + 0 + 0 + 1 + 0 + 0x14000000 + 0x10000000 + + + + + --keep *.o(FSymTab) --keep *.o(VSymTab) + + + + + + + + Applications + + + application.c + 1 + ..\applications\application.c + + + startup.c + 1 + ..\applications\startup.c + + + + + Drivers + + + board.c + 1 + ..\drivers\board.c + + + drv_led.c + 1 + ..\drivers\drv_led.c + + + drv_uart.c + 1 + ..\drivers\drv_uart.c + + + + + CMSIS + + + system_LPC43xx.c + 1 + ..\Libraries\Device\NXP\LPC43xx\Source\Templates\system_LPC43xx.c + + + startup_LPC43xx_M0.s + 2 + ..\Libraries\Device\NXP\LPC43xx\Source\Templates\ARM\startup_LPC43xx_M0.s + + + + + Kernel + + + clock.c + 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 + + + signal.c + 1 + ..\..\..\src\signal.c + + + thread.c + 1 + ..\..\..\src\thread.c + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + CORTEX-M0 + + + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m0\cpuport.c + + + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m0\context_rvds.S + + + backtrace.c + 1 + ..\..\..\libcpu\arm\common\backtrace.c + + + div0.c + 1 + ..\..\..\libcpu\arm\common\div0.c + + + showmem.c + 1 + ..\..\..\libcpu\arm\common\showmem.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 + + + 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 + + + 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 + + + + + + + LPC4330 RAM + 0x4 + ARM-ADS + + + LPC4330 CM0 + NXP (founded by Philips) + CLOCK(12000000) CPUTYPE("Cortex-M0") + + "STARTUP\NXP\LPC43xx\startup_LPC43xx_M0.s" ("NXP LPC43xx CM0 Startup Code") + UL2CM3(-O910 -S8 -C1 -FO7 -FD10000000 -FC800 -FN0) + 6914 + LPC43xx.H + + + + + + + + + + SFD\NXP\LPC43xx\LPC43xx.SFR + 0 + 0 + + + + NXP\LPC43xx\ + NXP\LPC43xx\ + + 0 + 0 + 0 + 0 + 1 + + .\build\ + rtthread_lpc43xx + 1 + 0 + 0 + 1 + 1 + .\build\ + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + 0 + + + + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 3 + + + 1 + + + SARMCM3.DLL + + TARMCM1.DLL + -pCM0 + SARMCM3.DLL + + DARMCM1.DLL + -pCM0 + + + + 1 + 0 + 0 + 0 + 16 + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + + + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 1 + 0 + 1 + 1 + + 0 + 1 + + + + + + + + + + + + + .\Dbg_RAM.ini + BIN\UL2CM3.DLL + + + + + 1 + 1 + 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-M0" + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 3 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 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 + 0x10000000 + 0x20000 + + + 1 + 0x1a000000 + 0x80000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x10000000 + 0x10000 + + + 0 + 0x0 + 0x0 + + + + + + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + + + + + + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + NO_CRP + + + + + + 1 + 0 + 0 + 0 + 1 + 0 + 0x10000000 + 0x20000000 + + + + + + + + + + + + + Applications + + + application.c + 1 + ..\applications\application.c + + + startup.c + 1 + ..\applications\startup.c + + + + + Drivers + + + board.c + 1 + ..\drivers\board.c + + + drv_led.c + 1 + ..\drivers\drv_led.c + + + drv_uart.c + 1 + ..\drivers\drv_uart.c + + + + + CMSIS + + + system_LPC43xx.c + 1 + ..\Libraries\Device\NXP\LPC43xx\Source\Templates\system_LPC43xx.c + + + startup_LPC43xx_M0.s + 2 + ..\Libraries\Device\NXP\LPC43xx\Source\Templates\ARM\startup_LPC43xx_M0.s + + + + + Kernel + + + clock.c + 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 + + + signal.c + 1 + ..\..\..\src\signal.c + + + thread.c + 1 + ..\..\..\src\thread.c + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + CORTEX-M0 + + + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m0\cpuport.c + + + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m0\context_rvds.S + + + backtrace.c + 1 + ..\..\..\libcpu\arm\common\backtrace.c + + + div0.c + 1 + ..\..\..\libcpu\arm\common\div0.c + + + showmem.c + 1 + ..\..\..\libcpu\arm\common\showmem.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 + + + 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 + + + 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 + + + + + + + +
diff --git a/bsp/xplorer4330/M4/SConstruct b/bsp/xplorer4330/M4/SConstruct index f6f21f4ec..62cebd454 100644 --- a/bsp/xplorer4330/M4/SConstruct +++ b/bsp/xplorer4330/M4/SConstruct @@ -5,7 +5,7 @@ import rtconfig if os.getenv('RTT_ROOT'): RTT_ROOT = os.getenv('RTT_ROOT') else: - RTT_ROOT = os.path.join(Dir('#').get_abspath(), '..', '..', 'rt-thread') + RTT_ROOT = os.path.join(Dir('#').get_abspath(), '..', '..', '..') sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')] from building import * diff --git a/bsp/xplorer4330/M4/project.uvopt b/bsp/xplorer4330/M4/project.uvopt index 62355f081..e2f32a5ac 100644 --- a/bsp/xplorer4330/M4/project.uvopt +++ b/bsp/xplorer4330/M4/project.uvopt @@ -27,7 +27,7 @@ 12000000 - 1 + 0 1 1 0 @@ -71,43 +71,11 @@ 0 - 1 + 0 0 1 - 8 - - - 0 - User Manual - DATASHTS\NXP\LPC43xx\UM10503.pdf - - - 1 - Data Sheet - DATASHTS\NXP\LPC43xx\LPC4350_30_20_10.pdf - - - 2 - Technical Reference Manual - datashts\arm\cortex_m4\r0p1\DDI0439C_CORTEX_M4_R0P1_TRM.PDF - - - 3 - Generic User Guide - datashts\arm\cortex_m4\r0p1\DUI0553A_CORTEX_M4_DGUG.PDF - - - - SARMCM3.DLL - -MPU - DCM.DLL - -pCM4 - SARMCM3.DLL - -MPU - TCM.DLL - -pCM4 - + 0 0 1 @@ -126,6 +94,9 @@ 0 1 0 + 1 + 1 + 1 0 0 1 @@ -145,7 +116,7 @@ 0 UL2CM3 - -U-O975 -O783 -S0 -C0 -P00 -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD10000000 -FC8000 -FN1 -FF0LPC18xx43xx_S25FL032 -FS014000000 -FL0400000 + UL2CM3(-O975 -S0 -C0) @@ -190,7 +161,7 @@ 12000000 - 1 + 0 1 1 0 @@ -238,39 +209,7 @@ 0 0 - 8 - - - 0 - User Manual - DATASHTS\NXP\LPC43xx\UM10503.pdf - - - 1 - Data Sheet - DATASHTS\NXP\LPC43xx\LPC4350_30_20_10.pdf - - - 2 - Technical Reference Manual - datashts\arm\cortex_m4\r0p1\DDI0439C_CORTEX_M4_R0P1_TRM.PDF - - - 3 - Generic User Guide - datashts\arm\cortex_m4\r0p1\DUI0553A_CORTEX_M4_DGUG.PDF - - - - SARMCM3.DLL - -MPU - DCM.DLL - -pCM4 - SARMCM3.DLL - -MPU - TCM.DLL - -pCM4 - + 0 0 1 @@ -289,6 +228,9 @@ 0 1 0 + 1 + 1 + 1 0 0 1 @@ -304,13 +246,6 @@ .\Dbg_RAM.ini BIN\UL2CM3.DLL - - - 0 - UL2CM3 - -U -O783 -S0 -C0 -P00 -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 - - 0 @@ -388,7 +323,7 @@ Drivers - 1 + 0 0 0 0 @@ -430,10 +365,10 @@ 1 0 0 - 14 + 0 0 - 86 - 87 + 0 + 0 0 ..\drivers\drv_uart.c drv_uart.c @@ -675,6 +610,22 @@ 0 0 0 + ..\..\..\src\signal.c + signal.c + 0 + 0 + + + 4 + 20 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 ..\..\..\src\thread.c thread.c 0 @@ -682,7 +633,7 @@ 4 - 20 + 21 1 0 0 @@ -706,7 +657,7 @@ 0 5 - 21 + 22 1 0 0 @@ -722,7 +673,7 @@ 5 - 22 + 23 2 0 0 @@ -738,7 +689,7 @@ 5 - 23 + 24 1 0 0 @@ -754,7 +705,7 @@ 5 - 24 + 25 1 0 0 @@ -770,7 +721,7 @@ 5 - 25 + 26 1 0 0 @@ -794,7 +745,7 @@ 0 6 - 26 + 27 1 0 0 @@ -810,7 +761,7 @@ 6 - 27 + 28 1 0 0 @@ -826,7 +777,7 @@ 6 - 28 + 29 1 0 0 @@ -842,7 +793,7 @@ 6 - 29 + 30 1 0 0 @@ -858,7 +809,7 @@ 6 - 30 + 31 1 0 0 @@ -867,14 +818,14 @@ 0 0 0 - ..\..\..\components\drivers\src\portal.c - portal.c + ..\..\..\components\drivers\src\ringbuffer.c + ringbuffer.c 0 0 6 - 31 + 32 1 0 0 @@ -883,14 +834,14 @@ 0 0 0 - ..\..\..\components\drivers\src\ringbuffer.c - ringbuffer.c + ..\..\..\components\drivers\src\waitqueue.c + waitqueue.c 0 0 6 - 32 + 33 1 0 0 @@ -914,7 +865,7 @@ 0 7 - 33 + 34 1 0 0 @@ -930,7 +881,7 @@ 7 - 34 + 35 1 0 0 @@ -946,7 +897,7 @@ 7 - 35 + 36 1 0 0 @@ -962,7 +913,7 @@ 7 - 36 + 37 1 0 0 @@ -978,7 +929,7 @@ 7 - 37 + 38 1 0 0 @@ -994,7 +945,7 @@ 7 - 38 + 39 1 0 0 @@ -1010,7 +961,7 @@ 7 - 39 + 40 1 0 0 @@ -1026,7 +977,7 @@ 7 - 40 + 41 1 0 0 @@ -1042,7 +993,7 @@ 7 - 41 + 42 1 0 0 @@ -1058,7 +1009,7 @@ 7 - 42 + 43 1 0 0 @@ -1074,7 +1025,7 @@ 7 - 43 + 44 1 0 0 @@ -1090,7 +1041,7 @@ 7 - 44 + 45 1 0 0 @@ -1106,7 +1057,7 @@ 7 - 45 + 46 1 0 0 diff --git a/bsp/xplorer4330/M4/project.uvproj b/bsp/xplorer4330/M4/project.uvproj index 43e0857a4..21d372e63 100644 --- a/bsp/xplorer4330/M4/project.uvproj +++ b/bsp/xplorer4330/M4/project.uvproj @@ -30,6 +30,7 @@ SFD\NXP\LPC43xx\LPC43xx.SFR + 0 0 @@ -97,6 +98,7 @@ 3 + 1 SARMCM3.DLL @@ -126,6 +128,7 @@ 1 1 0 + 1 1 @@ -137,6 +140,8 @@ 0 1 0 + 1 + 1 0 1 @@ -169,6 +174,10 @@ BIN\UL2CM3.DLL "" () + + + + 0 @@ -347,11 +356,13 @@ 0 0 0 + 0 + 0 - CORE_M4 USE_SPIFI + USE_SPIFI, CORE_M4 - .;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\include;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\Libraries\CMSIS\Include;..\Libraries\Device\NXP\LPC43xx\Include;..\drivers;applications + applications;.;..\drivers;..\Libraries\Device\NXP\LPC43xx\Include;..\Libraries\CMSIS\Include;..\..\..\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh @@ -363,6 +374,7 @@ 0 0 0 + 0 NO_CRP @@ -379,10 +391,11 @@ 0 0x14000000 0x10000000 + - --keep __fsym_* --keep __vsym_* + --keep *.o(FSymTab) --keep *.o(VSymTab) @@ -497,6 +510,11 @@ 1 ..\..\..\src\scheduler.c + + signal.c + 1 + ..\..\..\src\signal.c + thread.c 1 @@ -563,14 +581,14 @@ ..\..\..\components\drivers\src\pipe.c - portal.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\portal.c + ..\..\..\components\drivers\src\ringbuffer.c - ringbuffer.c + waitqueue.c 1 - ..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\components\drivers\src\waitqueue.c workqueue.c @@ -675,6 +693,7 @@ SFD\NXP\LPC43xx\LPC43xx.SFR + 0 0 @@ -742,6 +761,7 @@ 3 + 1 SARMCM3.DLL @@ -771,6 +791,7 @@ 1 1 0 + 1 1 @@ -782,6 +803,8 @@ 0 1 0 + 1 + 1 0 1 @@ -814,6 +837,10 @@ BIN\UL2CM3.DLL + + + + 0 @@ -992,6 +1019,8 @@ 0 0 0 + 0 + 0 @@ -1008,6 +1037,7 @@ 0 0 0 + 0 NO_CRP @@ -1024,6 +1054,7 @@ 0 0x10000000 0x20000000 + @@ -1142,6 +1173,11 @@ 1 ..\..\..\src\scheduler.c + + signal.c + 1 + ..\..\..\src\signal.c + thread.c 1 @@ -1208,14 +1244,14 @@ ..\..\..\components\drivers\src\pipe.c - portal.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\portal.c + ..\..\..\components\drivers\src\ringbuffer.c - ringbuffer.c + waitqueue.c 1 - ..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\components\drivers\src\waitqueue.c workqueue.c -- GitLab