Ver código fonte

update mini2440 configuration.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1329 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong@gmail.com 14 anos atrás
pai
commit
053380bf6b
2 arquivos alterados com 12 adições e 1 exclusões
  1. 5 1
      bsp/mini2440/SConstruct
  2. 7 0
      bsp/mini2440/rtconfig.h

+ 5 - 1
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 *
 

+ 7 - 0
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 */