diff --git a/bsp/mini2440/SConstruct b/bsp/mini2440/SConstruct index 75a0429dde40e8e258de0e634caafb2f56ce58b3..4910b1ea92273a675cc10e32bd3daea7b199843c 100644 --- a/bsp/mini2440/SConstruct +++ b/bsp/mini2440/SConstruct @@ -2,7 +2,11 @@ import os import sys import rtconfig -RTT_ROOT = os.path.normpath(os.getcwd() + '/../..') +if os.getenv('RTT_ROOT'): + RTT_ROOT = os.getenv('RTT_ROOT') +else: + RTT_ROOT = os.path.normpath(os.getcwd() + '/../..') + sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')] from building import * diff --git a/bsp/mini2440/rtconfig.h b/bsp/mini2440/rtconfig.h index 21266626ae7cf1ef2f05ee8310da45d4ef7a90fd..7884d8596cad95ee6bfb706e6a7b5e0bb648b71b 100644 --- a/bsp/mini2440/rtconfig.h +++ b/bsp/mini2440/rtconfig.h @@ -68,6 +68,7 @@ #define RT_USING_LIBDL /* SECTION: Console options */ +#define RT_USING_CONSOLE /* the buffer size of console */ #define RT_CONSOLEBUF_SIZE 128 @@ -82,6 +83,7 @@ /* SECTION: a runtime libc library */ /* a runtime libc library */ /* #define RT_USING_NEWLIB */ +/* #define RT_USING_PTHREADS */ /* SECTION: C++ support */ /* Using C++ support */ @@ -97,6 +99,7 @@ #define RT_DFS_ELM_MAX_LFN 32 /* #define RT_USING_DFS_YAFFS2 */ /* #define RT_USING_DFS_UFFS */ +/* #define RT_USING_DFS_DEVFS */ #define RT_USING_DFS_NFS #define RT_NFS_HOST_EXPORT "192.168.1.5:/" @@ -214,6 +217,10 @@ /* #define RTGUI_USING_SMALL_SIZE */ /* use mouse cursor */ /* #define RTGUI_USING_MOUSE_CURSOR */ +/* RTGUI image options */ +#define RTGUI_IMAGE_XPM +#define RTGUI_IMAGE_JPEG +#define RTGUI_IMAGE_BMP /* SECTION: FTK support */ /* using FTK support */