From 053380bf6b650bfd7453c7f0094f7727095811e5 Mon Sep 17 00:00:00 2001 From: "bernard.xiong@gmail.com" Date: Sat, 12 Mar 2011 00:06:08 +0000 Subject: [PATCH] update mini2440 configuration. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1329 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- bsp/mini2440/SConstruct | 6 +++++- bsp/mini2440/rtconfig.h | 7 +++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/bsp/mini2440/SConstruct b/bsp/mini2440/SConstruct index 75a0429dde..4910b1ea92 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 21266626ae..7884d8596c 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 */