diff --git a/bsp/asm9260t/project.uvopt b/bsp/asm9260t/project.uvopt
index 68b788c6b0..faad67187e 100644
--- a/bsp/asm9260t/project.uvopt
+++ b/bsp/asm9260t/project.uvopt
@@ -13,7 +13,6 @@
*.txt; *.h; *.inc
*.plm
*.cpp
- 0
@@ -32,7 +31,6 @@
1
1
0
- 0
1
@@ -110,6 +108,7 @@
1
1
1
+ 1
0
0
5
@@ -172,4 +171,1076 @@
+
+ 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\usart.c
+ usart.c
+ 0
+ 0
+
+
+ 2
+ 5
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ drivers\led.c
+ led.c
+ 0
+ 0
+
+
+
+
+ platform
+ 0
+ 0
+ 0
+ 0
+
+ 3
+ 6
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ platform\gpio.c
+ gpio.c
+ 0
+ 0
+
+
+ 3
+ 7
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ platform\interrupt.c
+ interrupt.c
+ 0
+ 0
+
+
+ 3
+ 8
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ platform\reset.c
+ reset.c
+ 0
+ 0
+
+
+ 3
+ 9
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ plat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 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\drivers\src\pipe.c
+ pipe.c
+ 0
+ 0
+
+
+ 6
+ 43
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\drivers\src\ringbuffer.c
+ ringbuffer.c
+ 0
+ 0
+
+
+ 6
+ 44
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\drivers\src\waitqueue.c
+ waitqueue.c
+ 0
+ 0
+
+
+ 6
+ 45
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\drivers\src\workqueue.c
+ workqueue.c
+ 0
+ 0
+
+
+
+
+ finsh
+ 0
+ 0
+ 0
+ 0
+
+ 7
+ 46
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\finsh\shell.c
+ shell.c
+ 0
+ 0
+
+
+ 7
+ 47
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\finsh\symbol.c
+ symbol.c
+ 0
+ 0
+
+
+ 7
+ 48
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\finsh\cmd.c
+ cmd.c
+ 0
+ 0
+
+
+ 7
+ 49
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\finsh\finsh_compiler.c
+ finsh_compiler.c
+ 0
+ 0
+
+
+ 7
+ 50
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\finsh\finsh_error.c
+ finsh_error.c
+ 0
+ 0
+
+
+ 7
+ 51
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\finsh\finsh_heap.c
+ finsh_heap.c
+ 0
+ 0
+
+
+ 7
+ 52
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\finsh\finsh_init.c
+ finsh_init.c
+ 0
+ 0
+
+
+ 7
+ 53
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\finsh\finsh_node.c
+ finsh_node.c
+ 0
+ 0
+
+
+ 7
+ 54
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\finsh\finsh_ops.c
+ finsh_ops.c
+ 0
+ 0
+
+
+ 7
+ 55
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\finsh\finsh_parser.c
+ finsh_parser.c
+ 0
+ 0
+
+
+ 7
+ 56
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\finsh\finsh_var.c
+ finsh_var.c
+ 0
+ 0
+
+
+ 7
+ 57
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\finsh\finsh_vm.c
+ finsh_vm.c
+ 0
+ 0
+
+
+ 7
+ 58
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\finsh\finsh_token.c
+ finsh_token.c
+ 0
+ 0
+
+
+
+
+ libc
+ 0
+ 0
+ 0
+ 0
+
+ 8
+ 59
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\libc\compilers\armlibc\libc.c
+ libc.c
+ 0
+ 0
+
+
+ 8
+ 60
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\libc\compilers\armlibc\libc_syms.c
+ libc_syms.c
+ 0
+ 0
+
+
+ 8
+ 61
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\libc\compilers\armlibc\mem_std.c
+ mem_std.c
+ 0
+ 0
+
+
+ 8
+ 62
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\libc\compilers\armlibc\stdio.c
+ stdio.c
+ 0
+ 0
+
+
+ 8
+ 63
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\libc\compilers\armlibc\stubs.c
+ stubs.c
+ 0
+ 0
+
+
+
diff --git a/bsp/asm9260t/project.uvproj b/bsp/asm9260t/project.uvproj
index 4516220066..26029b978d 100644
--- a/bsp/asm9260t/project.uvproj
+++ b/bsp/asm9260t/project.uvproj
@@ -1,7 +1,10 @@
+
1.1
+
### uVision Project, (C) Keil Software
+
rtthread
@@ -12,26 +15,26 @@
AT91SAM9260
Atmel
IRAM(0x200000-0x200FFF) IRAM2(0x300000-0x300FFF) IROM(0x100000-0x107FFF) CLOCK(18432000) CPUTYPE(ARM926EJ-S)
-
+
"STARTUP\Atmel\SAM9260.s" ("Atmel AT91SAM9260 Startup Code")
UL2ARM(-UV2077N9E -O47 -S0 -C0 -N00("ARM926EJ-S Core") -D00(0792603F) -L00(4) -FO7 -FD300000 -FC1000 -FN1 -FF0AT91SAM9_DF_P1056_CS1 -FS020000000 -FL083BE00)
4210
AT91SAM9260.H
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
0
0
-
-
-
+
+
+
Atmel\SAM9260\
Atmel\SAM9260\
@@ -55,8 +58,8 @@
0
0
-
-
+
+
0
0
0
@@ -65,23 +68,21 @@
0
0
-
-
+
+
0
0
- 0
- 0
0
0
-
-
+
+
0
0
0
-
+
0
@@ -95,8 +96,8 @@
0
0
3
-
-
+
+
1
@@ -105,7 +106,7 @@
DARMATS9.DLL
-p91SAM9260
SARM.DLL
-
+
TARMATS9.DLL
-p91SAM9260
@@ -140,21 +141,22 @@
1
1
1
+ 1
0
5
-
-
-
-
-
+
+
+
+
+
-
-
-
-
+
+
+
+
.\jlink\at91sam9260.ini
Segger\JLTAgdi.dll
@@ -172,9 +174,9 @@
BIN\UL2ARM.DLL
"" ()
.\jlink\at91sam9260.ini
-
-
-
+
+
+
0
@@ -207,7 +209,7 @@
0
0
ARM926EJ-S
-
+
0
0
0
@@ -338,7 +340,7 @@
0x1000
-
+
1
@@ -357,9 +359,9 @@
0
0
-
+
RT_USING_ARM_LIBC
-
+
applications;.;drivers;platform;..\..\include;..\..\libcpu\arm\arm926;..\..\libcpu\arm\common;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\finsh;..\..\components\libc\compilers\armlibc
@@ -374,10 +376,10 @@
0
0
-
-
-
-
+
+
+
+ .\platform
@@ -389,13 +391,13 @@
0
0x20000000
0x20800000
-
- .\at91sam9260_ram.scat
-
-
+
+ .\link_scripts\sdram.scat
+
+
--keep *.o(.rti_fn.*) --keep *.o(FSymTab) --keep *.o(VSymTab)
-
-
+
+
@@ -408,8 +410,6 @@
1
applications\application.c
-
-
startup.c
1
@@ -425,15 +425,11 @@
1
drivers\board.c
-
-
usart.c
1
drivers\usart.c
-
-
led.c
1
@@ -449,43 +445,31 @@
1
platform\gpio.c
-
-
interrupt.c
1
platform\interrupt.c
-
-
reset.c
1
platform\reset.c
-
-
rt_low_level_init.c
1
platform\rt_low_level_init.c
-
-
system_clock.c
1
platform\system_clock.c
-
-
timer0.c
1
platform\timer0.c
-
-
uart.c
1
@@ -501,92 +485,66 @@
1
..\..\src\clock.c
-
-
components.c
1
..\..\src\components.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
-
-
mempool.c
1
..\..\src\mempool.c
-
-
object.c
1
..\..\src\object.c
-
-
scheduler.c
1
..\..\src\scheduler.c
-
-
signal.c
1
..\..\src\signal.c
-
-
slab.c
1
..\..\src\slab.c
-
-
thread.c
1
..\..\src\thread.c
-
-
timer.c
1
@@ -602,57 +560,41 @@
1
..\..\libcpu\arm\arm926\cpuport.c
-
-
mmu.c
1
..\..\libcpu\arm\arm926\mmu.c
-
-
stack.c
1
..\..\libcpu\arm\arm926\stack.c
-
-
trap.c
1
..\..\libcpu\arm\arm926\trap.c
-
-
context_rvds.S
2
..\..\libcpu\arm\arm926\context_rvds.S
-
-
start_rvds.S
2
..\..\libcpu\arm\arm926\start_rvds.S
-
-
backtrace.c
1
..\..\libcpu\arm\common\backtrace.c
-
-
div0.c
1
..\..\libcpu\arm\common\div0.c
-
-
showmem.c
1
@@ -668,64 +610,46 @@
1
..\..\components\drivers\i2c\i2c_core.c
-
-
i2c_dev.c
1
..\..\components\drivers\i2c\i2c_dev.c
-
-
i2c-bit-ops.c
1
..\..\components\drivers\i2c\i2c-bit-ops.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
@@ -741,85 +665,61 @@
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
@@ -835,29 +735,21 @@
1
..\..\components\libc\compilers\armlibc\libc.c
-
-
libc_syms.c
1
..\..\components\libc\compilers\armlibc\libc_syms.c
-
-
mem_std.c
1
..\..\components\libc\compilers\armlibc\mem_std.c
-
-
stdio.c
1
..\..\components\libc\compilers\armlibc\stdio.c
-
-
stubs.c
1
@@ -868,4 +760,5 @@
+
diff --git a/bsp/asm9260t/template.uvopt b/bsp/asm9260t/template.uvopt
index 68b788c6b0..2dca5102b8 100644
--- a/bsp/asm9260t/template.uvopt
+++ b/bsp/asm9260t/template.uvopt
@@ -13,7 +13,6 @@
*.txt; *.h; *.inc
*.plm
*.cpp
- 0
@@ -32,7 +31,6 @@
1
1
0
- 0
1
@@ -110,6 +108,7 @@
1
1
1
+ 1
0
0
5
diff --git a/bsp/asm9260t/template.uvproj b/bsp/asm9260t/template.uvproj
index 2e357d9fdf..b1931883a7 100644
--- a/bsp/asm9260t/template.uvproj
+++ b/bsp/asm9260t/template.uvproj
@@ -72,8 +72,6 @@
0
0
- 0
- 0
0
@@ -143,6 +141,7 @@
1
1
1
+ 1
0
5
@@ -380,7 +379,7 @@
-
+ .\platform
@@ -393,7 +392,7 @@
0x20000000
0x20800000
- .\at91sam9260_ram.scat
+ .\link_scripts\sdram.scat