summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorqiuyiuestc <[email protected]>2010-05-29 14:24:46 +0000
committerqiuyiuestc <[email protected]>2010-05-29 14:24:46 +0000
commita07a91643f28766d6705a85ee7eff0db57ef5750 (patch)
tree048ce4ed17a26cee354e6a893644bd3ba2af93aa /bsp
parent008bc108b057e86391d30c76d4acadd4b725abe0 (diff)
add module info
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@744 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp')
-rw-r--r--bsp/mini2440/rtconfig.h2
-rw-r--r--bsp/mini2440/rtconfig.py7
2 files changed, 7 insertions, 2 deletions
diff --git a/bsp/mini2440/rtconfig.h b/bsp/mini2440/rtconfig.h
index 3cebf641f5..71f88bfa08 100644
--- a/bsp/mini2440/rtconfig.h
+++ b/bsp/mini2440/rtconfig.h
@@ -3,7 +3,7 @@
#define __RTTHREAD_CFG_H__
/* RT_NAME_MAX*/
-#define RT_NAME_MAX 32
+#define RT_NAME_MAX 8
/* RT_ALIGN_SIZE*/
#define RT_ALIGN_SIZE 4
diff --git a/bsp/mini2440/rtconfig.py b/bsp/mini2440/rtconfig.py
index c8c70e4b2f..1e9989bc59 100644
--- a/bsp/mini2440/rtconfig.py
+++ b/bsp/mini2440/rtconfig.py
@@ -12,6 +12,7 @@ RT_USING_LWIP = False
RT_USING_WEBSERVER = False
RT_USING_RTGUI = False
RT_USING_MODBUS = False
+RT_USING_MODULE = False
# parse rtconfig.h to get used component
PreProcessor = SCons.cpp.PreProcessor()
@@ -52,6 +53,10 @@ if rtconfig_ns.has_key('RT_USING_LWIP'):
if rtconfig_ns.has_key('RT_USING_RTGUI'):
RT_USING_RTGUI = True
+# module options
+if rtconfig_ns.has_key('RT_USING_MODULE'):
+ RT_USING_MODULE = True
+
# panel options
# 'PNL_A70','PNL_N35', 'PNL_T35'
RT_USING_LCD_TYPE = 'PNL_T35'
@@ -61,7 +66,7 @@ ARCH = 'arm'
CPU = 's3c24x0'
TextBase = '0x30000000'
-CROSS_TOOL = 'keil'
+CROSS_TOOL = 'gcc'
if CROSS_TOOL == 'gcc':
PLATFORM = 'gcc'