瀏覽代碼

mingw support for simulator: rtgui

prife 12 年之前
父節點
當前提交
242574a36f
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 2 2
      bsp/simulator/SConstruct
  2. 1 1
      bsp/simulator/rtconfig.h

+ 2 - 2
bsp/simulator/SConstruct

@@ -12,8 +12,8 @@ if os.getenv('RTT_RTGUI'):
 else:
     # set the rtgui root directory by hand
     # empty string means use the RTGUI in svn
-    # RTT_RTGUI = os.path.normpath(r'F:\Project\git\rt-gui\components\rtgui')
-    RTT_RTGUI =''
+    RTT_RTGUI = os.path.normpath(r'F:\Project\git\rt-gui\components\rtgui')
+    # RTT_RTGUI =''
 
 sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
 from building import *

+ 1 - 1
bsp/simulator/rtconfig.h

@@ -204,7 +204,7 @@
 #define RT_LWIP_TCP_WND		8192
 
 /* SECTION: RT-Thread/GUI */
-/* #define RT_USING_RTGUI */
+#define RT_USING_RTGUI
 
 /* name length of RTGUI object */
 #define RTGUI_NAME_MAX		12