提交 a07a9164 编写于 作者: qiuyiuestc's avatar qiuyiuestc

add module info

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@744 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 008bc108
......@@ -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
......
......@@ -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'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册