summaryrefslogtreecommitdiff
path: root/bsp/mini2440/rtconfig.py
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2009-12-18 05:25:41 +0000
committerbernard.xiong <[email protected]>2009-12-18 05:25:41 +0000
commit7b33e38723445528f874d19aedb42ee6ff552b9c (patch)
tree7f23f7f26af7ecb633888f1a608bd81dad6d7672 /bsp/mini2440/rtconfig.py
parent33e69c78864b1f0436a82400ac42a045479cf75f (diff)
update mini2440 bsp.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@206 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/mini2440/rtconfig.py')
-rw-r--r--bsp/mini2440/rtconfig.py26
1 files changed, 19 insertions, 7 deletions
diff --git a/bsp/mini2440/rtconfig.py b/bsp/mini2440/rtconfig.py
index ab5bc5e1d6..a703172a8e 100644
--- a/bsp/mini2440/rtconfig.py
+++ b/bsp/mini2440/rtconfig.py
@@ -1,17 +1,29 @@
# component options
+
+# finsh shell option
RT_USING_FINSH = True
+
+# device file system options
RT_USING_DFS = True
-RT_USING_DFS_YAFFS2 = False
RT_USING_DFS_EFSL = True
+RT_USING_DFS_ELMFAT = False
+RT_USING_DFS_YAFFS2 = False
+
+# lwip options
RT_USING_LWIP = True
+# rtgui options
+RT_USING_RTGUI = False
+
# toolchains options
ARCH='arm'
CPU='s3c24x0'
-PLATFORM = 'gcc'
-EXEC_PATH = 'd:/SourceryGCC/bin'
-#PLATFORM = 'armcc'
-#EXEC_PATH = 'C:/Keil'
+TextBase='0x30000000'
+
+#PLATFORM = 'gcc'
+#EXEC_PATH = 'd:/SourceryGCC/bin'
+PLATFORM = 'armcc'
+EXEC_PATH = 'C:/Keil'
BUILD = 'debug'
if PLATFORM == 'gcc':
@@ -51,10 +63,10 @@ elif PLATFORM == 'armcc':
LINK = 'armlink'
TARGET_EXT = 'axf'
- DEVICE = ' --device DARMSTM'
+ DEVICE = ' --device DARMSS9'
CFLAGS = DEVICE + ' --apcs=interwork'
AFLAGS = DEVICE
- LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers --list rtthread-stm32.map --scatter mini2440_rom.sct'
+ LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers --list rtthread-mini2440.map --ro-base 0x30000000 --entry Entry_Point --first Entry_Point'
CFLAGS += ' -I' + EXEC_PATH + '/ARM/RV31/INC'
LFLAGS += ' --libpath ' + EXEC_PATH + '/ARM/RV31/LIB'