add module info
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@744 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
008bc108b0
commit
a07a91643f
|
@ -3,7 +3,7 @@
|
||||||
#define __RTTHREAD_CFG_H__
|
#define __RTTHREAD_CFG_H__
|
||||||
|
|
||||||
/* RT_NAME_MAX*/
|
/* RT_NAME_MAX*/
|
||||||
#define RT_NAME_MAX 32
|
#define RT_NAME_MAX 8
|
||||||
|
|
||||||
/* RT_ALIGN_SIZE*/
|
/* RT_ALIGN_SIZE*/
|
||||||
#define RT_ALIGN_SIZE 4
|
#define RT_ALIGN_SIZE 4
|
||||||
|
|
|
@ -12,6 +12,7 @@ RT_USING_LWIP = False
|
||||||
RT_USING_WEBSERVER = False
|
RT_USING_WEBSERVER = False
|
||||||
RT_USING_RTGUI = False
|
RT_USING_RTGUI = False
|
||||||
RT_USING_MODBUS = False
|
RT_USING_MODBUS = False
|
||||||
|
RT_USING_MODULE = False
|
||||||
|
|
||||||
# parse rtconfig.h to get used component
|
# parse rtconfig.h to get used component
|
||||||
PreProcessor = SCons.cpp.PreProcessor()
|
PreProcessor = SCons.cpp.PreProcessor()
|
||||||
|
@ -52,6 +53,10 @@ if rtconfig_ns.has_key('RT_USING_LWIP'):
|
||||||
if rtconfig_ns.has_key('RT_USING_RTGUI'):
|
if rtconfig_ns.has_key('RT_USING_RTGUI'):
|
||||||
RT_USING_RTGUI = True
|
RT_USING_RTGUI = True
|
||||||
|
|
||||||
|
# module options
|
||||||
|
if rtconfig_ns.has_key('RT_USING_MODULE'):
|
||||||
|
RT_USING_MODULE = True
|
||||||
|
|
||||||
# panel options
|
# panel options
|
||||||
# 'PNL_A70','PNL_N35', 'PNL_T35'
|
# 'PNL_A70','PNL_N35', 'PNL_T35'
|
||||||
RT_USING_LCD_TYPE = 'PNL_T35'
|
RT_USING_LCD_TYPE = 'PNL_T35'
|
||||||
|
@ -61,7 +66,7 @@ ARCH = 'arm'
|
||||||
CPU = 's3c24x0'
|
CPU = 's3c24x0'
|
||||||
TextBase = '0x30000000'
|
TextBase = '0x30000000'
|
||||||
|
|
||||||
CROSS_TOOL = 'keil'
|
CROSS_TOOL = 'gcc'
|
||||||
|
|
||||||
if CROSS_TOOL == 'gcc':
|
if CROSS_TOOL == 'gcc':
|
||||||
PLATFORM = 'gcc'
|
PLATFORM = 'gcc'
|
||||||
|
|
Loading…
Reference in New Issue