fix Keil MDK project template and add scatter file.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@974 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong 2010-09-28 03:07:47 +00:00
parent 53cc2e079c
commit 0dac4f368b
2 changed files with 25 additions and 7 deletions

View File

@ -0,0 +1,18 @@
LR_IROM1 0x30000000 0x1000000 {
ER_IROM1 0x30000000 0x00200000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
}
ER_MMU 0x30400000 EMPTY 0x00100000 {
}
RW_IRAM1 0x30500000 { ; RW data
.ANY (+RW)
}
ER_ZI +0 { ; ZI data
.ANY (+ZI)
}
}

View File

@ -1,12 +1,12 @@
### uVision2 Project, (C) Keil Software
### Do not modify !
Target (RT-Thread Debug), 0x0004 // Tools: 'ARM-ADS'
Target (RT-Thread Mini2440), 0x0004 // Tools: 'ARM-ADS'
Options 1,0,0 // Target 'RT-Thread Debug'
Options 1,0,0 // Target 'RT-Thread Mini2440'
Device (S3C2440A)
Vendor (Samsung)
Cpu (IRAM(0x40000000-0x40000FFF) CLOCK(12000000) CPUTYPE(ARM920T))
@ -53,7 +53,7 @@ Options 1,0,0 // Target 'RT-Thread Debug'
ADSFLGA { 242,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }
ACPUTYP (ARM920T)
RVDEV ()
ADSTFLGA { 0,8,64,0,96,0,64,64,0,0,0,0,0,0,0,0,0,0,0,0 }
ADSTFLGA { 0,8,0,0,96,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0 }
OCMADSOCM { 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,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,0,0,0,0 }
OCMADSIRAM { 0,0,0,0,64,0,16,0,0 }
OCMADSIROM { 0,0,0,0,0,0,0,0,0 }
@ -61,7 +61,7 @@ Options 1,0,0 // Target 'RT-Thread Debug'
OCR_RVCT { 1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,16,0,0,0,0,0,0,0,0,0,0,0 }
RV_STAVEC ()
ADSCCFLG { 5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }
ADSCMISC ()
ADSCMISC (--diag_suppress=870)
ADSCDEFN ()
ADSCUDEF ()
ADSCINCD ()
@ -79,10 +79,10 @@ Options 1,0,0 // Target 'RT-Thread Debug'
StopCode=3
CustArgs ()
LibMods ()
ADSLDFG { 17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }
ADSLDTA (0x00000000)
ADSLDFG { 16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }
ADSLDTA (0x30000000)
ADSLDDA (0x40000000)
ADSLDSC ()
ADSLDSC (rtthread-mini2440.sct)
ADSLDIB ()
ADSLDIC ()
ADSLDMC ()